/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.9
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

html{
	font-size: 62.5%;
}

body{
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
	color:#212121;

}

.embed-responsive-16by9{
	position: relative;
	padding-bottom: 36.25%;
	height: 0;
	overflow: hidden;	
}
.embed-responsive-item{
	position: absolute;
 	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* header */
header #logo{
	width:120px;
	margin-top:1rem;
}

header .gnav{
	font-size:1.8rem;
	display:flex;
	justify-content:flex-end;
	align-items:center;
}

header .gnav a{
	color:#212121;
	text-decoration: none;
	margin:0 1.5rem;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  　-webkit-transform: perspective(2px) translateZ(0);
  　transform: perspective(2px) translateZ(0);
  　-webkit-transition-duration: 0.3s;
  　transition-duration: 0.2s;
  　-webkit-transition-property: transform;
    transition-property: transform;
}

header .gnav a:hover,header .gnav a:focus,header .gnav a:active{
	-webkit-transform: scale(1.1);
    transform: scale(1.1);
    cursor: pointer;
}

header a.gnav-reserve{
	background-color:#D36985;
	color:#fff;
	padding:0.3rem 3.5rem;
	margin-right: 4rem;
}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top:0;
  right: -120%;
  width:100%;
  height: 100vh;/*ナビの高さ*/
  background:#eae8e4;
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    width: 80%;
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
  text-align: center;
}

#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:15px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 1.8rem;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height:50px;
}
  
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #212121;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/* TOP-PAGE */

main.top-container,.about-content,.instagram{
	margin-top:8rem;
}

.about-content{
    margin-bottom:3rem;
}

.about-galley{
	margin-top:8rem;
	margin-bottom: 8rem;
}

.about-galley img{
	margin-bottom: 1rem;
}

.top-image {
    position: relative;
    width: 100%;
    height: 60vh; /* 画面の高さの60%に設定（お好みで調整してください） */
    min-height: 400px;
    display: flex;
    align-items: center;      /* 上下中央 */
    justify-content: center;   /* 左右中央 */
    overflow: hidden;
}

.top-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を枠いっぱいに綺麗に収める */
    z-index: 1;
}

/* 画像を少し暗くして文字を浮かび上がらせる */
.top-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 黒の30%透明度（画像が明るい場合は数値を上げてください） */
    z-index: 2;
}

.top-ttl {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;      /* スマホ基準のサイズ */
    line-height: 1.8;
    font-weight: 500;
    padding: 0 20px;
    /* 文字に薄い影をつけてさらに見やすく */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* PCサイズでの調整 */
@media (min-width: 768px) {
    .top-ttl {
        font-size: 2.2rem;   /* PCでは大きく */
        letter-spacing: 0.05em;
    }
}

.top-content{
	font-size:1.8rem;
	text-align: center;	
}

.top-content p{
	margin:2rem 0;
}

.fadeInDown {
 -webkit-animation-fill-mode:both;
 -ms-animation-fill-mode:both;
 animation-fill-mode:both;
 -webkit-animation-duration:1s;
 -ms-animation-duration:1s;
 animation-duration:1s;
 -webkit-animation-name: fadeInDown;
 animation-name: fadeInDown;
 visibility: visible !important;
}

.top-container h2.en{
	font-family: 'Noto Sans Japanese',   sans-serif;
	font-weight: 900;
	font-size: 3.2rem;
	margin:5rem 0;
	text-align: center;	
}

.top-container h2{
	font-size: 3.0rem;
	margin-top:13rem;
	margin-bottom: 5rem;
	text-align: center;	
}

.top-container h3{
	font-size: 3.0rem;
	margin-top: 1rem;
	margin-bottom: 3rem;
}

.top-container .about-content h3{
  margin-top: 2.0rem;  
}

.about-content,.access-content{
	font-size:1.8rem;
	text-align:left;	
}

.access-content h3{
    font-size:2.0rem;
    margin-bottom:1rem;
}

.access-content p{
    font-size:1.5rem;
}

.about-content p{
	margin:2rem 0;
}

.facility-image p{
	text-align:center;
	margin-top: 0.8rem;
	font-size: 1.8rem;
}

.facility-content div{
	display:flex;
	align-items: center;
}
.facility-content span{
	margin:0 1.5rem;
}

.facility-content div div{
	font-size:1.8rem;
	margin:1.5rem 0;
}

.reserve-content{
	text-align: center;	
}

.reserve-content .btn-reserve{
	background-color:#D36985;
	color:#fff;
	font-size: 2.0rem;
	width: 100%;
	margin:2rem 0;
	padding:1rem 0;
}

.reserve-content a{
	text-decoration:none;
	color:#fff;
	display: block;
    width: 100%;
    height: 100%;
}

.site-info{
	margin-top: 5rem;
	text-align: center;	
	font-size: 1.5rem;
}

/*リンクの形状*/
#page-top a{
	display: flex;
    justify-content: center;
    transition: opacity .6s ease;
    align-items: center;
    text-decoration: none;
}

