@charset "UTF-8";
/* CSS Document */

/* ===========================
   Reset / Base Normalize
   =========================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN",
               "Meiryo", sans-serif;
  color: #222;
  background-color: #fff;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  margin: 0;
  padding-left: 1.2em;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding-left: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  margin: 0;
  border-radius: 0;           /* iOS の丸ボタン無効化 */
  background: transparent;
}

button {
  border: none;
  padding: 0;
  cursor: pointer;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

blockquote {
  margin: 0;
}
strong {
  font-weight: 700;
}

/* スクロールやアニメーションを控えめに（ユーザー設定を尊重） */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  scroll-behavior: smooth; /* アンカー移動をスムーズに */
}

/* ===========================
   Header / Global Nav
   =========================== */

/* ヘッダー共通（PC/SP共通のベース） */
.sc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 48, 112, 0.92);
  backdrop-filter: blur(4px);
  color: #fff;
}

.sc-header-inner {
  max-width: 1100px;       /* サイト幅に合わせて */
  margin: 0 auto;
  padding: 20px 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;      /* ロゴとナビを縦方向中央揃え */
  justify-content: space-between;
}

/* ロゴ */
.sc-logo {
  display: flex;
  align-items: center;
  margin: 0;
}

.sc-logo a {
  display: inline-flex;
  align-items: center;
}

.sc-logo img {
  display: block;
  height: 26px;             /* ロゴサイズ（調整可） */
}

/* グローバルナビ（PC） */
.sc-gnav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-gnav a {
  position: relative;
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  padding: 0;
}

/* 下線アニメーション（PC通常項目） */
.sc-gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ff6b3a;
  transition: width 0.2s ease;
}

.sc-gnav a:hover,
.sc-gnav a:focus {
  opacity: 0.8;
}

.sc-gnav a:hover::after,
.sc-gnav a:focus::after {
  width: 100%;
}

/* ===========================
   ナビ右端ボタン（PC）
   =========================== */

.sc-gnav li.sc-gnav-cta a {
  padding: 8px 24px;
  border-radius: 999px;
  background: #f04b15;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(0,0,0,0.15);
}

/* ボタンには下線アニメーション不要 */
.sc-gnav li.sc-gnav-cta a::after {
  display: none;
}

.sc-gnav li.sc-gnav-cta a:hover,
.sc-gnav li.sc-gnav-cta a:focus {
  opacity: 0.9;
  transform: translateY(1px);
}

/* ハンバーガー（PCでは非表示） */
.sc-nav-toggle {
  display: none;
  position: relative;
  width: 32px;
  height: 24px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.sc-nav-toggle span,
.sc-nav-toggle span::before,
.sc-nav-toggle span::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  content: "";
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.sc-nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.sc-nav-toggle span::before {
  top: -8px;
}

.sc-nav-toggle span::after {
  top: 8px;
}

/* 開いた時のハンバーガー → × */
.sc-nav-toggle.is-open span {
  background: transparent;
}

.sc-nav-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.sc-nav-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===========================
   SP レイアウト
   =========================== */

@media (max-width: 768px) {

  .sc-header-inner {
    padding: 10px 12px;
    position: relative; /* ナビのabsolute基準にする */
    z-index: 2;
  }

  /* ハンバーガー表示 */
  .sc-nav-toggle {
    display: block;
    z-index: 3; /* ナビより前面に */
  }

  /* ナビをヘッダーの下に出す */
  .sc-gnav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;              /* ヘッダーの高さ分だけ下 */
    background: rgba(0, 48, 112, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    z-index: 1;             /* toggleより背面 */
  }

  .sc-gnav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .sc-gnav li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .sc-gnav li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px;
  }

  /* PC用ホバー下線はSPでは非表示にする */
  .sc-gnav a::after {
    display: none;
  }

  .sc-gnav a {
    display: block;
    padding: 12px 24px;
    text-align: center;
  }

  /* SP ではボタンもフル幅メニュー内に馴染ませる */
  .sc-gnav li.sc-gnav-cta a {
    border-radius: 999px;
    background: #f04b15;
    box-shadow: none;
    padding: 15px 24px;
  }

  /* 開いた状態 */
  .sc-gnav.is-open {
    max-height: 260px; /* メニュー高さに合わせて調整 */
  }
}


 /* ===========================
   HERO / メインビジュアル
   =========================== */

