/*
Theme Name: Bluemarron
Theme URI:
Author: Chiffote
Description: Bluemarron official site theme.
Version: 1.0
Text Domain: bluemarron
*/


body {
	font-family: "Zen Kaku Gothic Antique", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
	color: #00556a;
	font-size: 15px;
	line-height: 2;
	letter-spacing: 0.03em;
	text-align: justify;
	font-weight: 400;
	font-style: normal;
	font-optical-sizing: auto;
}
a {
	color: #00556a;
	text-decoration: none;
	transition: 0.3s ease-out;
}
a:hover {
	color:var(--color-blue);
}

::selection{background-color: var(--color-blue); color: #FFF;}
::-moz-selection{background-color: var(--color-blue); color: #FFF;}

body {
	min-width: 1300px;
	max-width: 1920px;
	margin: auto;
}


@media screen and (max-width:640px) {
	body{font-size: 13px;}
	body,header,footer{min-width: 400px;}
}


body {
    animation: pageFadeIn 0.6s ease-out;
}
@keyframes pageFadeIn {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}




/*============================================================================

	設定カラー

============================================================================*/
:root {
	--color-blue: #2ab1c5; /*水色*/
	--color-blue-dark: #228c9c; /*濃い水色*/
}






/*============================================================================

	モーション

============================================================================*/
#loftloader-wrapper {
	min-width: 400px !important;
}
#loftloader-wrapper .loader-section.section-fade {
	min-width: 400px !important;
}




/*============================================================================

	#mainvisual　＊　下層のMV

============================================================================*/
#mainvisual {
	position: relative;
	width: 100%;
	max-width:1600px;
	height:250px;
	margin:auto;
	background: url(images/MV.jpg) center top no-repeat;
  	background-size: cover;
  	z-index: 0;
  	overflow: hidden;
}
#mainvisual h2 {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: 40px 0 20px 60px;
	font-size: 24px;
	font-weight: bold;
	border-bottom: 2px solid #008239;
}
#mainvisual h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 1px;
	background: #008239;
}


/*------------------------------ ページごとにMV変更 ------------------------------*/
.page-template-blog #mainvisual {background: url(images/MV_01.jpg) center top no-repeat;}
.page-template-products #mainvisual {background: url(images/MV_02.jpg) center top no-repeat;}
.page-id-94 #mainvisual {background: url(images/MV_03.jpg) center top no-repeat;}
.page-id-169 #mainvisual {background: url(images/MV_04.jpg) center top no-repeat;}
.single #mainvisual {background: url(images/MV_01.jpg) center top no-repeat;}






/*==================================================================

	main

==================================================================*/
main {
	margin-left: clamp(260px, 20%, 300px);
}
main .inner {
	position: relative;
	width: 90%;
	max-width: 950px;
	margin: 0 auto;
	z-index: 2;
}
@media screen and (max-width: 640px) {
	main {
		margin-left: 0;
	}
	main .inner {
		width: 88%;
	}
}





/*==================================================================

	text

==================================================================*/
.text p {
	margin-bottom:1em;
}
.text:last-child{
	margin-bottom:0;
}
@media screen and (max-width: 640px) {
	.text p {
	}
}





/*==================================================================

	 下層ページ共通

==================================================================*/
#bg03 {
	position: relative;
	width: 100%;
	min-width: 1300px;
	min-height: 1100px;
	background: url("images/bg02.png") no-repeat center bottom, url("images/bg01.jpg") center bottom / cover;
	z-index: 2;
	overflow: hidden;
}
@media screen and (max-width: 640px) {
	#bg03 {
		min-width: 400px;
	}
}
#bg03 .cloud img:nth-of-type(1) {
	top: 0; right: 0;
	animation: cloudFloat 8s ease-in-out infinite 1s;
}
#bg03 .cloud img:nth-of-type(2) {
	top: 520px; left: 0;
	animation: cloudFloat 4s ease-in-out infinite 2s;
}
#bg03 .cloud img:nth-of-type(3) {
	top: 1400px; right: 0;
	animation: cloudFloat 8s ease-in-out infinite 1.5s;
}
#bg03 .cloud img:nth-of-type(4) {
	top: 510px; right: 0;
	animation: cloudFloat 5s ease-in-out infinite 2s;
}
@media screen and (max-width: 640px) {
	#bg03 .cloud img:nth-of-type(2) {
		top: auto; bottom: -50px;
	}
	#bg03 .cloud img:nth-of-type(3) { display: none;}
	#bg03 .cloud img:nth-of-type(4) { display: none;}
}

