@charset "UTF-8";

/* ===================================================================
 * 東武証券 Webサイト 共通スタイル v2
 * - メインカラー: #009944
 * =================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-size: 1.4rem;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.75;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Variables ---------- */
:root {
  --color-primary: #009944;
  --color-primary-dark: #007a35;
  --color-primary-light: #e6f5ec;
  --color-text: #1a1a1a;
  --color-text-mute: #666;
  --color-bg: #fff;
  --color-bg-alt: #f5f7f6;
  --color-bg-section: #efeff2;
  --color-border: #e0e0e0;

  /* === アクセントカラー（元の濃紺・赤に戻し済み）====================
   * news-tagピル・一覧を見る矢印・カルーセル前後ボタン・赤CTAは元の濃紺/赤
   * ================================================================ */
  --color-news-tag: #1e3a5f;  /* news-tagピル / 一覧を見る矢印 / スライダーボタン */
  --color-cta:      #e8233c;  /* ヘッダー口座開設 / お問い合わせバー口座開設 */

  --color-new-badge: #d63138;
  --color-footer: #16345a;
  --color-footer-deep: #0e2440;

  --container: 1200px;
  --gutter: 24px;
  --radius: 4px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  font-family: "Inter", "Noto Sans JP", sans-serif;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text-mute);
  letter-spacing: 0.06em;
  margin-top: -22px;
  margin-bottom: 32px;
}

.section-head .section-subtitle {
  margin-top: -4px;
  margin-bottom: 0;
}

/* =============================================
 * Header
 * - ヒーローの上に重なる透過固定ヘッダー
 * ============================================= */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  flex-shrink: 0;
}

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

.header-logo img {
  height: 34px;
  width: auto;
}

.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.global-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.global-nav-list > li {
  position: relative;
}

.global-nav-list > li > a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.global-nav-list > li > a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.global-nav-list > li.is-current > a {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 2px;
  white-space: nowrap;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-btn-line {
  background: #fff;
  color: var(--color-text);
  border: 1px solid #c8cdd2;
}

.header-btn-line:hover {
  background: var(--color-bg-alt);
  opacity: 1;
}

.header-btn-cta {
  background: var(--color-cta);
  color: #fff;
}

.header-btn-cta:hover {
  background: #b81a31;
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
 * Hero — full-viewport slider with overlay
 * ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #cfe6f5;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 220px var(--gutter) 0;
  z-index: 2;
  pointer-events: none;
}

.hero-overlay > .hero-copy-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-copy {
  text-align: left;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

.hero-catchphrase {
  font-size: clamp(2.4rem, 3.4vw, 4.2rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 0 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.1em;
  line-height: 1.25;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.hero-dot.is-active {
  background: #ffffff;
  transform: scale(1.2);
}

/* =============================================
 * Slider common
 * ============================================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary); /* グリーン固定 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  color: #ffffff;
}

.slider-btn:hover {
  background: var(--color-primary-dark);
  opacity: 1;
  transform: translateY(-1px);
}

.slider-btn:disabled {
  background: #b9c3cf;
  cursor: default;
  transform: none;
}

.slider-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Bleed wrapper — extends slider to right edge while aligning first card with container */
.slider-bleed {
  width: 100%;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  /* Align first card with container left, allow cards to extend past viewport right */
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* =============================================
 * おすすめ商品・サービス
 * ============================================= */
.products-slider {
  padding: 70px 0 90px;
  position: relative;
  background: #ffffff;
}

/* 下から2/3を #efeff2 */
.products-slider.section-tone-split::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  bottom: 0;
  background: #efeff2;
  z-index: 0;
}

.products-slider .container,
.products-slider .slider-bleed {
  position: relative;
  z-index: 1;
}

.product-card {
  flex: 0 0 285px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  opacity: 1;
}

.product-card-media {
  width: 100%;
  aspect-ratio: 5 / 3;
  background: #f5f5f5;
  overflow: hidden;
  flex-shrink: 0;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.product-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-text);
  letter-spacing: 0.02em;
  /* fix to 3 lines so card heights stay consistent */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card-meta {
  font-size: 1.3rem;
  color: var(--color-text-mute);
  margin: 0;
}

.product-card-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary); /* グリーン固定 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-card-arrow svg {
  width: 8px;
  height: 8px;
  fill: #fff;
}

/* =============================================
 * News (お知らせ)
 * ============================================= */
.news {
  background: #ffffff;
  padding: 70px 0;
}

.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.news-head .section-title {
  margin-bottom: 0;
}

.news-link-all {
  font-size: 1.3rem;
  color: var(--color-text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link-all::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-news-tag);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='%23fff'><path d='M3 1 L8 5 L3 9 Z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px;
}

.news-list {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.news-item a {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.55rem;
  color: var(--color-text);
}

.news-item:last-child a {
  border-bottom: none;
}

.news-item a:hover {
  background: #fafafa;
  opacity: 1;
}

.news-date {
  font-size: 1.45rem;
  color: var(--color-text-mute);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 100px;
  letter-spacing: 0.02em;
}

.news-tag {
  display: inline-block;
  background: var(--color-news-tag);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 4px 18px;
  border-radius: 2px;
  flex-shrink: 0;
  min-width: 92px;
  text-align: center;
  letter-spacing: 0.05em;
}

.news-title {
  flex: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-new {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-new-badge);
  letter-spacing: 0.08em;
  margin-left: 8px;
  flex-shrink: 0;
}

.news-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary); /* グリーン固定 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.news-arrow svg {
  width: 7px;
  height: 7px;
  fill: #fff;
}

/* =============================================
 * Investment products (商品・サービス)
 * ============================================= */
.products-grid {
  background: #ffffff;
  padding: 60px 0 50px;
}

.products-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 0;
  margin-top: 12px;
}

.products-grid-list li {
  position: relative;
  border-top: 1px solid #c5cbd2;
}

/* 最下段にも下線を入れる（3列の場合の最後の3要素） */
.products-grid-list li:nth-last-child(-n + 3) {
  border-bottom: 1px solid #c5cbd2;
}

/* 各セル左上のグリーンアクセントマーク */
.products-grid-list li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 10px;
  height: 3px;
  background: #009944;
  z-index: 1;
}

.products-grid-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 14px;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: background 0.2s ease, color 0.2s ease;
}

