/*
Theme Name: Arkhe Child
Template: arkhe
Description: Arkheの子テーマ
Version: 1.0
*/

/* =========================
HAMON base
========================= */

/* Shippori Mincho 読み込み */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&display=swap');

:root{
  --hamon-black:#111;
  --hamon-gray:#F5F5F5;
  --hamon-text:#2b2b2b;
  --hamon-muted:#8c8c8c;
  --hamon-border:rgba(17,17,17,.12);
}

/* =========================
Global font / base text
========================= */

html,
body{
  font-family: "Shippori Mincho","Noto Serif JP","游明朝","Yu Mincho",serif;
  color: var(--hamon-text);
  letter-spacing: .06em;
  line-height: 1.9;
}

/* WPブロック・フォーム・ボタンも統一 */
.wp-site-blocks,
button,
input,
select,
textarea{
  font-family: "Shippori Mincho","Noto Serif JP","游明朝","Yu Mincho",serif;
}

/* =========================
Layout
========================= */

.hamon-container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.hamon-container--narrow{
  max-width: 860px;
}

.hamon-section{
  padding: clamp(72px, 9vw, 140px) 0;
}

.hamon-center{
  text-align:center;
}

/* =========================
Headings
========================= */

.hamon-h2{
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(28px, 3.5vw, 56px);
  color: var(--hamon-black);
  margin: 0;
}

.hamon-h3{
  font-weight: 600;
  line-height: 1.35;
  font-size: 22px;
  color: var(--hamon-black);
  margin: 0 0 14px;
}

/* サブコピー（英字・コンセプト用） */
.hamon-sub{
  color: var(--hamon-muted);
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: .24em;
  margin-top: 18px;
}

/* =========================
Text / Prose
========================= */

.hamon-prose{
  color: var(--hamon-muted);
  line-height: 2.4;
  font-size: 16px;
  letter-spacing: .05em;
}

.hamon-prose strong{
  color: var(--hamon-black);
  font-weight: 600;
}

/* =========================
Spacing utils
========================= */

.hamon-spacer{
  height: 18px;
}
.hamon-spacer-lg{
  height: 28px;
}

.hamon-mt-md{
  margin-top: 18px;
}
.hamon-mt-lg{
  margin-top: 34px;
}
.hamon-mt-xl{
  margin-top: 56px;
}


/* =========================
Hero (base)
========================= */

.hamon-hero__inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hamon-eyebrow{
  font-size: 10px;
  letter-spacing: .6em;
  text-transform: uppercase;
  color: rgba(17,17,17,.42);
  margin-bottom: 18px;
}

.hamon-hero__title{
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(38px, 6vw, 78px);
  margin: 0;
  color: var(--hamon-black);
}

.hamon-hero__lead{
  margin-top: 22px;
  font-size: 16px;
  letter-spacing: .22em;
  color: rgba(17,17,17,.78);
}

.hamon-hero__note{
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: .26em;
  color: rgba(17,17,17,.52);
}

.hamon-hero__cta{
  margin-top: 30px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.is-sp{ display:none; }
@media (max-width: 768px){
  .is-sp{ display:inline; }
}

/* =========================
Hero = Marquee background（整理版）
========================= */

.hamon-hero--marquee{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.hamon-hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hamon-hscroll--hero{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0;
}

/* ✅ 親にはfilterをかけない（色が出ない原因） */
.hamon-hscroll--hero .hamon-card{
  width: min(56vw, 560px);
  border-radius: 24px;
  opacity: .95;
  filter: none;
}

/* FV内のズラしは控えめ */
.hamon-hscroll--hero .hamon-hscroll__group .hamon-card:nth-child(2){ transform: translateY(12px); }
.hamon-hscroll--hero .hamon-hscroll__group .hamon-card:nth-child(3){ transform: translateY(6px); }
.hamon-hscroll--hero .hamon-hscroll__group .hamon-card:nth-child(4){ transform: translateY(16px); }
.hamon-hscroll--hero .hamon-hscroll__group .hamon-card:nth-child(5){ transform: translateY(8px); }
.hamon-hscroll--hero .hamon-hscroll__group .hamon-card:nth-child(6){ transform: translateY(14px); }

/* 白ベール（ベース） */
.hamon-hero__veil{
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.28), rgba(255,255,255,.74) 70%),
    linear-gradient(180deg, rgba(255,255,255,.40), rgba(255,255,255,.84));
  backdrop-filter: blur(2px);
  transition: opacity .6s ease, backdrop-filter .6s ease;
}

/* 表（コピー）は常に上 */
.hamon-hero--marquee .hamon-hero__inner{
  position: relative;
  z-index: 2;
}

/* =========================
Hover: Color reveal（imgにだけfilter）
========================= */

/* 普段：モノクロ寄り */
.hamon-hscroll--hero .hamon-card img{
  filter: grayscale(1) contrast(1.05) saturate(0.9);
  transition: filter .8s ease;
}

/* hover：色を戻す */
.hamon-hero--marquee:hover .hamon-hscroll--hero .hamon-card img{
  filter: grayscale(0) contrast(1.05) saturate(1.15);
}

/* hover：ベールを薄くして色を生かす */
.hamon-hero--marquee:hover .hamon-hero__veil{
  opacity: .45;              /* 0.35〜0.6で調整 */
  backdrop-filter: blur(1px);
}

/* スマホ最適化 */
@media (max-width: 768px){
  .hamon-hscroll--hero .hamon-card{
    width: min(78vw, 420px);
    border-radius: 18px;
  }
  .hamon-hero__veil{
    backdrop-filter: blur(1px);
    background:
      radial-gradient(circle at 50% 40%, rgba(255,255,255,.42), rgba(255,255,255,.82) 74%),
      linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.90));
  }
  /* モバイルはhover前提が弱いので、色戻しは無理にやらない */
  .hamon-hero--marquee:hover .hamon-hero__veil{ opacity: 1; }
}

