@charset "utf-8";

/* ▼2026/9/4　見出し用の書体「BIZ UDPゴシック」をGoogleフォントから読み込みます。
   これで、閲覧される方のパソコン・スマホにこの書体が入っていなくても
   同じ見た目になります。 */
@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap");

/* ============================================================
   天寶株式会社 コーポレートサイト  共通スタイル
   デザイン（tenho_website_design20260801_*.jpg）を元に作成
   ※デザイン画像は幅2400px（実寸の2倍）で作られているため、
     このCSSの数値は基本的に「デザインの数値 ÷ 2」です。
   ============================================================ */

/* ---------- 色・書体の設定（ここを変えると全ページに反映されます） ---------- */
:root {
  --red:        #e30214;   /* 赤いボタン・必須マーク */
  --ink:        #000000;   /* 本文の文字色 */
  --ink-sub:    #333333;   /* 補足文の文字色 */
  --link:       #193390;   /* リンクの青 */
  --gray-cell:  #ececec;   /* 表の見出しセルの背景 */
  --line:       #888888;   /* 見出しの罫線 */
  --line-light: #dddddd;   /* フォームの区切り線 */
  --beige:      #f7f3e8;   /* 帯の背景に使うベージュ（採用情報・店舗のご案内） */

  /* 見出し用の書体。
     2026/8/24 のデザイン変更で、明朝体（細い筆文字風）から
     ゴシック体（太いはっきりした字）に変わりました。
     2026/9/4、ご指摘により「BIZ UDPゴシック」に変更しました。
     （上の @import で読み込んでいます。うしろに書いてある書体は、
       万一読み込めなかったときの控えです。） */
  --head:   "BIZ UDPGothic", "BIZ UDPゴシック", "BIZ UDGothic",
            "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo",
            "MS PGothic", sans-serif;
  --gothic: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo",
            "MS PGothic", sans-serif;

  --header-h: 108px;       /* ヘッダーの高さ（ロゴを大きくしたので広げています） */
}

/* ---------- 土台 ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--gothic);
  font-size: 17px;      /* デザイン実測 34px ÷ 2 */
  line-height: 1.52;    /* デザイン実測 行送り51.5px ÷ 2 */
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a   { color: inherit; }

p { margin: 0 0 1.6em; }
p:last-child { margin-bottom: 0; }

/* ---------- 中身の幅（デザイン実測値 ÷ 2） ---------- */
.wrap        { width: 88%; margin-inline: auto; }
.w-narrow    { max-width: 680px; }   /* トップページの本文 */
.w-section   { max-width: 928px; }   /* 罫線付き見出し（全ページ共通） */
.w-shop      { max-width: 726px; }   /* 店舗のご案内 */
.w-about     { max-width: 808px; }   /* 社是・経営理念など */
.w-table     { max-width: 808px; }   /* 会社概要・沿革・募集要項の表 */
.w-recruit   { max-width: 770px; }   /* 採用ページの特色・業務紹介 */
.w-intro     { max-width: 770px; }   /* 採用ページの導入文 */
.w-form      { max-width: 935px; }   /* お問い合わせフォーム */
.w-message   { max-width: 955px; }   /* 代表メッセージ */
.w-cols      { max-width: 1008px; }  /* トップページの2段組み */