#bg03 #kira01 {
	top: 500px;
	left: 260px;
}
#bg03 #kira02 {
	top: 170px;
	right: 10px;
}
@media screen and (max-width: 640px) {
	#bg03 #kira01 { top: auto; bottom: -120px; left: auto; right: -150px;}
	#bg03 #kira02 { right: auto; left: -50px; top: -250px;}
	#bg03 #kira05 { display: none;}
}

/*------------------------------ 手 ------------------------------*/
#bg03::before {
	position: absolute; content: '';
	top: -600px;
	left: 50%;
	margin-left: -820px;
	width: 800px;
	height: 1045px;
	background: url('images/img01.png') no-repeat center / contain;
	transform-origin: top left;
	pointer-events: none;
	z-index: 2;
}
@media screen and (max-width: 640px) {
	#bg03::before {
		top: -470px;
		margin-left: -500px;
		width: 400px;
	}
}


/*------------------------------ 見出しタイトル ------------------------------*/
main h2 {
	position: relative;
	margin-bottom: 50px;
	height: 300px;
	font-size: 38px;
	line-height: 1.6;
	letter-spacing: 6px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 3;
}
main h2 span {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 16px;
	font-family: 'Quicksand', sans-serif;
	letter-spacing: 2px;
	color: var(--color-blue-dark);
}
main h2 span::after {
	position: static; content: "";
	width: 14px;
	height: 14px;
	background: url("images/icon01.png");
	background-size: 14px;
}
main h2::after {
	position: absolute; content: "";
	bottom: 10px;
	width: 875px;
	height: 98px;
	background: url("images/h2_bg.png") no-repeat center;
	background-size: 360px auto;
}
@media screen and (max-width: 640px) {
	main h2 {
		justify-content: flex-end;
		height: 200px;
		font-size: 26px;
		margin-bottom: 70px;
	}
	main h2 span {
		gap: 6px;
		margin-bottom: 3px;
	}
	main h2::after {
		bottom: -70px;
		width: 100%;
		background-size: 240px auto;
	}
}





/*==================================================================

	 お知らせ一覧ページ

==================================================================*/
.news_list {
    border-top: 0.5px solid #FFF;
}
.news_list li a {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 22px 10px;
    border-bottom: 0.5px solid #FFF;
    transition: 0.3s ease;
}
.news_list li a:hover {
	background: rgba(255,255,255,.3);
    padding: 22px 20px;
}
@media screen and (max-width: 640px) {
	.news_list li a {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 18px 0;
	}
	.news_list li a:hover {
		background: none;
		padding: 18px 0;
	}
}


/*------------------------------ 日付・カテゴリ ------------------------------*/
.news_info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.news_info .date {
	width: 90px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
}
.news_info .cate {
	width: 90px;
    font-size: 13px;
    padding: 2px 12px;
    border-radius: 30px;
    letter-spacing: 1px;
    white-space: nowrap;
	color: var(--color-blue-dark);
	background: rgba(255,255,255,.6);
	text-align: center;
}
@media screen and (max-width: 640px) {
	.news_info {
		gap: 5px;
	}
	.news_info .date {
		font-size: 14px;
	}
	.news_info .cate {
		font-size: 13px;
		padding: 0px 12px;
	}
}


/*------------------------------ タイトル ------------------------------*/
.news_title {
    flex: 1;
    line-height: 1.8;
}
@media screen and (max-width: 640px) {
	.news_title {
		font-size: 14px;
	}
}


