/* ==========================================================
   Dr.Smile / KAROYA クリニックまるごとお任せ サイト用CSS
   ========================================================== */

:root{
  --color-navy:      #16305a;
  --color-navy-soft: #1f3f73;
  --color-green:     #46b67c;   /* フッター・アイコン等のブランドグリーン */
  --color-green-card:#4caa57;   /* サポートカードの緑 */
  --color-green-dark:#2f7a5f;   /* ステップ番号の緑 */
  --color-red:       #e2001a;   /* CTAボタン */
  --color-red-dark:  #c40016;
  --color-yellow:    #fff36b;   /* 見出し下線 */
  --color-gold:      #cf9a2e;

  --bg-cream:        #fffde7;
  --bg-cream-soft:   #fbf8e0;
  --bg-mint:         #eef6ec;
  --bg-mint-soft:    #dbead5;

  --text-main:       #2c2c2c;
  --text-sub:        #4a4a4a;

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --max-width: 1320px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img{
  display: block;
  max-width: 100%;
  height: auto;
}

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

.inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 共通見出し ---------- */
.section-title{
  text-align: center;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  color: var(--color-navy);
  margin: 0 0 40px;
}
.section-title.underline{
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}
.section-title.underline::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 220px;
  max-width: 80%;
  height: 6px;
  background: var(--color-yellow);
  border-radius: 3px;
}
.section-title-wrap{ text-align: center; margin-bottom: 34px; }

.eyebrow{
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 15px;
  padding: 6px 22px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ---------- ナビからのマーキング用タグ ---------- */
.nav-tag-wrap{
  text-align: center;
  margin-bottom: 14px;
}
.nav-tag{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--color-gold);
}
.nav-tag::before,
.nav-tag::after{
  content: "";
  width: 30px;
  height: 1px;
  background: var(--color-gold);
}

/* ---------- ボタン ---------- */
.btn-cta{
  display: inline-block;
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 40px;
  border-radius: 40px;
  box-shadow: 0 6px 14px rgba(226,0,26,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
  border: none;
  cursor: pointer;
  text-align: center;     /* 文字を中央揃えにする */
  line-height: 1.4;       /* 2行になったときの行の間隔を少し詰めて綺麗にする */
}
.btn-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(226,0,26,0.45);
}
.btn-cta.small{
  padding: 10px 26px;
  font-size: 14px;
}

/* 1. PCのときの配置（ヒーローのボタンだけ、もっと右に寄せる） */
#main-visual .hero-text .btn-cta {
  display: block;        /* 配置をコントロールしやすくするためにblockに変更 */
  width: max-content;    /* ボタンが横いっぱいに広がらないようにする */
  margin-left: auto;
  margin-right: auto;
}

/* 2. スマホのときの配置（画面幅が767px以下のときは真ん中） */
@media (max-width: 767px) {
  #main-visual .hero-text .btn-cta {
    margin-left: auto;   /* 左右の余白を両方autoにすることで */
    margin-right: auto;  /* 真ん中（中央揃え）になります */
  }
}

/* ==========================================================
   1. グローバルナビゲーション
   ========================================================== */
#global-navigation{
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;

}
#global-navigation .nav-inner{
  max-width: 1500px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
#global-navigation .logo img{
  width: 150px;
}
#global-navigation .nav-inner nav{
  margin-left: auto;
}
#global-navigation .nav-links{
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#global-navigation .nav-links a{
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}
#global-navigation .nav-links a:hover{ color: var(--color-red); }
#global-navigation .nav-cta{
  white-space: nowrap;
}
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span{
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--color-navy);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-active span:nth-child(1){ transform: translateY(9.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity: 0; }
.nav-toggle.is-active span:nth-child(3){ transform: translateY(-9.5px) rotate(-45deg); }

/* ==========================================================
   2. メインビジュアル（ヒーロー）
   ========================================================== */
#main-visual{
  position: relative;
  background: #fff;
  overflow: hidden;
  padding: 52px 0 0;
}
#main-visual::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: var(--bg-mint-soft);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scale(1.5);
  z-index: 0;
}
#main-visual .hero-inner{
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: start;
  gap: 24px;
}
#main-visual .hero-text{
  position: relative;
  z-index: 2;
  text-align: center;
}
#main-visual .hero-logo{
  display: block;
  width: 260px;
  max-width: 60%;
  margin: 0 auto 18px;
}
#main-visual .hero-text .eyebrow-text{
  font-size: 40px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 4px;
  white-space: nowrap;
}
#main-visual h1{
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 900;
  color: var(--color-navy);
  margin: 0 0 24px;
  line-height: 1.25;
  letter-spacing: .02em;
  white-space: nowrap;
}
#main-visual .hero-lead{
  font-size: 16px;
  color: var(--text-sub);
  margin: 0 0 32px;
  line-height: 1.9;
}
#main-visual .hero-image{
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* ---------- ヒーローイラストのホットスポット ---------- */
.hotspot{
  position: absolute;
  width: 4.2%;
  min-width: 20px;
  max-width: 34px;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 5;
}
.hotspot-pin{
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.35));
  animation: hotspot-bounce 2.2s ease-in-out infinite;
  transition: transform .15s ease;
}
.hotspot:hover .hotspot-pin,
.hotspot:focus .hotspot-pin{
  animation-play-state: paused;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)) brightness(1.15);
}
.hotspot-tip{
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -8px) scale(.9);
  background: var(--color-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  padding: 10px 20px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.hotspot-tip::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--color-navy);
}
.hotspot:hover .hotspot-tip,
.hotspot:focus .hotspot-tip{
  opacity: 1;
  transform: translate(-50%, -10px) scale(1);
}
@keyframes hotspot-bounce{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}
@media (max-width: 900px){
  .hotspot{ width: 7%; min-width: 18px; }
}
#main-visual .hero-catch{
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px 40px;
  padding-left: 42%;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 900;
  color: var(--color-navy);
}