/* 本文より狭い写真（トップページ・ご利用シーンなど） */
.photo-533 { max-width: 533px; margin-inline: auto; }
.photo-621 { max-width: 621px; margin-inline: auto; }
.photo-726 { max-width: 726px; margin-inline: auto; }
.photo-759 { max-width: 759px; margin-inline: auto; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  width: 90%;              /* 数字を小さくすると左右の余白が広がります */
  max-width: 1400px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo img { height: 78px; width: auto; }   /* 52px の150% */

.gnav ul {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gnav a {
  font-family: var(--head);
  font-size: 14px;         /* 17px の約80% */
  letter-spacing: .14em;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.gnav a:hover,
.gnav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* ハンバーガーボタン（スマホでのみ表示） */
.nav-toggle {
  display: none;
  width: 40px; height: 34px;
  border: 0; background: none; padding: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1px; background: var(--ink);
  margin: 9px 0; transition: transform .25s, opacity .25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ============================================================
   パンくず（下層ページの上部）
   ============================================================ */
.breadcrumb {
  font-family: var(--head);
  font-size: 12px;
  letter-spacing: .08em;
  padding: 13px 0;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   ヒーロー（各ページ上部の大きな画像）
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero img { width: 100%; display: block; }

/* トップページのスライド（ふんわり切り替わるフェード） */
.hero-slider { position: relative; }
.hero-slider .slide {
  position: absolute; inset: 0;
  opacity: 0;
}
.hero-slider .slide:first-child { position: relative; opacity: 1; }  /* 高さの基準 */
/* 写真が2枚以上あるときだけ JS が is-ready を付けて切り替えを始めます */
.hero-slider.is-ready .slide {
  opacity: 0;
  /* 次の写真が重なりきってから（1.2秒後に）そっと消える。
     同時に消すと切り替わりの途中で白っぽく透けてしまうため。 */
  transition: opacity .6s ease 1.2s;
}
.hero-slider.is-ready .slide.is-active {
  opacity: 1;
  z-index: 2;                          /* 新しい写真を上に重ねる */
  transition: opacity 1.2s ease 0s;    /* 1.2秒かけてフワッと現れる */
}
.hero-slider .slide img { width: 100%; display: block; }

.hero-dots:empty { display: none; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 18px;
  z-index: 3;   /* 写真より前面に出す */
  display: flex; justify-content: center; gap: 10px;
}
.hero-dots button {
  width: 9px; height: 9px; padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%; background: transparent; cursor: pointer;
}
.hero-dots button[aria-selected="true"] { background: #fff; }

/* ============================================================
   見出し
   ============================================================ */
/* ページタイトル（例：店舗のご案内 / 採用情報）
   ※新デザインでは、下の罫線はありません。
     罫線を付けたいときだけ has-rule を足します（代表メッセージで使用）。 */
.page-title {
  font-family: var(--head);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
  text-align: center;
  margin: 62px 0 54px;
}

/* ページタイトルのすぐ下に置く導入文（店舗のご案内）
   文章は左寄せのまま、かたまりごと中央に置いています */
.page-intro {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 70px;
}
.page-intro p { margin: 0; }

/* 罫線のない中央見出し（例：中国料理 王宮）
   ※2026/8/24 のデザイン変更で、上下の罫線がなくなりました。 */
.rule-both {
  font-family: var(--head);
  font-size: 33px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 46px;
}

/* 下だけ罫線の入った大見出し（天寶グループの特色 / スタッフの声 など） */
.rule-below {
  font-family: var(--head);
  font-size: 33px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 38px;
  /* 下線との間隔は、下の「下線と文字の間隔をそろえる」指定でまとめて決めています */
  border-bottom: 1px solid var(--line);
}

/* 下だけ罫線の入った見出し（社是 / 経営理念）
   文字の大きさは .head-plain（会社概要・沿革の見出し）と揃えています */
.rule-under {
  font-family: var(--head);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .5em;
  text-indent: .5em;
  text-align: center;
  margin: 0 0 26px;
  /* 下線との間隔は、下の「下線と文字の間隔をそろえる」指定でまとめて決めています */
  border-bottom: 1px solid var(--line);
}

/* ---------- 見出しの下線は「文字の幅ぶん」だけ引く ----------
   2026/8/24 のデザイン変更で、端から端まで伸びる長い線ではなく、
   文字の下だけに短く引く形になりました。
   width:fit-content ＝「中身（文字）の幅にぴったり合わせる」という指定です。 */
.rule-below,
.rule-under,
.page-title.has-rule {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 2026/9/4　下線と文字の間隔を、全部そろえて狭くする ----------
   下線の付く見出しは4種類ありますが、それぞれ「行の高さ」の設定が
   違っていたため、余白の数値を同じにしても見た目の隙間が
   17px / 21px / 17px / 33px とバラバラになっていました。
   行の高さと余白の両方をここでまとめて指定し、隙間を揃えます。 */
.page-title.has-rule,
.rule-under,
.rule-below,
.form-title {
  line-height: 1.25;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}
/* 罫線を消したいときに足すクラス（トップページの「採用情報」で使用） */
.no-rule { border-bottom: 0; padding-bottom: 0; }

/* 太字のリード見出し（例：「新」広東料理で紡ぐ至高の時間を） */
.lead {
  font-family: var(--head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
  text-align: center;
  margin: 0 0 26px;
}
.lead-sm { font-size: 23px; }
/* 代表メッセージのタイトル（下の写真との間を少し広めにとります） */
.lead-msg { margin-bottom: 36px; }

/* 罫線のない中央見出し（会社概要・沿革・募集要項。線は表の上辺が兼ねます） */
.head-plain {
  font-family: var(--head);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .5em;
  text-indent: .5em;
  text-align: center;
  margin: 0 0 24px;
}

/* 中央寄せの小見出し（採用ページの箇条見出しなど） */
.sub-head {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
}

/* 行間をゆったりとった本文（採用ページの導入文・スタッフの声） */
.p-loose { line-height: 2.18; }

/* スタッフの声の、かぎかっこ付きの太い一文 */
.voice-catch {
  font-family: var(--head);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .03em;
  margin: 0 0 26px;
}

/* ============================================================
   写真とキャプション
   ============================================================ */
.figure { margin-top: 0; margin-bottom: 0; }
.figure img { width: 100%; }

/* 写真2枚を横に並べる（デザインどおり隙間なし） */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.pair img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }

.caption        { font-size: 16px; line-height: 1.55; margin: 14px 0 0; }
.caption-center { font-size: 14px; text-align: center; margin: 14px 0 0; }

/* ============================================================
   赤いボタン
   ============================================================ */
.btn-red {
  display: block;
  width: 445px;
  max-width: 100%;
  margin: 44px auto 0;
  padding: 19px 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--head);
  font-size: 19px;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s;
}
.btn-red:hover { opacity: .82; }

/* トップページの小さめの赤ボタン（詳細はこちら） */
.btn-red.btn-sm {
  width: 292px;
  margin: 40px 0 0;
  padding: 15px 10px;
  font-size: 17px;
}

/* ============================================================
   トップページ　各ブロックの上の余白
   （スマホでは下の @media 内で狭い値に上書きしています）
   ============================================================ */
.home-gap1 { margin-top: 110px; }   /* トップ画像 → 私たち天寶について */
.home-gap2 { margin-top: 140px; }   /* 私たち天寶について → 店舗のご案内 */
.home-gap3 { margin-top: 130px; }   /* 店舗のご案内 → 採用情報（黒い帯） */

/* 改行の出し分け（br-pc＝パソコンだけで改行／br-sp＝スマホだけで改行） */
.br-sp { display: none; }

/* 要素の出し分け（img-pc＝パソコンだけ写真を出す／txt-pc＝パソコンだけ文字を出す）
   2026/9/2 追加：スマホで店舗ページの外観写真を省くため。実際に隠す指定は下の @media 内。 */

/* ============================================================
   トップページ　文章と写真の2段組み
   ============================================================ */
.intro-block {
  display: grid;
  grid-template-columns: 400px 544px;   /* 文章 ／ 写真 */
  gap: 64px;
  align-items: start;
}
/* ※これが無いと、写真の元サイズのぶんだけ列が広がり、
     画面の右にはみ出してしまいます（特にスマホ幅）。 */
.intro-block > * { min-width: 0; }
/* 写真を左、文章を右に置く並び（店舗のご案内の紹介） */
.intro-block.photo-left { grid-template-columns: 544px 400px; }

.intro-title {
  font-family: var(--head);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  margin: 0 0 24px;
}
.intro-text { font-size: 17px; line-height: 1.65; margin: 0; }
.intro-photo { margin: 0; }
.intro-photo img { width: 100%; }
/* ボタンは文章の列の中で中央に置きます */
.intro-block .btn-red.btn-sm { margin-inline: auto; }

/* ============================================================
   トップページ　採用情報（ベージュの帯）
   ※2026/8/24 のデザイン変更で、黒い帯からベージュの帯になりました。
     文字も白から黒に戻しています。
   ============================================================ */
.recruit-band {
  background: var(--beige);
  color: var(--ink);
  padding: 62px 0 88px;
  text-align: center;
}
.recruit-band .band-inner { width: 88%; max-width: 808px; margin-inline: auto; }
.recruit-band .rule-below { margin-bottom: 40px; }
.band-lead  { font-family: var(--head); font-size: 17px; letter-spacing: .06em; margin: 0 0 24px; }
.band-catch { font-family: var(--head); font-size: 30px; font-weight: 700; letter-spacing: .04em; margin: 0 0 30px; }
.band-text  { font-family: var(--head); font-size: 19px; line-height: 2; letter-spacing: .04em; margin: 0 0 28px; }
.band-text:last-of-type { margin-bottom: 40px; }
.band-photo { max-width: 684px; margin: 0 auto; }
.band-photo img { width: 100%; }
.recruit-band .btn-red.btn-sm { margin: 48px auto 0; }

/* 帯のすぐ下にフッターが来るページ（トップ）は、間の余白をなくします */
.site-footer.no-gap { margin-top: 0; }

/* ============================================================
   トップページ　写真4枚を2×2に並べる（店舗のご案内の紹介）
   ============================================================ */
.photo-grid4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
/* aspect-ratio ＝ 写真の縦横比。3/2 は「横3：縦2」の意味です。
   元の写真の縦横比がばらばらでも、この形に切りそろえて並べます。 */
.photo-grid4 img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  min-width: 0;
}

/* ============================================================
   店舗のご案内　1店舗ごとの背景（白とベージュを交互に）
   ※2026/8/24 のデザイン変更で追加。帯どうしがぴったり接するよう、
     余白は margin ではなく padding でとっています。
   ============================================================ */
.shop-sec { padding: 76px 0 86px; }
.shop-sec.is-beige { background: var(--beige); }

/* ============================================================
   店舗情報の表
   ============================================================ */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 2px;
  font-size: 16px;
  margin-top: 34px;
}
.info-table th {
  width: 170px;
  background: var(--gray-cell);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
  padding: 12px 22px;
  white-space: nowrap;
}
.info-table td { padding: 12px 24px; vertical-align: top; }
.info-table a { text-decoration: none; }   /* 電話番号はデザインどおり下線なし */
.profile-table a { text-decoration: none; }
.info-table .row-2col { display: flex; gap: 26px; }
.info-table .row-2col dt { width: 76px; margin: 0; }
.info-table .row-2col dd { margin: 0; }

/* 会社概要の表（天寶についてページ） */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.profile-table th {
  width: 240px;
  font-weight: 400;
  text-align: left;
  letter-spacing: .5em;
  vertical-align: top;
  padding: 15px 10px;
  border-bottom: 1px solid var(--line-light);
}
.profile-table td {
  padding: 15px 10px;
  border-bottom: 1px solid var(--line-light);
}
.profile-table tr:first-child th,
.profile-table tr:first-child td { border-top: 1px solid var(--line-light); }

/* 募集要項の表（採用ページ） */
.youkou-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.youkou-table th {
  width: 190px;
  font-weight: 700;
  text-align: left;
  vertical-align: middle;
  padding: 20px 10px 20px 31px;
  border-top: 1px solid #404040;
}
.youkou-table td {
  padding: 20px 10px;
  vertical-align: middle;
  border-top: 1px solid #404040;
}
.youkou-table tr:last-child th,
.youkou-table tr:last-child td { border-bottom: 1px solid #404040; }

/* 給与欄　社員（月給）とアルバイト・パート（時給）を並べる（2026/9/2 追加）
   店舗ページの営業時間（.row-2col）と同じ、見出し＋内容の2列の作りです */
.pay-list { display: flex; gap: 20px; margin: 0; }
.pay-list + .pay-list { margin-top: 8px; }
.pay-list dt { width: 150px; flex: none; margin: 0; }
.pay-list dd { margin: 0; }
.pay-note { margin: 12px 0 0; }

/* 沿革 */
.history { width: 100%; border-collapse: collapse; font-size: 16px; }
.history th {
  width: 170px; font-weight: 400; text-align: right;
  padding: 13px 30px 13px 0; white-space: nowrap;
  border-bottom: 1px solid var(--line-light);
}
.history td { padding: 13px 0; border-bottom: 1px solid var(--line-light); }
.history tr:first-child th,
.history tr:first-child td { border-top: 1px solid var(--line-light); }

/* ============================================================
   次のページへの誘導（∨ の矢印）
   ============================================================ */
.next-link {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: var(--head);
  font-size: 16px;
  letter-spacing: .08em;
  margin: 84px auto 0;
  padding-bottom: 10px;
}
.next-link svg { display: block; margin: 14px auto 0; }
.next-link:hover svg { transform: translateY(4px); }
.next-link svg { transition: transform .25s; }

/* ============================================================
   本文中のリンク（ご利用シーンのコース料理ページなど）
   ============================================================ */
.text-link {
  display: block;
  text-align: center;
  color: var(--link);
  font-size: 17px;
  margin: 12px 0;
}

/* 大きな電話番号 */
.tel-lead { font-family: var(--head); font-size: 26px; font-weight: 700; text-align: center; margin: 0 0 14px; }
.tel-big  { display: block; text-align: center; color: var(--link); font-size: 40px;
            letter-spacing: .04em; text-decoration: underline; margin-bottom: 8px; }
.tel-note { text-align: center; font-size: 14px; margin: 0; }

/* ============================================================
   代表メッセージ（写真＋文章）
   ============================================================ */
.message-body { display: flex; gap: 25px; align-items: flex-start; }
.message-body .portrait { width: 231px; flex: none; }
.message-body .portrait img { width: 100%; }
.message-body .text { flex: 1; font-size: 16px; line-height: 1.6; }
.message-body .text p { margin-bottom: .9em; }
.signature {
  text-align: right;
  font-family: var(--head);
  margin-top: 22px;
}
.signature .role { font-size: 15px; margin-right: 14px; }
.signature .name { font-size: 30px; letter-spacing: .16em; }
/* 直筆サインの画像。幅で大きさを決めています（高さは自動）
   ※2026/9/2、代表者の新しいサイン画像（ceo-signature3.jpg）に差し替え。
     新しい画像は文字まわりの余白がほとんどないため、前の画像と同じ見た目の
     大きさになるのは 227px 相当。そこから「一回り小さく」して 200px にしています。
   ※2026/8/25、書体の太い新しいサイン画像に差し替え。
     画像まわりの余白が変わったため、デザインでの見た目の大きさに合わせて
     210px → 235px に調整していました。 */
.signature .name-img {
  width: 200px; height: auto;
  vertical-align: middle;
  display: inline-block;
}

/* 社是の大きな文字 */
.motto-jp {
  font-family: var(--head); font-size: 34px; font-weight: 700;
  text-align: center; letter-spacing: .05em; margin: 0;
}
.motto-cn {
  font-family: var(--head); font-size: 20px;
  text-align: center; letter-spacing: .1em; margin: 6px 0 0;
}
.philosophy {
  font-family: var(--head); font-size: 26px; font-weight: 700;
  text-align: center; line-height: 1.7; margin: 0;
}

/* ============================================================
   採用ページの特色リスト
   ============================================================ */
/* ※ここで margin: 0 と書くと、.wrap の中央寄せ（margin-inline: auto）まで
     打ち消してしまい、この一帯だけが左に寄ってしまいます。
     上下の余白だけを消したいので、margin-top / margin-bottom で指定します。 */
.feature-list { margin-top: 0; margin-bottom: 0; }
.feature-list > div { margin-bottom: 34px; }
/* この項目だけ、デザインでは本文も中央揃えになっています */
.feature-list p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 750px;
  text-align: center;
}
/* 「天寶グループが大切にしていること」（天寶についてページ）だけは本文を左寄せに。
   採用ページの「天寶グループの特色」は中央揃えのままにするため、
   about.html の feature-list に feature-left を付けて切り替えています。 */
.feature-left p { text-align: left; }

/* ============================================================
   お問い合わせフォーム（※現在は見た目のみ。送信機能は未実装）
   ============================================================ */
.form-title {
  font-family: var(--head); font-size: 30px; font-weight: 700;
  text-align: center; letter-spacing: .08em;
  margin: 0 0 0;
  /* 下線との間隔は「下線と文字の間隔をそろえる」指定でまとめて決めています */
  border-bottom: 1px solid var(--line);
}
.form-row {
  display: flex;
  gap: 10px;
  padding: 26px 0 0;
  padding-left: 88px;   /* デザインどおり、左に余白をとる */
}
.form-label { width: 248px; flex: none; font-weight: 700; font-size: 17px; padding-top: 4px; }
/* 区切り線は入力欄の側だけに引く（デザインに合わせています） */
.form-field { flex: 1; padding-bottom: 26px; border-bottom: 1px solid var(--line-light); }
.form-row:last-of-type .form-field { border-bottom: 0; }

.badge-req {
  display: inline-block;
  margin-left: 12px;
  padding: 1px 8px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  vertical-align: 2px;
}

/* 選択肢はデザインどおり横に並べます（幅が足りなければ折り返します） */
.form-field label.radio { display: inline-block; margin: 0 44px 0 0; cursor: pointer; }
.form-field label.radio:last-child { margin-right: 0; }
.form-field input[type="radio"] { margin-right: 8px; }

.field-pair { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.field-pair label { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  font-family: var(--gothic);
  font-size: 16px;
  padding: 9px 12px;
  border: 0;
  background: #fce7e6;
  width: 100%;
  flex: none;   /* 横並びのときに伸びないようにする */
}
.form-field textarea { min-height: 200px; resize: vertical; }
.form-field textarea.plain { background: #fff; border: 1px solid #cfcfcf; }

/* 入力欄の幅（デザイン実測値 ÷ 2） */
.form-field .w-name { max-width: 154px; }
.form-field .w-kana { max-width: 154px; }
.form-field .w-tel  { max-width: 328px; }
.form-field .w-mail { max-width: 422px; }
.form-field .w-addr { max-width: 513px; }

.note { font-size: 15px; margin: 6px 0 0; }
.note-block { font-size: 15px; margin: 18px 0 8px; }

.btn-submit {
  display: block;
  width: 442px; max-width: 100%;
  margin: 46px auto 0;
  padding: 18px 10px;
  background: #000; color: #fff;
  font-family: var(--gothic); font-size: 18px; font-weight: 700;
  border: 0; cursor: pointer;
  transition: opacity .2s;
}
.btn-submit:hover { opacity: .82; }

.form-notice {
  max-width: 745px;
  margin: 30px auto 0;
  padding: 16px 20px;
  background: #f6f6f6;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-sub);
}

/* ---------- いたずら送信よけ（画面に表示しない入力欄） ---------- */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- 個人情報の取り扱い ---------- */
.privacy-block {
  max-width: 745px;
  margin: 46px auto 0;
}
.privacy-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}
.privacy-body {
  height: 190px;
  overflow-y: auto;
  padding: 18px 20px;
  border: 1px solid #cfcfcf;
  background: #fff;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-sub);
}
.privacy-body p { margin: 0 0 1.1em; }
.privacy-body p:last-child { margin-bottom: 0; }

.privacy-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.privacy-agree input { width: 18px; height: 18px; }

/* ============================================================
   確認画面・完了画面・エラー画面（form フォルダの PHP が使います）
   ============================================================ */
.form-guide {
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  margin: 30px 0 10px;
}

.confirm-value {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  word-break: break-all;
}

.form-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-buttons .btn-submit { margin-top: 22px; }
.form-buttons .btn-submit:first-child { margin-top: 46px; }

/* 「戻る」系のボタンは、送信ボタンと区別できるよう白地にする */
.btn-back {
  background: #fff;
  color: var(--ink);
  border: 1px solid #999;
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
}

.form-back { margin-top: 40px; text-align: center; }
.form-back .btn-submit { margin-top: 0; }

/* エラーのお知らせ */
.form-alert {
  max-width: 745px;
  margin: 30px auto 0;
  padding: 24px 26px;
  border: 1px solid var(--red);
  background: #fdf3f3;
  font-size: 15px;
  line-height: 1.9;
}
.form-alert-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--red);
  margin: 0 0 10px;
}
.form-alert ul { margin: 0; padding-left: 1.4em; }
.form-alert li { margin-bottom: .4em; }
.form-alert li:last-child { margin-bottom: 0; }

/* 送信完了のお知らせ */
.form-done {
  max-width: 745px;
  margin: 30px auto 0;
  padding: 40px 30px;
  border: 1px solid var(--line-light);
  background: #fafafa;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
}
.form-done-title {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 18px;
}
.form-done-note {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--ink-sub);
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 42px 20px;
  margin-top: 90px;
}

/* 区切りの余白 */
.section { margin-bottom: 88px; }
.section-lg { margin-bottom: 120px; }

/* ============================================================
   スマートフォン・タブレット向けの調整
   ============================================================ */
@media (max-width: 900px) {
  :root { --header-h: 84px; }   /* ロゴを大きくしたぶん広げています */

  body { font-size: 14px; }

  .site-logo img { height: 60px; }   /* 40px の150% */

  .nav-toggle { display: block; }
  .gnav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-top: 1px solid var(--line-light);
    display: none;
  }
  .nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li { border-bottom: 1px solid var(--line-light); }
  .gnav a { display: block; padding: 18px 24px; font-size: 16px; }

  .wrap { width: 86%; }

  .page-title { font-size: 25px; margin: 40px 0 34px; }
  .page-intro { font-size: 15px; line-height: 1.9; margin-bottom: 40px; }
  /* 2行になる見出しがあるので、行の間隔を少し広げます */
  .rule-both  { font-size: 21px; margin-bottom: 32px; line-height: 1.45; }
  .rule-below { font-size: 21px; margin-bottom: 28px; }
  .rule-under { font-size: 19px; }   /* 会社概要・沿革の見出し（.head-plain）と同じ */
  .lead       { font-size: 19px; }
  /* 代表メッセージのタイトルは長いので、読点で改行しても収まるよう少し小さく */
  .lead-msg   { font-size: 16px; margin-bottom: 26px; }
  .lead-sm    { font-size: 17px; }
  .sub-head   { font-size: 18px; }
  .voice-catch { font-size: 17px; margin-bottom: 20px; }
  .motto-jp   { font-size: 24px; }
  .motto-cn   { font-size: 16px; }
  /* 経営理念は、句読点で改行したうえで左寄せにします。
     左端にぴったり付かないよう、少し内側に入れています。 */
  .philosophy { font-size: 17px; text-align: left; padding-left: 1em; }
  .tel-lead   { font-size: 18px; }
  .tel-big    { font-size: 30px; }

  .btn-red { font-size: 16px; padding: 16px 10px; }

  /* 写真2枚は縦に並べる */
  .pair { grid-template-columns: 1fr; gap: 2px; }

  /* 2026/9/2　スマホでは店舗ページの外観写真とキャプションの「外観／」を省く
     （縦スクロールが長くなるため。パソコン表示は今までどおり2枚出ます） */
  .img-pc { display: none; }
  .txt-pc { display: none; }

  /* 表は縦積みにして読みやすくする */
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: auto; }
  .info-table th { white-space: normal; padding: 8px 14px; }
  .info-table td { padding: 12px 14px 20px; }
  .info-table .row-2col { gap: 14px; }

  .profile-table th, .profile-table td { display: block; width: auto; border-bottom: 0; padding: 4px 0; }
  .profile-table th { letter-spacing: .2em; padding-top: 16px; color: #555; font-size: 13px; }
  .profile-table td { padding-bottom: 16px; border-bottom: 1px solid var(--line-light); }
  .profile-table tr:first-child th { border-top: 0; }
  .profile-table tr:first-child td { border-top: 0; }

  .history th { width: 118px; padding-right: 16px; font-size: 13px; }
  .history td { font-size: 13px; }

  /* 代表メッセージは縦積み */
  .message-body { flex-direction: column; align-items: center; gap: 22px; }
  .message-body .portrait { width: 190px; }
  .signature .name { font-size: 24px; }
  .signature .name-img { width: 165px; }   /* PC側と同じ割合（2026/9/2、新しいサイン画像に合わせて 190 → 165） */

  /* 「大切にしていること」1〜5 の本文は、中央揃えだと行の切れ方がそろわないので左寄せ */
  .feature-list p { padding: 0; text-align: left; }

  /* トップページの2段組みは縦積みにする */
  .intro-block,
  .intro-block.photo-left { grid-template-columns: 1fr; gap: 22px; }
  /* スマホでは、どのブロックも「写真 → 見出し → 文章 → ボタン」の順にそろえます。
     ※文章のあとに写真が来ると、その写真が次の話題の始まりに見えてしまい、
       写真だけが宙に浮いたような間隔に見えるためです。 */
  .intro-block .intro-photo { order: -1; }
  .intro-title { font-size: 22px; margin-bottom: 14px; }
  /* パソコンと同じ17pxだと、スマホでは大きすぎて行の折り返しが乱れます */
  .intro-text  { font-size: 15px; line-height: 1.9; }
  .intro-block .btn-red.btn-sm { margin: 24px auto 0; }

  /* トップページ　ブロックの間の余白
     ブロックの中の間隔（22px）よりはっきり広くとって、
     どこで話題が変わるのかが一目で分かるようにしています。 */
  .home-gap1 { margin-top: 44px; }
  .home-gap2 { margin-top: 72px; }
  .home-gap3 { margin-top: 72px; }

  /* パソコン用の改行は消し、スマホ用の改行を出す */
  .br-pc { display: none; }
  .br-sp { display: inline; }

  /* 写真4枚の2×2並び（トップページ） */
  .photo-grid4 { gap: 3px; }

  /* 店舗のご案内　1店舗ごとの帯 */
  .shop-sec { padding: 46px 0 54px; }

  /* 採用情報の帯 */
  .recruit-band { padding: 44px 0 56px; }
  /* 上の白いブロック（.wrap＝86%）と左端をそろえます */
  .recruit-band .band-inner { width: 86%; }
  .band-lead  { font-size: 15px; margin-bottom: 18px; }
  .band-catch { font-size: 20px; margin-bottom: 26px; line-height: 1.7; }
  /* 本文は中央揃えだと行の切れ方がそろわないので、スマホでは左寄せにします */
  .band-text  { font-size: 15px; line-height: 1.95; margin-bottom: 20px; text-align: left; }
  .band-text:last-of-type { margin-bottom: 34px; }
  .recruit-band .btn-red.btn-sm { margin-top: 32px; }

  .head-plain { font-size: 19px; margin-bottom: 18px; }

  /* 募集要項の表も縦積み */
  .youkou-table th, .youkou-table td { display: block; width: auto; }
  .youkou-table th { padding: 16px 0 4px; border-top: 1px solid #404040; font-size: 14px; }
  .youkou-table td { padding: 0 0 16px; border-top: 0; font-size: 14px; }
  .youkou-table tr:last-child th { border-bottom: 0; }
  .youkou-table tr:last-child td { border-bottom: 1px solid #404040; }

  /* 給与欄　スマホは幅が狭いので「社員」と金額を縦に並べる（2026/9/2 追加） */
  .pay-list { flex-direction: column; gap: 2px; }
  .pay-list + .pay-list { margin-top: 12px; }
  .pay-list dt { width: auto; font-weight: 700; }

  /* フォームも縦積み */
  .form-row { flex-direction: column; gap: 10px; padding: 20px 0 0; padding-left: 0; }
  .form-label { width: auto; }
  /* 「ご応募／お問い合わせフォーム」が途中で折り返さないよう、少し小さく */
  .form-title { font-size: 20px; }
  .form-field .w-name, .form-field .w-kana, .form-field .w-tel,
  .form-field .w-mail, .form-field .w-addr { max-width: 100%; }
  .form-field textarea { min-height: 150px; }
  .field-pair { gap: 14px; }
  .form-field label.radio { display: block; margin: 0 0 14px; }
  .form-field label.radio:last-child { margin-bottom: 0; }

  /* 個人情報の同意欄・確認画面 */
  .privacy-block { margin-top: 34px; }
  .privacy-body { height: 210px; padding: 14px 16px; font-size: 13px; }
  .privacy-agree { font-size: 15px; align-items: flex-start; text-align: left; }
  .privacy-agree input { margin-top: 3px; flex: none; }
  .form-guide { font-size: 15px; }
  .form-alert, .form-done { padding: 22px 18px; }
  .form-done-title { font-size: 20px; }
  .form-buttons .btn-submit:first-child { margin-top: 34px; }

  .section { margin-bottom: 56px; }
  .section-lg { margin-bottom: 72px; }
  .next-link { margin-top: 56px; }
  .site-footer { margin-top: 56px; padding: 30px 20px; }
}

/* ============================================================
   スクロールに合わせて「フワッ」と現れる動き（2026/9/2 追加）

   ・下から少し上に動きながら、うっすら濃くなって現れます。
   ・見出し→文章→写真…と、少しずつ遅れて順番に出ます。
   ・この指定は js/main.js が付ける印（reveal）に対してだけ効きます。
     JavaScript が動かない環境では最初から普通に表示されるので、
     文字や写真が見えなくなる心配はありません。
   ・「動きを減らす」設定にしている方には、動きを出しません（下の指定）。
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  /* 動く時間。長いほどゆっくり現れます（2026/9/2 .7s → 1.1s に変更） */
  transition: opacity 1.1s cubic-bezier(.22,.61,.36,1),
              transform 1.1s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-shown {
  opacity: 1;
  transform: none;
}

/* パソコンの「視差効果を減らす」「アニメーションを減らす」設定を
   使っている方には、動きを出さずそのまま表示します。 */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   2026/9/4　「天寶について」ページの見出しの大きさを揃える
   ------------------------------------------------------------
   ご指摘のとおり、このページの太いゴシックの見出しは
   34px / 33px / 27px とバラバラでした。
   下の6つを、いちばん大きかった「代表メッセージ」に合わせて
   同じ 34px に揃えます。

     ・代表メッセージ                    （.page-title）
     ・社是 / 経営理念                    （.rule-under）
     ・天寶グループが大切にしていること   （.rule-below）
     ・会社概要 / 沿革                    （.head-plain）

   ※これらのクラスは採用情報・店舗のご案内ページでも使っているため、
     body の page-about を目印にして、このページだけに効かせています。
     他のページの見た目は変わりません。
   ============================================================ */
.page-about .page-title,
.page-about .rule-under,
.page-about .rule-below,
.page-about .head-plain {
  font-size: 34px;
}

/* スマホ表示でも同じように揃えます */
@media (max-width: 900px) {
  .page-about .page-title,
  .page-about .rule-under,
  .page-about .rule-below,
  .page-about .head-plain {
    font-size: 25px;
  }
}