/* =========================
Hero mobile fit (replace)
========================= */
@media (max-width: 768px){

  /* まずは「中央に気持ちよく収める」 */
  .hamon-hero--marquee{
    min-height: 600px;
    padding-top: 54px;     /* ヘッダー被りがなければ 40〜54px */
    padding-bottom: 28px;  /* 下の余白を詰める */
    align-items: center;   /* ←中央寄せに戻す（空きすぎ対策） */
  }

  /* 背景：カード列は“ちょい上”程度。上げすぎない */
  .hamon-hscroll--hero{
    align-items: center;
    padding-top: 0;
    transform: translateY(-6px); /* ←ここが効く。-0〜-12pxくらいで調整 */
  }

  /* 背景カード：少し大きくしてFVの密度を上げる */
  .hamon-hscroll--hero .hamon-card{
    width: min(86vw, 420px); /* ←前回より大きく */
    border-radius: 18px;
  }

  /* テキスト：詰めすぎない上品さは維持しつつ、FV内に収める */
  .hamon-hero__inner{
    padding: 0 18px;
    text-align: center;
  }

  .hamon-eyebrow{
    margin: 0 0 12px;
    font-size: 9px;
    letter-spacing: .46em;
  }

  .hamon-hero__title{
    font-weight: 600; /* 念のため確定 */
    font-size: clamp(36px, 9.6vw, 50px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin: 0;
  }

  .hamon-hero__lead{
    margin-top: 16px;
    font-size: 12px;
    line-height: 2.0;
    letter-spacing: .16em;
  }

  /* Scroll hint が邪魔なら少し上げる */
  .hamon-scrollhint{
    bottom: 10px;
  }
}

/* 画面が低い端末だけ、ほんの少し圧縮 */
@media (max-width: 768px) and (max-height: 740px){
  .hamon-hero--marquee{
    padding-top: 46px;
    padding-bottom: 22px;
  }
  .hamon-hscroll--hero{
    transform: translateY(-10px);
  }
  .hamon-hero__lead{
    font-size: 11px;
  }
}

/* =========================
Lead section（2カラム版 / Auto crossfade - refined）
========================= */

.hamon-lead__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 900px){
  .hamon-lead__grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* 左：画像 */
.hamon-lead__img{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  /* “洗練”のための極薄い締まり（不要なら削除OK） */
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

/* ベース画像は通常フローのまま（自然な余白・比率を維持） */
.hamon-lead__img img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* base */
.hamon-lead__img-base{
  position: relative;
  z-index: 1;
  opacity: 1;
  will-change: opacity;
  /* 自動切替：上品に長め。主張しない */
  animation: hamonLeadFadeBase 9s ease-in-out infinite;
}

/* hover（上の画像） */
.hamon-lead__img-hover{
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  will-change: opacity;
  /* ベースと同周期で交互に */
  animation: hamonLeadFadeHover 9s ease-in-out infinite;
}

/* ふわっと入れ替わるだけ。切替の“間”をしっかり取る */
@keyframes hamonLeadFadeBase{
  0%, 44%   { opacity: 1; }
  56%, 94%  { opacity: 0; }
  100%      { opacity: 1; }
}
@keyframes hamonLeadFadeHover{
  0%, 44%   { opacity: 0; }
  56%, 94%  { opacity: 1; }
  100%      { opacity: 0; }
}

/* hover時は “固定” して、ユーザー操作を優先（上品） */
.hamon-lead__img:hover .hamon-lead__img-base,
.hamon-lead__img:hover .hamon-lead__img-hover{
  animation-play-state: paused;
}

/* hoverしたら、hover側（after）が見えるように固定 */
.hamon-lead__img:hover .hamon-lead__img-base{ opacity: 0; }
.hamon-lead__img:hover .hamon-lead__img-hover{ opacity: 1; }

/* 動きが苦手な人には止める（洗練＝配慮） */
@media (prefers-reduced-motion: reduce){
  .hamon-lead__img-base,
  .hamon-lead__img-hover{
    animation: none !important;
  }
  .hamon-lead__img-hover{ opacity: 0; }
}

/* 右：コンテンツ */
.hamon-lead__content{
  text-align: left;
}

.hamon-lead__content .hamon-h2{
  margin-bottom: clamp(32px, 4vw, 48px);
}

.hamon-lead__body{
  color: var(--hamon-muted);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2.4;
  letter-spacing: .08em;
  text-align: left;
}

.hamon-lead__body p{
  margin: 0 0 clamp(24px, 3vw, 32px);
}

.hamon-lead__body p:last-child{
  margin-bottom: 0;
}

.hamon-lead__body strong{
  color: var(--hamon-text);
  font-weight: 500;
}

.hamon-lead__closing{
  margin-top: clamp(36px, 4vw, 48px) !important;
}

/* =========================
Buttons / Link
========================= */

:root{
  --hamon-accent: #0075C2;
}

/* 共通ボタン */
.hamon-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: .75em;
  padding: 16px 34px;

  border-radius: 5px; 
  border: 1px solid rgba(17,17,17,.16);

  background: transparent;
  color: var(--hamon-black);

  font-size: 14px;
  letter-spacing: .28em;
  line-height: 1;
  text-decoration: none;

  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  min-width: 260px;                    /* 2枚目の横長感 */
}

/* アイコン（▶） */
.hamon-btn__icon{
  font-size: 11px;
  transform: translateY(1px);
  opacity: .9;
}

/* ゴースト（枠だけ）＝基本形 */
.hamon-btn--ghost:hover{
  background: var(--hamon-black);
  color: #fff;
  border-color: var(--hamon-black);
}

/* プライマリ（黒塗り） */
.hamon-btn--primary{
  background: var(--hamon-black);
  color: #fff;
  border-color: var(--hamon-black);
}
.hamon-btn--primary:hover{
  transform: translateY(-1px);
  opacity: .92;
}

/* アクセント（LINE用：青） */
.hamon-btn--accent{
  background: var(--hamon-accent);
  color: #fff;
  border-color: var(--hamon-accent);
}
.hamon-btn--accent:hover{
  transform: translateY(-1px);
  opacity: .92;
}

/* リンク（テキストリンク） */
.hamon-link{
  color: var(--hamon-black);
  text-decoration: none;
  border-bottom: 1px solid rgba(17,17,17,.35);
  padding-bottom: 2px;
  font-size: 10px;
  letter-spacing: .28em;
}
.hamon-link:hover{
  opacity: .75;
  border-bottom-color: var(--hamon-black);
}

/* スマホ：幅は自然に */
@media (max-width: 768px){
  .hamon-btn{
    min-width: 0;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
  }
}


/* =========================
Gallery (Horizontal scroll)
========================= */
.hamon-hscroll{
  margin-top: 40px;
  display:flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 24px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.hamon-card{
  flex: 0 0 auto;
  width: min(72vw, 360px);
  scroll-snap-align: start;
  border-radius: 14px;
  overflow:hidden;
  background: #eee;
}

/* デフォルト＝カラー（スマホ含む） */
.hamon-card img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: none;
  transition: .6s ease;
}

/* hoverできる端末（PC/マウス）だけ白黒→hoverでカラー */
@media (hover: hover) and (pointer: fine){
  .hamon-card img{
    filter: grayscale(1) contrast(1.05);
  }
  .hamon-card:hover img{
    filter: grayscale(0) contrast(1.05);
  }
}

/* =========================
Features（2カラム + 高さをずらす）
※ 親が .hamon-features__list の版
========================= */

.hamon-features{
  background: var(--hamon-gray);
}

/* ここが肝：親要素に grid */
.hamon-features__list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 56px;
  align-items: start;
}

