@charset "UTF-8";
/*
Theme Name: 美肌サロン リアン
Author: Your Name
Description: Salon de bell peau オリジナルテーマ
Version: 1.0
*/

/* ===============================================
   基本設定・リセット
   =============================================== */
html {
    font-size: 100%;
    font-family: "Chiron Sung HK", serif;
    font-optical-sizing: auto;
    font-weight: normal; /* weight という値は無効なので normal に修正 */
    font-style: normal;
}

/* WordPressの絵文字が巨大化するのを防ぐ記述 */
img.emoji {
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    box-shadow: none !important;
}

img {
    width: 100%;
    height: auto; /* 画像の比率を崩さないための保険 */
}

h2 {
    font-size: 1.4em;
}

/* 共通レイアウト用コンテナ (main内とfooter内で共通化) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ===============================================
   ヘッダー
   =============================================== */
.header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.header-menu {
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.header h1 img {
    width: 120px;
    /* ロゴが横に伸びすぎないように念のため */
    height: auto;
}

.header h1 a {
    display: block; /* リンク領域確保 */
}

/* メインメニュー */
.header ul {
    margin-right: 10px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.header nav ul {
    padding-bottom: 16px;
}

/* アクセス/お問い合わせ */
.header-info {
    position: absolute;
    top: 20px;
    right: 0;
}

.header-info ul {
    font-size: 12px;
}

.header-access,
.header-reserve {
    padding: 6px 10px;
    border-radius: 3px;
}

.header-access {
    border: 1px solid #800;
    color: #800;
}

.header-reserve {
    background: #800;
    color: #fff;
}

.header-catchcopy-group {
    position: relative;
    max-width: 1200px;
    width: 100%;
    aspect-ratio: 10/6;
    margin: 0 auto 100px;
    text-align: right;
}

.header-catchcopy-group2 {
    position: relative;
    max-width: 1200px;
    width: 100%;
    aspect-ratio: 10/4;
    margin: 0 auto 100px;
}

.header-catchcopy-group p {
    position: absolute;
    z-index: 10;
    bottom: 16%;
    right: 8%;
    font-size: 28px;
    color: #ffffff;
    /* background-color: #ffffff11; */
    padding: 16px;
}

.header-image {
    /* position: absolute; */
    /* z-index: 1; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0;
}

/* ===============================================
   お知らせ (News)
   =============================================== */
.news {
    background: #ccc;
    width: 100%;
    padding: 2% 8% 4%;
    margin: 0 auto 100px; /* max-widthは親の.containerが効くので削除してもOKですが、念の為維持 */
    max-width: 1200px;
}

.news h2 {
    padding: 1%;
    border-bottom: 1px solid #888;
    margin-bottom: 40px;
}

.news-area {
    background: #fff;
    padding: 20px 40px 40px;
}

.news-area ul {
    list-style: none; /* デフォルトスタイル削除 */
}

.news-area li {
    padding: 20px;
    display: flex;
    align-items: baseline; /* 日付とタイトルがズレないように */
    border-bottom: 1px solid #ccc;
}

.news-area li span {
    color: #530;
    margin-right: 80px;
    min-width: 100px; /* 日付の幅を固定して揃える */
}

/* リンクの色をリセット */
.news-area li a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}
.news-area li a:hover {
    opacity: 0.7;
}

/* ===============================================
   About (リアンについて)
   =============================================== */
.about {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 80px;
    /* スマホ対応用のラップ設定を追加しておくと吉 */
    /* flex-wrap: wrap;  */
}

.about img {
    width: 24%;
    max-width: 100%; /* はみ出し防止 */
    /* aspect-ratio: 2 / 1; */
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.about div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 100%; /* はみ出し防止 */
}

.about h2{
    color:#850;
    font-weight: bold;

}

.about-message{
    line-height: 0.8;
    padding-left: 8px;
}

.about-more {
    padding: 5px 40px;
    border: 1px solid #888;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    margin-top:20px;
}



/* ===============================================
   About Staff (スタッフ紹介)
   =============================================== */
.about-staff {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 180px;
}

.about-staff h2 {
    font-size: 1.1em;
    border: 1px solid #888;
    padding: 20px 40px;
}

/* ===============================================
   Menu (メニュー)
   =============================================== */
.menu {
    max-width: 1200px;
    margin: 0 auto;
}

.menu-box {
    display: grid;
    grid-template-rows: 360px;
    margin-bottom: 60px;
}

.menu-box h3{
    font-weight: bold;
}

.left-box {
    grid-template-columns: 2fr 1fr;
}

.right-box {
    grid-template-columns: 1fr 2fr;
}

.menu-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-box div {
    padding: 8%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.menu-box div h3 {
    font-size: 1.2em;
}

.menu-box div p {
    margin-bottom: 40px;
}

.menu-box .menu-more {
    padding: 5px 40px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
}

.box1 {
    background: #530;
}
.box2 {
    background: #535;
}
.box3 {
    background: #835;
}
.box3 img {
    object-position: 0 80%;
}

/* ===============================================
   Footer
   =============================================== */
.footer {
    margin: 0 auto;
    padding: 6% 0 1%;
    min-height: 500px; /* height固定だと中身が増えた時に崩れるのでmin-heightへ */
    height: auto;
    background: #f3f1ed;
}

.footer .container {
    /* 共通設定済みですが上書きが必要な箇所のみ記述 */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* 画面が狭くなった時に折り返す */
}

.footer-info p {
    font-size: 1.4em;
    margin-bottom: 40px;
}

.footer .container img {
    width: 240px;
    margin-bottom:36px;
}

.footer iframe {
    width: 360px;
    max-width: 100%; /* はみ出し防止 */
    aspect-ratio: 10 / 8;
}

.footer .container ul {
    width: auto; /* 100%だと横並びの邪魔になる場合があるのでautoへ */
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: .8em;
}
/* ナビゲーションのリンク色調整 */
.footer nav ul li a {
    text-decoration: none;
    color: inherit;
}

.copyright {
    margin-top: 80px;
    text-align: center;
}

/* ===============================================
   下層ページ：メニュー詳細など
   (今回はトップページ用ですが残しておきます)
   =============================================== */
.header-menupage-catchcopy-group {
    position: relative;
    width: 100%;
    aspect-ratio: 10/3;
}

.menu-page {
    max-width: 1200px;
    margin: 0 auto;
}

.menu-page h2 {
    text-align: center;
    padding: 40px;
}

.menu-info {
    text-align: center;
    font-size: 0.9em;
    margin-bottom: 40px;
}

.menu-layout {
    padding:40px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 40px;
    max-height: 500vh; /*固定の高さは中身によって崩れるので注意*/
    min-height: 100vh;
    align-items: center;

}

.menu-page-box {
    width: 46%;
    margin-bottom: 40px;
}

.menu-page-box dl p {
    font-size: 0.9em;
    margin-bottom: 20px;
    margin-left:20px;
}

.menu-page-box dt {
    padding: 16px;
    text-align: center;
    background: #af9f87;
    color: #fff;
    margin-bottom: 30px;
}

.menu-page-box dt span {
    margin-left: 20px;
    font-size: .9em;
    font-weight: normal;
}

.menu-page-box dd {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #af9f87;
}

.course-menu,.course-price {
    font-size: .75em;
}

.course-info {
    font-size: .7em;
    color: #888;
}

/* ===============================================
   スタッフ紹介ページ
   =============================================== */
.about-staff-page {
    max-width: 1000px;
    margin: 0 auto 100px;
}

.about-staff-page h2 {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
}

.staff-page-intro {
    text-align: center;
    margin-bottom: 60px;
}

/* スタッフリストのコンテナ */
.staff-list {
    display: flex;
    flex-direction: column;
    gap: 60px; /* スタッフ同士の間隔 */
}

/* スタッフカード（1人分の枠） */
.staff-card {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05); /* うっすら影 */
    align-items: flex-start;
}

/* 写真エリア */
.staff-image {
    width: 30%;
    min-width: 200px; /* 小さくなりすぎないように */
}

.staff-image img {
    width: 100%;
    height: auto;
    border-radius: 50%; /* 丸く切り抜く */
    aspect-ratio: 1 / 1; /* 正方形にする */
    object-fit: cover;
}

/* 情報エリア */
.staff-info {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.staff-info h3 {
    font-size: 1.5em;
    border-bottom: 1px solid #af9f87;
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #530;
}

.staff-quali h4 {
    font-size: 0.9em;
    color: #fff;
    background: #af9f87;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.staff-quali p {
    font-size: 0.95em;
    color: #666;
}

.staff-msg p {
    line-height: 1.8;
}

/* スマホ対応（縦並びにする） */
@media screen and (max-width: 768px) {
    .staff-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .staff-image {
        width: 60%;
        min-width: auto;
        margin-bottom: 20px;
    }

    .staff-info {
        width: 100%;
    }

    .staff-info h3 {
        text-align: center;
    }
}

/* スタッフ名のエリア */
.staff-name-area {
    border-bottom: 1px solid #af9f87;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.staff-name-area h3 {
    font-size: 1.6em;
    color: #530;
    margin-bottom: 5px;
    border: none; /* 以前のh3の線を消す */
    padding: 0;
}

.staff-pos {
    font-size: 0.9em;
    color: #888;
    display: inline-block;
    margin-right: 10px;
}

.staff-en {
    font-size: 0.85em;
    color: #af9f87;
    display: inline-block;
    font-family: sans-serif; /* 英語はゴシック体など */
    letter-spacing: 0.05em;
}

/* ===============================================
   ニュース詳細ページ (single.php)
   =============================================== */

/* 記事全体の枠（読みやすいように幅を少し絞る） */
.news-article {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 40px;
    background: #fff;
}

/* --- ヘッダーエリア --- */
.article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #af9f87;
    padding-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-family: sans-serif; /* 日付などはゴシック体で見やすく */
    color: #888;
}

.article-cat {
    background: #af9f87;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8em;
    border-radius: 2px;
}

.article-header h1 {
    font-size: 1.8em;
    line-height: 1.4;
    color: #530;
}

/* --- アイキャッチ画像 --- */
.article-thumbnail {
    margin-bottom: 40px;
}
.article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- 本文エリア（WordPressのエディタで書いた内容） --- */
.article-content {
    margin-bottom: 60px;
    line-height: 1.8;
    color: #333;
}

/* 本文中の見出し */
.article-content h2 {
    font-size: 1.4em;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid #af9f87; /* 左に線のアクセント */
    color: #530;
}

.article-content h3 {
    font-size: 1.2em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 本文中の段落 */
.article-content p {
    margin-bottom: 20px;
}

/* 本文中のリスト */
.article-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}
.article-content ol {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
}

/* 本文中の画像 */
.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* --- フッターナビゲーション --- */
.article-footer {
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    font-size: 0.9em;
}

.post-nav a {
    color: #af9f87;
    text-decoration: none;
}
.post-nav a:hover {
    opacity: 0.7;
}

.back-btn {
    text-align: center;
}

.back-btn a {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid #530;
    color: #530;
    text-decoration: none;
    transition: 0.3s;
}

.back-btn a:hover {
    background: #530;
    color: #fff;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .news-article {
        padding: 20px;
        width: 90%; /* コンテナ幅いっぱいでなく少し余白を */
    }
    .article-header h1 {
        font-size: 1.4em;
    }
}

/* ===============================================
   Aboutページ (ブロックエディタ対応版)
   =============================================== */
.about-page {
    max-width: 800px;
    margin: 0 auto 100px;
}

.about-page h2 {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
}

/* --- 本文エリア (.about-content) 内のスタイル --- */

/* 見出し (h3) */
.about-content h3 {
    font-size: 1.6em;
    text-align: center;
    color: #af9f87;
    margin-top: 60px;
    margin-bottom: 30px;
    font-family: "Chiron Sung HK", serif;
    letter-spacing: 0.1em;
}

/* 見出し (h4) - 必要なら */
.about-content h4 {
    font-size: 1.2em;
    border-left: 4px solid #af9f87;
    padding-left: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #530;
}

/* 段落 */
.about-content p {
    margin-bottom: 30px;
    line-height: 2;
}

/* --- テーブル (表ブロック) のデザイン --- */
.about-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    border-top: 1px solid #ccc;
}

