html, body {
  margin: 0;
  overflow-x: hidden;
}

/* ==================================================
   基本リンクカラー
================================================== */
a:link    { color: #4898b0; }
a:hover   { color: var(--ink); }
a:visited { color: #e36aa1; }

/* ==================================================
   カスタムプロパティ（テーマカラー）
================================================== */
:root {
  --grad-a: #ffe1e7;
  --grad-b: #aee4ff;
  --ink:    #6e7196;
  --bar-a:  #a0e9ff;
  --bar-b:  #e6b9f0;
}

/* ==================================================
   ベースレイアウト
================================================== */

@supports(padding: max(0px)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system,
               "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  background-attachment: fixed; /* ← 背景はbodyでOK */
  color: var(--ink);
}


/* ======================================== 
   画像・SVG
   ======================================== */
img,  {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==================================================
   ハンバーガーメニュー装飾（視認性向上）
================================================== */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.25); /* 半透明の白背景 */
  backdrop-filter: blur(6px);             /* 背景をぼかして浮かせる */
  box-shadow:
    inset 0 0 6px rgba(0, 0, 0, 0.3), /* ← 内側から少し暗く */
    0 0 8px rgba(0, 0, 0, 0.4); /* ← 外側発光は残す */
  transition: all 0.3s ease;
}

/* hover時に光が強まる */
.hamburger:hover {
  background: rgba(0, 0, 0, 0.4);
  box-shadow:
    0 0 8px rgba(190, 250, 255, 0.9),
    0 0 16px rgba(255, 180, 250, 0.6);
}

/* ハンバーガーラインに白い縁取り＋ネオン感 */
.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow:
    0 0 3px rgba(0, 0, 0, 0.8),
    0 0 6px rgba(180, 240, 255, 0.8);  /* 内側に淡く発光 */
  transition: all 0.4s ease;
}

.hamburger__line:nth-of-type(1) { top: 14px; }
.hamburger__line:nth-of-type(2) { top: 23px; }
.hamburger__line:nth-of-type(3) { top: 32px; }

/* クリック時のアニメーション */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

/* ==================================================
   タブレット以上ではより浮かせて見せる
================================================== */
@media (min-width: 768px) {
  .hamburger {
    background: rgba(255, 255, 255, 0.15);
    box-shadow:
      0 0 8px rgba(200, 250, 255, 0.6),
      0 0 20px rgba(255, 180, 250, 0.4);
    backdrop-filter: blur(8px);
  }
}

/* ==========================================
   メニュー開閉でハンバーガーを視認しやすく
========================================== */

/* 閉じているとき（背景イラスト上） */
.hamburger {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 6px rgba(180, 240, 255, 0.7),
    0 0 12px rgba(255, 200, 255, 0.4);
  transition: all 0.3s ease;
}

/* 開いているとき（白背景上で反転） */
.hamburger.active {
  background: rgba(255, 250, 250, 0.2); /* ピンクを薄く敷く */
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 6px rgba(255, 120, 220, 0.6),
    0 0 16px rgba(255, 180, 250, 0.6),
    0 0 24px rgba(173, 236, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ラインを暗色に変更して白背景でもくっきり */
.hamburger.active .hamburger__line {
  background-color: #555;
  box-shadow:
    0 0 2px rgba(255, 255, 255, 0.8),
    0 0 4px rgba(255, 200, 255, 0.6);
}


/* =========================
   右スライドメニュー
========================= */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 100%;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 4px rgba(0,0,0,.1);
  transform: translateX(100%);
  transition: transform .4s ease;
  z-index: 90;
  overflow-y: auto;   /* ← スクロール可能に */
  -webkit-overflow-scrolling: touch; /* ← iOS特有の慣性スクロール */
}


.nav.active {
  transform: translateX(0);
}

.nav__list {
  flex: 1;                     /* ← 高さを埋める */
  margin: 0;
  padding: 100px 0 20px;
  list-style: none;

  overflow-y: auto;            /* ← スクロール許可 */
  -webkit-overflow-scrolling: touch;
}

.nav__item { padding: 0 20px; }

.nav__link {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}


/* ==================================================
   背景演出：星
================================================== */
.star {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff;
  animation: twinkle 3s infinite;
  opacity: .6;
}

@keyframes twinkle {
  0%, 100% { opacity: .2; transform: scale(.7); }
  50%      { opacity: 1;  transform: scale(1); }
}

/* ==================================================
   進捗バー
================================================== */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 6px;
  background: linear-gradient(90deg, #7d7aff, #ff7ac3);
  width: 0%;
  z-index: 1000;
  transition: width .25s ease;
}

/* ==================================================
   Hero セクション（背景：キービジュ）
================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 下寄せでキャプション・ロゴを見やすく */
  align-items: center;
  overflow: hidden;
}

