*,
*::before,
*::after {
    box-sizing: border-box; /* すべての要素に適用 */
}

/* 基本設定 */
html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth; /* スムーズスクロール */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom; /* 画像下部の余白削除 */
}

/*
.loading {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  background: #1d3a62;
  height: 100vh;
}

.loading div {
  top: 50%;
  left: 50%;  
  transform: translate(-50%, -50%);
  position: absolute;
}

.loading p {
  color: #fff;
  font-size: 50px;
  font-family: 'Concert One', cursive;
  animation: open .7s linear;
}


@keyframes open{
	0% {
		opacity: 0;
		transform: scaleY(8) scaleX(8);
	}
	70% {
		opacity: 1;
		transform: scaleY(1) scaleX(1);
	}
}
*/
/* ローディング画面 */
.loading {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  background: #dec4a6;
  height: 100vh;
  display: flex; 
  justify-content: center; 
  align-items: center;
}

.loading div {
    position: relative; 
}

.loading__logo {
    max-width: 200px; /* ロゴの最大幅を調整 */
    height: auto;
    opacity: 0; /* 初期状態で非表示 */
    animation: open 0.7s ease-out forwards; /* アニメーション適用 */
    animation-delay: 0.2s; /* アニメーション開始までの遅延 */
}

.spinner {
  width: 100px;
  height: 100px;
  /*margin: 200px auto;*/
  background-color: #fff;
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}
/* ローディングアニメーション */
/*
@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
*/
@keyframes open {
    0% {
        opacity: 0;
        transform: scale(0.5); /* 小さく表示して拡大 */
    }
    70% {
        opacity: 1;
        transform: scale(1.1); /* 少し大きくなってから */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* 元のサイズに戻る */
    }
}


.loaded {
  opacity: 0;
  visibility: hidden;
}

/* 共通コンテナ */
.section__inner, .header__inner, .footer__inner {
    max-width: 1100px; /* FitEasyに合わせた最大幅 */
    margin: 0 auto;
    padding: 0 20px; /* 左右の余白 */
}

/* ボタンの共通スタイル */
.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: #1d3a62; /* スチールブルー */
    color: #fff;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: #5F9EA0; /* シーグリーン */
}

.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background-color: #fff;
    color: #1d3a62;
    border: 1px solid #1d3a62;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #1d3a62;
    color: #fff;
}

.btn-store {
    display: inline-block;
    padding: 10px 15px;
    background-color: #1d3a62; /* スレートブルー */
    color: #fff;
    border-radius: 5px;
    font-size: 1.4rem;
    margin-right: 10px;
    margin-bottom: 10px;
    white-space: nowrap; /* テキストが途中で改行しないように */
}

/* ヘッダー */
.header {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 0;
    /*font-weight: 700;
    color: #4682B4; /* スチールブルー */
}

.site-logo a {
    display: block; /* aタグをブロック要素にする */
    line-height: 0; /* 画像の余白をなくす */
}

.site-logo img {
    height: 50px; /* ロゴ画像の高さを調整 (必要に応じて変更) */
    width: auto; /* アスペクト比を保つ */
    display: block; /* 余白の調整 */
}

.global-nav {
	padding-right: 20px;
	padding-left: 20px;
}

.global-nav ul {
    display: flex;
    gap: 30px;
	padding-right: 20px;
	padding-left: 20px;
}

.global-nav a {
    font-size: 1.6rem;
    color: #333;
    padding: 5px 0;
    position: relative;
}

.global-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #1d3a62;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.global-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header__reserve-btn {
    font-size: 1.5rem;
}

.nav-toggle { /* ハンバーガーメニューボタンはPCで非表示 */
    display: none;
}

/* ヒーローセクション */
.hero {
    /* background-image: url('../images/0016_xlarge.jpg'); メインビジュアルの背景画像 */
    background-size: cover;
    background-position: center;
    height: 70vh; /* 画面の高さの70% */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 40px; /* ヘッダーの高さ分 */
    position: relative;
    z-index: 1; /* ヘッダーの下にくるように */
}

