/*
Theme Name: Ecke Hair
Theme URI:
Author: Your Name
Author URI:
Description: Ecke Hairのオリジナルテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecke-hair
*/

/* ========================================
   リセット & 基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
    line-height: 1.6;
    color: #333;
    min-width: 375px;
    background-color: #fff;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ========================================
  汎用
======================================== */
/*--clearfix--*/
.clearfix {
	zoom: 100%;
}

.clearfix:after {
	content: ".";
	clear: both;
	height: 0;
	font-size: 0;
	line-height: 0;
}


/* h3を中央寄せするための親コンテナ */
.container,
.site-main,
section,
.topBgArea {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    width: 310px;
    font-weight: normal;
    margin: 0 auto 0;
    background-image: url("../images/h2Bg.png");
    text-align: center;
    line-height: 87px;
    font-size: 26px;
}

h3 {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: normal;
    padding: 0 20px 15px 20px;
    border-bottom: solid 1px #000000;
    text-align: center;
}

h3.norborder {
    border: none;
}

p.notice {
    font-size: 0.8rem;
    color: #000;
    text-align: center;
    margin-top: 40px;
}

.notice--sp {
    display: none;
}

.aboutMessage--sp {
    display: none;
}

.aboutText--sp {
    display: none;
}

/* ========================================
   コンテナ
======================================== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
======================================== */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.site-header .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex-shrink: 0;
}

.header__logo {
    margin: 0;
    line-height: 1;
}

.header__logo a {
    display: block;
}

.header__logo img {
    display: block;
    height: auto;
}

/* ナビゲーション */
.header__nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header__nav-link {
    transition: opacity 0.3s;
}

.header__nav-link:hover {
    opacity: 0.7;
}

/*-----------------------------------------------------
Header
-------------------------------------------------------*/
.header {
	background-color: #fff;
	border-bottom: 1px solid #e0e0e0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.header__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.header__logo {
	margin: 0;
	font-size: 24px;
	font-weight: bold;
}

.header__logo-link {
	color: #333;
	text-decoration: none;
	font-family: serif;
}

.header__nav {
	display: flex;
}

.header__nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	/* gap: 40px; */
}

.header__nav-item {
	display: flex;
	align-items: center;
}

.header__nav-link {
	color: #333;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: color 0.3s ease;
	border-bottom: 1px solid #333;
	padding-bottom: 2px;
}

.header__nav-link:hover {
	color: #8B4513;
}

.header__nav-link--reservation {
	background: none;
	padding: 0;
	border-bottom: none;
}

/* 画像リンクには下線なし */
.header__nav-link:has(img) {
	border-bottom: none;
	padding-bottom: 0;
}

.header__nav-link--reservation img {
	display: block;
	width: 90px;
	height: auto;
}

.header__menu-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	width: 30px;
	height: 30px;
	flex-direction: column;
	justify-content: space-around;
	padding: 5px 0;
}

.header__menu-btn-line {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #333;
	transition: all 0.3s ease;
}

/* モバイルメニューはPC画面では非表示 */
.mobile-menu {
	display: none;
}

@media screen and (max-width: 1099px) {
	.mobile-menu {
		display: block;
	}
}