/*------------------------------ Pages ------------------------------*/
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}
.pager_num {
    display: flex;
    align-items: center;
    gap: 15px;
}
.pager_num li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: #333;
    border-radius: 50%;
	background: rgba(255,255,255,.3);
	border: 1px solid #FFF;
    transition: all 0.3s ease;
}
.pager_num li a:hover,
.pager_num li a.active {
    background: var(--color-blue);
	border: 1px solid var(--color-blue);
    color: #fff;
}
@media screen and (max-width: 640px) {
	.pager {
		margin-top: 40px;
	}
}





/*==================================================================

	 お知らせ記事ページ

==================================================================*/

/*------------------------------ アイキャッチ ------------------------------*/
.single_eyecatch {
    width: 100%;
    margin-bottom: 50px;
}
.single_eyecatch img {
    width: 100%;
    height: auto;
    display: block;
}


/*------------------------------ 記事ヘッダー ------------------------------*/
.single_head {
    margin-bottom: 30px;
}
.single_head .news_info {
    margin-bottom: 15px;
}
.single_title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 2px;
    color: #222;
}
@media screen and (max-width: 640px) {
	.single_title {
		font-size: 18px;
		letter-spacing: 1px;
	}
}


/*------------------------------ 本文 ------------------------------*/
.single_body {
    line-height: 2.2;
    letter-spacing: 0.8px;
}
.single_body p {
    margin-bottom: 25px;
}
@media screen and (max-width: 640px) {
	.single_body {
		line-height: 2;
		letter-spacing: 0.5px;
	}
}


/*------------------------------ 本文：リスト ------------------------------*/
.single_body ul {
    margin-bottom: 30px;
}
.single_body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}
.single_body ul li::before {
    position: absolute; content: '';
    left: 0;
    top: 10px;
    width: 14px;
    height: 14px;
    background: url("images/icon01.png");
	background-size: 14px;
}
@media screen and (max-width: 640px) {
	.single_body ul li {
		margin-bottom: 5px;
	}
	.single_body ul li::before {
		top: 6px;
	}
}


/*------------------------------ 本文：見出し ------------------------------*/
.single_body h2 {
    position: relative;
	height: auto;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 50px;
    margin-bottom: 24px;
    padding: 25px 24px;
    border-top: 1px solid var(--color-blue);
    border-bottom: 1px solid var(--color-blue);
}
.single_body h2::after { display: none;}
.single_body h3 {
    position: relative;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #222;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #fff;
    line-height: 1.6;
}
.single_body h3::after {
    position: absolute; content: "";
    bottom: -1px;
    left: 0;
    width: 20%;
    height: 1px;
    background: var(--color-blue);
}
.single_body h4 {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 16px;
    margin-top: 40px;
	padding-left: 25px;
    line-height: 1.6;
}
.single_body h4::before {
    position: absolute; content: "";
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background: url("images/icon01.png");
	background-size: 18px;
}
@media screen and (max-width: 640px) {
	.single_body h2 {
		font-size: 17px;
		padding: 18px 16px;
		margin-top: 40px;
	}
	.single_body h3 {
		font-size: 16px;
		margin-top: 40px;
	}
	.single_body h4 {
		font-size: 15px;
		margin-top: 30px;
	}
	.single_body h4::before {
		top: 3px;
	}
}


/*------------------------------ 一覧に戻る ------------------------------*/
.single_back {
    margin-top: 70px;
    padding-top: 60px;
    border-top: 0.5px solid #fff;
    text-align: center;
}
.single_back a {
    background: rgba(42, 177, 197, .5);
    color: #fff;
	padding: 10px 60px;
	border-radius: 30px;
	border: 1px solid var(--color-blue);
}
.single_back a:hover {
    background: var(--color-blue);
}
@media screen and (max-width: 640px) {
	.single_back {
		margin-top: 50px;
	}
}