/* 背景：海の写真を中央基準で全体に表示（SP 基準） */
.sc-hero {
  position: relative;
  overflow: hidden;
  background: url("../images/hero_bg_sea.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 80px 0 70px;
}

/* 中身レイアウト：左右に分割 */
.sc-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 540px;
  box-sizing: border-box;

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

/* 左右の幅：左45% / 右55% */
.sc-hero-left {
  flex: 0 0 50%;
}

.sc-hero-right {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* ---- 左：ロゴ＆コピー ---- */

.sc-hero-logo {
  display: block;
  max-width: 400px;
  height: auto;
  margin-bottom: 72px;
}

/* テキストコピー（使う場合） */
.sc-hero-copy {
  font-size: 40px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}
.sc-hero-copy strong {
  color: #ff4e24;
}


/* HERO コピーのスタイル調整 */
.sc-hero-copy {
  font-size: 30px;              /* ベースサイズ（小さい行） */
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #003070;               /* イメージカラーの紺 */
}

/* 1行目：少し小さめ */
.sc-hero-line1 {
  display: inline-block;
  font-size: 1em;             /* ベースより少しだけ小さい */
  font-weight: 700;
}

/* 2行目：大きめ・メインコピー */
.sc-hero-line2 {
  display: inline-block;
  margin-top: 4px;
  font-size: 1.3em;             /* 1行目より大きく */
  font-weight: 700;
}

/* 「乾杯」「楽しくなる」＝サブカラー（唐辛子色） */
.sc-hero-line2 .accent-main {
  color: #e6451a;               /* 既存の唐辛子っぽいオレンジ〜赤 */
}

/* 「が」だけ少し小さくする */
.sc-hero-line2 .small-ga {
  font-size: 0.7em;             /* 行より一段小さい */
  vertical-align: 0.05em;       /* 少しだけ上に寄せると自然 */
}

/* SP のときは全体を少しだけ小さく */
@media (max-width: 768px) {
  .sc-hero-copy {
    font-size: 18px;
    line-height: 1.7;
  }

  .sc-hero-line2 {
    font-size: 1.2em;
  }
}



/* ---- 右：商品セット ---- */

/* 商品画像（このクラスを img に直接付ける想定） */
.sc-hero-product {
  display: block;
  max-width: 600px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
  animation: heroFloat 6s ease-in-out infinite alternate;
}

/* 右下の © Orion 画像 */
.sc-hero-copyright {
  position: absolute;
  right: 16px;
  bottom: 10px;
  width: 60px;  /* orion_c.png に合わせて調整 */
  height: auto;
}

/* ===========================
   PCレイアウト（769px〜）
   =========================== */
@media (min-width: 769px) {

  /* 背景で空を多めに見せる */
  .sc-hero {
    background-position: center 10%;
  }

  /* ロゴ＆コピーの縦位置（上に持ち上げている） */

.sc-hero-left {
    margin-top: -223px;   /* +で下 / -で上。必要に応じて微調整 */
  }

  /* 商品画像を下げてバランス調整 */
  .sc-hero-product {
    margin-top: 140px;    /* 数値で上下位置を調整 */
  }
}


/* ===========================
   SPレイアウト（〜768px）
   =========================== */

@media (max-width: 768px) {

  /* ヘッダー（ナビ）はそのまま流用 */
  .sc-header-inner {
    padding: 10px 12px;
    position: relative;
    z-index: 2;
  }

  .sc-gnav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .sc-gnav li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
  .sc-gnav li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .sc-gnav a::after {
    display: none;   /* PC用ホバー下線は非表示 */
  }

  .sc-gnav a {
    display: block;
    padding: 12px 24px;
    text-align: center;
  }

  .sc-nav-toggle {
    display: block;
    z-index: 3;
  }

  .sc-gnav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(0, 48, 112, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    z-index: 1;
  }

  .sc-gnav.is-open {
    max-height: 260px;
  }

  /* SPではヘッダー右のCTAボタンを非表示 */
  .sc-header-cta {
    display: none;
  }

  /* ---- HERO を縦並びに ---- */

  .sc-hero {
    padding: 60px 0 13px;
    background-position: left center;  /* SPは中心基準に戻す */
  }

  .sc-hero-inner {
    padding: 0 16px;
    min-height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sc-hero-left,
  .sc-hero-right {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 0;  /* PC用の margin-top をリセット */
  }

  .sc-hero-left {
    margin-bottom: 0px;
  }

  .sc-hero-logo {
    max-width: 280px;
    margin: 0 auto 20px;
  }

  .sc-hero-copy {
    font-size: 16px;
    line-height: 1.9;
  }

  .sc-hero-right {
    justify-content: center;
  }

  .sc-hero-product {
    max-width: 320px;
    margin: 0 auto 12px;
    animation: heroFloatSp 6s ease-in-out infinite alternate;
  }

  .sc-hero-copyright {
    position: static;
    display: block;
    margin: 0 auto;
    width: 60px;
    margin-top: 6%;
  }
}

/* ===========================
   HERO：ふわっと上下に動くアニメーション
   =========================== */

/* PC用：少し大きめにゆらゆら */
@keyframes heroFloat {
  0% {
    transform: translateY(40px);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(40px);
  }
}

/* SP用：振れ幅を少し控えめに */
@keyframes heroFloatSp {
  0% {
    transform: translateY(30px);
  }
  50% {
    transform: translateY(18px);
  }
  100% {
    transform: translateY(30px);
  }
}


/* ===========================
   About / 名護発・シマカラCHIPS
   =========================== */

.sc-about {
  position: relative;
  background:
    #f5fbff
    url("../images/contents01_bg.jpg")
    center top / 100% auto
    no-repeat;            /* ← repeat-y をやめて no-repeat に */
  padding: 80px 0 90px;
}

.sc-about-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}

/* 見出し */
.sc-about-head {
  margin-bottom: 40px;
}

.sc-about-title {
  font-size: 30px;
  letter-spacing: 0.18em;
  color: #003070;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* タイトル下の横線 */
.sc-about-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 2px;
  background: #003070;
  transform: translateX(-50%);
}

.sc-about-sub {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #003070;
  opacity: 0.75;
}

/* 本文 */
.sc-about-body {
  font-size: 16px;
  line-height: 2.8;
  color: #003070;
}

.sc-about-text + .sc-about-text {
  margin-top: 8px;
}

/* 赤い強調 */
.accent-red {
  color: #e6451a;   /* 唐辛子カラー */
}

/* ===========================
   About SP（〜768px）
   =========================== */

@media (max-width: 768px) {
  .sc-about {
    background-position: center top;
    background-size: cover;
  }

  .sc-about-inner {
    padding: 0 16px;
  }

  .sc-about-title {
    font-size: 22px;
  }

  .sc-about-sub {
    font-size: 11px;
  }

  .sc-about-body {
    font-size: 14px;
    line-height: 3;
  }
}





/* ===========================
   おいしさのひみつセクション
   =========================== */
.sc-secret-item{
max-width: 932px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6%;
}

.sc-secret-thumb{
width: 35%;
}

.sc-secret-body{
width:60%;
}

/* 2段目だけ左右入れ替え */
.sc-secret-item--reverse {
  flex-direction: row-reverse;
}

/* タイトル＋波ライン */
.sc-secret-item-title {
font-size: 20px;
color: #143c7a;
font-weight: 700;
margin: 0 0 5px;
}


.sc-secret-item-title .ct1 {
	font-size: 10px !important;
	color: #143c7a !important;
	vertical-align: text-top !important;
}

span.caution {
	font-size: 10px !important;
	color: #143c7a !important;
}


/* サブタイトル・本文 */
.sc-secret-item-sub {
  font-size: 13px;
  color: #2d4a82;
  margin-bottom: 5px;
}

.sc-secret-item-text {
  font-size: 14px;
  line-height: 2.2;
  margin-top: 10px;
}
.sc-secret {
  background: #fdf3de; /* ベージュ系。背景画像を使うならここを差し替え */
  padding: 80px 0 100px;
}

.sc-secret-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  color: #25406c;
}

/* セクションヘッダー */
.sc-secret-head {
  text-align: center;
  margin-bottom: 72px;
}

/* 日本語タイトル */
.sc-secret-title-ja {
  position: relative;
  display: inline-block;
  font-size: 30px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #003070;          /* ヘッダーと同系の紺 */
  margin-bottom: 13px;
  padding-bottom: 14px;    /* 下線との距離 */
}


/* タイトル下の細いライン（シマカラの見出しと同じイメージ） */
.sc-secret-title-ja::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 140px;            /* ラインの長さは好みで調整 */
  height: 2px;
  background-color: #003070;
}