/* ==========================================================
   3. KAROYAのサポート
   ========================================================== */
#section-sapoto{
  position: relative;
  padding: 60px 0 80px;
  background-color: var(--bg-mint);
  background-image: url("../image/section-support-bg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}
#section-sapoto::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.75));
  z-index: -1;
}
#section-sapoto .support-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}
.support-card{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  overflow: hidden;
}
.support-card .card-head{
  background: var(--color-green-card);
  color: #fff;
  text-align: center;
  padding: 22px 16px 34px;
  font-weight: 700;
  border-radius: 0 0 60% 60% / 0 0 30px 30px;
}
.support-card .card-head .head-sub{
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}
.support-card .card-head .head-main{
  display: block;
  font-size: 19px;
  font-weight: 700;
}
.support-card .card-body{
  padding: 26px 22px 30px;
  font-size: 15.5px;
  color: var(--text-sub);
  text-align: center;
  min-height: 120px;
  position: relative;
}
.support-card .card-body img{
  display: block;
  width: 56px;
  margin: 14px auto 0;
}

/* ==========================================================
   4. OA機器・セキュリティ
   ========================================================== */
#section-oa{
  position: relative;
  background: var(--bg-cream);
  padding: 60px 0;
  overflow: hidden;
}
#section-oa::before,
#section-oa::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70,182,124,.10), rgba(70,182,124,0) 70%);
  z-index: 0;
  pointer-events: none;
}
#section-oa::before{ width: 480px; height: 480px; top: -120px; left: -180px; }
#section-oa::after{ width: 420px; height: 420px; bottom: -140px; right: -160px; }
#section-oa .inner{ position: relative; z-index: 1; }
#section-oa .oa-lead{
  text-align: center;
  font-size: 17px;
  color: var(--text-sub);
  margin: -16px 0 40px;
}
#section-oa .oa-row{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto 40px;
}
#section-oa .oa-row img{
  width: 420px;
  max-width: calc(50% - 14px);
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
#section-oa .oa-row:last-of-type{ margin-bottom: 0; }
#section-oa .oa-security-title{
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--color-navy);
  margin: 0 0 8px;
}
#section-oa .oa-security-header{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 8px;
}
#section-oa .oa-security-header .oa-security-title{ margin: 0; }
#section-oa .oa-security-egis{
  height: 64px;
  width: auto;
  flex: none;
}
#section-oa .oa-security-tags{
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  margin: 0 0 6px;
}
#section-oa .oa-security-lead{
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  margin: 0 0 40px;
}

/* ==========================================================
   共通: 帯タイトルセクション（インターネット関係／印刷物／光回線）
   ========================================================== */
.strip-section{
  position: relative;
  background: var(--bg-cream);
  padding: 30px 0;
  overflow: hidden;
}
.strip-section::before{
  content: "";
  position: absolute;
  top: 50%;
  left: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70,182,124,.09), rgba(70,182,124,0) 70%);
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}
.strip-section::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207,154,46,.08), rgba(207,154,46,0) 70%);
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}
.strip-section .inner{ position: relative; z-index: 1; }
.strip-section + .strip-section{ padding-top: 0; }
.strip-section .strip-rule{
  height: 1px;
  background: var(--color-green);
  max-width: var(--max-width);
  margin: 0 auto 26px;
}
.strip-section h2{
  text-align: center;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--color-navy);
  margin: 0 0 14px;
}
.strip-section .strip-tags{
  text-align: center;
  font-size: 17px;
  color: var(--text-sub);
  margin: 0 0 10px;
}