/* SPは1カラムにしてズラし解除 */
@media (max-width: 900px){
  .hamon-features__list{
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* 各カード */
.hamon-feature{
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(17,17,17,.06);
}

/* 高さズラし（右列=偶数を下げる） */
.hamon-feature:nth-child(even){
  margin-top: 64px;
}
@media (max-width: 900px){
  .hamon-feature:nth-child(even){
    margin-top: 0;
  }
}

/* kicker */
.hamon-kicker{
  font-size: 11px;
  letter-spacing: .24em;
  color: rgba(17,17,17,.25);
  margin: 5px 0 14px;
  font-weight: 600;
}

.hamon-feature__img img{
  display:block;
  width:100%;
  height:auto;
	border-radius:14px;
}

/* =========================
Features 画像：PCはモノクロ → hoverでカラー
スマホは最初からカラー
========================= */

/* デフォルト（スマホ含む）はカラー */
.hamon-feature__img img{
  filter: none;
  transition: filter .6s ease;
}

/* hoverできる端末（PC）だけモノクロ→hoverでカラー */
@media (hover: hover) and (pointer: fine){
  .hamon-feature__img img{
    filter: grayscale(1) contrast(1.05);
  }

  .hamon-feature:hover .hamon-feature__img img{
    filter: grayscale(0) contrast(1.05);
  }
}

/* =========================
Story（余白最適化）
========================= */

.hamon-story__grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(56px, 7vw, 96px); /* ← 横の余白を拡張 */
  align-items: start;
}

@media (max-width: 900px){
  .hamon-story__grid{
    grid-template-columns: 1fr;
    gap: 48px; /* SP時は縦余白を意識 */
  }
}

/* 写真 */
.hamon-story__photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* 名前・肩書き */
.hamon-story__meta{
  margin-top: 18px;
}
.hamon-story__name{
  font-size: 15px;
  letter-spacing: .08em;
  margin: 0;
}
.hamon-story__role{
  font-size: 12px;
  color: var(--hamon-muted);
  letter-spacing: .18em;
  margin-top: 6px;
}

/* テキスト側 */
.hamon-story__text{
  padding-top: 12px; /* ← 写真と“視線の高さ”を合わせる */
}

/* 見出しと本文の間 */
.hamon-story__text .hamon-h2{
  margin-bottom: 36px; /* ← ここが一番効く */
}

/* 本文の余白と行間 */
.hamon-story__text .hamon-prose{
  line-height: 2.6;
  font-size: 15px;
}

/* 段落同士の間 */
.hamon-story__text .hamon-prose p{
  margin: 0 0 26px;
}
.hamon-story__text .hamon-prose p:last-child{
  margin-bottom: 0;
}

/* =========================
Instagram section (2-col)
========================= */
.hamon-ig{
  background: #fff;
}

.hamon-ig__grid{
  display: grid;
  grid-template-columns: 0.34fr 0.66fr; /* 左=テキスト / 右=フィード */
  gap: 56px;
  align-items: start;
}

/* 左カラムの縦の間 */
.hamon-ig__left .hamon-sub{
  margin-top: 18px;
}
.hamon-ig__cta{
  margin-top: 18px;
}

/* 右カラム（赤枠想定） */
.hamon-ig__right{
  min-height: 420px; /* フィード読み込み前でも“枠”が崩れない */
}

/* フィードの見た目を整える保険 */
.hamon-ig__feed img{
  border-radius: 14px;
}

/* スマホは縦積み（タイトル→フィード→リンク）にしたいなら順番入れ替え */
@media (max-width: 900px){
  .hamon-ig__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hamon-ig__right{ min-height: 0; }
}



/* =========================
Info (FAQ + Access)
Full-width gray background
========================= */

/* 背景を全幅に */
.hamon-info{
  background: #fafafa;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
}

/* 中身は今まで通りの上品な幅 */
.hamon-info .hamon-container{
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(24px, 6vw, 84px);
  padding-right: clamp(24px, 6vw, 84px);
}

/* 2カラム */
.hamon-two{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(36px, 6vw, 120px);
  align-items: start;
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

@media (max-width: 900px){
  .hamon-two{
    grid-template-columns: 1fr;
  }
}

/* 見出し */
.hamon-info .hamon-h2{
  font-size: clamp(26px, 2.4vw, 38px);
  letter-spacing: .18em;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: clamp(22px, 3vw, 44px);
}

/* 説明文 */
.hamon-info .hamon-prose{
  color: rgba(17,17,17,.62);
  font-size: 13px;
  line-height: 2.35;
  letter-spacing: .08em;
}

/* =========================
FAQ
========================= */

.hamon-faq__item{
  border-bottom: 1px solid rgba(17,17,17,.10);
  padding: clamp(26px, 3vw, 40px) 0;
}

.hamon-faq__item summary{
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #111;
  letter-spacing: .10em;
  font-size: 18px;
  line-height: 2.0;
  position: relative;
  padding-left: 30px;
}
.hamon-faq__item summary::-webkit-details-marker{
  display:none;
}
.hamon-faq__item summary::before{
  content:"Q.";
  position:absolute;
  left:0;
  top:0;
  font-weight: 700;
}

.hamon-faq__a{
  margin-top: 14px;
  color: rgba(17,17,17,.55);
  font-size: 16px;
  line-height: 2.35;
  letter-spacing: .09em;
  padding-left: 30px;
  position: relative;
}
.hamon-faq__a::before{
  content:"A.";
  position:absolute;
  left:0;
  top:0;
  font-weight: 700;
}

/* =========================
Map
========================= */

.hamon-map{
  margin-top: clamp(18px, 3vw, 28px);
}

.hamon-map iframe{
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  border: 0;
  border-radius: 10px;
  background: #eee;
  display: block;
}

/* Google Map link */
.hamon-link{
  color:#111;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  letter-spacing: .32em;
  font-size: 11px;
}



/* Contact */
.hamon-contact{
  margin-top: 76px;
  padding-top: 60px;
  border-top: 1px solid rgba(17,17,17,.08);
}
.hamon-contact__btns{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* Footer CTA */
.hamon-footercta{
  background: var(--hamon-black);
  color:#fff;
}
.hamon-footercta .hamon-h2{
  color:#fff;
}
.hamon-footercta .hamon-btn--primary{
  background:#fff;
  color: var(--hamon-black);
  border-color:#fff;
}
.hamon-footercta .hamon-btn--primary:hover{
  opacity:.85;
}

/* =========================
Reveal（JSがある時だけ発動）
========================= */
.hamon-reveal{
  opacity: 1;
  transform: none;
}

/* JSが動く環境だけ reveal を有効化 */
html.hamon-js .hamon-reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform .9s ease;
}
html.hamon-js .hamon-reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Motion reduce */
@media (prefers-reduced-motion: reduce){
  html.hamon-js .hamon-reveal{
    opacity: 1;
    transform: none;
  }
}


/* =========================
Sticky footer bar (mobile)
========================= */
.hamon-stickybar{
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  gap: 8px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(17,17,17,.08);
}
.hamon-stickybar__btn{
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .18em;
  border: 1px solid rgba(17,17,17,.12);
  color: var(--hamon-black);
  background: #fff;
}
.hamon-stickybar__btn--tel{
  background: var(--hamon-black);
  color:#fff;
  border-color: var(--hamon-black);
}
.hamon-stickybar__btn--line:hover,
.hamon-stickybar__btn--mail:hover{
  background: var(--hamon-black);
  color:#fff;
  border-color: var(--hamon-black);
}
@media (max-width: 900px){
  .hamon-stickybar{ display:flex; }
  /* 追従バー分、下に余白を足す（コンテンツが隠れないように） */
  body{ padding-bottom: 78px; }
}

/* コンテナの中でも全幅にする（フルブリード） */
.hamon-full{
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* =========================
Accent color
========================= */
:root{
  --hamon-accent: #0075C2;
}

/* リンクはアクセントで上品に */
.hamon-link{
  border-bottom-color: var(--hamon-accent);
}
.hamon-link:hover{
  opacity: 1;
  color: var(--hamon-accent);
}

/* ボタン：アクセント（LINE用） */
.hamon-btn--accent{
  background: var(--hamon-accent);
  color: #fff;
  border-color: var(--hamon-accent);
}
.hamon-btn--accent:hover{
  opacity: .88;
}

/* 追従バー：LINEだけアクセント（反応が上がる） */
.hamon-stickybar__btn--line{
  border-color: rgba(0,117,194,.35);
  color: var(--hamon-accent);
}
.hamon-stickybar__btn--line:hover{
  background: var(--hamon-accent);
  border-color: var(--hamon-accent);
  color:#fff;
}

/* FAQ：開閉でアクセントを見せる（上品） */
.hamon-faq__item[open] summary{
  color: var(--hamon-accent);
}
/* =========================
Auto marquee gallery（安定版）
========================= */
.hamon-hscroll--auto{
  overflow: hidden;
  width: 100vw;
  position: relative;
  padding: 14px 0 18px;
}

.hamon-hscroll__track{
  display: flex;
  width: max-content;
  will-change: transform;
  animation: hamonMarquee 42s linear infinite;
}
.hamon-hscroll--auto:hover .hamon-hscroll__track{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){
  .hamon-hscroll__track{ animation: none; }
}

.hamon-hscroll__group{
  display: flex;
  gap: 18px;
  padding: 0 18px;
  line-height: 0; /* 画像の隙間対策 */
}

@keyframes hamonMarquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
Card（確定：余白ゼロ）
========================= */
figure.hamon-card{
  margin: 0;               /* figureのデフォ余白を殺す */
}

.hamon-card{
  flex: 0 0 auto;
  width: min(72vw, 360px);
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  position: relative;
  transform: translateY(0);
}

.hamon-card img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;          /* imgの隙間対策 */
  vertical-align: top;
	z-index:2;
}

/* =========================
Stagger（カードを動かす）
========================= */
.hamon-hscroll__group .hamon-card:nth-child(2){ transform: translateY(26px); }
.hamon-hscroll__group .hamon-card:nth-child(3){ transform: translateY(10px); }
.hamon-hscroll__group .hamon-card:nth-child(4){ transform: translateY(34px); }
.hamon-hscroll__group .hamon-card:nth-child(5){ transform: translateY(14px); }
.hamon-hscroll__group .hamon-card:nth-child(6){ transform: translateY(30px); }

@media (max-width: 768px){
  .hamon-hscroll__group .hamon-card:nth-child(2),
  .hamon-hscroll__group .hamon-card:nth-child(3),
  .hamon-hscroll__group .hamon-card:nth-child(4),
  .hamon-hscroll__group .hamon-card:nth-child(5),
  .hamon-hscroll__group .hamon-card:nth-child(6){
    transform: translateY(12px);
  }
}

/* ギャラリー（自動ループ）領域の高さを確保して、下のCTAが重ならないようにする */
.hamon-hscroll--auto{
  min-height: 440px; /* PCの目安。後で調整OK */
  display: flex;
  align-items: center;
}

/* 画像の上下ズラし分も考慮して少し余裕を持たせる */
.hamon-hscroll--auto{
  padding: 24px 0 36px;
}

/* =========================
Scroll hint（2枚目の挙動に寄せた版）
========================= */
.hamon-scrollhint{
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  pointer-events: none;
}

.hamon-scrollhint__line{
  width: 1px;
  height: 56px;
  background: rgba(17,17,17,.18); /* 外枠ライン（薄） */
  position: relative;
  overflow: hidden;              /* 中の線をはみ出させない */
  border-radius: 999px;          /* 角丸 */
}

/* 中で流れる黒い線 */
.hamon-scrollhint__line::after{
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: rgba(17,17,17,.75);
  animation: hamonScrollLine 1.55s ease-in-out infinite;
}

@keyframes hamonScrollLine{
  0%   { transform: translateY(0); }
  60%  { transform: translateY(200%); }
  100% { transform: translateY(200%); }
}

.hamon-scrollhint__text{
  font-size: 9px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: rgba(17,17,17,.35);
}

/* =========================
HOME Hero Header
logo dead-center + hamburger right
ONLY when NOT scrolled
========================= */

/* 横並びナビを隠す */
html[data-scrolled="false"] .home header#header .l-header__nav,
html[data-scrolled="false"] .home header#header .l-header__right,
html[data-scrolled="false"] .home header#header .l-header__searchBtn{
  display: none !important;
}

/* 3カラム（左右対称にしてロゴを“画面ど真ん中”へ） */
html[data-scrolled="false"] .home header#header .l-header__body.l-container{
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important; /* ★ここが重要 */
  align-items: center !important;
}