/* 背景画像ラッパー */
.hero-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-img-wrapper img.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* PC向けはcover */
  object-position: center center;
  display: block;
}



/* ロゴ背景とSVG */
.hero-wrapper {
  position: relative;
  z-index: 2; 
  max-width: 750px;
  width: 100%;
  margin: auto auto -2.5vh;
  text-align: center;
  background: url("img/logo.png") top center / contain no-repeat;
  aspect-ratio: 448 / 235;
}

.logo-svg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  z-index: 3;
  top: auto;
  bottom: auto;
  margin-top: 22%;
}

.logo-svg svg {
  width: 100%;
  height: auto;
}

.hero-caption {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 17px;
  font-weight: 700;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

/* ==================================================
   スマホ用キービジュアル調整
================================================== */
@media (max-width: 768px) {

  /* 背景画像は縦全体を表示 */
  .hero-img-wrapper img.hero-img {
    object-fit: contain;
    width: 100%;
    height: auto;
  }

  /* hero-wrapper の高さを動的に調整 */
  .hero-wrapper {
    max-width: 90%;
    width: 90%;
    height: auto;                /* 高さを自動に */
    padding-top: 40%;            /* 縦比を確保（目安） */
    margin: auto auto 1rem;
    background: url("img/logo.png") top center / contain no-repeat;
    background-size: contain;    /* 縦横比を保つ */
  }

  .logo-svg {
    width: 80%;
    max-width: none;
    margin-top: 0;               /* 固定マージンを削除 */
    top: 40%;                    /* 動的に上位置を決める */
    transform: translateX(-50%); /* 横中央寄せのみ */
  }

  .hero-caption {
    font-size: 14px;
    max-width: 90%;
    margin-top: 0.5rem;          /* ロゴに近づける */
    margin-bottom: 1.5rem;
    padding: 0.4rem;
  }

  .hero-img-wrapper::after {
    height: 70%;                 /* スマホでは下部分だけ */
  }
}

/* ==================================================
   セクションボックス
================================================== */
.section-box {
  max-width: 960px;
  margin: 3rem auto;
  padding: 2rem 1.25rem;
  background: rgba(255,255,255,0.8);
  border-radius: 1.25rem;
  position: relative;
  opacity: 0;                
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.section-box.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-inner {
  max-width: 768px;
  margin: 0 auto;
}

.section-inner p, 
.section-inner li {
  word-wrap: break-word; /* 古いブラウザ対応 */
  overflow-wrap: anywhere; /* 長い単語やURLも折り返す */
  hyphens: auto; /* 必要ならハイフンも */
}

@media (max-width:768px) {
  .section-box {
    border-radius: 0;
    margin: 2.5rem auto;
    padding: 1.5rem 1rem;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.8);
  }
  .section-box::before,
  .section-box::after {
    display: none !important;
  }
}

/* ==================================================
   本文スタイル
================================================== */
body, p, li, td, th, .accordion-button {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
}
.accordion-collapse {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  color: var(--ink);
}

/* ==================================================
   見出し
================================================== */
h1, h2, h3, .section-title {
  font-family: 'Poiret One', 'Kaisei Opti', serif;
  font-weight: 400;
}
h5 {
  color: #555;
  font-weight: 700;
}
h2.section-title {
  font-weight: 800;
  color: #e36aa1;
  text-align: center;
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .20rem;
}
h2.section-title svg {
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  fill: var(--ink);
  margin-top: 0.25em;
}
.section-inner-title {
  color: #555;
  font-size:1.25em;
  font-weight: 700;
  margin:0;
}
.section-inner-title svg {
  width: 25px;
  height: 25px;
  fill: var(--ink);
}

.ttl_line2 {
  font-weight: bold;
  font-size:1.25em;
  border-bottom: 2px solid #4c9ac0;
  padding: 0.3em;
  margin-bottom: 0.3em;
}
.ttl_line2:first-letter {
  font-size: 1.5em;
  color: #4c9ac0;
}

/* ==================================================
   ライン
================================================== */

.divider {
object-fit: contain;
padding:2em;
text-align:center;
}


/* ==================================================
   テキスト装飾
================================================== */
p.note {
  font-size: 0.85rem;
  color: #555;
  padding-left: 1rem;
  border-left: 3px solid #e36aa1;
  margin: 0.5rem 0;
  margin-top: -1em;
  margin-bottom: 1em;
  font-weight: 400;
}
p.plan {
  font-weight: 400;
}

.highlight {
  font-weight: 700;
  color:#e36aa1;
}

/* ==================================================
   支援印刷所カード（磨りガラス＋ネオン寄り）
================================================== */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

/* PC幅では横並びに切り替え */
@media (min-width: 768px) {
  .benefits {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .press-card {
    flex: 1 1 calc(33.333% - 1rem); /* col-4風 */
    max-width: 300px;
  }
}

.press-card {
  position: relative;
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  overflow: hidden;
}

.press-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(255, 150, 220, 0.3);
  background: rgba(255, 255, 255, 0.65);
}

/* ラベル：右上固定 */
.status-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e36aa1;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(227, 106, 161, 0.5);
}