/* スライドショーのコンテナ */
.hero__slideshow {
    position: absolute; /* 親要素に対して絶対配置 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* hero__innerより奥に配置 */
}

/* 各スライド画像 */
.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* 初期状態では非表示 */
    transition: opacity 1.5s ease-in-out; /* フェードイン・アウトのアニメーション */
}

/* 現在表示中のスライド */
.hero__slide.active {
    opacity: 1; /* activeクラスが付いている画像は表示 */
}

/* オーバーレイのz-indexを調整 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1; /* スライドショーより手前、hero__innerより奥に配置 */
}

.hero::before { /* オーバーレイ */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 暗めのオーバーレイ */
    z-index: -1;
}

.hero__catchcopy {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.hero__title {
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.margin-bottom40 {
    margin-bottom: 40px;
}


.hero__btn {
    font-size: 1.8rem;
    padding: 18px 40px;
}

/* ヒーローセクションの要素を初期状態で非表示にするCSS */
.fade-in-item {
    opacity: 0;
    transform: translateX(-20px); /* 初期位置を左に20pxずらす */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* アニメーションの設定 */
}

/* アニメーションを実行するクラス */
.fade-in-item.is-visible {
    opacity: 1;
    transform: translateX(0); /* 最終的な位置に戻す */
	transition-delay: 2s;
}
/* 各セクションの共通スタイル */
.section {
    padding: 80px 0;
}

.section:nth-of-type(odd) { /* 奇数番目のセクションの背景色 */
    background-color: #fff;
}

.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1d3a62;
    position: relative;
    display: inline-block; /* 線の幅をテキストに合わせる */
    padding-bottom: 10px;
}

.section-title::after { /* 下線 */
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #1d3a62;
}

/* ABOUTセクション */
.about__content {
    text-align: center;
}

.about__content > p {
    font-size: 1.8rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about__features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about__features li {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #fff; /* ライトシアン */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.about__features img {
    margin-bottom: 15px;
	width: 100%;

}
s
.about__features h3 {
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2F4F4F; /* ダークスレートグレー */
}

.about__features p {
    font-size: 1.5rem;
    color: #555;
}

/* 最新情報セクションのスタイル */
.news-list {

}

.news-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid #ccc;
    padding: 15px 0; /* PCでのパディング調整 */
}

.news-item:first-child {
    border-top: none;
}

.news-date {
    width: 150px;
    padding-right: 20px;
    font-weight: bold;
    /*color: #555;*/
    text-align: left;
}

.news-title {
    flex-grow: 1; /* 残りのスペースを埋める */
    margin: 0;
    line-height: 1.5;
}

.news-link {
    color: #333;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #1d3a62;
}


/* --- レスポンシブデザイン --- */
@media (max-width: 767px) {
    .news-item {
        flex-direction: column; /* 縦並びにする */
        align-items: flex-start; /* 左寄せ */
        padding: 20px 0;
    }

    .news-date {
        width: auto; /* 幅を自動調整 */
        margin-bottom: 5px; /* 日付とタイトルの間に余白 */
    }
}

/* サービスセクション */
.service__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* レスポンシブなグリッド */
    gap: 30px;
}

.service__item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service__item:hover {
    transform: translateY(-5px);
}

.service__item figure {
    width: 100%;
    height: 200px; /* 画像の高さ固定 */
    overflow: hidden;
}

.service__item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をボックスに収める */
}

.service__item h3 {
    font-size: 2.2rem;
    font-weight: 700;
    padding: 20px 20px 10px;
    color: #1d3a62;
}

.service__item p {
    font-size: 1.5rem;
    padding: 0 20px 20px;
    color: #555;
}

/* 店舗一覧セクション */
.store__description {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.store__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.store__item {
    background-color: #F0F8FF; /* アリスブルー */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.store__item h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2F4F4F;
}

.store__item p {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #555;
}

.store__more-btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
    font-size: 1.6rem;
}

.store_tab {
    font-size: 1.5rem;
    color:#fff;
    background-color: #1d3a62;
    display: flex;    
    margin-bottom:40px;
    }

.to_FC {
    font-size: 1.6rem;
    text-align: center;
}