/* ========================================
   キービジュアル
======================================== */
.key-visual {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.key-visual .swiper {
    width: 100%;
    height: 600px;
}

.key-visual .swiper-slide {
    width: 100%;
    height: 100%;
}

.key-visual .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Swiperのページネーションカスタマイズ */
.key-visual .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.key-visual .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Swiperのナビゲーションボタンカスタマイズ */
.key-visual .swiper-button-prev,
.key-visual .swiper-button-next {
    color: #fff;
}

/* レスポンシブ：スマホ */
@media (max-width: 768px) {
    .key-visual .swiper {
        height: 400px;
    }
}

@media (max-width: 375px) {
    .key-visual .swiper {
        height: 300px;
    }
}

/* ========================================
   Instagramギャラリー
======================================== */
.instaImages {
    width: calc(100% + 40px); /* containerのpadding 20px × 2 を打ち消す */
    max-width: 1100px;
    margin: 30px -20px 0; /* 左右-20pxで.containerのpaddingを相殺 */
    overflow: hidden; /* はみ出た部分を隠す */
}

.instaSwiper {
    width: 1100px;
    margin: 0;
    padding: 0;
}

.instaSwiper .swiper-wrapper {
    margin: 0;
    padding: 0;
}

.instaSwiper .swiper-slide {
    width: 270px !important;
    max-width: 270px;
    flex-shrink: 0;
    margin: 0;
}

.instaSwiper .swiper-slide img {
    width: 270px;
    height: 363px;
    display: block;
    object-fit: cover;
}

/* レスポンシブ：タブレット */
@media (max-width: 768px) {
    .instaSwiper .swiper-slide {
        width: 200px;
    }

    .instaSwiper .swiper-slide img {
        width: 200px;
        height: 200px;
    }
}

/* レスポンシブ：スマホ */
@media (max-width: 480px) {
    .instaSwiper .swiper-slide {
        width: 150px;
    }

    .instaSwiper .swiper-slide img {
        width: 150px;
        height: 150px;
    }
}

/* ========================================
   Information Section
======================================== */
.infoSection {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto 0;
}

.infoSection dl {
    display: flex;
    align-items: baseline;
    margin-bottom: 0;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.infoSection dt {
    font-weight: normal;
    width: 40%; /* 4:6の比率 */
    text-align: right;
    padding-right: 15px; /* 30pxの半分 */
    flex-shrink: 0;
}

.infoSection dd {
    width: 60%; /* 4:6の比率 */
    text-align: left;
    padding-left: 15px; /* 30pxの半分 */
    margin: 0;
}

.infoDate {
    font-size: 1.2rem;
}

.infoText {
    font-size: 1.2rem;
}
.infoSection dl:last-of-type {
    border-bottom: none;
}
.infoLine {
    /* padding: 20px 0 20px 0; */
}

/* ========================================
   Menu Section
======================================== */
.menuArea {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto 0;
}

.menuArea dl {
    display: flex;
    align-items: baseline;
    /* margin-bottom: 15px; */
    padding: 10px 0 10px 0;
    font-size: 1.1rem;
}

.menuArea dt {
    width: 50%; /* 5:5の比率 */
    text-align: right;
    padding-right: 30px; /* 60pxの半分 */
    flex-shrink: 0;
}

.menuArea dd {
    width: 50%; /* 5:5の比率 */
    text-align: left;
    padding-left: 30px; /* 60pxの半分 */
    margin: 0;
}

/* ========================================
   option Menu Section
======================================== */
.optionMenuArea {
    margin: 100px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.optionMenuArea h3 {
    margin-bottom: 30px;
}
.optionMenuArea dl {
    width: 1100px;
    display: flex;
    align-items: baseline;
    /* margin-bottom: 15px; */
    padding: 10px 0 10px 0;
    font-size: 1.1rem;
}

.optionMenuArea dt {
    width: 55%; /* 5:5の比率 */
    text-align: right;
    padding-right: 30px; /* 60pxの半分 */
    flex-shrink: 0;
}

.optionMenuArea dd {
    width: 45%; /* 5:5の比率 */
    text-align: left;
    padding-left: 30px; /* 60pxの半分 */
    margin: 0;
}

/* ========================================
   Abount Section
======================================== */
.aboutArea {
    margin: 330px auto 0;
    text-align: center;
}
.aboutArea p.aboutMessage {
    text-align: center;
    font-size: 1.6rem;
    border-bottom: solid 1px #000000;
    margin: 80px auto 30px;
    letter-spacing: 0.3em;
    padding: 0 30px;
}
.aboutArea p.aboutText {
    font-size: 1.2rem;
    line-height: 1.8em;
    letter-spacing: 0.2em;
}

/* ========================================
   Read More Button
======================================== */
.readMoreBtn {
    display: inline-block;
    float: right;
    align-self: flex-end; /* 親要素がflexの場合、右寄せ */
    margin-top: 20px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding: 10px 20px 0 0;
}

.readMoreBtn::before {
    content: "▶ ";
    margin-right: 5px;
    color: #000;
}

/* ========================================
   Reserve Area
======================================== */
.reserveArea {
    display: flex;
    align-items: flex-start;
    gap: 100px;
    width: 980px;
    max-width: 1100px;
    margin: 300px auto 0;
}

.reserveArea .reserveImage {
    flex-shrink: 0;
}

.reserveArea .reserveImage img {
    width: 323px;
    height: auto;
    display: block;
}

.reserveArea .reserveContent {
    flex: 1;
}
.reserveArea .reserveText {
    margin: 60px 0 0 0;
    font-size: 0.9rem;
    line-height: 2em;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

/* SP版は非表示（sp.cssで表示） */
.reserveText--sp {
    display: none;
}
.reserveArea .reserveCursor {
    margin: 0 auto 0;
    display: block;
    width: 28px;
}
.reserveArea .reserveBtn {
    display: block;
    width: 118px;
    margin: 60px auto 0;
}
/* レスポンシブ：スマホ */
@media (max-width: 768px) {
    .reserveArea {
        flex-direction: column;
        gap: 20px;
    }

    .reserveImage img {
        width: 100%;
        max-width: 323px;
    }
}

/* ========================================
   Access Info
======================================== */
.accessInfo {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1100px;
    margin: 30px auto 0;
}

/* SP版は非表示（sp.cssで表示） */
.accessInfo--sp {
    display: none;
}

.accessLeft {
    flex: 1;
    padding-right: 30px;
    border-right: 1px solid #000;
    margin: 0;
    font-size: 0.9rem;
    line-height: 2em;
    letter-spacing: 0.1em;
    text-align: left;
}

.accessRight {
    flex: 1;
    padding-left: 30px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 2em;
    letter-spacing: 0.1em;
    text-align: left;
}

/* レスポンシブ：スマホ */
@media (max-width: 768px) {
    .accessInfo {
        flex-direction: column;
    }

    .accessLeft {
        border-right: none;
        border-bottom: 1px solid #000;
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .accessRight {
        padding-left: 0;
    }
}

/* ========================================
   infomation
======================================== */
.infoSection {
    width: 1020px;
    margin: 0 auto 60px;
}


/* ========================================
    Top BG area
======================================== */
.topBgArea {
    width: 1100px;
    background: url("../images/topBg.png") no-repeat center top;
    /* background-size: cover; */
    padding: 320px 0 0 0;
}


/* ========================================
   メインコンテンツ
======================================== */
.site-content {
    min-height: 60vh;
}

.site-main {
    padding: 60px 0;
}

.site-main .container {
    max-width: 1100px;
}

/* ========================================
   記事
======================================== */
article {
    margin-bottom: 60px;
}

.entry-header h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.8;
}

/*-----------------------------------------------------
topMessage
-------------------------------------------------------*/
.topMessage {
    display: block;
    width: 750px;
    margin: 100px auto 100px;
}

.topMessage__sp {
    display: none;
}

.profileArea {
    width: 663px;
    display: flex;
    align-items: flex-end;
    justify-content: left;
    gap: 30px;
    margin: 150px auto 20px;
    padding-bottom: 30px;
    padding-left: 50px;
    border-bottom: solid 1px #000000;
}
.profileDetail {
    width: 663px;
    margin: 0 auto 0px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-align: left;
}

/*-----------------------------------------------------
access
-------------------------------------------------------*/
.accessArea {
    width: 1100px;
    margin: 300px auto 0;
    text-align: center;
}
.accessMap {
    width: 850px;
    margin: 80px auto 0;
    border: none;
}

/* ========================================
   フッター
======================================== */
.site-footer {
    background-color: #EDE6E1;
    padding: 0 0 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-navigation ul {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.site-info {
    text-align: center;
    font-size: 0.8rem;
    color: #000;
    padding-top: 20px;
    /* border-top: 1px solid #e0e0e0; */
}

/* ========================================
   レスポンシブ（タブレット・スマートフォン）
   ブレークポイント: 768px
======================================== */
@media (max-width: 1119px) {
    
    .container {
        padding: 0 16px;
    }

    /* ヘッダー */
    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .main-navigation ul {
        gap: 20px;
        font-size: 0.9rem;
    }

    /* メインコンテンツ */
    .site-main {
        padding: 40px 0;
    }

    article {
        margin-bottom: 40px;
    }

    .entry-header h2 {
        font-size: 1.5rem;
    }

    /* フッター */
    .site-footer {
        padding: 30px 0 20px;
        margin-top: 60px;
    }

    .footer-navigation ul {
        gap: 15px;
        font-size: 0.9rem;
    }
}

/* ========================================
   スマートフォン最小サイズ対応
   375px以下での調整
======================================== */
/* @media (max-width: 375px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .main-navigation ul {
        gap: 15px;
        font-size: 0.85rem;
    }

    .footer-navigation ul {
        gap: 12px;
    }
} */

/* ========================================
   Collection Page
======================================== */
.page-collection {
    padding: 0;
}

.page-collection .container {
    max-width: 100%;
    padding: 0;
    text-align: center;
}

.collection__image {
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.collection__image--pc {
    display: block;
}

.collection__image--mobile {
    display: none;
}

/* ========================================
   404 Page
======================================== */
.page-404 {
    padding: 100px 20px;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-404 .container {
    max-width: 600px;
}

.page-404__title {
    font-size: 5rem;
    font-weight: normal;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.page-404__message {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.8;
}

.page-404__link {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #333;
    color: #333;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.page-404__link:hover {
    background-color: #333;
    color: #fff;
}

/* ========================================
   改造
======================================== */
.accessArea iframe {
    width: 100%;
    height: 450px; /* 必要に応じて調整 */
    max-width: 850px;
    margin: 0 auto;
    display: block;
}