.products-grid-list li a::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #009944;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='%23fff'><path d='M2 1 L7 5 L2 9 Z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.products-grid-list li a:hover {
  background: #f4faf6;
  color: #009944;
  opacity: 1;
}

.products-grid-list li a:hover::after {
  background-color: #00b751;
  transform: translateX(2px);
}

/* =============================================
 * Disclaimer
 * ============================================= */
.disclaimer {
  background: #ffffff;
  padding: 0 0 70px;
}

.disclaimer-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  background: var(--color-bg-alt);
  padding: 28px;
  border-radius: 2px;
}

.disclaimer-title {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-text);
}

.disclaimer-text {
  font-size: 1.45rem;
  line-height: 1.85;
  color: var(--color-text);
}

.disclaimer-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #d8e2eb;
  overflow: hidden;
  border-radius: 4px;
}

.disclaimer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
 * Recommend Contents (おすすめコンテンツ)
 * ============================================= */
.recommend {
  background: #ffffff;
  padding: 70px 0 80px;
}

.recommend-track .recommend-card {
  flex: 0 0 260px;
}

.recommend-card a {
  display: block;
}

.recommend-card-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 14px;
}

.recommend-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recommend-card a:hover .recommend-card-image img {
  transform: scale(1.04);
}

.recommend-card-lead {
  font-size: 1.15rem;
  color: var(--color-text-mute);
  margin-bottom: 2px;
}

.recommend-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* =============================================
 * Action Banners
 * ============================================= */
.action-banners {
  background: #ffffff;
  padding: 30px 0 60px;
}

.action-banners-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.action-banner a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-banner a:hover {
  opacity: 1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.action-banner img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  object-position: center;
}

/* =============================================
 * Consult section
 * ============================================= */
.consult {
  background: #ffffff;
  padding: 0 0 60px;
}

.consult-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.consult-text {
  font-size: 2rem;
  font-weight: 700;
}

.consult-text small {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text-mute);
  margin-top: 4px;
}

.consult-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.2s ease;
  text-align: center;
  min-width: 180px;
}

.btn-primary {
  background: var(--color-primary); /* 旧 var(--color-footer) */
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark); /* 旧 var(--color-footer-deep) */
  opacity: 1;
}

.btn-cta {
  background: var(--color-cta);
  color: #fff;
}

.btn-cta:hover {
  background: #b81a31;
  opacity: 1;
}

.btn-outline {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--color-bg-alt);
  opacity: 1;
}

/* =============================================
 * Footer contact bar
 * ============================================= */