/* バナー画像 */
.press-banner {
  width: 200px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
  display: block;
}

/* 状態別の微調整 */
.press-card.pending {
  opacity: 0.8;
  border: 1px dashed rgba(227, 106, 161, 0.3);
}

.press-card.confirmed {
  border: 1px solid rgba(255, 160, 230, 0.4);
}

.press-card.general {
  border: 1px solid rgba(180, 220, 255, 0.4);
}

/* キャプション */
.press-info {
  font-size: 0.9rem;
  color: #555;
text-align: left;
}
.press-info .benefit {
  margin: 0.25rem 0 0;
  font-weight: 500;
  color: #666;
  text-align: center;
}

/* ---------------------------------------------------
   支援印刷所：区切り線とサブタイトル
--------------------------------------------------- */
.press-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #e36aa1 0%, #ffb6c1 100%);
  opacity: 0.7;
  margin: 2.5rem auto;
  width: 85%;
}


/* 小見出し */
.press-subtitle {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #e36aa1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  text-shadow: 0 0 4px rgba(255, 180, 230, 0.4);
}

/* 支援内容タイトル */
.benefit-title {
  font-weight: 700;
  color: #e36aa1;
  margin-bottom: 0.6em;
  font-size: 1.05rem;
  text-align: center;
}

/* リストのスタイル */
.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1em;
  line-height: 1.8;
}

.benefit-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.2em;
}

.benefit-list li::before{
  content: "・"; 
  position: absolute;
  left: 0;
  color: #ff7ecb;
  font-size: 0.95em;
  top: 0.05em;
  text-shadow: 0 0 6px rgba(255,140,230,0.6);
}


/* ==================================================
   ボタン
================================================== */
.btn-coming {
  position: relative;
  border: 1px solid #e36aa1;
  border-radius: 999px;
  padding: .5rem 1rem;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  overflow: hidden;
  font-family: 'Poiret One', sans-serif;
}
.btn-coming[disabled] { opacity: .8; }
.btn-coming::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg, transparent 0%,
    rgba(255,255,255,.9) 40%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: shimmer 3.6s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

  .btn-custom {
    background: #e36aa1;
    color: #fff;
    border: none;
  }
  .btn-custom:hover {
    background: #c95587;
  }