#page-top span.material-symbols-rounded{
    color:#212121;
    font-size: 45px;	
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove{
  animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
  transform: translateX(100px);
  }
  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/*　右の動き　*/
#page-top.RightMove{
  animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
    opacity: 1;
  transform: translateX(0);
  }
  to {
    opacity: 1;
  transform: translateX(100px);
  }
}

/* アニメーション */
@-webkit-keyframes fadeInDown {
 0% { opacity: 0; -webkit-transform: translateY(-20px); }
 100% { opacity: 1; -webkit-transform: translateY(0); }
}
@keyframes fadeInDown {
 0% { opacity: 0; -webkit-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); }
 100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
}

.animation.zoomin.is-animated {
  animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
 
@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.reserve-info h3{
  font-size: 2.0rem;
}

.reserve-info p{
  font-size: 1.5rem;
}

/* パソコンとスマホで切替 */
.pc { display: block;}
.sp { display: none !important; }

@media only screen and (max-width: 767px) {
  .pc { display: none !important; }
  .sp { display: block !important; }

  html{
    overflow-x: hidden;
  }

  main.top-container,.about-content,.instagram{
		margin-top:3rem;
	}

	h1.top-ttl{
		font-size: 1.8rem;
		text-align: center;
		margin:2.5rem 0;
	}

	.top-content,.about-content, .access-content {
 		font-size: 1.5rem;
	}

	.about-galley{
		margin-bottom: 1rem;
	}

	.about-content-upper{
		margin-bottom: 6rem;
	}

	.top-container h2.en{
		font-size: 2.2rem;
	}

	.top-container h3{
		font-size: 2.2rem;
	}

	.top-container h2 {
		font-size: 2.2rem;
		margin-top: 6rem;		
	}

	.facility-image p,.facility-content div div{
		font-size: 1.5rem;
	}

  #g-nav li a.gnav-reserve{
    width: 100%;
    color:#fff;
    margin-top: 20px;
  }

  .embed-responsive-16by9{
	padding-bottom: 80%;
  }

}

/* MENU */
/* 全体コンテナ */
.menu_wrapper {
    max-width: 800px;
    margin: 0 auto;
    color: #4a4a4a;
    line-height: 1.8;
    font-size:20px;
}

.menu_container {
    margin-bottom: 60px;
    padding: 20px;
    background-color: #fafafa; /* ほんのりグレーで上品に */
    border-radius: 8px;
}

/* 大見出し */
.menu_container h2 {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    border-bottom: 2px solid #9fb09a; /* オーガニックなグリーン */
    display: inline-block;
    margin-bottom: 25px;
    color: #5d6b5a;
}