.contact-bar {
  background: var(--color-footer);
  color: #fff;
  padding: 18px 0;
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-label {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-phone-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.contact-phone::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  background: var(--color-primary); /* 旧 #6ec1a0 */
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.59l2.2-2.2a1 1 0 0 0 .24-1.02A11.4 11.4 0 0 1 8.5 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1c0 9.39 7.61 17 17 17a1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

.contact-hours {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-actions {
  display: flex;
  gap: 12px;
}

.contact-actions .btn-outline {
  background: #fff;
  color: var(--color-text);
  border: none;
}

/* =============================================
 * Footer
 * ============================================= */
.site-footer {
  background: var(--color-footer-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0 24px;
  font-size: 1.2rem;
  line-height: 1.9;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links-row a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  padding-bottom: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-company {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.footer-company p {
  margin-bottom: 4px;
}

.footer-copy {
  text-align: right;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  margin-top: 16px;
}

/* =============================================
 * Responsive (Tablet)
 * ============================================= */
@media (max-width: 1100px) {
  .global-nav-list > li > a {
    padding: 10px 10px;
    font-size: 1.25rem;
  }

  .header-btn {
    padding: 8px 14px;
    font-size: 1.15rem;
  }
}

@media (max-width: 1024px) {
  .section-title {
    font-size: 2.4rem;
  }

  .product-card {
    flex: 0 0 260px;
  }

  .recommend-track .recommend-card {
    flex: 0 0 240px;
  }

  .products-grid-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 9アイテム/2列の場合：最後の行が単独なので、最後の3要素に下線（デスクトップと同じ） */
  /* デスクトップの :nth-last-child(-n+3) ルールがそのまま機能 */

  .action-banners-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .global-nav-list > li > a {
    padding: 10px 8px;
    font-size: 1.2rem;
  }
}

/* =============================================
 * Responsive (Mobile)
 * ============================================= */
@media (max-width: 820px) {
  :root {
    --gutter: 16px;
  }

  .news, .products-slider, .products-grid, .recommend, .action-banners {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 22px;
  }

  /* Header */
  .header-inner {
    padding: 10px var(--gutter);
  }

  .header-logo img {
    height: 28px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-right {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
    padding: 80px 24px 32px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .header-right.is-open {
    transform: translateX(0);
  }

  .global-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .global-nav-list > li {
    border-bottom: 1px solid var(--color-border);
  }

  .global-nav-list > li > a {
    display: block;
    padding: 14px 4px;
    font-size: 1.5rem;
  }

  .header-actions {
    flex-direction: column;
    gap: 10px;
  }

  .header-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.4rem;
  }

  /* Hero */
  .hero {
    height: 100vh;
    height: 100svh; /* iOS Safari の URL バー考慮 */
    min-height: 480px;
  }

  .hero-overlay {
    padding: 96px var(--gutter) 0;
  }

  .hero-catchphrase {
    font-size: clamp(2rem, 5.6vw, 2.8rem);
    letter-spacing: 0.08em;
  }

  .hero-copy {
    padding: 0;
  }

  /* Slider */
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .product-card {
    flex: 0 0 75%;
    max-width: 280px;
  }

  .recommend-track .recommend-card {
    flex: 0 0 70%;
    max-width: 260px;
  }

  /* News */
  .news-head {
    align-items: center;
  }

  .news-item a {
    flex-wrap: wrap;
    padding: 20px 8px;
    gap: 10px 14px;
    font-size: 1.4rem;
  }

  .news-title {
    flex-basis: 100%;
    white-space: normal;
    order: 5;
    font-size: 1.4rem;
  }

  .news-arrow {
    order: 6;
    margin-left: auto;
  }

  /* Products grid */
  .products-grid-list {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid-list li a {
    font-size: 1.35rem;
    padding: 16px 8px;
  }

  /* Disclaimer */
  .disclaimer-inner {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  /* Consult */
  .consult-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px;
  }

  .consult-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  /* Contact bar */
  .contact-bar-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }

  .contact-phone-wrap {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .contact-phone {
    font-size: 2rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  /* Footer */
  .footer-links-row {
    gap: 4px 16px;
    font-size: 1.1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .products-grid-list {
    grid-template-columns: 1fr;
  }

  /* 1列レイアウト時：すべての要素に下線 */
  .products-grid-list li:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .products-grid-list li:last-child {
    border-bottom: 1px solid #c5cbd2;
  }
}