a.btn_06 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 50px;
  box-sizing: border-box;
  background: repeating-linear-gradient(45deg, #ffffff, #ffffff 3px, #e7e7e7 3px, #e7e7e7 30px);
  color: #333;
  font-size: 1em;
  letter-spacing: 0.1em;
  text-decoration: none;
  position: relative;
}
a.btn_06 span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  background: #fff;
  border: 1px solid #000;
  box-sizing: border-box;
  position: absolute;
  top: -6px;
  left: -6px;
  transition-duration: 0.2s;
}
a.btn_06:hover span {
  left: -1px;
  top: -1px;
}

.btn_06_c{
  display: flex;
  justify-content: center; /* 水平方向の中央寄せ */
  align-items: center;     /* 垂直方向（必要なら） */
}
/* ==================================================
   SNSアイコン
================================================== */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block; /* ← inline要素をblock化して余白やズレを防ぐ */
}

.sns-link { 
  display: inline-flex;
  align-items: center; /* ← アイコンとテキストを縦中央揃え */
  gap: .35rem;
  padding: .25rem .5rem;
  border-radius: .5rem;
  border: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  line-height: 1.2; /* テキストが縦に暴れないよう調整 */
}

.sns-link + .sns-link { margin-left: 0.5rem; }

.sns-link.pixiv .icon path { fill: #0096fa; }
.sns-link.x .icon path     { fill: #000; }

/* サークルリストのSNSアイコンを横並び・折り返し対応 */
.table-circles {
  width: 100%;
  table-layout: fixed; /* 列幅を均等に固定 */
  overflow-x: auto;    /* 横スクロール出す場合 */
}

td .sns-link-wrapper {
  display: flex;
  flex-wrap: wrap;      /* 小さい画面で折り返し */
  gap: 0.1rem;          /* アイコン間の隙間 */
  justify-content: flex-start;
}

td .sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;          /* アイコンの固定幅 */
  height: 28px;
  padding: 2px;
  border-radius: 4px;
  box-sizing: border-box;
}

td .sns-link svg.icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  td .sns-link {
    width: 24px;
    height: 24px;
  }
  td .sns-link svg.icon {
    width: 16px;
    height: 16px;
  }
}


/* ==================================================
   共通リスト
================================================== */
ul.fancy {
  margin: 1rem;
  padding: 0;
  list-style-type: none;
  border-radius: 5px;
}
ul.fancy li {
  line-height: 1.6;
  padding: 6px 0;
  margin: 5px 0;
  position: relative;
}
ul.fancy li:not(:last-child) {
  border-bottom: 1px dashed #e36aa1;
  margin-bottom: 0;
}
ul.fancy li:before {
  content: '◆';
  padding: 0 10px 0 0;
  font-weight: 900;
  color: #5AA0D6;
}

/* 参加条件リスト */
ul.conditions {
  padding: 0;
}
ul.conditions li {
  display: block;
  list-style-type: none !important;
  padding: 0.5em 0.75em;
  margin: 0.5em 0;
  line-height: 1.5;
  background: #dbebf8;
  color: #333;
  border-radius: 15px;
}
ul.conditions li:before { 
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-right: 6px;
  background: #fff;
  border-radius: 50%;
  vertical-align: middle;
}

/* 更新履歴リスト */
#news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#news-list li {
  margin-bottom: 0.75em;
}
#news-list .date {
  display: inline-block;
  background: #e36aa1;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  margin-right: 0.5em;
}
#news-list .text {
  color: var(--ink);
}
/* ==================================================
   ロゴSVG ネオン演出
================================================== */
.logo-svg .neon {
  animation: neon-on 2s forwards, neon-flicker 6s infinite 2s;
}
.logo-svg svg path:nth-child(1).neon { animation-delay: 0.2s; }
.logo-svg svg path:nth-child(2).neon { animation-delay: 0.6s; }
.logo-svg svg path:nth-child(3).neon { animation-delay: 1.0s; }
.logo-svg svg path:nth-child(4).neon { animation-delay: 1.4s; }