/* オンラインショップセクション */
.online-shop p {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.online-shop__banners {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.online-shop__banner {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: relative;
    color: #fff;
    text-align: center;
    transition: transform 0.3s ease;
}

/*
.online-shop__banner:hover {
    transform: translateY(-5px);
}
*/

/*下記後で消して*/
.js-hidden-item {
    display: none;
}

.online-shop__banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-shop__banner p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-bottom: 0; /* 親要素のpのmarginを打ち消す */
}

.online-shop__btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
    font-size: 1.6rem;
}

/* サブスクリプション & メンズネイル & お問い合わせセクション */
.subscription, .men-nail, .contact {
    text-align: center;
}

.subscription p, .men-nail p, .contact p {
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.contact__info p {
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2F4F4F;
}

.contact__form-btn {
    font-size: 1.6rem;
}

/* フッター */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer__nav ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__nav a {
    color: #fff;
    font-size: 1.4rem;
}

.copyright {
    font-size: 1.4rem;
    color: #bbb;
}

.footer__sns {
    display: flex;
    gap: 15px;
}

.footer__sns img {
    width: 30px;
    height: 30px;
}

#contents1 {
	opacity: 0;
	transform: translateY(30px);
	transition: transform 0.3s ease-out 0s, opacity 0.3s linear 0s;
}

#contents1.active {
    transform: translateY(0);
	opacity: 1;
}

#contents2 {
	opacity: 0;
	transform: translateY(30px);
	transition: transform 0.3s ease-out 0s, opacity 0.3s linear 0s;
}

#contents2.active {
    transform: translateY(0);
	opacity: 1;
}

#contents3 {
	opacity: 0;
	transform: translateY(30px);
	transition: transform 0.3s ease-out 0s, opacity 0.3s linear 0s;
}

#contents3.active {
    transform: translateY(0);
	opacity: 1;
}

#contents4 {
	opacity: 0;
	transform: translateY(30px);
	transition: transform 0.3s ease-out 0s, opacity 0.3s linear 0s;
}

#contents4.active {
    transform: translateY(0);
	opacity: 1;
}

#contents5 {
	opacity: 0;
	transform: translateY(30px);
	transition: transform 0.3s ease-out 0s, opacity 0.3s linear 0s;
}

#contents5.active {
    transform: translateY(0);
	opacity: 1;
}




/* --- レスポンシブデザイン --- */

