/* ==========================================================
   サイト全体のカラー設定
   ----------------------------------------------------------
   色を変更したいときは、基本的にここだけ変更すればOK
========================================================== */

:root {

  /* ---------- メインカラー ---------- */

  --color-main: #00aecc;
  /* 一番強い色：メニュー系、見出しテキスト */
  --color-dot-overlay: #c4972e59;
  /* ヘッダー画像のドットレイヤー */

  /* ---------- サブカラー ---------- */

  --color-sub: #573400;
  /* サブ（濃）：見出し装飾、p/cなど */

/* ---------- サブカラー2 ---------- */

  --color-sub2: #c4972e;
  /* サブ（薄）：リンク */
  --color-white-transparent: rgba(255, 255, 255, 0.873);
  /* a-BGの白背景 */

  /* ---------- サイト背景 ---------- */

  --color-background: #e1e1e1;
  /* 薄く落ち着いた色：ページ全体の背景 */


  /* ---------- 明るい文字 ---------- */

  --color-light: #573400;
  /* 明るいグレー：bodyの文字など */

  --color-white: #FFFFFF;
  /* 白：白文字、メニューの区切り線など */

  --color-white-header: rgba(255, 255, 255, 0.6);
  /* 白：白文字、メニューの区切り線など */

  /* ---------- 濃い文字 ---------- */

  --color-text: #333333;
  /* 通常の濃い文字 */

  --color-gray: #666666;
  /* グレー文字 */

  --color-gray-light: #A0A0A0;
  /* 薄いグレー */


  /* ---------- 枠線 ---------- */

  --color-border: #AAAAAA;
  /* detailsなどの枠線 */

  --color-border-light: #DDDDDD;
  /* 薄い枠線 */


  /* ---------- 半透明カラー ---------- */

  --color-overlay: rgba(0, 0, 0, 0.5);
  /* メニュー展開時の暗いオーバーレイ */

  --color-menu-shadow: rgba(0, 0, 0, 0.2);
  /* 展開メニューの影 */


  /* ---------- 特殊 ---------- */

  --color-image-placeholder: #EEEEEE;
  /* loading-imageの読み込み前背景 */
}


/* ==============================
  全体
=============================== */

body {
  margin: 0;
  padding: 0;

  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-size: 1.1rem;
  font-style: normal;

  background: var(--color-background);
  color: var(--color-light);

  background-repeat: repeat;
  background-attachment: fixed;
  background-size: contain;
}

/* ==============================
  アニメーション
=============================== */

.anim-box {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}

.anim-box.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.loading-image {
  max-width: 100%;
  height: auto;

  background: var(--color-image-placeholder);

  opacity: 0;
  transition: opacity 0.35s ease;
}

.loading-image.is-loaded {
  opacity: 1;
}