@keyframes neon-on {
  0% {
    stroke: #444;
    fill: #fff;
    opacity: 1;
    filter: none;
  }
  100% {
    stroke: #98a4ec;
    fill: #98a4ec;
    stroke-width: 3;
    opacity: 1;
    filter: drop-shadow(0 0 4px #98a4ec)
            drop-shadow(0 0 8px #cfd6ff);
  }
}

@keyframes neon-flicker {
  0%   { opacity: 0.2; filter: drop-shadow(0 0 1px #98a4ec); }
  10%  { opacity: 1;   filter: drop-shadow(0 0 6px #cfd6ff); }
  20%  { opacity: 0.6; filter: drop-shadow(0 0 3px #b0bbf8); }
  40%  { opacity: 1;   filter: drop-shadow(0 0 8px #dbe0ff); }
  60%  { opacity: 0.8; filter: drop-shadow(0 0 5px #aee); }
  80%  { opacity: 1;   filter: drop-shadow(0 0 7px #fff); }
  100% { opacity: 0.4; filter: drop-shadow(0 0 2px #98a4ec); }
}


/* ==================================================
   ロゴ画像とその説明テキストを中央寄せ
================================================== */
.logo-block {
  text-align: center;
  margin: 1em 0;
}

.logo-img {
  display: block;
  margin: 0.5em auto;
  padding: 8px;
  width: 100%;
  max-width: 350px;
  height: auto;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .logo-img {
    max-width: 250px;
  }
}


/* ==================================================
   768px以上の画面幅：ロゴにパステル水色ネオン調シャドウ
================================================== */
@media (min-width: 768px) {

  /* SVGロゴ：やわらかく発光するパステル水色 */
  .logo-svg svg {
    filter:
      drop-shadow(0 0 6px rgba(255, 255, 255, 0.9))   /* 明るい水色の発光コア */
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.7))  /* 外側に淡く広がる光 */
      drop-shadow(0 0 28px rgba(255, 255, 255, 0.7))  /* 全体を包む白水色の霞 */
      drop-shadow(0 0 40px rgba(255, 255, 255, 0.7)); /* 最外層にやわらかい白 */
    transition: filter 0.4s ease;
  }

  /* 背景ロゴ画像にも光の反射感を付与 */
  .hero-wrapper {
    filter:
      drop-shadow(0 0 12px rgba(255, 255, 255, 0.8))
      drop-shadow(0 0 12px rgba(255, 255, 255, 0.8))
      drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
    transition: filter 0.4s ease;
  }

  /* hover時にふわっと点灯感をアップ */
  .logo-svg:hover svg,
  .hero-wrapper:hover {
    filter:
      drop-shadow(0 0 10px rgba(255, 255, 255, 1))
      drop-shadow(0 0 22px rgba(255, 255, 255, 0.9))
      drop-shadow(0 0 36px rgba(225, 255, 255, 0.6))
      drop-shadow(0 0 50px rgba(255, 255, 255, 0.4))
      hue-rotate(-10deg) saturate(120%);
  }
}

/* ==================================================
   メールフォーム欄
================================================== */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
  display: none;
}

#mail_form input[type="text"],
#mail_form input[type="email"],
#mail_form textarea {
  box-sizing: border-box;
  max-width: 100%;
}

/* 名前・メールアドレス欄 */
#mail_form input[type="text"]{
  width: 17%;       
  min-width: 100px; 
}
#mail_form input[type="email"] {
  width: 35%;       /* 少し小さめにしてすっきり */
  min-width: 100px; /* 小さい画面でも入力しやすく */
}


/* お問い合わせ内容欄 */
#mail_form textarea {
  width: 100%;      /* 画面幅いっぱいに */
  min-height: 120px; /* 高さを確保 */
}