/* 英語サブタイトル */
.sc-secret-title-en {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a8db0;
  margin-bottom: 28px;
}

/* リード文 */
.sc-secret-lead {
  font-size: 15px;
  line-height: 2.2;
  color: #25406c;
  max-width: 780px;
  margin: 0 auto;
}

/* POINTラベル */
.sc-secret-point {
  display: inline-flex;          /* ← flexにする */
  align-items: center;           /* 縦方向を中央揃え */
  justify-content: center;       /* 横方向も中央揃え */
  gap: 0.3em;                    /* POINT と 数字の間の余白 */

  font-size: 13px;
  letter-spacing: 0.18em;
  padding: 4px 16px;
  border-radius: 999px;
  background: #143c7a;
  color: #fff;
  margin-bottom: 14px;
  font-weight: bolder;
}

/* 数字部分だけ大きく＆バランス調整 */
.point_fb{
  font-size: 2em;
  line-height: 1;                /* 変な上下余白をなくす */
  letter-spacing: 0;             /* 数字だけ字間リセット（お好みで） */
}


/* ===========================
   おいしさのひみつ SP レイアウト
   =========================== */

@media (max-width: 768px) {

  .sc-secret {
    padding: 60px 0 80px;
  }

  .sc-secret-inner {
    padding: 0 16px;
  }

  .sc-secret-head {
    margin-bottom: 48px;
  }

  .sc-secret-title-ja {
    font-size: 22px;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
  }

.sc-secret-title-ja::after {
    width: 110px;
  }


  .sc-secret-lead {
    font-size: 14px;
    line-height: 2;
  }

  .sc-secret-item,
  .sc-secret-item--reverse {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 56px;
  }

  .sc-secret-thumb,
  .sc-secret-body {
    flex: 0 0 auto;
    width: 100%;
  }

  .sc-secret-thumb img {
    width: 75%;
    margin: 0 auto;
  }

  .sc-secret-item-title {
    font-size: 18px;
  }

  .sc-secret-item-text {
    font-size: 13px;
    line-height: 2;
  }

  .sc-secret-item-title span::after {
    width: 200px; /* SPでは少し短め */
  }

  .sc-secret-cta-btn {
    width: 100%;
    max-width: 320px;
  }
}



/* ご購入ボタン */
.sc-secret-cta {
  text-align: center;
}

.sc-secret-cta-btn {
  display: inline-block;
  min-width: 260px;
  padding: 18px 40px;
  border-radius: 999px;
  background: #f04b15;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,0.18);

  /* ここでアニメーションをなめらかに */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.sc-secret-cta-btn:hover,
.sc-secret-cta-btn:focus {
  opacity: 0.9;
  transform: translateY(2px);             /* ふわっと沈む感じ */
  box-shadow: 0 2px 0 rgba(0,0,0,0.18);   /* 影も少し薄く */

  /* ホバー時も絶対に下線が出ないように */
  text-decoration: none;
}

/* クリック中の押し込み感（お好みで） */
.sc-secret-cta-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.18);
}