/* 左は消す（ただし、左カラム自体は1frで残るので中心がズレない） */
html[data-scrolled="false"] .home header#header .l-header__left{
  display: none !important;
}

/* ロゴ中央 */
html[data-scrolled="false"] .home header#header .l-header__center{
  grid-column: 2;
  justify-self: center;
  display: flex;
  justify-content: center;
  text-align: center;
}

/* ロゴ自体 */
html[data-scrolled="false"] .home header#header .l-header__center .l-header__logo{
  margin: 0 auto;
}
html[data-scrolled="false"] .home header#header .c-headLogo{
  display: inline-block;
}

/* ハンバーガー右（右カラムの中で右端へ） */
html[data-scrolled="false"] .home header#header .l-header__drawerBtn{
  grid-column: 3;
  justify-self: end;
  display: flex !important;
}

/* 右側の“見えない余白”を一定にする（ロゴの視覚センター安定） */
html[data-scrolled="false"] .home header#header .l-header__drawerBtn{
  width: 72px;              /* 好みで 64〜88 */
  justify-content: flex-end; /* ボタンを右へ */
}

/* MENU表記（縦積み） */
html[data-scrolled="false"] .home header#header button.menuBtn{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
}
html[data-scrolled="false"] .home header#header button.menuBtn::after{
  content: "MENU";
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 600;
  color: rgba(0,0,0,.65);
}