/* タブレット (〜1024px) */
@media (max-width: 1024px) {
    .section__inner, .header__inner, .footer__inner {
        padding: 0 30px;
    }

    .hero {
        height: 60vh;
    }

    .hero__catchcopy {
        font-size: 1.8rem;
    }

    .hero__title {
        font-size: 3.8rem;
    }

    .hero__btn {
        padding: 15px 35px;
        font-size: 1.6rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 3.2rem;
        margin-bottom: 50px;
    }

    /* ABOUT */
    .about__content > p {
        font-size: 1.6rem;
    }

    .about__features li {
        min-width: unset; /* 親要素に合わせて調整 */
        flex: none; /* flex:1を解除 */
        width: calc(50% - 15px); /* 2列表示 */
        max-width: 350px; /* 必要に応じて最大幅を設定 */
    }

    /* サービス */
    .service__items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* 店舗 */
    .store__item {
        padding: 25px;
    }

    .store__item h3 {
        font-size: 2.0rem;
    }

    .store__item p {
        font-size: 1.5rem;
    }

    

	/* ヘッダー */
    .header__inner {
        padding: 0 30px; /* PCサイズとの調整 */
    }
    
    .global-nav {
        /* ハンバーガーメニューが非表示のPC向けスタイルを無効化 */
        display: none;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 99;
    }

	.global-nav {
		padding-right: 2px;
		padding-left: 0px;
	}

    .global-nav.is-active {
        left: 0;
    }

    .global-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .global-nav a::after {
        display: none; /* スマホメニューでは下線非表示 */
    }

    .header__reserve-btn {
        display: none; /* ハンバーガーメニュー時に非表示 */
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 101;
		padding-top: 0;
		padding-bottom: 0;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .nav-toggle.is-active span:nth-of-type(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav-toggle.is-active span:nth-of-type(2) {
        opacity: 0;
    }
    .nav-toggle.is-active span:nth-of-type(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
}

/* スマートフォン (〜767px) */
@media (max-width: 767px) {
    html {
        font-size: 58%;
    }

    .section__inner, .header__inner, .footer__inner {
        max-width: 100%; /* 最大幅を100%に設定 */
        padding: 0 15px; /* 左右に15pxのパディング */
    }

    /* ヒーローセクションの修正 */
    .hero__inner {
        width: 100%; /* 幅を100%に設定 */
        padding: 0 15px; /* 左右に15pxのパディング */
    }

    /* ヘッダー */
    .header {
        padding: 15px 0;
    }

    .site-logo {
        font-size: 2.4rem;
    }

    .global-nav {
        display: none; /* ハンバーガーメニューで切り替えるため非表示 */
        position: fixed;
        top: 0;
        left: -100%; /* 初期位置は画面外 */
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 99;
    }

    .global-nav.is-active { /* JavaScriptで追加するクラス */
        left: 0;
    }

    .global-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 25px;
		padding-right: 20px;
		padding-left: 20px;
    }

    .global-nav a {
        font-size: 2.2rem;
        color: #1d3a62;
    }

    .global-nav a::after {
        display: none; /* スマホメニューでは下線非表示 */
    }

    .header__reserve-btn {
        display: none; /* スマホではメインメニュー内に移動、または非表示 */
    }

	.global-nav {
		padding-right: 2px;
		padding-left: 0px;
	}

    .nav-toggle { /* ハンバーガーメニューボタン表示 */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 101; /* ナビより手前に */
		padding-top: 0;
		padding-bottom: 0;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .nav-toggle.is-active span:nth-of-type(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav-toggle.is-active span:nth-of-type(2) {
        opacity: 0;
    }
    .nav-toggle.is-active span:nth-of-type(3) {
        transform: translateY(-10px) rotate(-45deg);
    }


    /* ヒーローセクション */
    .hero {
        height: 50vh;
        margin-top: 35px; /* ヘッダーの高さ分 */
    }

    .hero__catchcopy {
        font-size: 1.6rem;
    }

    .hero__title {
        font-size: 3.2rem;
    }

    .hero__btn {
        padding: 12px 25px;
        font-size: 1.5rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2.8rem;
        margin-bottom: 40px;
    }

    /* ABOUT */
    .about__content > p {
        font-size: 1.5rem;
    }

    .about__features li {
        width: 100%; /* 1列表示 */
        max-width: 320px; /* 最大幅 */
    }

    /* サービス */
    .service__item h3 {
        font-size: 2.0rem;
    }

    .service__item p {
        font-size: 1.4rem;
    }

    /* 店舗 */
    .store__description {
        font-size: 1.6rem;
    }
    .store__item {
        padding: 20px;
    }

    .store__item h3 {
        font-size: 1.8rem;
    }

    .store__item p {
        font-size: 1.4rem;
    }

    .btn-store {
        font-size: 1.2rem;
        padding: 8px 12px;
    }

    /* オンラインショップ */
    .online-shop p {
        font-size: 1.6rem;
    }
    .online-shop__banners {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .online-shop__banner {
        width: 100%; /* 1列表示 */
        max-width: 350px;
    }
    .online-shop__banner p {
        font-size: 2.0rem;
    }
    
    /* サブスクリプション & メンズネイル & お問い合わせ */
    .subscription p, .men-nail p, .contact p {
        font-size: 1.6rem;
    }

    .contact__info p {
        font-size: 1.8rem;
    }
    .contact__form-btn {
        font-size: 1.5rem;
    }

	/* JavaScriptでbodyに付与されるクラス */
	body.no-scroll {
    	overflow: hidden; /* メニュー表示時に背景のスクロールを止める */
	}

    /* フッター */
    .footer {
        padding: 30px 0;
    }
    .footer__nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .footer__nav a, .copyright {
        font-size: 1.3rem;
    }
}