/* ===========================
   SP用フォントサイズの微調整（上書き）
   =========================== */
@media (max-width: 768px) {

  /* ヒーローのキャッチコピー */
  .sc-hero-copy {
    font-size: 20px;   /* 元 16〜18px → 少し大きめに */
    line-height: 1.9;
  }

  /* 名護発・シマカラCHIPS の本文 */
  .sc-about-body {
    font-size: 15px;   /* 元 14px */
    line-height: 3;    /* 行間はそのままゆったり */
  }

  /* おいしさのひみつ リード文 */
  .sc-secret-lead {
    font-size: 16px;   /* 元 14px */
    line-height: 2.2;
  }

  /* 各POINTの本文 */
  .sc-secret-item-text {
    font-size: 14px;   /* 元 13px */
    line-height: 2.2;
  }

  /* POINTタイトルちょい大きめに */
  .sc-secret-item-title {
    font-size: 19px;   /* 元 18px */
  }
}




/* ===========================
   島の恵み / Story セクション
   =========================== */

.sc-story {
  background: #ffffff;
  padding: 80px 0 100px;
}

.sc-story-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  text-align: center;
  color: #003070;
}

/* 上部ヘッダー */
.sc-story-head {
  margin-bottom: 40px;
}

.sc-story-title-ja {
  font-size: 26px;
  letter-spacing: 0.18em;
  font-weight: 700;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}


/* 下の見出しは少し小さく */
.sc-story-title-ja--small {
  font-size: 22px;
}

/* 上の大きい見出しと差を付けたい場合 */
.sc-story-head-bottom {
  margin-top: 40px;
  margin-bottom: 20px;
}

.sc-story-title-sub {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #7a8db0;
}

.sc-story-lead {
  margin-top: 40px;
  font-size: 15px;
  line-height: 2.2;
}

/* 本文 */
.sc-story-text {
  margin: 28px auto 0;
  max-width: 780px;
  font-size: 15px;
  line-height: 2.4;
  margin-bottom: 40px;
}

.sc-story-inner .sc-story-text:nth-of-type(2) {
  margin-bottom: 0;
}

/* 写真 */
.sc-story-photo {
  margin: 0 auto 32px;
  max-width: 920px;
}

.sc-story-photo img {
  width: 100%;
  height: auto;
  border-radius: 24px;                 /* 角丸 */
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* ===========================
   島の恵み SP レイアウト
   =========================== */

@media (max-width: 768px) {
  .sc-story {
    padding: 60px 0 80px;
  }

  .sc-story-inner {
    padding: 0 16px;
  }

  .sc-story-title-ja {
    font-size: 20px;
    letter-spacing: 0.16em;
  }

  .sc-story-title-ja::after {
    width: 140px;
  }

  .sc-story-title-ja--small {
    font-size: 18px;
  }

  .sc-story-title-sub {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .sc-story-lead,
  .sc-story-text {
    font-size: 14px;
    line-height: 2.2;
  }

  .sc-story-photo {
    margin-bottom: 24px;
  }

  .sc-story-photo img {
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
}


/* 画像の枠（角丸＆はみ出し防止） */
.sc-story-photo-wrap {
  overflow: hidden;
  border-radius: 24px;          /* 角丸はお好みで */
}

/* 初期状態：セピア＋少し拡大＋ちょい淡く */
.sc-story-photo {
  display: block;
  width: 100%;
  height: auto;

  opacity: 0;
  transform: translateY(30px) scale(1.04);

  /* ここをセピア寄りに */
  filter:
    sepia(0.9)
    contrast(1.05)
    brightness(1.05);

  transition:
    opacity 1.8s ease-out,
    transform 1.8s ease-out,
    filter 2.4s ease-out;
}


/* 画面に入ったとき：等倍＋色が戻る */
.sc-story-photo.is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);

  /* セピアを解除して自然な色に戻す */
  filter:
    sepia(0)
    contrast(1)
    brightness(1);
}

/* SP は少しだけ動きを控えめに */
@media (max-width: 768px) {
  .sc-story-photo {
    transform: translateY(20px) scale(1.02);
  }
}



/* ===========================
   商品情報・ご購入セクション
   =========================== */

.sc-product {
  position: relative;          /* 疑似要素の基準にする */
  padding: 80px 0 100px;
  background: #fdf3de;         /* ベース色はそのまま */
  overflow: hidden;            /* はみ出し防止（任意） */
}


/* セクション全体に地図BGを全幅で敷く */
.sc-product::before {
  content: "";
  position: absolute;
  inset: 0;  /* top:0; right:0; bottom:0; left:0 と同じ */
  background:
    url("../images/contents_04_bg.png")
    center / cover no-repeat;
  opacity: 0.8;                 /* 濃さはお好みで */
  pointer-events: none;         /* 背景なのでクリック無効 */
  z-index: 0;
}



.sc-product-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
  color: #003070;

  position: relative;
  z-index: 1;   /* 背景より前面へ */
}


/* 見出し */
.sc-product-head {
  margin-bottom: 40px;
}