/* 小見出し */
.menu_container h3 {
    font-size: 2.2rem;
    margin: 20px 0 10px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 施術時間表示 */
.duration {
    font-size: 0.8rem;
    background: #e0e0e0;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: normal;
}

/* テーブルスタイル */
.price_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.price_table td {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
}

.price_table .price {
    text-align: right;
    font-weight: bold;
    color: #2c2c2c;
}

/* S/M/L 横並びテーブル */
.price_table_inline {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    margin: 10px 0;
}

.price_table_inline td {
    padding: 8px;
    text-align: center;
    border: 1px solid #eee;
    font-size: 1.5rem;
}

/* 補足説明 */
.menu_note {
    font-size: 1.1rem;
    color: #777;
    margin-top: 10px;
}

.size_guide {
    font-size: 1.1rem;
    background: #f0f3f0;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 4px;
}

/* 学割セクション */
.student_discount {
    background: #fff;
    padding: 15px;
    border: 1px solid #d1d9d0;
    margin-top: 20px;
}

.discount_list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.discount_list li {
    width: 48%;
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .discount_list li {
        width: 100%;
    }
    .menu_container h2 {
        font-size: 1.5rem;
    }

    .menu_container h3 {
        font-size: 1.4rem;
    }
    .price_table td {
        font-size: 1.4rem;
    }
    .menu_wrapper p{
        font-size: 1.1rem;
    }
}

/* スタッフ紹介エリア */
.staff_image img {
    width: 100%;
    height: auto;
    border-radius: 15px; /* 角を丸くして柔らかい印象に */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.staff_info {
    text-align:left;
}

.staff_post {
    font-size: 1.4rem;
    color: #a68181;
    margin-bottom: 1rem;
    font-weight: bold;
}

.staff_name {
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: none !important; /* 親要素のスタイル解除用 */
}

.staff_name span {
    font-size: 1.2rem;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
    letter-spacing: 0.1em;
}

.staff_profile {
    margin-bottom: 25px;
    line-height: 1.8;
}

.staff_message {
}

.staff_message h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #5d6b5a;
}

.staff_message p {
    font-size: 1.2rem;
    margin-bottom: 0;
    font-style: italic;
}

/* 求人コンテナ全体の調整 */
.recruit-content {
    max-width: 900px;
    margin: 40px auto;
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 18px;
}

/* リード文 */
.recruit-content > p:first-child {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #5d6b5a;
    font-weight: bold;
}

/* 見出しの装飾（H2） */
.recruit-content h2 {
    font-size: 1.4rem;
    color: #5d6b5a;
    background: #f4f6f3; /* 薄いグリーン系背景 */
    padding: 12px 20px;
    border-left: 5px solid #9fb09a;
    margin: 40px 0 20px;
}

/* リスト（こんな方を求めています） */
.recruit-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.recruit-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.recruit-content ul li::before {
    content: '✔';
    position: absolute;
    left: 10px;
    color: #d07792; /* 先ほどのピンク系をアクセントに */
    font-weight: bold;
}

/* 定義リスト（募集要項テーブル）の構築 */
.recruit-content dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

.recruit-content dt {
    width: 30%;
    padding: 20px;
    background: #fafafa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #666;
}

.recruit-content dd {
    width: 70%;
    padding: 20px;
    margin-bottom: 0;
    border-bottom: 1px solid #e0e0e0;
}

/* 給与・時間の箇条書きを少し強調 */
.recruit-content dd br + ・, 
.recruit-content dd span {
    display: block;
    margin-top: 5px;
}

/* LINEボタン周り */
.recruit-content dd img[alt="友だち追加"] {
    transition: transform 0.2s;
}

.recruit-content dd img[alt="友だち追加"]:hover {
    transform: scale(1.05);
}

.recruit-content dd img[alt="LINEQRコード"] {
    max-width: 160px;
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
    margin-top: 15px;
}

/* レスポンシブ対応（スマホ表示） */
@media (max-width: 767.98px) {
    .recruit-content dt {
        width: 100%;
        padding: 10px 20px;
        background: #f0f3f0;
        border-bottom: none;
    }
    
    .recruit-content dd {
        width: 100%;
        padding: 15px 20px 25px;
    }
}

/* タイトル */
.shop-info-title {
    text-align: center;
    font-size: 1.5rem;
    color: #5d6b5a; /* サイトカラーのグリーン */
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

/* リスト構造 */
.shop-details {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.shop-details dt {
    width: 30%;
    padding: 15px 0;
    font-weight: 600;
    color: #888;
    border-bottom: 1px solid #f0f0f0;
}

.shop-details dd {
    width: 70%;
    padding: 15px 0;
    margin: 0;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

/* 電話番号リンク（スマホで押しやすく） */
.tel-link {
    color: #d07792; /* アクセントのピンク */
    font-weight: bold;
    text-decoration: none;
    font-size: 2.0rem;
}

/* 駐車場セクションの強調 */
.parking-label {
    color: #5d6b5a !important;
}

.parking-text {
    font-weight: 500;
}

.parking-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background-color: #5d6b5a;
    color: #fff;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 8px;
    vertical-align: middle;
}

/* スマホ対応 */
@media (max-width: 576px) {
    .shop-details dt {
        width: 100%;
        padding-bottom: 0;
        border-bottom: none;
        font-size: 0.85rem;
    }
    .shop-details dd {
        width: 100%;
        padding-top: 5px;
        margin-bottom: 10px;
    }
}

ul.news.list-unstyled {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可 */
    margin: 20px 0; /* 左右の余白調整 */
    padding: 0;
}

/* 各ニュース項目（3つ並び） */
ul.news.list-unstyled li {
    flex: 0 0 33.333%; /* 3カラム（100% ÷ 3） */
    max-width: 33.333%;
    padding: 15px 10px; /* カード間の余白 */
    display: flex;
    flex-direction: column; /* 日付とタイトルを縦に並べる */
    align-items: flex-start;
    border-bottom: none; /* 下線を消してカード風に */
}

/* 記事を囲むリンクエリアをカード風に装飾 */
ul.news.list-unstyled li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

ul.news.list-unstyled li a:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-3px);
    border-color: #f2dae0; /* 薄いピンクの枠線 */
}

/* 日付 */
ul.news .date {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #9fb09a;
    font-weight: bold;
}

/* タイトル文字 */
ul.news a {
    color: #4a4a4a;
    font-size: 1.3rem;
    line-height: 1.6;
}

/* --- レスポンシブ対応 --- */

/* タブレット（2枚並び） */
@media (max-width: 991.98px) {
    ul.news.list-unstyled li {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* スマホ（1枚並び） */
@media (max-width: 575.98px) {
    ul.news.list-unstyled li {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 10px 0;
    }
    
    ul.news.list-unstyled li a {
        padding: 15px;
    }
}

#single-wrapper{
    max-width:800px;
    margin:5rem auto;
    font-size:20px;
}

#single-wrapper h1.entry-title{
    margin:3rem 0;
}