/* ==============================
  飾り枠
=============================== */
.frame {
  position: relative;
  width: 80%;
  max-width: 800px;
  margin-top: 3rem;
  margin-right: auto;
  margin-bottom: 3rem;
  margin-left: auto;
    padding-top: 2em;
    padding-right: 2em;
    padding-bottom: 4em;
    padding-left: 2em;
}
.frame::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at top left, transparent 20px, var(--color-sub2) 20px, var(--color-sub2) 23px, transparent 23px) left top / 23px 23px no-repeat,
    radial-gradient(circle at top right, transparent 20px, var(--color-sub2) 20px, var(--color-sub2) 23px, transparent 23px) right top / 23px 23px no-repeat,
    radial-gradient(circle at bottom left, transparent 20px, var(--color-sub2) 20px, var(--color-sub2) 23px, transparent 23px) left bottom / 23px 23px no-repeat,
    radial-gradient(circle at bottom right, transparent 20px, var(--color-sub2) 20px, var(--color-sub2) 23px, transparent 23px) right bottom / 23px 23px no-repeat,
    linear-gradient(90deg, transparent 20px, var(--color-sub2) 23px) left top / 51% 3px no-repeat,
    linear-gradient(-90deg, transparent 20px, var(--color-sub2) 23px) right top / 51% 3px no-repeat,
    linear-gradient(90deg, transparent 20px, var(--color-sub2) 23px) left bottom / 51% 3px no-repeat,
    linear-gradient(-90deg, transparent 20px, var(--color-sub2) 23px) right bottom / 51% 3px no-repeat,
    linear-gradient(180deg, transparent 20px, var(--color-sub2) 23px) left top / 3px 51% no-repeat,
    linear-gradient(0deg, transparent 20px, var(--color-sub2) 23px) left bottom / 3px 51% no-repeat,
    linear-gradient(180deg, transparent 20px, var(--color-sub2) 23px) right top / 3px 51% no-repeat,
    linear-gradient(0deg, transparent 20px, var(--color-sub2) 23px) right bottom / 3px 51% no-repeat;
}
.frame::after {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at top left, transparent 20px, var(--color-sub2) 20px, var(--color-sub2) 23px, transparent 23px) left top / 23px 23px no-repeat,
    radial-gradient(circle at top right, transparent 20px, var(--color-sub2) 20px, var(--color-sub2) 23px, transparent 23px) right top / 23px 23px no-repeat,
    radial-gradient(circle at bottom left, transparent 20px, var(--color-sub2) 20px, var(--color-sub2) 23px, transparent 23px) left bottom / 23px 23px no-repeat,
    radial-gradient(circle at bottom right, transparent 20px, var(--color-sub2) 20px, var(--color-sub2) 23px, transparent 23px) right bottom / 23px 23px no-repeat,
    linear-gradient(90deg, transparent 20px, var(--color-sub2) 23px) left top / 51% 3px no-repeat,
    linear-gradient(-90deg, transparent 20px, var(--color-sub2) 23px) right top / 51% 3px no-repeat,
    linear-gradient(90deg, transparent 20px, var(--color-sub2) 23px) left bottom / 51% 3px no-repeat,
    linear-gradient(-90deg, transparent 20px, var(--color-sub2) 23px) right bottom / 51% 3px no-repeat,
    linear-gradient(180deg, transparent 20px, var(--color-sub2) 23px) left top / 3px 51% no-repeat,
    linear-gradient(0deg, transparent 20px, var(--color-sub2) 23px) left bottom / 3px 51% no-repeat,
    linear-gradient(180deg, transparent 20px, var(--color-sub2) 23px) right top / 3px 51% no-repeat,
    linear-gradient(0deg, transparent 20px, var(--color-sub2) 23px) right bottom / 3px 51% no-repeat;
}
.frame h2 {
  text-align: center;
  color: var(--color-sub2);
}

/* ==============================
  ヘッダー
=============================== */

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  width: 100%;
  height: 100%;

  background-color: var(--color-main);
  color: var(--color-white);
}


.header-bg {
  width: 100%;
  height: 600px;

  background-image: url('https://tasteec.lsv.jp/souko/images/0.top.jpg');

  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}


/* ==============================
  ヘッダー画像＋ドット＋テキスト
=============================== */

.is-layer-dot {
  position: relative;
  z-index: 0;
}


/* ドット */

.is-layer-dot::after {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  content: "";

  display: block;

  background-color: var(--color-dot-overlay);

  background-image: radial-gradient(
    var(--color-white-header) 15%,
    transparent 0
  );

  background-size: 8px 8px;

  z-index: 1;

  pointer-events: none;
}


/* ヘッダーテキストを最前面へ */

.is-layer-dot .anim-box {
  position: relative;
  z-index: 10;
}

.is-layer-dot .header-text {
  position: relative;
  z-index: 10;
  margin: 1%;
  text-shadow: #3d2f0fbf 3px 0 30px;
}