.sc-product-title-ja {
  font-size: 26px;
  letter-spacing: 0.18em;
  font-weight: 700;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.sc-product-title-ja::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 140px;
  height: 2px;
  background: #003070;
  transform: translateX(-50%);
}

.sc-product-title-en {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a8db0;
}

/* ビジュアルブロック */
/* 商品ビジュアルの枠 */
.sc-product-visual {
  position: relative;
  max-width: 1000px;        /* ← ここを 520px くらいから広げる */
  margin: 0 auto;
  aspect-ratio: 4 / 2;     /* 比率はお好みで。なければ入れなくてもOK */
  overflow: visible;       /* はみ出しも見せたいなら visible に */
}


/* 地図背景 */
.sc-product-map {
  position: absolute;
  inset: 0;
  background: url("../images/contents_04_bg.png")
             center center / contain no-repeat;
  opacity: 0.7;
}


/* 地図PNG：いちばん奥（背景扱い） */
.sc-product-map-png {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  max-width: 720px;      /* 地図の大きさここで調整 */
  height: auto;
  object-fit: contain;
  opacity: 0.95;         /* 濃さはお好みで */
  z-index: 0;
  pointer-events: none;
}


/* 唐辛子（ふわふわアニメするレイヤー） */
.sc-product-peppers {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: auto;
  pointer-events: none;

  animation: productPeppersFloat 9s ease-in-out infinite alternate;
}

/* パッケージ（中央で静止） */
/* パッケージ本体 */
.sc-product-package {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;           /* コンテナいっぱい */
  max-width: 460px;      /* ← ここを 340px 前後からアップ */
  margin: 0 auto;
}

/* 唐辛子のふわふわアニメーション */
@keyframes productPeppersFloat {
  0% {
    transform: translate(-4px, 10px) rotate(-2deg);
    filter: blur(0);
  }
  50% {
    transform: translate(4px, -6px) rotate(1deg);
    filter: blur(0.4px);
  }
  100% {
    transform: translate(-6px, 4px) rotate(-1deg);
    filter: blur(0.8px);
  }
}



/* ===========================
   商品情報タブ（原材料／アレルギー／栄養）
   =========================== */

.sc-product {
  padding: 80px 0 100px;
  background: #fbf3e5;          /* 商品エリア全体の背景お好みで */
}

.sc-product-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* タブ全体のブロック */
.sc-product-tabs {
  margin-top: 36px;
}

/* タブ上部のバー */
.sc-product-tabs-nav {
  display: flex;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  max-width: 650px;
  margin: 0 auto;
  height: 50px;
}

/* 1つ1つのタブボタン（非アクティブの基本色を薄めに） */
.sc-product-tab {
  flex: 1;
  position: relative;
  padding: 14px 8px;
  background: linear-gradient(90deg, #6e8cc0, #8ea5cf); /* ← 薄い青 */
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.85);                     /* 文字も少し薄め */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    opacity 0.25s ease;
}

