@charset "utf-8";
/* ================================
   about.css  — 置き換え版
   ================================ */
html, body {
  height: auto;         /* 蝗ｺ螳夐ｫ倥ｒ隗｣髯､ */
  min-height: 100%;
}
.katagaki {
	text-align: right;
	padding: 0 0 30px 0;
}
.comment {
  font-size: 1.2em;
  line-height: 160%;
  font-weight: 200;
  padding: 0;
  margin: 0;
  text-indent: 1em;
}
.bottom30 {
	padding-bottom: 30px;
}
.bottom100 {
	padding-bottom: 100px;
}
.all {
  min-height: 100svh;   /* 繝｢繝舌う繝ｫ縺ｮ繧｢繝峨Ξ繧ｹ繝舌・螟牙虚縺ｫ繧ょｼｷ縺・*/
  padding-top: 130px;   /* 蝗ｺ螳壹・繝・ム繝ｼ蛻・・菴咏區 */
}
div.animation_box {
  position: relative !important; /* 莉･蜑阪・ absolute 繧堤┌蜉ｹ蛹・*/
  left: auto !important;
  top: auto !important;
  width: auto !important;
  padding: 40px 200px 120px 200px; /* 譌｢蟄倥ョ繧ｶ繧､繝ｳ縺ｫ霑代＞菴咏區 */
  z-index: 1;
  box-sizing: border-box;
  margin-right: 35%;
	font-family: "Noto Serif JP", serif;
}
/* スライドショー　*/
.container {
  position: fixed;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  pointer-events: none; 

}
.slider-area{
  /*position: relative; width: 100%; height: 100%; padding: 0; margin: 0;*/
}
.slider-item{
  position: absolute; inset: 0; opacity: 0; z-index: 0;
  animation: slideShow 30s linear infinite 0s;
}
.slider-item:nth-child(2){ animation-delay: 10s; }
.slider-item:nth-child(3){ animation-delay: 20s; }
.slider-item img{
  width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
}

@keyframes slideShow{
  0%{ opacity: 0; animation-timing-function: ease-in; }
  8%{ opacity: 1; animation-timing-function: ease-out; }
  20%{ opacity: 1; }
  40%,100%{ opacity: 0; }
}

/* 見出し */
h1{
  font-size: 2.2em;
  font-weight: 400;
  padding: 0 0 35px 0;
  margin: 0;
  line-height: 160%;
}
h2 {
  font-size: 1.4em;
  font-weight: 400;
  padding: 15px 10px;
  margin: 0;
  line-height: 160%;
  border-top: solid 1px #0e3460;
}
.lasth2 {
  border-bottom: solid 1px #0e3460;
}

/* 余白ユーティリティ */
.bottom50 { padding: 0 0 60px 0 !important; }

/* ボックス・比較DL */
.dl {
  clear: both;
  overflow: hidden;
  padding: 0;
  margin: 0 0 60px 0;
  border: dashed 1px #0e3460;
}
.shikakudl {
  display: inline-block;
  padding: 20px;
  margin: 0;
  vertical-align: top;
  width: calc(50% - 50px);
  box-sizing: border-box;
}
.shikakudl dt {
  padding: 0 0 3px 0;
  margin: 0;
  font-weight: bold;
}
.shikakudl dd {
  padding: 0;
  margin: 0;
}
.shikakudl dd:before {
  content: "-";
  padding-right: 10px;
}

/* ================================
   Accordion（aboutkanpo 専用）
   PCの見た目は維持／スマホのみ安全に上書き
   ================================ */
.toggle { display: none; } /* input */

.accordion .Label {
  position: relative;
  display: block;
  box-sizing: border-box;
  padding: 0;               /* h2に余白を任せる */
  width: 100%;
}
.accordion .Label > h2 {
  margin: 0;
  padding: 15px 10px;
  line-height: 1.6;
  /* 上のh2ベーススタイルを踏襲（border-top あり） */
}