.is-layer-dot .header-text-main {
  position: relative;
  z-index: 10;
  margin: 10%;
  color: var(--color-white-transparent);
  text-shadow: #3d2f0fbf 3px 0 30px;
  font-family: "Cinzel Decorative", serif;
  font-size: 5rem;
  font-weight: 400;
  font-style: normal;
}

/* ==============================
  リンク
=============================== */

a {
  color: var(--color-main);
  text-decoration: none;
  font-weight: 500;
}


.a-BG {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  padding: 4px 10px;
  line-height: 1.4;

  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 20px;

  box-sizing: border-box;
}



/* ==============================
   ブックマーク
=============================== */

.bookmark {
  display: flex;

  justify-content: center;
  align-items: center;

  text-align: center;

  flex-wrap: wrap;
  gap: 10px;
}


/* ==============================
   文字
=============================== */
h2 {
  position: relative;

  color: var(--color-sub2);

  padding: 0.5rem 0;
  margin-bottom: 2rem;

  display: inline-block;
  font-family: "Cinzel Decorative", serif;
  font-size: 2.5rem;
  font-weight: 500;
  font-style: normal;
}

h3 {
  position: relative;

  color: var(--color-sub2);

  padding: 0.5rem 0;
  margin-bottom: 1rem;

  display: inline-block;
  font-family: "Cinzel Decorative", serif;
  font-size: 1.8rem;
  font-weight: 500;
  font-style: normal;
}


/* ==============================
   全体のレイアウト
=============================== */

.parent {
  margin-left: 5%;
  margin-right: 5%;
  display: flex;

  justify-content: center;
  align-items: center;

  text-align: center;
}


.layout {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);
  margin-left: 5%;
  margin-right: 5%;
  grid-template-rows: auto;
  column-gap: 2rem;
  justify-content: center;
  max-width: 100%;
  height: auto;
  text-align: center;

  grid-template-areas:
    "a a"
    "b c"
    "d e"
    "f g"
    "h i" ;
}


/* ==========================================================
   画面が750px以下
========================================================== */

@media screen and (max-width: 750px) {

  .parent {
    margin: 5%;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;
  }


  .layout {
    display: grid;

    grid-template-columns:
      repeat(2, 1fr);

    grid-template-rows: auto;

    gap: 30px;
    row-gap: 30px;

    justify-content: center;
    align-items: center;

    max-width: 100%;

    height: auto;

    text-align: center;

    grid-template-areas:
      "a a"
      "b b"
      "c c"
      "d d"
      "e e"
      "f f"
      "g g"
      "h h"
      "i i" ;
  }

}


/* ==============================
   各ボックス
=============================== */

.box-a {
  grid-area: a;
}

.box-b {
  grid-area: b;

}


.box-c {
  grid-area: c;

}


.box-d {
  grid-area: d;

}


.box-e {
  grid-area: e;

}


.box-f {
  grid-area: f;

}


.box-g {
  grid-area: g;

}

.box-h {
  grid-area: h;

}

.box-i {
  grid-area: i;
}



/* ==============================
   MAIL
=============================== */

#MAIL {
  width: 100%;

  max-width: 800px;

  margin: 0 auto;

}


#MAIL form {
  width: 100%;

  max-width: 600px;

  margin: 0 auto;

  text-align: center;
}


/* ==============================
  トグル
=============================== */

details {
  background: var(--color-white);
  color: var(--color-text);

  width: 80%;
  margin: 1em auto; /* 外側余白 */
  padding: 0.5em;
  border-radius:8px; /*丸みを調整 */

  max-width: 800px; /* 最大幅 */
}


summary {
  margin: 1em auto; /* 外側余白 */
  padding: 0.5em;
  cursor: pointer;
}


details[open] {
  padding: 0.5em;
}


details[open] summary {
  border-bottom: 1px solid var(--color-border);

  margin-bottom: 0.5em;
}