/* アクティブタブ（今までの濃い色） */
.sc-product-tab.is-active {
  background: linear-gradient(90deg, #0f2c5c, #244b86);
  color: #fff; /* ここはしっかり白で */
}

/* タブの区切り線（右側にうっすら白線） */
.sc-product-tab + .sc-product-tab {
  border-left: 1px solid rgba(255,255,255,0.35);
}

/* アクティブタブ（中央が少し明るくなる感じ） */
.sc-product-tab.is-active {
  background: linear-gradient(90deg, #0f2c5c, #244b86);
}

/* ホバー時ちょっとだけ明るく */
.sc-product-tab:hover {
  opacity: 0.9;
}

/* アイコンっぽい丸（左側） 
.sc-product-tab::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid #fff;
  vertical-align: -3px;
}*/

/* テキストをちょい下げてセンターに */
.sc-product-tab {
  line-height: 1;
}

/* 下の白背景パネル部分 */
.sc-product-tabs-panels {
  position: relative;
  display: grid;                 /* ★追加 */
  border-radius: 0 0 4px 4px;
  background: #fff;
  border: 1px solid #e4d8c6;
  border-top: none;
  padding: 18px 20px 22px;
  font-size: 13px;
  line-height: 2;
  color: #333;
  max-width: 650px;
  margin: 0 auto;
  /* min-height: 100px; ←あってもいいけど必須ではない */
}

/* 各パネル */
.sc-product-tab-panel {
  /* display: none; ←消す */

  /* ★全パネルを同じ場所に重ねる */
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* アクティブだけ見せる */
.sc-product-tab-panel.is-active {
  /* display: block; ←不要 */
  opacity: 1;
  pointer-events: auto;
}
/* SP レイアウト調整 */
@media (max-width: 768px) {
  .sc-product-inner {
    padding: 0 12px;
  }

  .sc-product-tab {
    font-size: 12px;
    letter-spacing: 0.14em;
    padding: 11px 4px;
  }

  .sc-product-tab::before {
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }

  .sc-product-tabs-panels {
    padding: 14px 12px 18px;
    font-size: 12px;
    line-height: 1.9;
  }
}


/* SP レイアウト調整 */
@media (max-width: 768px) {
  .sc-product {
    padding: 60px 0 80px;
  }

  .sc-product-inner {
    padding: 0 16px;
  }

  .sc-product-title-ja {
    font-size: 20px;
    letter-spacing: 0.16em;
  }

  .sc-product-visual {
    max-width: 100%;
    height: 360px;
  }

  .sc-product-package {
    max-width: 300px;
    width: 68%;
  }

  .sc-product-tabs {
    width: 100%;
    border-radius: 12px;
    margin-top: 0px;
  }

  .sc-product-tab {
    flex: 1 1 33%;
    min-width: 0;
    font-size: 12px;
    padding: 8px 6px;
  }

  .sc-product-panel {
    padding: 16px 14px;
    font-size: 13px;
  }

  .sc-product-panel-body {
    font-size: 13px;
  }
}


/* ===========================
   こんなシーンで、シマカラCHIPS。
   =========================== */

.sc-product-scenes {
  margin: 56px auto 0;
  max-width: 720px;
  text-align: center;
  color: #003070;
}

.sc-product-scenes-title {
  font-size: 22px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 6px;
}

.sc-product-scenes-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7a8db0;
  margin-bottom: 28px;
}

/* ★ PC 基本は 2 列レイアウトに固定 */
/* ハッシュタグエリア：2列＆中央寄せ */
.sc-product-scenes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 常に2列 */
  gap: 10px 18px;                         /* 上下・左右の間隔 */
  list-style: none;
  padding: 0;
  margin: 0 auto;                         /* ブロックごと中央寄せ */
  max-width: 355px;                       /* 全体の横幅を抑える */
}

/* pill 本体 */
.sc-product-scenes-item {
  list-style: none;
  width: 170px;                           /* ★横幅を揃える（PC用） */
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #1f5aa8;
  background: #e7f2ff;                    /* 薄い水色 */
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  justify-self: center;                   /* 各pillを中央に */
}

/* ★ hover アニメーションはナシ（上書き用・保険） */
.sc-product-scenes-item:hover {
  transform: none;
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}

/* SP 調整：1列にして読みやすく */
@media (max-width: 768px) {

.sc-product-scenes-list {
    max-width: 312px;
    gap: 8px 12px;
  }


  .sc-product-scenes {
    margin-top: 40px;
    padding: 0 8px;
  }

  .sc-product-scenes-title {
    font-size: 18px;
    letter-spacing: 0.16em;
  }

  .sc-product-scenes-sub {
    font-size: 10px;
    letter-spacing: 0.16em;
    margin-bottom: 22px;
  }

  .sc-product-scenes-item {
    width: 150px;                         /* SP用の固定幅 */
    font-size: 12px;
    padding: 5px 10px;
  }
}



/* ===========================
   今日の乾杯セクション
   =========================== */

.sc-enjoy {
  position: relative;
  padding: 0px 0 90px;
  background:
    url("../images/contents_05_bg.png")
    center top / cover no-repeat;
  color: #fff;
}

.sc-enjoy-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  text-align: center;
}

/* グラス＆チップス画像 */
.sc-enjoy-visual {
  margin-bottom: 40px;
  text-align: center;
}

.sc-enjoy-main {
  display: inline-block;
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
  margin-top: -80px;
}



/* テキストブロック */
.sc-enjoy-text {
  text-align: center;
}

.sc-enjoy-line {
  margin: 0;
  text-shadow: 0 0 6px rgba(0,0,0,0.35);
  line-height: 1.9;
}

/* コピー＋ボタンを横並びに */
.sc-enjoy-copy {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;            /* テキストとボタンの間隔 */
}

/* コピーまわり */
.sc-enjoy-copy {
  position: relative;
  display: inline-block;  /* テキスト幅＋余白だけの箱にする */
  text-align: center;
  padding: 0 70px;        /* テキストと線の距離 */
  margin: 24px auto 0;
}

/* 1行目・2行目共通 */
.sc-enjoy-line {
  margin: 0;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0,0,0,0.35);
  line-height: 1.9;
}

/* 1行目 */
.sc-enjoy-line--main {
  font-size: 18px;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
}

/* 2行目（普通のテキストだけにする） */
.sc-enjoy-line--sub {
  font-size: 16px;
  letter-spacing: 0.16em;
}

/* ─ 両サイドの斜めライン ─ */
.sc-enjoy-copy::before,
.sc-enjoy-copy::after {
  content: "";
  position: absolute;
  top: 25%;
  width: 90px;                /* 線の長さ */
  height: 1px;
  background: rgba(255,255,255,0.9);
}

/* 左側（左下がり） */
.sc-enjoy-copy::before {
  left: 0;
  transform: translateX(-23%) translateY(0%) rotate(70deg);
}

/* 右側（右下がり） */
.sc-enjoy-copy::after {
  right: 0;
  transform: translateX(23%) translateY(0%) rotate(-70deg);
}


/* CTAボタン */
.sc-enjoy-cta {
  margin-top: 40px;
  display: inline-block;
  min-width: 260px;
  padding: 16px 46px;
  border-radius: 999px;
  background: #f04b15;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.sc-enjoy-cta:hover,
.sc-enjoy-cta:focus {
  opacity: 0.9;
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.18);
}


/* SP 調整 */
@media (max-width: 768px) {
  .sc-enjoy-copy {
    padding: 0 20px;
  }
  .sc-enjoy-copy::before,
  .sc-enjoy-copy::after {
    width: 60px;
  }
}