/* 透明ヘッダー */
html[data-scrolled="false"] .home header#header,
html[data-scrolled="false"] .home header#header .l-header__body{
  background: transparent !important;
  box-shadow: none !important;
}

/* ロゴサイズ */
html[data-scrolled="false"] .home header#header .c-headLogo__img{
  max-height: 150px;
}



/* =========================
Arkhe ヘッダー背景を透明化（確実版）
========================= */

/* ヘッダー本体 */
#header.l-header{
  background: transparent !important;
  box-shadow: none !important;
}

/* 背景が入っているのはこっち（スクショで選択されてる箇所） */
#header.l-header .l-header__body,
#header.l-header .l-header__body.l-container,
#header.l-header .l-header__body_container,
#header.l-header .l-header__body_inner{
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================
Contact Form (HAMON style)
========================= */

.hamon-form{
  max-width: 720px;
  margin: 0 auto;
  font-family: "Shippori Mincho", serif;
}

/* 1行ブロック */
.hamon-form__row{
  margin-bottom: 28px;
}

/* ラベル */
.hamon-form label{
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--hamon-black);
  display: block;
}

/* 必須表示 */
.hamon-form__req{
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: .12em;
  color: #999;
}

/* =========================
Inputs
========================= */

.hamon-form input[type="text"],
.hamon-form input[type="email"],
.hamon-form input[type="tel"],
.hamon-form select,
.hamon-form textarea{
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  border-radius: 12px;
  border: 1px solid var(--hamon-border);
  background: #fff;
  color: var(--hamon-black);
  transition: border-color .25s ease, box-shadow .25s ease;
}