.text-box {
  width: 80%;
  margin: 2em auto; /* 外側余白 */
  padding: 2em;   /* 内側余白 */
  border-radius:8px; /*丸みを調整 */
  background-color: var(--color-white);
  max-width: 800px; /* 最大幅 */
}


/* ==============================
   フッター
=============================== */

footer {
  display: flex;

  justify-content: center;
  align-items: center;

  height: 100px;
}


/* ==============================
   ギャラリー画像
=============================== */

#gallery img {
  border-radius: 20px;

  width: 30%;

  max-width: 140px;
}


/* ==============================
   ギャラリー画像の丸加工
=============================== */

#img-circle img {
  border-radius: 50%;

  position: relative;

  overflow: hidden;
}


/* 画像を丸くする */

.img-circle img {
  position: absolute;

  top: 0;
  left: 0;

  width: auto;
  height: 100%;

  object-fit: cover;
}


/* ==============================
   ホバー・明度
=============================== */

.hover-bright {
  transition: 0.3s ease;
}


.hover-bright:hover {
  filter: brightness(1.15);
  cursor: pointer;           /* マウスカーソルを指マークに */
  transform: translateY(-3px);
}

/* ==========================================================================================
  全スキン共通
=========================================================================================== */
/* ==============================
  テキスト系
=============================== */
p {
  color: var(--color-sub);
  text-decoration: none;

  font-weight: bold;
  font-size: 18px;
}


c {
  color: var(--color-sub);

  font-weight: bold;
  font-size: 18px;

  padding: 3px;
}

.text {
  padding-bottom: 3px;

  color: var(--color-main);

  background-image: linear-gradient(
    var(--color-main),
    var(--color-main)
  );

  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 0 1.5px;

  transition: background-size 0.2s;
}


.text:hover {
  background-position: bottom left;
  background-size: 100% 2px;
}

.custom-underline {
  text-decoration: underline;
  text-decoration-style: dotted; /* 下線のスタイルを点線（ドット）に変更 */
  text-decoration-thickness: 2px; /* 下線の太さを2ピクセルに変更 */
}

/* ==============================
  ページトップ・ページボトム
=============================== */

.to-pagetop {
  position: fixed;
  bottom: 100px;
  right: 20px;

  width: 25px;

  text-align: center;
  color: var(--color-white);

  opacity: 0;
  transition: opacity 400ms ease;

  cursor: pointer;
  z-index: 2;
}

.to-pagetop.is-shown {
  opacity: 1;
}


.to-pagebottom {
  position: fixed;
  bottom: 70px;
  right: 20px;

  width: 25px;

  text-align: center;
  color: var(--color-white);

  opacity: 0;
  transition: opacity 400ms ease;

  cursor: pointer;
  z-index: 2;
}

.to-pagebottom.is-shown {
  opacity: 1;
}

/*
==========================================================================================
  下部メニューバー
==========================================================================================
*/

#sp-fixed-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  height: 60px;

  padding: 0;
  margin: 0;

  background: var(--color-main);
  opacity: 0.95;

  z-index: 9999;

  box-sizing: border-box;

  transition: transform 0.4s ease;
}


/* ==============================
   メニューバー
============================== */

#sp-fixed-menu > ul {
  display: grid;

  grid-template-columns: repeat(6, 1fr);

  width: 100%;
  height: 60px;

  padding: 0;
  margin: 0;

  list-style: none;

  box-sizing: border-box;
}


/* ==============================
   6個のメニュー
============================== */

#sp-fixed-menu > ul > li {
  width: 100%;
  height: 60px;

  padding: 0;
  margin: 0;

  display: flex;

  justify-content: center;
  align-items: center;

  box-sizing: border-box;

  border-right: 1px solid var(--color-white);

  min-width: 0;
  transition: background-color 0.3s ease;

}

#sp-fixed-menu > ul > li:hover {
  background-color: rgba(255, 255, 255, 0.3);  
  cursor: pointer;           /* マウスカーソルを指マークに */
}