/* --- インターネット関係 --- */
#section-web{ padding: 30px 0 56px; }
#section-web .web-flex{
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 880px;
  margin: 30px auto 0;
  gap: 50px;
}
#section-web .web-logos{
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: none;
}
#section-web .web-logos img{ width: 160px; }
#section-web .web-tiiki-big{ flex: none; }
#section-web .web-tiiki-big img{
  height: 340px;
  width: auto;
  object-fit: contain;
}
#section-web .web-icons{
  display: flex;
  align-items: center;
  gap: 26px;
  flex: none;
}
#section-web .web-icon-gurahu{ height: 100px; width: auto; object-fit: contain; }

/* --- HP・動画制作 --- */
#section-hp .oa-lead{ text-align: center; }
#section-hp .hp-mockup{
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
#section-hp .hp-mockup img{
  width: 100%;
  max-width: 760px;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

/* --- 印刷物・サイネージ --- */
#section-print .print-flex{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
#section-print .print-flex .print-combined{
  max-width: 780px;
  width: 100%;
}
#section-print .print-flex .print-signage{
  max-width: 500px;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* --- 光回線・PCサポート --- */
#section-infra .infra-grid{
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 40px 64px;
  margin: 0 auto;
}
.infra-item{
  display: flex;
  align-items: center;
  gap: 24px;
}
.infra-item > div{ max-width: 210px; }
.infra-item .infra-icon{ width: 92px; flex: none; }
.infra-item h3{
  font-size: 24px;
  font-weight: 900;
  color: var(--color-navy);
  margin: 0 0 6px;
}
.infra-item p.lead{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}
.infra-item ul{
  margin: 0;
  padding-left: 1.1em;
  font-size: 15px;
  color: var(--text-sub);
}
.infra-item ul li{ margin-bottom: 2px; }

/* ==========================================================
   専門家パートナーシップ（選ばれる理由）
   ========================================================== */
#section-reason{
  position: relative;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-mint) 100%);
  padding: 64px 0;
  overflow: hidden;
}
#section-reason .reason-frame{
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  background: rgba(255,255,255,.55);
  border: 2px solid var(--color-gold);
  border-radius: 18px;
  padding: 44px 48px 40px;
}
#section-reason .badge{
  position: absolute;
  top: -46px;
  left: 30px;
  width: 190px;
}
#section-reason .reason-head{
  padding-left: 220px;
  margin-bottom: 28px;
}
#section-reason h2{
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 16px;
}
#section-reason .reason-lead{
  font-size: 16px;
  color: var(--text-sub);
  margin: 0;
}
#section-reason .reason-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.reason-card{
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  padding: 26px 22px;
  text-align: center;
}
.reason-card h3{
  font-size: 18px;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 14px;
}
.reason-card p{
  font-size: 15.5px;
  color: var(--text-sub);
  margin: 0;
}
#section-reason .reason-tag{
  display: block;
  width: fit-content;
  margin: 32px auto 0;
  background: var(--color-green);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 9px 24px;
  border-radius: 999px;
}

/* ==========================================================
   ご相談から構築までの3ステップ
   ========================================================== */
#section-flow{
  position: relative;
  background: var(--bg-mint);
  padding: 64px 0;
  overflow: hidden;
}
#section-flow::before{
  content: "";
  position: absolute;
  top: -100px;
  right: -140px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,122,95,.10), rgba(47,122,95,0) 70%);
  z-index: 0;
  pointer-events: none;
}
#section-flow .inner{ position: relative; z-index: 1; }
#section-flow .flow-title{
  text-align: center;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--color-green-dark);
  margin: 0 0 60px;
}
#section-flow .flow-list{
  max-width: 960px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
#section-flow .flow-item{
  display: flex;
  align-items: flex-start;
  gap: 30px;
  position: relative;
  padding-bottom: 56px;
}
#section-flow .flow-item:last-child{ padding-bottom: 0; }
#section-flow .flow-item::before{
  content: "";
  position: absolute;
  left: 39px;
  top: 80px;
  bottom: -6px;
  width: 4px;
  background: var(--color-green-dark);
}
#section-flow .flow-item:last-child::before{ display: none; }
#section-flow .flow-num{
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--color-green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  z-index: 1;
}
#section-flow .flow-item h3{
  font-size: 26px;
  font-weight: 900;
  color: var(--color-green-dark);
  margin: 6px 0 10px;
}
#section-flow .flow-item p{
  font-size: 16px;
  color: var(--text-sub);
  margin: 0;
}

/* ==========================================================
   無料相談フォーム
   ========================================================== */
