@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Pacifico);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000000;
	background: #fff;
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#header{
	text-align: center;
}

#header h1{
	padding-top: 60px;
}

#mainnav a{
	color: #000;
}

#mainImg{
	position: relative;
  overflow: hidden;
  width: 100%;
  height: 528px;
}

#mainImg img{
	position: absolute;
  left: 50%;
	max-width: 1280px;
  width: 1280px;
  height: 528px;
  margin-left: -640px;
}

/* ヘッダーロゴを中央寄せ */
#headerWrap h1{
    text-align: center;
    margin: 0;
}
#headerWrap h1 img{
    display: inline-block; /* 中央揃えを維持 */
    max-width: 100%;
    height: auto;
}


/* sec04_02: aromamain を背景にしてデスクトップのみ固定（モバイルはスクロール） */
#sec04_02{
    background-image: url("../images/aromamain.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll; /* デフォルトはスクロール（モバイル対応） */
    box-sizing: border-box;
    width: 100%;
    min-height: 550px; /* 必要に応じて調整 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    text-align: center;
    overflow: hidden;
}

/* デスクトップ幅では背景を固定にする（パララックス風）*/
@media (min-width: 800px){
    #sec04_02{
        background-attachment: fixed;
    }
}

/* 中の <img> を背景優先にする（必要なら表示を復帰させてください） */
#sec04_02 p{ margin: 0; }
#sec04_02 p img{
    display: none; /* 背景を使うなら非表示。表示したい場合は 'display:inline-block' に */
    max-width: 100%;
    height: auto;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/

img{
	max-width: 100%;
	height: auto;
}

section{
	clear:both;
	padding-top: 70px;
}

section h2{
    font-family: "Apple Chancery", "Zapf Chancery", "Pacifico", cursive;
    width: 60%;
    margin: 0 auto 40px;
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    color: #333;
    background: url(../images/borderBlack.png) repeat-x 0 50%;
    background-size: 1px 1px;
}
section h2 span {
    background: #fff;
    padding: 0 80px;
}

.inner{
	width: 94%;
	margin: 0 auto;
	padding-bottom: 50px;
}

.innerS{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 80px;
}




/* ABOUT: 左上に画像、中央に文章、右下に画像 — 文章を縦中央に寄せる */
#sec01 .about-grid{
    display: grid;
    grid-template-columns: 28% 44% 28%;
    grid-template-rows: 1fr 1fr; /* 2行で中央に揃えやすくする */
    gap: 24px;
    align-items: stretch;
    justify-items: center;
    min-height: 360px; /* 必要に応じて高さを調整 */
}
#sec01 .about-img img{
    display:block;
    width:100%;
    height:auto;
    object-fit:cover;
    max-width: 420px;
}
/* 左上の画像（上段・左） */
#sec01 .about-img.top-left{
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    max-width: 380px;
}
/* 右下の画像（下段・右） */
#sec01 .about-img.bottom-right{
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    align-self: end;
    max-width: 380px;
}
/* 中央の文章を上下2行にまたがせて縦中央に配置 */
#sec01 .about-text{
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;    /* 縦中央 */
    justify-self: center;  /* 横中央 */
    text-align: center;
    max-width: 520px;
    padding: 10px 20px;
    color: #333;
    line-height: 1.8;
}


/* レスポンシブ：狭い画面では縦並び（上: 左画像 → 中央文章 → 下: 右画像） */
@media only screen and (max-width: 800px){
    #sec01 .about-grid{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    #sec01 .about-img.top-left{
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        max-width: 70%;
    }
    #sec01 .about-text{
        grid-column: 1;
        grid-row: 2;
        padding: 18px 10px;
    }
    #sec01 .about-img.bottom-right{
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
        max-width: 70%;
    }
}

/* ABOUT と次セクションの間に余白を作る */
#sec01{
    padding-bottom: 120px; /* ABOUT の下の余白（調整可） */
}

/* PRODUCT セクション上部にも余白を追加（既存の値を上書き） */
section.product{
    background-color: #88836b;
    padding-top: 120px;   /* 上の余白を広く（調整可） */
    padding-bottom: 60px;
}

/* SEC02 PRODUCT
------------------------------------------------------------*/