/* SP 調整 */
@media (max-width: 768px) {
  .sc-enjoy {
    padding: 60px 0 80px;
  }

  .sc-enjoy-inner {
    padding: 0 16px;
  }

  .sc-enjoy-main {
    max-width: 320px;
  }

  .sc-enjoy-copy {
    flex-direction: column;
    gap: 16px;
  }

  .sc-enjoy-line--main {
    font-size: 14px;
    letter-spacing: 0.16em;
  }

  .sc-enjoy-line--sub {
    font-size: 12px;
    letter-spacing: 0.14em;
    padding: 0 34px;
  }

  .sc-enjoy-line--sub::before,
  .sc-enjoy-line--sub::after {
    width: 60px;
  }

  .sc-enjoy-cta {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
  }
}



/* ===========================
   FAQ セクション
   =========================== */

.sc-faq {
  padding: 80px 0;
  background: #fff4e6; /* 旧ページの body 背景色 */
}

.sc-faq .faq-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.sc-faq .faq-heading {
  text-align: center;
  margin-bottom: 32px;
}

.sc-faq .faq-heading h2 {
  font-size: 28px;
  letter-spacing: 0.16em;
  color: #133b6b;
  margin: 0 0 4px;
}

.sc-faq .faq-heading span {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #999;
  text-transform: uppercase;
}

/* item */
.sc-faq .faq-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
  overflow: hidden;
}

.sc-faq .faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.sc-faq .faq-question-text {
  flex: 1;
  text-align: left;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #133b6b;
}

/* Q / A バッジ共通 */
.sc-faq .faq-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.sc-faq .faq-badge-q {
  background: #ff5b3b;
}

.sc-faq .faq-badge-a {
  background: #2e73d8;
}

/* 右アイコン(丸＋V) */
.sc-faq .faq-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-faq .faq-icon-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ff5b3b;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50% 50%;
  /* 閉じている状態は V（下向き） */
  transform: rotate(180deg);
  transition: transform 0.25s ease;
}

/* 開いたときは ∧ に反転 */
.sc-faq .faq-item.is-open .faq-icon-svg {
  transform: rotate(0deg);
}

/* answer */
.sc-faq .faq-answer {
  padding: 0 32px 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: #fff9d6; 
}

.sc-faq .faq-item.is-open .faq-answer {
  max-height: 240px; /* 回答の高さより少し大きめならOK */
}

.sc-faq .faq-answer-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0 20px;
  align-items: center;
}

.sc-faq .faq-answer-text {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

@media (max-width: 768px) {
  .sc-faq .faq-section {
    padding: 0 16px;
  }

  .sc-faq .faq-question {
    padding: 16px 16px;
  }

  .sc-faq .faq-answer {
    padding: 0 16px 0;
  }
}



/* ===========================
   下部ロゴエリア
   =========================== */

.sc-bottom-logo {
  background: #ffffff;          /* スクショ通り真っ白背景 */
  padding: 80px 0 100px;        /* 上下にゆったり余白 */
}

.sc-bottom-logo-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  text-align: center;
}

.sc-bottom-logo-img {
  display: block;
  margin: 0 auto;
  max-width: 260px;             /* ロゴサイズ。大きければここで調整 */
  width: 100%;
}

/* SP 調整 */
@media (max-width: 768px) {
  .sc-bottom-logo {
    padding: 60px 0 80px;
  }

  .sc-bottom-logo-inner {
    padding: 0 16px;
  }

  .sc-bottom-logo-img {
    max-width: 230px;          /* スマホでは少しだけ小さめ */
  }
}





/* ===========================
   Footer
   =========================== */

.sc-footer {
  background: #003070;
  color: #ffffff;
}

.sc-footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 72px;
}

/* 左ブロック ------------------------ */

.sc-footer-contact {
  flex: 0 0 60%;
  text-align: left;
}

.sc-footer-heading {
  font-size: 20px;
  letter-spacing: 0.18em;
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 12px;
}

/* 見出し下の白ライン */
.sc-footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 260px;
  height: 1px;
  background: rgba(255,255,255,0.7);
}

/* 南西食品ロゴ */
.sc-footer-company img {
  max-width: 320px;
  height: auto;
  margin: 10px 0 26px;
}

/* 電話番号 */
.sc-footer-tel {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* 営業時間 */
.sc-footer-time {
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-bottom: 26px;
}

/* お問い合わせボタン（ヒーローと揃えた赤ボタン） */
.sc-footer-contact-btn {
  display: inline-block;
  min-width: 280px;
  padding: 16px 46px;
  border-radius: 999px;
  background: #f04b15;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.sc-footer-contact-btn:hover,
.sc-footer-contact-btn:focus {
  opacity: 0.9;
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.18);
}

/* 注意書き */
.sc-footer-note {
  margin-top: 32px;
  font-size: 13px;
  line-height: 2;
}

/* Orion コピーライトロゴ */
.sc-footer-orion {
  margin: 20px auto 0px auto;
  width: 60px;
  height: auto;
}

/* 右ブロック：ナビ ------------------ */

.sc-footer-nav {
  flex: 0 0 40%;
  text-align: left;
}

.sc-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}

.sc-footer-nav li + li {
  margin-top: 18px;
}

.sc-footer-nav a {
  font-size: 16px;
  letter-spacing: 0.18em;
  text-decoration: none;
  position: relative;
}