#section-form{
  position: relative;
  background: var(--bg-cream-soft);
  padding: 64px 0 90px;
  overflow: hidden;
}
#section-form::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: var(--bg-mint-soft);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: scale(1.4);
  z-index: 0;
}
#section-form::after{
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 110px;
  background: var(--color-green);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scale(1.4);
  z-index: 0;
}
#section-form .form-card{
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.10);
  padding: 42px 50px 50px;
}
#section-form h2{
  text-align: center;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 36px;
}
#section-form label{
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 8px;
}
#section-form input[type="text"],
#section-form input[type="email"],
#section-form input[type="tel"],
#section-form textarea{
  width: 100%;
  border: 1.5px solid #333;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
}
#section-form textarea{ min-height: 160px; }
#section-form .form-agree{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-sub);
  margin: 26px 0 30px;
}
#section-form .form-agree input{
  margin-top: 0;
  width: 16px;
  height: 16px;
  flex: none;
  transform: translateY(7px);
}
#section-form .btn-cta{
  display: block;
  width: 100%;
  text-align: center;
  font-size: 18px;
  padding: 18px;
}

/* ==========================================================
   フッター
   ========================================================== */
#site-footer{
  position: relative;
  background: var(--color-green);
  padding-top: 0;
}
#site-footer .footer-skyline{
  width: 100%;
  display: block;
}
#site-footer .footer-body{
  background: var(--color-green);
  color: #fff;
  padding: 20px 24px 40px;
  text-align: center;
}
#site-footer .footer-body .logo-mono{
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 14px;
}
#site-footer .footer-company{
  max-width: 420px;
  margin: 0 auto 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  font-size: 13.5px;
  line-height: 1.9;
  opacity: .95;
}
#site-footer .footer-company p{ margin: 0; }
#site-footer .footer-company .footer-company-name{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
#site-footer .footer-company a{ color: #fff; }
#site-footer .footer-company a:hover{ text-decoration: underline; }
#site-footer .footer-links{
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 14px;
}
#site-footer .footer-links a:hover{ text-decoration: underline; }
#site-footer .copyright{
  font-size: 12.5px;
  opacity: .9;
}

/* ==========================================================
   スクロールフェードイン
   ========================================================== */
.reveal{
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   トップへ戻るボタン
   ========================================================== */
#back-to-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
  z-index: 90;
}
#back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover{ background: var(--color-red); }
@media (max-width: 600px){
  #back-to-top{ right: 16px; bottom: 16px; width: 46px; height: 46px; font-size: 18px; }
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 900px){
  #global-navigation .nav-inner{ position: relative; flex-wrap: wrap; }
  #global-navigation .nav-cta{ display: none; }
  .nav-toggle{ display: flex; }
  #global-navigation .nav-links{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    padding: 20px 24px 28px;
    box-shadow: 0 10px 20px rgba(0,0,0,.10);
  }
  #global-navigation .nav-links.is-open{ display: flex; }
  #main-visual .hero-inner{ grid-template-columns: 1fr; }
  #main-visual .hero-text{ width: 100%; text-align: center; }
  #main-visual .hero-logo{ margin: 0 auto 14px; }
  #main-visual .hero-text .eyebrow-text,
  #main-visual .hero-lead{ padding-left: 0; }
  #main-visual .hero-image{ width: 100%; }
  #main-visual .hero-catch{ text-align: center; padding-left: 24px; }
  #section-sapoto .support-grid{
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 340px;
}
.support-card .card-head{ padding: 18px 16px 26px; }
.support-card .card-body{ padding: 20px 20px 24px; min-height: 0; }
  #section-oa .oa-row{ flex-direction: column; gap: 16px; margin-bottom: 28px; align-items: center; }
  #section-oa .oa-row img{ width: 78%; max-width: 320px; height: 220px; object-fit: cover; }
  #section-oa{ padding: 44px 0; }
  #section-oa .oa-security-lead{ margin-bottom: 28px; }
  #section-web .web-flex{ flex-direction: column; }
  #section-web .web-logos{
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }
  #section-web .web-logos img{ width: 90px; }
  #section-web .web-icons{ justify-content: center; }
  #section-web .web-tiiki-big img{ height: 220px; }
  #section-web .web-icon-gurahu{ height: 64px; }
  #section-infra .infra-grid{ grid-template-columns: 1fr; }
  #section-reason .reason-grid{ grid-template-columns: 1fr; }
  #section-reason .reason-head{ padding-left: 0; text-align: center; }
  #section-reason .badge{ position: static; margin: 0 auto 20px; }
  #section-reason h2 .pc-break{ display: none; }
  #section-form .form-card{ padding: 36px 24px 44px; }
  .print-flex .print-combined,
  .print-flex .print-signage{ width: 100% !important; max-width: 90% !important; }
}