/* テキストエリア */
.hamon-form textarea{
  min-height: 140px;
  resize: vertical;
}

/* フォーカス時 */
.hamon-form input:focus,
.hamon-form select:focus,
.hamon-form textarea:focus{
  outline: none;
  border-color: var(--hamon-black);
  box-shadow: 0 0 0 2px rgba(0,0,0,.04);
}

/* プレースホルダー */
.hamon-form ::placeholder{
  color: #bbb;
  letter-spacing: .1em;
}

/* =========================
Checkbox / Radio
========================= */

.hamon-form input[type="checkbox"],
.hamon-form input[type="radio"]{
  accent-color: var(--hamon-black);
}

.hamon-form .wpcf7-list-item{
  margin-right: 16px;
  font-size: 13px;
}

/* =========================
Privacy
========================= */

.hamon-form__privacy{
  font-size: 11px;
  letter-spacing: .18em;
  color: #666;
}

.hamon-form__privacy input{
  margin-right: 6px;
}

.hamon-form__privacylink{
  margin-top: 8px;
}

/* =========================
Submit（CF7）
========================= */

.hamon-form input.wpcf7-submit,
.hamon-form .wpcf7-submit.hamon-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: .75em;
  padding: 16px 34px;

  border-radius: 5px;
  border: 1px solid rgba(17,17,17,.16);

  background: transparent;
  color: var(--hamon-black);

  font-size: 14px;
  letter-spacing: .28em;
  line-height: 1;
  text-decoration: none;

  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  min-width: 260px;

  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* primary のとき（送信ボタンは基本これに） */
.hamon-form input.wpcf7-submit.hamon-btn--primary,
.hamon-form .wpcf7-submit.hamon-btn--primary{
  background: var(--hamon-black);
  color: #fff;
  border-color: var(--hamon-black);
}
.hamon-form input.wpcf7-submit.hamon-btn--primary:hover,
.hamon-form .wpcf7-submit.hamon-btn--primary:hover{
  transform: translateY(-1px);
  opacity: .92;
}

/* ghost のとき */
.hamon-form input.wpcf7-submit.hamon-btn--ghost:hover,
.hamon-form .wpcf7-submit.hamon-btn--ghost:hover{
  background: var(--hamon-black);
  color: #fff;
  border-color: var(--hamon-black);
}

/* disabled（送信中など） */
.hamon-form input.wpcf7-submit:disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

/* スピナー位置 */
.hamon-form .wpcf7-spinner{
  margin-left: 10px;
}

/* スマホ：幅は自然に */
@media (max-width: 768px){
  .hamon-form input.wpcf7-submit,
  .hamon-form .wpcf7-submit.hamon-btn{
    min-width: 0;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
  }
}

/* 送信ボタンの親を完全中央寄せ */
.hamon-form__submit{
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* ボタン自体は自動幅に */
.hamon-form__submit input.wpcf7-submit{
  margin: 0 auto;
}

/* エラー表示 */
.wpcf7-not-valid-tip{
  margin-top: 6px;
  font-size: 11px;
  color: #b00020;
  letter-spacing: .1em;
}

/* 送信メッセージ */
.wpcf7-response-output{
  margin: 30px auto 0;
  padding: 18px 20px;
  max-width: 720px;
  font-size: 13px;
  letter-spacing: .18em;
  text-align: center;
  border-radius: 14px;
}

/* 成功 */
.wpcf7-mail-sent-ok{
  background: #f7f7f7;
  border: 1px solid var(--hamon-border);
}

/* 失敗 */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng{
  background: #fff4f4;
  border: 1px solid #e2a1a1;
}

/* =========================
Mobile
========================= */

@media (max-width: 768px){
  .hamon-form{
    padding: 0 4px;
  }

  .hamon-form__row{
    margin-bottom: 22px;
  }

  .hamon-form input,
  .hamon-form textarea{
    font-size: 15px;
  }
}

/* =========================
Fixed pages title area
Top FV mood (single image ver.)
========================= */

/* タイトルエリアを器にする */
#top_title_area.p-topArea{
  background: transparent !important;
  position: relative;
  overflow: hidden;
  min-height: clamp(220px, 32vw, 420px);
}

/* タイトル文字を前面に */
#top_title_area .p-topArea__title,
#top_title_area .p-topArea__inner,
#top_title_area .p-topArea__content{
  position: relative;
  z-index: 3;
}

/* 背景画像（FVと同系トーン） */
#top_title_area.p-topArea::before{
  content: "";
  position: absolute;
  inset: -40px;
  z-index: 1;

  /* ★ FVで使っている写真の中から1枚指定 */
  background-image: url("/wp-content/uploads/2026/02/1.jpg");
  background-size: cover;
  background-position: center;

  filter: grayscale(1) contrast(1.05);
  opacity: .6;

  /* FVっぽく“流れている感” */
  animation: hamonTopAreaPan 26s linear infinite;
  transform: translate3d(0,0,0) scale(1.08);
}

/* 白ベール（FVと同じ役割） */
#top_title_area.p-topArea::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.25), rgba(255,255,255,.82) 70%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.9));
  backdrop-filter: blur(6px);
}