/* HOW TO USE を PRODUCT の色（#88836b）にする */
section.howto{
    background-color: #88836b;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}
section.howto .howto-title{
    color: #fff; /* 見出しを白に */
    border-bottom: 2px solid rgba(255,255,255,0.6);
    padding-bottom: 8px;
}
section.howto .col3 li > p{
    color: #fff; /* 説明文を白に */
}

/* PRODUCT の背景を白にして文字をダークにする */
  section.product {
    background-color: #ffffff !important;
    padding-top: 120px;
    padding-bottom: 60px;
    width: 100%;
}
section.product .inner{
    background: transparent;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* PRODUCT 内テキスト色をダークに上書き（既存で白になっている場合に上書き） */
section.product .product-title,
section.product .product-desc,
section.product .col3 li > p{
    color: #333 !important;
    background: transparent !important;
}

/* PRODUCT ボタン */
section.product .btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #88836b;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    transition: 0.3s ease;
}

section.product .btn:hover {
    background-color: #6f6a55;
    transform: translateY(-2px);
}


/* ボタンの見出しを明朝体に */
section.product .col3 li .btn{
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "MS PMincho", "Noto Serif JP", serif;
    font-weight: 400;
    /* 必要ならサイズ微調整 */
    /* font-size: 14px; */
}
/* PRODUCT: 画像直下の見出しと説明スタイル */
section.product .product-title{
    margin: 8px 0 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
}
section.product .product-desc{
    margin: 0 0 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}
/* 見出しを明朝体にする */
h1, h2, h3, h4, h5, h6,
section h2, .product-title {
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "MS PMincho", "Noto Serif JP", serif;
    font-weight: 400;
    /* 必要ならサイズや行間を調整 */
    /* font-size: inherit; */
    /* line-height: 1.3; */
}
/* スマホで文字サイズを少し落とす */
@media only screen and (max-width: 480px){
    section.product .product-title{ font-size: 15px; }
    section.product .product-desc{ font-size: 13px; }
}

/* モバイル用 */
@media only screen and (max-width: 800px){
    section.product .col3 li .btn{
        margin-top: 8px;
        padding: 8px 20px;
        font-size: 13px;
    }
}


/* レスポンシブ：幅が狭くなったら折り返す */
@media only screen and (max-width: 800px){
    .col3{
        flex-wrap: wrap;
    }
    .col3 li{
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .col3 .img{ height: 200px; }
}
@media only screen and (max-width: 480px){
    .col3 li{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .col3 .img{ height: 150px; }
}



/* レスポンシブ */
@media only screen and (max-width: 800px){
    .col3 li{ flex: 0 1 calc(50% - 10px); } /* 2列 */
}
@media only screen and (max-width: 480px){
    .col3 li{ flex: 0 1 100%; } /* 1列 */
}


/* HOW TO USE の画像を丸く（横長の楕円）にする — 上書き */
.howto .col3 li .img{
    padding: 0;                  /* 既存の余白をリセット */
    background: transparent;
    width: 220px;                /* 横長にしたい幅（調整可） */
    height: 180px;               /* 高さ（幅より小さめで楕円になる） */
    box-sizing: border-box;
    border-radius: 50%;          /* 楕円に切り抜く */
    overflow: hidden;            /* はみ出した部分を隠す */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.howto .col3 li .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;           /* 中央を切り抜いてフィット */
    display: block;
    border-radius: 0;            /* 親コンテナで丸める */
}
/* スマホ用に縮める */
@media only screen and (max-width: 480px){
    .howto .col3 li .img{
        width: 180px;
        height: 120px;
    }
}
section.product{
    background-color: #88836b;
}
/* col4 写真を4列で並べる */
section.product .col4 {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

section.product .col4 li {
    flex: 1;
    list-style: none;
}

section.product .col4 img {
    width: 100%;
    height: auto;
    display: block;
}


/* HOW TO USE の見出しスタイル — アンダーラインを追加 */
.howto-title{
    margin: 8px 0 6px;
    color: #333;
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "MS PMincho", "Noto Serif JP", serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
    border-bottom: 2px solid #333;  /* アンダーラインを追加 */
    padding-bottom: 6px;            /* 下線との間隔 */
}

/* 横スクロール・右の白スペース対策 */
html, body{
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横にはみ出す要素を隠す（暫定対策） */
}
*, *::before, *::after{
    box-sizing: border-box;
}

/* 画像を必ず親幅に収める（レスポンシブ化） */
img{
    max-width: 100%;
    height: auto;
    display: block;
}

/* sec04_02 の画像（aromamain 等）を中央かつ幅いっぱいに収める */
#sec04_02{
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0; /* 上下の余白調整 */
}
#sec04_02 p{
    margin: 0;
    text-align: center;
}
#sec04_02 p img{
    max-width: 100%;
    width: auto; /* 必要なら width:100% にして横幅いっぱいに */
    height: auto;
    display: inline-block;
}



/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
	}
}

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}

	#mainnav li{
		display: inline-block;
		padding: 50px 25px;
		font-size: 15px;
	}
	
	
	/* SEC03 PROJECT
	-----------------*/
	.col3{
		text-align: center;
	}

	.col3 li{
		display: inline-block;
		width: 28%;
		padding: 0 2.5% 50px;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}


@media only screen and (min-width: 641px){
	.col2 li{
		width: 60%;
		vertical-align: top;
	}
	.col2 li:first-child{
		width: 35%;
		padding-right: 4%;
	}
}

@media only screen and (max-width: 640px){
	.innerS{
		width: 94%;
		padding-bottom: 70px;
	}
	.col3 li{
		line-height: 1.7;
	}
	.col3 img{
		margin: 0 auto;
	}
	.col3 .img{
		padding: 30px;
		margin-bottom: 20px;
	}
	#gallery li{
		float: none;
		width: 100%;
	}
	#map iframe{
		width: 96% !important;
		left: 2%;
	}
	#sec04_02{
		padding: 50px 20px;
	}
}

@media only screen and (max-width: 799px){
	#header{
		position: fixed;
		width: 100%;
		z-index: 500;
	}
	
	#headerWrap{
		position: relative;
		width: 100%;
		height: 70px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#header h1{
		padding-top: 10px;
	}
	
	#header h1 img{
		margin-top: 3px;
		max-height: 45px;
		width: auto !important;
	}

  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 60%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #000;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: 0;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
		z-index:500;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display:block;
		padding:15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}

	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#mainImg{
		padding-top: 60px;
		z-index: -100;
	}
	.col3 li{
		margin: 50px auto 0 auto;
		display: block;
	}
	section{
		padding-top: 50px;
	}
	section h2{
		margin: 0 auto 20px;
	}
	section h2 span {
		padding: 0 30px;
	}
}