/* ==============================
   通常メニュー
============================== */

#sp-fixed-menu > ul > li > a {
  display: flex;

  justify-content: center;
  align-items: center;

  width: 100%;
  height: 60px;

  padding: 0;

  box-sizing: border-box;

  color: var(--color-white);

  text-align: center;

  white-space: nowrap;

  font-size: 14px;
}


/* ==============================
   ハンバーガーのマス
============================== */

#sp-fixed-menu > ul > li:last-child {
  width: 100%;
  height: 60px;

  padding: 0;
  margin: 0;

  display: flex;

  justify-content: center;
  align-items: center;

  box-sizing: border-box;

  border-right: none;

  min-width: 0;

  overflow: visible;
}


/* ==============================
   ハンバーガーボタン
============================== */

.menu-icon {
  position: relative;
  display: block;

  width: 100%;
  height: 60px;

  padding: 0;
  margin: 0;

  box-sizing: border-box;

  cursor: pointer;
  overflow: visible;
  z-index: 10004;
}


/* ==============================
   3本線
============================== */

.menu-icon span {
  position: absolute;

  left: 50%;

  display: block;

  width: 24px;
  height: 4px;

  margin: 0;
  padding: 0;

  background: var(--color-white);
  border-radius: 2px;

  transform-origin: center center;

  transition:
    top 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;

  box-sizing: border-box;
}


/* 上 */

.menu-icon span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%);
}


/* 中 */

.menu-icon span:nth-child(2) {
  top: 28px;
  transform: translateX(-50%);
}


/* 下 */

.menu-icon span:nth-child(3) {
  top: 35px;
  transform: translateX(-50%);
}


/* ==============================
   開いたとき → ×
============================== */

#menu-toggle:checked ~ ul .menu-icon span:nth-child(1) {
  top: 28px;
  transform: translateX(-50%) rotate(45deg);
}

#menu-toggle:checked ~ ul .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ ul .menu-icon span:nth-child(3) {
  top: 28px;
  transform: translateX(-50%) rotate(-45deg);
}


/* ==============================
   オーバーレイ
============================== */

.overlay {
  position: fixed;

  inset: 0;

  background: var(--color-overlay);

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.4s ease;

  z-index: 10001;
}


#menu-toggle:checked ~ .overlay {
  opacity: 1;

  pointer-events: auto;
}


/* ==============================
   展開メニュー
============================== */

.menu {
  position: fixed;

  left: 0;
  bottom: -320px;

  width: 100%;
  height: 320px;

  background: var(--color-main);
  color: var(--color-gray-light);

  box-shadow:
    2px 0 8px var(--color-menu-shadow);

  transition: bottom 0.4s ease;

  z-index: 10002;

  overflow-y: auto;

  box-sizing: border-box;
}


/* メニューを開いた状態 */

#menu-toggle:checked ~ .menu {
  bottom: 0;
}


/* ==============================
   展開メニューの中身
=============================== */

.menu ul {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 10px 10px;

  list-style: none;

  padding: 30px;

  margin: 0;

  width: 100%;

  box-sizing: border-box;

  text-align: center;
}


.menu li {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.menu li:hover {
  background-color: rgba(255, 255, 255, 0.3);  
  cursor: pointer;           /* マウスカーソルを指マークに */
}

.menu a {
  display: flex;

  justify-content: center;
  align-items: center;

  flex-direction: column;

  width: 100%;

  min-height: 40px;

  padding: 8px;

  box-sizing: border-box;

  text-decoration: none;

  color: var(--color-white);

  font-size: 1.2rem;

  text-align: center;

  transition: color 0.3s;
}




/* ==============================
   スクロールで下部メニューを隠す
============================== */

#sp-fixed-menu.menu-scroll-hide {
  transform: translateY(100%);
}


/*
==========================================================================================
  メニュー系ここまで
==========================================================================================
*/