/* 「＋」アイコン（PCデフォルト） */
.accordion .Label::before {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

/* 本文（閉じた状態） */
.accordion .content {
  height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: height .3s ease, padding .3s ease;
}

/* 開いた状態 */
.accordion .toggle:checked + .Label + .content {
  height: auto;
  padding: 20px;
  border-top: dashed 1px #0e3460;
}
.accordion .toggle:checked + .Label::before {
  content: "－";
}

/* 本文内の一覧（飲み方等） */
.nomikatadl {
  line-height: 180%;
  padding: 0;
  margin: 0 0 30px 0;
}
.nomikatadl dt {
  font-size: 1.2em;
  font-weight: 550;
  padding: 10px 0 5px 0;
  border-bottom: dotted 1px #0e3460;
  margin: 0 0 5px 0;
  display: block;
}
.nomikatadl dd {
  font-weight: 400;
  font-size: 1em;
  padding: 0 20px;
  margin: 0;
}
.nomikatadl dd:before {
  content: "-";
  padding: 0;
  margin: 0;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 900px){
  div.animation_box{
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important;
    padding: 24px 5vw !important;
    writing-mode: horizontal-tb !important;
  }
  h1{
    font-size: 1.8rem !important;
    line-height: 1.6 !important;
    padding-bottom: 16px !important;
  }

  .container{
    position: relative !important;
    width: 100% !important;
    height: 40vh !important;
    top: auto !important; right: auto !important;
    margin-top: 8px;
  }
  .slider-area{ height: 100% !important; }

  .comment{ font-size: 1rem !important; line-height: 1.7 !important; }
}
@media (max-width: 1024px) {
  .shikakudl { width: calc(50% - 40px); padding: 18px; }
}

@media (max-width: 768px) {
  /* アコーディオン：スマホ専用調整（はみ出し/重なり防止） */
  .accordion .Label {
    padding-right: 2.75rem;       /* アイコン分の余白をラベル側で確保 */
    min-height: 48px;             /* タップしやすい高さ */
  }
  .accordion .Label > h2 {
    padding-right: 2.75rem;       /* 見出し文字がアイコンに重ならない */
    font-size: 1.15em;            /* やや小さめに */
  }
  .accordion .Label::before {
    right: 10px;                  /* 画面内に必ず収める */
    font-size: 1.35rem;
  }
  .accordion .content {
    padding: 0 14px;              /* 右切れ対策：左右余白を端末幅内に */
  }
  .accordion .toggle:checked + .Label + .content {
    padding: 16px;
  }
  /* 本文・リストは左寄せ */
  .accordion .content p,
  .accordion .content ul,
  .accordion .content ol {
    text-align: left;
  }

  /* 比較DLは1カラムに */
  .shikakudl {
    width: 100%;
    padding: 14px;
  }
  .dl { margin-bottom: 40px; }
}

/* 万一の横スクロール抑制（このページのアコーディオン範囲のみ） */
.accordion { overflow-x: hidden; }
/* ===== モバイル時の本文はみ出し対策（右切れ防止） ===== */
@media (max-width: 768px) {
  /* アコーディオン本文全体を100vwに収め、長い語も強制折返し */
  .accordion .content {
    max-width: 100vw !important;
    padding-inline: 14px !important; /* 既存の左右paddingを安全化 */
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* 見出し側も箱の計算を安定化（既に実装済の方は二重でもOK） */
  .accordion .Label,
  .accordion .Label > h2 {
    box-sizing: border-box !important;
    max-width: 100vw !important;
  }

  /* 比較DLなどの二段組を1カラムにして横はみ出しを防止 */
  .dl { margin: 0 0 40px 0 !important; border-width: 1px; }
  .shikakudl {
    width: 100% !important;
    padding: 14px !important;
  }

  /* 本文内の表やリストも左寄せ＆はみ出し防止 */
  .accordion .content p,
  .accordion .content ul,
  .accordion .content ol,
  .accordion .content dl {
    text-align: left !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}

/* 万一の横スクロール抑制（強め） */
html, body { overflow-x: hidden; }
/* --- タイトル線をフル幅に（＋領域も含める） --- */
.accordion .Label {
  border-top: 1px solid #0e3460;   /* ここに線を付ける */
}

/* 既存の h2 に入っている border-top は無効化 */
.accordion .Label > h2 {
  border-top: none !important;
}