/* タイトル文字の雰囲気をFV寄せ */
#top_title_area .p-topArea__title{
  letter-spacing: .06em;
  text-shadow: 0 18px 40px rgba(0,0,0,.08);
	color: rgba(17,17,17,.88) !important;
  letter-spacing: .08em;
}

/* ゆっくり横パン */
@keyframes hamonTopAreaPan{
  0%   { transform: translate3d(0,0,0) scale(1.08); }
  100% { transform: translate3d(-10%,0,0) scale(1.08); }
}

/* モバイルは軽量化 */
@media (max-width: 768px){
  #top_title_area.p-topArea::after{
    backdrop-filter: blur(2px);
  }
}

/* =========================
Inshop gallery (titleless)
========================= */

/* 上下余白だけ20pxに固定（他の hamon-section を壊さない） */
.hamon-gallery--inshop{
  padding: 20px 0 !important;
}

/* 端の見切れを綺麗に */
.hamon-hscroll--inshop{
  overflow: hidden;
}

/* トラック */
.hamon-hscroll--inshop .hamon-hscroll__track{
  display: flex;
  width: max-content;
  gap: 18px;
  will-change: transform;
  animation: hamon-marquee 30s linear infinite;
}

/* 画像グループ（複製してループ） */
.hamon-hscroll--inshop .hamon-hscroll__group{
  display: flex;
  gap: 18px;
}

/* カード */
.hamon-hscroll--inshop .hamon-card{
  margin: 0;
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 360px);
  border-radius: 14px;
  overflow: hidden;
}

/* 画像：デフォルトはカラー（スマホ含む） */
.hamon-hscroll--inshop .hamon-card img{
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: none;
  transform: none;
  transition: filter .35s ease, transform .35s ease;
}

/* hoverできる端末（PC/マウス）だけ白黒→hoverでカラー＋微ズーム */
@media (hover: hover) and (pointer: fine){
  .hamon-hscroll--inshop .hamon-card img{
    filter: grayscale(1) contrast(1.05);
  }
  .hamon-hscroll--inshop .hamon-card:hover img{
    filter: grayscale(0) contrast(1.05);
    transform: scale(1.02);
  }
}

/* 無限ループ */
@keyframes hamon-marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* 動きが苦手な人には止める */
@media (prefers-reduced-motion: reduce){
  .hamon-hscroll--inshop .hamon-hscroll__track{
    animation: none;
    transform: none;
  }
}

/* スマホ：サイズと間隔を少し詰める */
@media (max-width: 768px){
  .hamon-hscroll--inshop .hamon-hscroll__track,
  .hamon-hscroll--inshop .hamon-hscroll__group{
    gap: 12px;
  }
  .hamon-hscroll--inshop .hamon-card{
    width: 68vw;
  }
}


/* =========================
BLOG POST
========================= */

.single-post h4.wp-block-heading {
  color: #54595F;
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid #54595F;
  font-size: 20px;
}

.single-post h3.wp-block-heading {
  font-size: 20px;
  padding: 1rem 2rem;
  border-bottom: 3px solid #D3B99E;
  background: #FFF5EC;
}

.single-post h2.wp-block-heading {
  padding: 1rem 2rem;
  color: #fff;
  font-size: 24px;
  background: #1A1A1A;
  box-shadow: 5px 5px 0 #74685B;
}

.single-post .wp-block-image img {
  margin-bottom: 20px;
  border-radius: 20px;
  display: block;
}

/* シングル投稿内のリストデザイン */
.single-post .wp-block-list {
  background-color: #F7F7F7;
  border: 1px solid #D3B99E;
  border-radius: 10px;
  padding: 1.5em 2em;
  margin: 1.5em 0;
  list-style: none; /* デフォルトのマーカーを削除 */
}

/* 各リスト項目 */
.single-post .wp-block-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.8em;
  line-height: 1.7;
}

/* チェックマークをかわいく（1つだけ表示） */
.single-post .wp-block-list li::before {
  content: "✔";
  color: #D3B99E;
  font-size: 1.1em;
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: "Segoe UI Symbol", "Arial", sans-serif;
}

/* ============================================
   SimpleTOC - HAMON用カスタマイズ
   ============================================ */

/* 目次全体のコンテナ */
.simpletoc {
  background: #fafafa;
  border: none;
  border-left: 2px solid #222;
  padding: 1.8em 2em;
  margin: 2.5em 0;
  font-family: "Shippori Mincho", serif;
}

/* 目次タイトル（「目次」の文字） */
.simpletoc > h2,
.simpletoc-title,
.simpletoc > button {
  font-family: "Shippori Mincho", serif;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #222;
  margin: 0 0 1.2em 0;
  padding: 0;
  background: none;
  border: none;
}

/* 折りたたみボタンのスタイル調整 */
.simpletoc button.simpletoc-collapsible {
  font-family: "Shippori Mincho", serif;
  font-size: 0.85em;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #222;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}

/* 目次リスト */
.simpletoc-content ul,
.simpletoc-content ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 目次の各項目 */
.simpletoc-content li {
  margin: 0;
  padding: 0.6em 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.9em;
  line-height: 1.7;
}

.simpletoc-content li:last-child {
  border-bottom: none;
}

/* 目次リンク */
.simpletoc-content a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.simpletoc-content a:hover {
  color: #888;
}

/* ネストされた項目（H3以下） */
.simpletoc-content ul ul,
.simpletoc-content ol ol {
  margin-top: 0.5em;
  margin-left: 1.2em;
  padding-left: 1em;
  border-left: 1px solid #ddd;
}

.simpletoc-content ul ul li,
.simpletoc-content ol ol li {
  font-size: 0.95em;
  color: #555;
  border-bottom: none;
  padding: 0.4em 0;
}

/* =========================
Floating CTA Button
========================= */

.hamon-float{
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9998;
}

/* メインボタン：丸 */
.hamon-float__btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 80px;
  height: 80px;
  padding: 0;
  background: var(--hamon-black);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: hamonFloatBounce 3s ease-in-out infinite;
}