/* さりげない下線ホバー */
.sc-footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.2s ease;
}

.sc-footer-nav a:hover::after,
.sc-footer-nav a:focus::after {
  width: 100%;
}




.note_box{
text-align: center;
max-width: 1100px;
  margin: 0 auto;
  padding: 0px 24px 40px;
  box-sizing: border-box;
}



/* 黒帯 ------------------------------ */

.sc-footer-bottom {
  background: #000000;
  text-align: center;
  padding: 12px 8px;
}

.sc-footer-bottom p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
}

/* SP レイアウト --------------------- */
@media (max-width: 768px) {
  .sc-footer-top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 16px 32px;
  }

  .sc-footer-contact,
  .sc-footer-nav {
    flex: 1 1 auto;
    text-align: center;
  }

  .sc-footer-heading {
    font-size: 18px;
  }

  .sc-footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
  }

  .sc-footer-company img {
    margin-left: auto;
    margin-right: auto;
  }

  .sc-footer-tel {
    font-size: 26px;
  }

  .sc-footer-nav ul {
    padding-top: 0;
  }

  .sc-footer-nav li + li {
    margin-top: 12px;
  }

  .sc-footer-nav a {
    font-size: 14px;
  }
}






/* 全画面ローダー */
#sc-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;              /* シマカラの紺 */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

/* ロゴをふわふわ */
.sc-preloader-logo {
  width: 260px;
  max-width: 70%;
  animation: preloaderFloat 2.4s ease-in-out infinite alternate;
}




/* ふわふわアニメーション */
@keyframes preloaderFloat {
  0%   { transform: translateY(0);   opacity: 0.9; }
  50%  { transform: translateY(-10px); opacity: 1; }
  100% { transform: translateY(0);   opacity: 0.9; }
}

/* 読み込み完了後に隠す用 */
body.is-loaded #sc-preloader {
  opacity: 0;
  pointer-events: none;
}

/* 動きを控えたいユーザー向け */
@media (prefers-reduced-motion: reduce) {
  .sc-preloader-logo {
    animation: none;
  }
}











/* ─────────────────────
   スクロールでふわっと出現（共通）
   ───────────────────── */

/* 初期状態：少し下 & 透明 */
.u-fuwa-scroll,
.js-fadeup {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* 画面内に入ったら付くクラス */
.u-fuwa-scroll.is-inview,
.js-fadeup.is-inview {
  opacity: 1;
  transform: translateY(0);
}



/* ───────────────
   下からふわっとフェードイン
   ─────────────── */
.u-fuwa-in { opacity:0; transform:translateY(16px); }
body.is-loaded .u-fuwa-in { animation: fuwaIn 0.8s ease-out 0.1s forwards; }
   
.u-fuwa-in {
  opacity: 0;
  transform: translateY(16px);
  /*animation: fuwaIn 0.8s ease-out 0.1s forwards;*/
}

@keyframes fuwaIn {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* PC：PC用だけ有効 */
.u-br-pc { display:inline; }
.u-br-sp { display:none; }

/* SP：逆にする */
@media (max-width:768px){
  .u-br-pc { display:none; }
  .u-br-sp { display:inline; }
}


/* ===========================
   BGM サウンドトグルボタン
   =========================== */

/* ボタン全体：固定位置＋縦並び（丸の下にBGM） */
.sc-sound-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;

  display: flex;
  flex-direction: column;   /* 上：丸 / 下：BGM */
  align-items: center;
  gap: 4px;

  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* 丸アイコン部分 */
.sc-sound-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 48, 112, 0.9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* ホバー時：丸だけ少し沈む */
.sc-sound-toggle:hover .sc-sound-circle {
  background: rgba(0, 70, 150, 0.9);
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ON 状態（aria-pressed="true"）のときの見た目：丸がオレンジ */
.sc-sound-toggle[aria-pressed="true"] .sc-sound-circle {
  background: #f04b15;
}

/* ラベル */
.sc-sound-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 0 4px rgba(0,0,0,0.4);  /* 海背景でも読めるように */
}

/* SVGアイコンのスタイル */
.sc-sound-icon {
  font-size: 0;       /* 文字ベースの余白を消す */
  display: none;      /* JSでON/OFF切り替え */
}

.sc-sound-icon .sc-sound-svg {
  width: 22px;
  height: 22px;
  display: block;
  color: #ffffff;     /* currentColor で stroke に反映される */
}

/* デフォルトはミュートアイコン表示 */
.sc-sound-icon--off {
  display: inline-block;
}

/* ON状態（aria-pressed="true"）のときの表示切り替え */
.sc-sound-toggle[aria-pressed="true"] .sc-sound-icon--off {
  display: none;
}
.sc-sound-toggle[aria-pressed="true"] .sc-sound-icon--on {
  display: inline-block;
}

/* SP でちょっと小さく */
@media (max-width: 768px) {
  .sc-sound-toggle {
    right: 12px;
    bottom: 12px;
  }

  .sc-sound-circle {
    width: 44px;
    height: 44px;
  }

  .sc-sound-icon .sc-sound-svg {
    width: 20px;
    height: 20px;
  }
}

/* 動きを控えたいユーザー向け */
@media (prefers-reduced-motion: reduce) {
  .sc-sound-circle {
    transition: none;
  }
}
