/* カスタムフォントの定義 */
@font-face {
    font-family: "poppins.extralight";
    src: url("../FONTS/poppins.extralight.ttf") format("truetype");
}

@font-face {
    font-family: "poppins.light";
    src: url("../FONTS/poppins.light.ttf") format("truetype");
}

@font-face {
    font-family: "poppins.medium";
    src: url("../FONTS/poppins.medium.ttf") format("truetype");
}

@font-face {
    font-family: "theseasons";
    src: url("../FONTS/Fontspring-DEMO-theseasons-lt.otf") format("opentype");
}

@font-face {
  font-family: "Canter";
  src: url("../FONTS/CanterBold.otf") format("opentype");
}
/* フォント適用 */
h1, .highlight {
    font-family: "theseasons", serif; /* フォールバックフォントは serif */
}

p {
    font-family: "poppins.light", sans-serif; /* フォールバックフォントは sans-serif */
	color: #404040;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



h1 {
    font-size: 1.8em;
    font-weight: bold;
    color: #404040;
    margin-bottom: -10px; /* About を .about-box に近づけるために余白を小さくする */
}


ul {
  -webkit-padding-start: 0;
          padding-inline-start: 0;
  -webkit-margin-before: 0;
          margin-block-start: 0;
  list-style: none;
}


.canter {
  font-family: 'Canter';
  font-size: 3em;
  letter-spacing: 0.3em;
}

.cantercen {
  font-family: 'Canter';
  text-align: center;
  font-size: 3em;
  letter-spacing: 0.3em;
}

.canter2 {
  font-size: 2.2em;
  font-family: 'Canter';
  text-align: center;
  letter-spacing: 0px ;
}


.navbar {
  font-family: 'Canter';
  font-size: 36px;
}

.navbar .nav-link, .navbar .dropdown-item {
      color: white;
    }

    .navbar .nav-link:hover, .navbar .dropdown-item:hover {
      color: #ccc;
    }

    .navbar .nav-link {
      padding-top: 1px;
      padding-bottom: 1px;
    }


.bg-body-tertiary {
  --bs-bg-opacity: 1;
  background-color: black !important;
}



body {
    font-family: "poppins.light";
    background-color: #e4d5d7;
    padding: 10px;
    position: relative;
    overflow-x: hidden; /* 横方向のスクロールを無効化 */
}

/* 背景画像を擬似要素として追加し、半透明に設定 */
body::before {
    content: "";
    position: fixed;
    top: 0; /* 擬似要素を上に固定 */
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('img/bg3.png'); /* 背景画像を設定 */
    background-repeat:repeat;
    background-position: top left; /* 画像を常に上に固定 */
    background-attachment: fixed; /* 背景をスクロールに対して固定 */
    opacity: 0.8; /* 背景画像を半透明に */
    z-index: -1; /* コンテンツの後ろに配置 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* 常に1列レイアウト */
    background-color: transparent; /* コンテナの背景を無色に設定 */
    overflow: visible;
    border-radius: 8px;
}

.image-section,
.content-section,
.about-box,
.menu-box,
.staff-about-box,
.facial-box {
    width: 100%;
    max-width: 1000px; /* 共通の最大幅を設定 */
    margin: 0 auto; /* 中央揃え */
    box-sizing: border-box;
}


.image-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
    margin-bottom: 30px; /* image-section と h1 の間隔を広げる */
	padding-top: 62px; /* ナビゲーションバーの高さ分だけ余白を追加 */
}

.header-image {
    width: 100%; /* 幅を100%に */
    height: auto; /* 縦横比を保つ */
    max-width: 100%;
    border-radius: 0; /* 角丸を削除 */
}

.content-section {
    padding: 10px;
    background-color: transparent;
}



p {
    font-size: 0.9em;
    color: #404040;
    line-height: 1.4;
}

p.highlight {
    font-size: 1em;
    font-weight: bold;
}

p.small {
    font-size: 11px;
	margin-left: 10px;
	margin-top: 10px;
}



/* Deep */
.facial-info-section {
    max-width: 1200px;
    margin: 0 auto;
    padding:0 20px 20px 15px;
}

.facial-info-section h1 {
    font-size: 1.6em;
    margin: 10px 0 35px 0;
    font-weight: bold;
    text-align: left; /* タイトルも左揃え */
}

.facial-info-section h2 {
    font-size: 0.9em;
	font-family: "poppins.medium";
    text-align: left; /* タイトルも左揃え */
}

.facial-info-section p {
	font-family: "poppins.light";
	font-size: 0.75em;
}

.facial-info-section ol {
	font-family: "poppins.light";
	font-size: 0.75em;
}

.facial-info-section ul li {
	font-family: "poppins.light";
	font-size: 0.75em;
	list-style: disc;
	margin-left: 20px;
}

.facial-info-boxes {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: nowrap; /* 2列表示を常に維持 */
    text-align: left; /* 全体を左揃え */
}

.facial-info-box {
    width: 100%;
    max-width: 550px; /* 各ボックスの最大幅 */
    box-sizing: border-box;
}


.facial-info-box p {
    font-size: 0.8em;
    line-height: 1.4;
    margin-bottom: 15px;
}

.facial-info-box ul {
	list-style: disc;
}
.facial-info-box ol {
	margin-left: -18px;
}

.facial-info-box ul li,
.facial-info-box ol li {
    margin-bottom: 0;
}

.topmg40{
	margin-top: 40px;
}

.topmg20{
	margin-top: 40px;
}


/* モバイル用のフォントサイズの調整 */

@media screen and (max-width: 575.98px) {
  p {
    font-size: 0.7em;
    line-height: 1.4em;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 767px) {
    p {
        font-size: 14px; /* モバイルでフォントを小さく */
    }

    .highlight {
        font-size: 16px; /* highlight クラスも小さく */
    }
}

/* レスポンシブに対応しつつ、768px以上でも1列レイアウトを維持 */

@media (min-width: 768px) {
    .container {
        flex-direction: column; /* 768px以上でも1列レイアウト */
    }

    .image-section, .about-box .menu-box .staff-about-box .facial-box {
        width: 100%; /* 幅を100%に */
    }

    .header-image {
        width: 100%; /* 親要素の幅に合わせる */
        height: auto;
    }

    h1 {
        font-size: 32px;
    }

    p {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }

    .image-section, .about-box .menu-box .staff-about-box .facial-box {
        width: 100%; /* 画像とテキストの幅を100%に */
    }

    .header-image {
        width: 100%;
        height: auto;
    }

    h1 {
        font-size: 36px;
    }

    p {
        font-size: 20px;
    }
}