.hamon-float__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  animation: none;
}

/* アイコン：大きめ */
.hamon-float__icon{
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamon-float__icon svg{
  width: 26px;
  height: 26px;
}

/* テキスト：小さめ */
.hamon-float__text{
  font-size: 9px;
  letter-spacing: .14em;
}

/* フワフワアニメーション */
@keyframes hamonFloatBounce{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

/* 吹き出し */
.hamon-float__popup{
  position: absolute;
  right: 0;
  bottom: calc(100% + 16px);
  width: 260px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

/* 吹き出しの三角 */
.hamon-float__popup::after{
  content: "";
  position: absolute;
  right: 28px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 4px 4px 8px rgba(0,0,0,.05);
}

/* 開いた状態 */
.hamon-float.is-open .hamon-float__popup{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 開いた状態：アニメーション停止 */
.hamon-float.is-open .hamon-float__btn{
  animation: none;
}

.hamon-float__popup-title{
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--hamon-muted);
  text-align: center;
}

/* ボタン群 */
.hamon-float__popup-btns{
  display: flex;
  gap: 10px;
}

.hamon-float__popup-btn{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: .12em;
  transition: background .25s ease, color .25s ease;
}

.hamon-float__popup-btn i{
  font-size: 18px;
}

/* 電話 */
.hamon-float__popup-btn--tel{
  background: var(--hamon-black);
  color: #fff;
}
.hamon-float__popup-btn--tel:hover{
  opacity: .85;
}

/* LINE */
.hamon-float__popup-btn--line{
  background: #06C755;
  color: #fff;
}
.hamon-float__popup-btn--line:hover{
  opacity: .85;
}

/* メール */
.hamon-float__popup-btn--mail{
  background: var(--hamon-gray);
  color: var(--hamon-black);
}
.hamon-float__popup-btn--mail:hover{
  background: var(--hamon-black);
  color: #fff;
}

/* 閉じるボタン */
.hamon-float__popup-close{
  position: absolute;
  top: 8px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--hamon-muted);
  transition: color .25s ease;
}
.hamon-float__popup-close:hover{
  color: var(--hamon-black);
}

/* スマホ：非表示 */
@media (max-width: 900px){
  .hamon-float{
    display: none;
  }
}

/* =========================
Splash Screen
========================= */

.hamon-splash{
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .8s ease, visibility .8s ease;
}

.hamon-splash.is-fadeout{
  opacity: 0;
  visibility: hidden;
}

.hamon-splash__inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
}

/* ロゴ（しずくとして落下） */
.hamon-splash__logo{
  position: relative;
  z-index: 3;
  animation: hamonDrop 1s cubic-bezier(.22,.68,.36,1.2) forwards;
  opacity: 0;
}

.hamon-splash__logo img{
  width: 120px;
  height: auto;
  display: block;
}

@keyframes hamonDrop{
  0%{
    opacity: 0;
    transform: translateY(-80px) scale(.8);
  }
  60%{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  75%{
    transform: translateY(-8px) scale(1.02);
  }
  100%{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 波紋 */
.hamon-splash__ripple{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 1px solid var(--hamon-black);
  border-radius: 50%;
  opacity: 0;
  animation: hamonRipple 2s ease-out 0.9s forwards;
}

.hamon-splash__ripple--2{
  animation-delay: 1.15s;
}

.hamon-splash__ripple--3{
  animation-delay: 1.4s;
}

@keyframes hamonRipple{
  0%{
    opacity: .6;
    transform: scale(1);
  }
  100%{
    opacity: 0;
    transform: scale(18);
  }
}

/* =========================
Splash: 波紋の線を細く＆上品に
========================= */

.hamon-splash__ripple{
  border-color: rgba(17,17,17,.25);
}

/* =========================
Splash Screen
========================= */

.hamon-splash{
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .8s ease, visibility .8s ease;
}

.hamon-splash.is-fadeout{
  opacity: 0;
  visibility: hidden;
}

.hamon-splash__inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
}

/* ロゴ（しずくとして落下） */
.hamon-splash__logo{
  position: relative;
  z-index: 3;
  animation: hamonDrop 1s cubic-bezier(.22,.68,.36,1.2) forwards;
  opacity: 0;
}

.hamon-splash__logo img{
  width: 120px;
  height: auto;
  display: block;
}

@keyframes hamonDrop{
  0%{
    opacity: 0;
    transform: translateY(-80px) scale(.8);
  }
  60%{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  75%{
    transform: translateY(-8px) scale(1.02);
  }
  100%{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 波紋 */
.hamon-splash__ripple{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 1px solid rgba(17,17,17,.25);
  border-radius: 50%;
  opacity: 0;
  animation: hamonRipple 2s ease-out 0.9s forwards;
}

.hamon-splash__ripple--2{
  animation-delay: 1.15s;
}

.hamon-splash__ripple--3{
  animation-delay: 1.4s;
}

@keyframes hamonRipple{
  0%{
    opacity: .6;
    transform: scale(1);
  }
  100%{
    opacity: 0;
    transform: scale(18);
  }
}

/* ロゴ着地時の影 */
.hamon-splash__logo::after{
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 40px;
  height: 2px;
  margin-left: -20px;
  background: radial-gradient(ellipse, rgba(17,17,17,.12), transparent 70%);
  opacity: 0;
  animation: hamonDropShadow 1s ease 0.6s forwards;
}

@keyframes hamonDropShadow{
  0%{
    opacity: 0;
    transform: scaleX(.5);
  }
  100%{
    opacity: 1;
    transform: scaleX(1);
  }
}