/* テーブルの行 */
.about-content tr {
    border-bottom: 1px solid #ccc;
}

/* 左側のセル（項目名など） */
.about-content th {
    text-align: left;
    padding: 20px;
    background: #f9f8f6; /* 薄い背景色 */
    color: #530;
    font-weight: bold;
    width: 30%; /* 幅の目安 */
    vertical-align: top;
}

/* 右側のセル（内容） */
.about-content td {
    padding: 20px;
    color: #333;
    line-height: 1.8;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .about-content table,
    .about-content tbody,
    .about-content tr,
    .about-content th,
    .about-content td {
        display: block; /* スマホでは縦積みにする */
        width: 100%;
    }

    .about-content th {
        background: transparent;
        padding-bottom: 5px;
        color: #af9f87;
        border-bottom: none;
    }

    .about-content td {
        padding-top: 0;
        padding-bottom: 30px;
    }

    .about-content tr {
        border-bottom: 1px solid #eee;
    }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
	.header nav{
		gap:16px;
	}
	.header nav h1{
		width:30%;	
	}
	
	.header nav h1 img{
		width:100%;
	}
	
	.header ul {
		width:100%;
    justify-content: space-between;
    gap: 5px;
		font-size:.75em;
	}
	
	.header-info {
    top: 8px;
    right: 8px;
}
	
	
	.header-catchcopy-group p {
    bottom: 2%;
    right: 2%;
    font-size: 12px;
    padding: 16px;
	}
	
	.news-area li {
    padding: 10x;
		flex-direction:column;
	}
	
	.news-area li span {
		margin-bottom:8px;
	}
	
	.about {
		flex-direction:column-reverse;
		align-items:center;
    justify-content: center;
    gap: 40px;
	}
		
	.about div {
		padding: 0 8%;
    align-items: center;
    gap: 10px;
	}
	
	.about h2 {
		margin-bottom:20px;
	}

	.about-message {
    line-height: 1.2;
    padding-left: 8px;
	}
	
	.about img {
    width: 60%;
	}
	
	.left-box,.right-box{
		grid-template-columns:1fr;
	}
	
	.right-box img{
		order:1;
	}
	
	.right-box div{
		order:2;
	}
	
	.menu-box{
		grid-template-rows:120px auto;
	}
	
	.menu-box img {
    width: 100%;
		height:100px;
    object-fit: cover;
	}
	
	.menu-box div p {
    margin-bottom: 8px;
	}
	
	/*スタッフ*/
	.staff-name-area {
		margin:0 8% 0;
		text-align:center;
	}
	
	.staff-quali p {
    font-size: 1em;
		text-align:left;
		line-height:1.4;
	}
	
	.staff-card {
		margin-bottom:80px;
	}
	
	/*メニュー*/	
	.menu-page h2 {
    padding: 0;
	}
	
	.menu-layout {
    padding: 4%;
	}
	
	.menu-page-box {
    width: 100%;
	}
	
	.menu-page-box dl p {
    font-size: 1em;
		line-height:1.4;
	}
	
	/*フッター*/
	.footer .container {
		padding:8%;
    justify-content: flex-start;
    gap: 20px;
	}
	
	.footer-info{
		width:100%;
	}
	
	.footer .container ul {
    gap: 8px;
    font-size: 1em;
	}
	
}
