/* ==========================================================
  いわきLP 更新ガイド
  1. 色を変える：下の --teal（主色）/ --deep（濃色）/ --lime（ボタン）を変更。
  2. 文字を変える：index.html の「編集ポイント」を検索。
  3. 写真を変える：images/ の新画像へHTMLのsrcを変更。画像の説明altも変更。
  4. 変更後：index.html の style.css?v=12 の数字を1つ増やしてキャッシュを更新。
   スマホ全幅の共通ルール → PC中央375pxと左右パネル → アニメーションの順で管理します。
  セレクタは .iwaki-lp 内に限定し、共有WordPressへの影響を抑えています。
========================================================== */
.iwaki-lp {
  --teal: #087f83;
  --deep: #064c50;
  --ink: #153e40;
  --lime: #dbf47c;
  --mint: #edf5f1;
  --muted: #58706f;
  --line: #d7e2df;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --number: 'Roboto', sans-serif;
  color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
  overflow: clip;
}
/* ページ全体の余白・スクロール設定はHTMLの専用headで管理します。 */

.iwaki-lp *, .iwaki-lp *::before, .iwaki-lp *::after { box-sizing: border-box; }
.iwaki-lp h1, .iwaki-lp h2, .iwaki-lp h3, .iwaki-lp h4, .iwaki-lp p, .iwaki-lp dl, .iwaki-lp dd { margin: 0; }
.iwaki-lp a { color: inherit; text-decoration: none; }
.iwaki-lp button, .iwaki-lp input, .iwaki-lp select, .iwaki-lp textarea { font: inherit; }
.iwaki-lp button, .iwaki-lp a { -webkit-tap-highlight-color: transparent; }
.iwaki-lp img { display: block; max-width: 100%; height: auto; }
.iwaki-lp button { cursor: pointer; }
.iwaki-lp :focus-visible { outline: 3px solid #238b92; outline-offset: 5px; }
.iwaki-lp [hidden] { display: none !important; }
.iwaki-lp ::selection { background: var(--lime); color: var(--deep); }
.iwaki-lp .wrap { margin-inline: auto; }
.iwaki-lp .wrap--narrow { max-width: 920px; }

.iwaki-lp h2 { font-weight: 500; letter-spacing: .025em; }
.iwaki-lp h3 { font-size: 21px; line-height: 1.6; }
.iwaki-lp .eyebrow { color: var(--teal); font: 600 16px/1.4 var(--number); letter-spacing: .15em; }
.iwaki-lp .eyebrow--light { color: #bcdfd4; }
.iwaki-lp .note { color: var(--muted); line-height: 1.85;  font-size: 12px; }
.iwaki-lp .section-heading { justify-content: space-between; align-items: flex-end; gap: 40px; }
.iwaki-lp .section-heading__text { color: var(--muted); line-height: 2.1; padding-bottom: 6px; }
.iwaki-lp .section-heading--center { display: block; text-align: center; }
.iwaki-lp .section-heading--center > p:last-child:not(.eyebrow) { margin-top: 16px; font-size: 14px; }
.iwaki-lp .button { display: inline-flex; justify-content: space-between; align-items: center; gap: 36px; min-height: 60px; padding: 17px 26px; color: #fff; background: var(--teal); font-weight: 700; font-size: 18px; line-height: 1.5; border: 1px solid transparent; border-radius: 40px; transition: background .2s, transform .2s; }
.iwaki-lp .button > span { font-size: 24px; font-weight: 400; line-height: 1; }
.iwaki-lp .button:hover { background: var(--deep); transform: translateY(-2px); }
.iwaki-lp .button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.iwaki-lp .button--lime { color: var(--deep); background: var(--lime); }
.iwaki-lp .button--lime:hover { background: #e9ff9c; }
.iwaki-lp .button--small { min-height: 48px; padding: 13px 20px; font-size: 13px; gap: 24px; }
.iwaki-lp .skip-link { position: absolute; top: -200px; left: 20px; z-index: 100; padding: 12px; background: #fff; }
.iwaki-lp .skip-link:focus { top: 8px; }
/* 01 ヘッダー・スマホメニュー */
.iwaki-lp .header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.iwaki-lp .brand { display: flex; align-items: center; flex-shrink: 0; line-height: 1.45; }
.iwaki-lp .brand__name { border-left: 1px solid #9fb3af; font-weight: 700; }
.iwaki-lp .brand__name small { display: block; letter-spacing: .1em; font-weight: 500; }

.iwaki-lp .brand__logo { width: 120px; height: auto; flex-shrink: 0; }
.iwaki-lp .pc-brand .brand__logo { width: 153px; }
.iwaki-lp #main { scroll-margin-top: 75px; }
/* 02 メインビジュアル。写真の切り取り位置は object-position で調整できます。 */
.iwaki-lp .hero { position: relative; grid-template-columns: 51% 49%; }

.iwaki-lp .hero .eyebrow > span { display: inline-block; width: 6px; height: 6px; background: var(--lime); vertical-align: 2px; margin-right: 10px; }

/* 03 大きな数値・手当カード */

/* 手当は元版同様の大きな数値・丸アイコン。説明は全幅で読みやすく配置。
   金額はHTML、丸の大きさはline-icon、カードの間隔はgapで変更します。 */
.iwaki-lp .benefits__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.iwaki-lp .benefit { position: relative; padding: 22px 20px; border: 1px solid #c5e1db; border-radius: 5px; background: #edf7f4; color: var(--ink); overflow: hidden; }
.iwaki-lp .benefit--main { background: #dff2ee; border-color: #a2cec4; }
.iwaki-lp .benefit::after { content: ''; position: absolute; right: 0; bottom: 0; width: 24px; height: 24px; background: var(--teal); clip-path: polygon(100% 0,100% 100%,0 100%); }
.iwaki-lp .benefit__heading { display: grid; grid-template-columns: 68px minmax(0,1fr); align-items: center; gap: 16px; }
.iwaki-lp .line-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--teal); color: #fff; }
.iwaki-lp .line-icon svg { width: 43px; height: 43px; }
.iwaki-lp .benefit__summary { min-width: 0; }
.iwaki-lp .benefit h3 { display: table; margin: 0 0 6px; padding: 4px 9px; background: var(--teal); color: #fff; font-size: 14px; line-height: 1.4; font-weight: 500; }
.iwaki-lp .benefit__number { display: flex; align-items: baseline; gap: 4px; margin: 0; color: var(--deep); font: 700 54px/1.05 var(--number); }
.iwaki-lp .benefit--main .benefit__number { font-size: 64px; }
.iwaki-lp .benefit__number span { font: 500 26px/1.2 'Noto Sans JP',sans-serif; }
.iwaki-lp .benefit__period { margin-top: 5px; color: #42625e; font-size: 12px; line-height: 1.5; }
.iwaki-lp .benefit__description { margin-top: 18px; padding-top: 15px; border-top: 1px solid #bfded5; font-size: 16px; line-height: 1.6; }
.iwaki-lp .benefit .note { margin-top: 10px; color: #49645f; font-size: 12px; line-height: 1.7; }
/* 祝い金の支給内訳。金額・時期を変える場合は募集要項とFAQも同時に更新してください。 */
.iwaki-lp .benefit__payments { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.iwaki-lp .benefit__payments li { padding: 8px 3px; border: 1px solid #b1d6cc; border-radius: 3px; background: #ffffffb3; text-align: center; }
.iwaki-lp .benefit__payments span { display: block; font-size: 11px; line-height: 1.5; }
.iwaki-lp .benefit__payments strong { display: block; color: var(--deep); font-size: 16px; line-height: 1.6; }
/* 追加制度は元版の2列グリッド。文章が増えても高さが自然に伸びるため固定高にしません。 */
.iwaki-lp .benefits__extras { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.iwaki-lp .benefit-tile { display: flex; flex-direction: column; align-items: center; padding: 18px 10px 16px; border: 1px solid #c5e1db; border-radius: 5px; background: #f5faf8; text-align: center; }
.iwaki-lp .benefit-tile__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 50%; background: #dff2ee; color: var(--teal); }
.iwaki-lp .benefit-tile__icon svg { width: 31px; height: 31px; }
.iwaki-lp .benefit-tile h3 { font-size: 14px; font-weight: 500; line-height: 1.5; }
.iwaki-lp .benefit-tile__value { display: flex; align-items: baseline; justify-content: center; gap: 3px; min-height: 44px; margin-top: 7px; color: var(--deep); font-size: 18px; line-height: 1.4; font-weight: 700; }
.iwaki-lp .benefit-tile__value b { font: 700 36px/1.1 var(--number); }
.iwaki-lp .benefit-tile__description { margin-top: 7px; color: #49645f; font-size: 12px; line-height: 1.6; }
.iwaki-lp .benefits__conditions { margin-top: 18px; }
.iwaki-lp .benefits__conditions a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }




/* 04 工場紹介と仕事。公式写真の場所はHTMLのsrc・切り取りはobject-positionで更新します。 */
.iwaki-lp .factory { grid-template-columns: 1fr 1fr; }
.iwaki-lp .factory__photo { position: relative; }
.iwaki-lp .factory__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.iwaki-lp .factory__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #00373788, transparent 45%); }
.iwaki-lp .factory__photo > span { position: absolute; z-index: 1; font: 600 17px var(--number); letter-spacing: .2em; }

.iwaki-lp .factory__content h2 { margin-bottom: 24px; }
.iwaki-lp .factory__content > p:not(.eyebrow) { margin: 16px 0;  font-size: 16px; }
.iwaki-lp .factory__address { display: flex; align-items: flex-start; border-top: 1px solid #ffffff30; padding-top: 24px; font-size: 13px; }
.iwaki-lp .factory__address > span { border: 1px solid #8cb2a9; padding: 0 10px; font-size: 11px; white-space: nowrap; }

.iwaki-lp .work__grid { display: grid; }
.iwaki-lp .job__image { position: relative; overflow: hidden; }
.iwaki-lp .job__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.iwaki-lp .job:hover .job__image img { transform: scale(1.04); }
.iwaki-lp .job__image > span { position: absolute; bottom: 0; left: 0; padding: 8px 17px 10px; background: #fff; font: 600 32px/1 var(--number); color: var(--teal); }

.iwaki-lp .job__body .eyebrow { font-size: 13px; margin-bottom: 7px; }
.iwaki-lp .job__body h3 { margin-bottom: 12px; }
.iwaki-lp .job__body > p:last-child { color: var(--muted);  font-size: 16px;  line-height: 1.5; }
.iwaki-lp .work__message { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); grid-template-columns: 1.1fr 1fr auto; gap: 12px 30px; align-items: center; }
.iwaki-lp .work__message > span { grid-column: 1/-1; color: var(--teal); font: 600 13px var(--number); letter-spacing: .12em; }

.iwaki-lp .work__message p { font-size: 16px; color: var(--muted); }
.iwaki-lp .text-link { display: flex; gap: 26px; align-items: center; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--teal); padding-bottom: 8px; }
.iwaki-lp .text-link > span { font-size: 24px; }
/* 05 暮らしと募集要項 */

.iwaki-lp .requirements__table { border-top: 2px solid var(--deep); }
.iwaki-lp .requirements__table > div { grid-template-columns: 195px 1fr; border-bottom: 1px solid var(--line); }
.iwaki-lp .requirements__table dt { background: #f3f7f4; font-weight: 700;  font-size: 16px; }

.iwaki-lp .requirements__table small { color: var(--muted);  font-size: 14px; }
.iwaki-lp .requirements__table strong { font-size: 20px; color: var(--teal); }
.iwaki-lp .shift { display: flex; margin: 0 0 15px; }
.iwaki-lp .shift > div { display: flex; flex-direction: column; }
.iwaki-lp .shift span { color: var(--teal); font-size: 14px; }
.iwaki-lp .shift b { font: 600 27px/1.4 var(--number); }
.iwaki-lp .requirements__source { margin-top: 23px;  font-size: 12px; }
.iwaki-lp .requirements__source a { text-decoration: underline; }
/* 06 応募の流れとFAQ。details はJSがなくても開閉できます。 */


/* 07 フォーム。入力欄の色・間隔はここで調整。必須の判定はform.jsです。 */
.iwaki-lp .entry { background-image: linear-gradient(#ffffff04 1px, transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px); background-size: 55px 55px; }
.iwaki-lp .entry__panel { background: #fff; color: var(--ink); border-radius: 4px; }
.iwaki-lp .entry__intro { text-align: center; margin-bottom: 35px; }
.iwaki-lp .entry__intro h3 { margin-bottom: 13px; }
.iwaki-lp .entry__intro > p { color: var(--muted);  font-size: 16px; }
.iwaki-lp .form-progress { display: flex; align-items: center; gap: 20px; padding: 17px 0; margin-bottom: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.iwaki-lp .form-progress span { flex-shrink: 0; }
.iwaki-lp .form-progress b { color: var(--teal); font-size: 16px; margin-left: 10px; }
.iwaki-lp progress { appearance: none; width: 100%; height: 5px; border: 0; background: #e7eeea; }
.iwaki-lp progress::-webkit-progress-bar { background: #e7eeea; }
.iwaki-lp progress::-webkit-progress-value { background: var(--teal); transition: width .2s; }
.iwaki-lp progress::-moz-progress-bar { background: var(--teal); }
.iwaki-lp .form-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
.iwaki-lp .field { margin: 0 0 27px; padding: 0; border: 0; min-width: 0; }
.iwaki-lp .field > label, .iwaki-lp .field legend { display: block; font-weight: 500; margin-bottom: 10px;  font-size: 16px; }
.iwaki-lp .field em { font-size: 12px; font-style: normal; background: #e6f0e9; color: #126460; padding: 2px 6px; margin-left: 9px; display: inline-block; vertical-align: 1px; font-weight: 500; }
.iwaki-lp .field em.optional { color: #6b7773; background: #f1f2ef; }
.iwaki-lp .field input:not([type=checkbox]):not([type=radio]), .iwaki-lp .field select, .iwaki-lp .field textarea { display: block; width: 100%; border: 1px solid #bccdc7; background: #fafcfb; border-radius: 3px; padding: 13px 15px; min-height: 52px; color: var(--ink); transition: border-color .15s; }
.iwaki-lp .field input::placeholder, .iwaki-lp .field textarea::placeholder { color: #8a9791; font-size: 12px; }
.iwaki-lp .field textarea { resize: vertical; }
.iwaki-lp .field small { display: block; color: var(--muted); font-size: 12px; margin-top: 7px; }
.iwaki-lp .field__error { color: #b03932; font-size: 12px; margin-top: 5px; }
.iwaki-lp .field [aria-invalid=true] { border-color: #b03932 !important; }
.iwaki-lp .choices { display: flex; flex-wrap: wrap; }
.iwaki-lp .choices label { display: flex; align-items: center; min-height: 48px; border: 1px solid #c7d7d0; border-radius: 3px; cursor: pointer;  font-size: 16px; }
.iwaki-lp .choices label:has(:checked) { border-color: var(--teal); background: var(--mint); }
.iwaki-lp input[type=checkbox], .iwaki-lp input[type=radio] { accent-color: var(--teal); width: 17px; height: 17px; flex-shrink: 0; margin: 0; }
.iwaki-lp .privacy { background: #f4f7f4; margin: 5px 0 25px; }
.iwaki-lp .privacy h4 { font-size: 16px; margin-bottom: 8px; }
.iwaki-lp .privacy p { font-size: 14px; color: var(--muted);  line-height: 1.6; }
/* 個人情報説明は7節を省略せず保持。内部をキーボードでもスクロールできます。 */
.iwaki-lp .privacy__body { max-height: 340px; overflow-y: auto; overflow-wrap: anywhere; padding-right: 6px; scrollbar-width: thin; }
.iwaki-lp .privacy__body h5 { margin: 18px 0 8px; font-size: 14px; line-height: 1.6; }
.iwaki-lp .privacy__body p + p { margin-top: 10px; }
.iwaki-lp .privacy__body ul { padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.iwaki-lp .field--agree > label { display: flex; justify-content: center;  font-size: 16px; }
.iwaki-lp .form-status { font-size: 13px; color: #a32e26; }
.iwaki-lp .form-status:not(:empty) { background: #fcf1ea; padding: 15px; margin-bottom: 20px; }
.iwaki-lp .form-status.is-success { background: #eaf5eb; color: var(--deep); }
.iwaki-lp .button--submit { width: min(100%, 380px); display: flex; margin: 0 auto; }
/* 08 フッター・追従ボタン。フォームが画面に入るとmain.jsが追従を隠します。 */
.iwaki-lp .footer { justify-content: space-between; align-items: center; gap: 30px; }
.iwaki-lp .footer p { color: var(--muted); }
.iwaki-lp .footer .footer__contact { font-size: 12px; line-height: 1.8; }
.iwaki-lp .footer__contact a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.iwaki-lp .back-top { font-size: 11px; font-weight: 700; }
.iwaki-lp .fixed-entry { position: fixed; z-index: 25; display: flex; align-items: center; color: #fff; visibility: hidden; opacity: 0; transition: .25s; }
.iwaki-lp .fixed-entry.is-visible { visibility: visible; opacity: 1; }
.iwaki-lp .fixed-entry small, .iwaki-lp .fixed-entry strong { display: block; }
.iwaki-lp .fixed-entry small { color: #bfd8d0; }

.iwaki-lp .fixed-entry .button { padding: 12px 18px; }

/* 09 中央カラムの小さな文字・間隔。PC中央も同じ375px幅です。 */

  .iwaki-lp { font-size: 16px; }
.iwaki-lp .wrap { width: calc(100% - 40px); }
.iwaki-lp .section { scroll-margin-top: 75px; }
.iwaki-lp h2 { font-size: 26px; line-height: 1.65;  font-weight: 500; }
.iwaki-lp .eyebrow { font-size: 13px; margin-bottom: 15px; }
.iwaki-lp .section-heading { display: block; margin-bottom: 30px; }


.iwaki-lp .brand { gap: 11px; }
.iwaki-lp .brand__name { padding-left: 11px; font-size: 11px; }
.iwaki-lp .brand__name small { font-size: 9px; margin-top: 2px; }

.iwaki-lp .menu-button { margin-left: auto; }
.iwaki-lp .hero { flex-direction: column; }
.iwaki-lp .hero .eyebrow { margin-bottom: 22px; font-size: 12px; }





.iwaki-lp .note { font-size: 12px; }
.iwaki-lp .factory { display: flex; flex-direction: column-reverse; }
.iwaki-lp .factory__content { padding: 55px 25px 40px; }
.iwaki-lp .factory__content > p:not(.eyebrow) { font-size: 16px; }
.iwaki-lp .factory__address { flex-direction: row; gap: 15px; margin-top: 24px; }
.iwaki-lp .factory__address p { font-size: 14px; }
.iwaki-lp .factory__address small { font-size: 12px; }
.iwaki-lp .factory__photo { min-height: 0; height: 250px; }
.iwaki-lp .factory__photo > span { left: 24px; bottom: 22px; font-size: 13px; }
.iwaki-lp .work__grid { grid-template-columns: 1fr; gap: 16px; }
.iwaki-lp .job__image { aspect-ratio: 1.7; }

.iwaki-lp .job__body h3 { font-size: 22px; }
.iwaki-lp .job__body > p:last-child { font-size: 16px;  line-height: 1.5; }
.iwaki-lp .work__message { margin-top: 35px; display: block; padding: 25px 0; }
.iwaki-lp .work__message > span { font-size: 12px; }
.iwaki-lp .work__message h3 { font-size: 24px; margin-top: 12px; }
.iwaki-lp .work__message p { margin: 16px 0 20px;  font-size: 16px; }
.iwaki-lp .work__message .text-link { max-width: 190px; justify-content: space-between; }
.iwaki-lp .requirements__table > div { display: block; }
.iwaki-lp .requirements__table dt { padding: 12px 15px; font-size: 16px; }
.iwaki-lp .requirements__table dd { padding: 17px 15px 22px; font-size: 16px;  line-height: 1.6; }
.iwaki-lp .requirements__table small { font-size: 14px; }
.iwaki-lp .shift { gap: 20px; }
.iwaki-lp .shift b { font-size: 25px; }
.iwaki-lp .requirements__source { font-size: 12px; }

.iwaki-lp .entry > .wrap { width: calc(100% - 24px); }
.iwaki-lp .entry .section-heading h2 { font-size: 24px; }
.iwaki-lp .entry .section-heading > p:last-child { font-size: 14px; }
.iwaki-lp .entry__panel { padding: 30px 20px; }
.iwaki-lp .entry__intro h3 { font-size: 21px; }
.iwaki-lp .entry__intro > p { font-size: 16px; }
.iwaki-lp .entry__intro > p br { display: none; }
.iwaki-lp .form-grid { display: block; }
.iwaki-lp .field > label, .iwaki-lp .field legend { font-size: 16px;  font-weight: 500; }
.iwaki-lp .field input:not([type=checkbox]):not([type=radio]), .iwaki-lp .field select, .iwaki-lp .field textarea { font-size: 16px; }
.iwaki-lp .field input::placeholder { font-size: 11px; }
.iwaki-lp .choices { gap: 8px; }
.iwaki-lp .choices label { padding: 10px 11px; gap: 7px; font-size: 16px; }
.iwaki-lp .privacy { padding: 15px; }
.iwaki-lp .field--agree > label { align-items: flex-start; gap: 10px; font-size: 16px; }
.iwaki-lp .field--agree input { margin-top: 4px; }
.iwaki-lp .footer { display: block; padding: 32px 24px 105px; }
.iwaki-lp .footer p { margin: 24px 0 18px; font-size: 10px; }
.iwaki-lp .fixed-entry { bottom: 0; border-radius: 0; justify-content: space-between; gap: 14px; }
.iwaki-lp .fixed-entry small { font-size: 9px; }
.iwaki-lp .fixed-entry strong { font-size: 11px; }
.iwaki-lp .fixed-entry .button { gap: 18px; padding-inline: 15px; }
.iwaki-lp .mobile-only { display: initial; }
.iwaki-lp .desktop-only { display: none; }

/* 動きを減らす設定を選んだ方には、スムーズスクロールとアニメーションを止めます。 */
/* 10 元デザイン準拠の縦長LP。
   スマホは画面全幅、PCは中央375pxに左右パネルを追加します。
   heroの数字はHTMLのhero__stats、左MENUはpc-menu、右応募はpc-entryを編集。
   背景の帯・細線と丸ボタンはCSSによる新規描画で、コピー元の画像は使っていません。 */
.iwaki-lp { --ink: #172a2b; --mint: #dff2ee; background: #fff; }
/* スマホ・タブレットは画面いっぱい。375pxの制限は下のPC用ルールだけに適用します。 */
.iwaki-lp .lp-column { position: relative; width: 100%; margin-inline: auto; background: #fff; z-index: 2; }
.iwaki-lp .header { height: 64px; padding: 10px 15px; gap: 10px; border: 0; }
.iwaki-lp .header .brand__name { display: none; }
.iwaki-lp .header__entry { display: flex; margin-left: auto; width: 88px; min-height: 42px; padding: 4px 8px; justify-content: center; border-radius: 4px; }
.iwaki-lp .header__entry-label { display: block; font: 700 10px/1.3 Arial,sans-serif !important; text-align: center; }
.iwaki-lp .header__entry-label small { display: block; font: 700 13px/1.5 'Noto Sans JP',sans-serif; }
.iwaki-lp .menu-button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; margin: 0; background: #14282a; border: 0; border-radius: 4px; width: 50px; height: 42px; padding: 10px; flex-shrink: 0; }
.iwaki-lp .menu-button span { display: block; width: 21px; height: 1px; background: #fff; transition: transform .2s; }
.iwaki-lp .menu-button[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.iwaki-lp .menu-button[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.iwaki-lp .hero { display: block; height: 780px; min-height: 0; color: var(--ink); background: #fff; overflow: hidden; }
/* 上段は人物を少し引いて、顔と見出しの間に余白を確保します。 */
.iwaki-lp .hero__photo-top { position: absolute; right: -25px; top: 25px; width: 340px; height: 255px; object-fit: cover; object-position: 26% center; }
/* 下段は左にいわき外観、右に組立。チェック文の下に写真をまとめます。
   topで開始位置、widthで左右の配分、object-positionで被写体の位置を調整。
   右写真の白い縁と斜線はpadding/clip-path。左写真を白くぼかさない構成です。 */
.iwaki-lp .hero__photo-bottom { position: absolute; left: 0; top: 528px; width: 61%; height: 182px; object-fit: cover; object-position: 38% center; clip-path: polygon(0 8%,100% 0,100% 100%,0 100%); }
.iwaki-lp .hero__photo-work { position: absolute; right: -4px; top: 522px; width: 59%; height: 188px; padding: 0 0 0 6px; background: #fff; clip-path: polygon(15% 0,100% 6%,100% 100%,0 100%); }
.iwaki-lp .hero__photo-work img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; clip-path: polygon(15% 0,100% 6%,100% 100%,0 100%); }
/* 白いグラデーションは上段のコピー周辺だけに限定します。 */
.iwaki-lp .hero__fade { position: absolute; inset: 0 0 auto; height: 305px; background: linear-gradient(90deg,#fff 0%,#ffffffdb 16%,#ffffff00 58%),linear-gradient(0deg,#fff 0%,transparent 22%); pointer-events: none; }
.iwaki-lp .hero__label { position: absolute; top: 7px; left: 19px; padding: 3px 13px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 800; transform: skewX(-18deg); }
.iwaki-lp .hero__label span { margin-inline: 3px; }
.iwaki-lp .hero h1 { position: absolute; top: 65px; left: 16px; font-size: 33.429px; line-height: 1.4; letter-spacing: 0; font-weight: 700; white-space: normal; }
.iwaki-lp .hero h1 em { font-style: normal; color: #fff; background: var(--teal); padding: 0 3px 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.iwaki-lp .hero__stats { position: absolute; top: 245px; left: 22px; right: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.iwaki-lp .hero__stats > div { min-height: 95px; background: var(--teal); color: #fff; border-radius: 3px; padding: 9px 6px 10px; text-align: center; box-shadow: 0 2px 0 #ffffff50; }
.iwaki-lp .hero__stats dt { font-size: 16.731px; font-weight: 700; line-height: 1.2; }
.iwaki-lp .hero__stats dd { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 3px; line-height: 1; }
.iwaki-lp .hero__stats b { font-family: inherit; font-size: 40.155px; font-weight: 700; letter-spacing: 0; }
.iwaki-lp .hero__stats span { font-weight: 700; font-size: 16.731px; text-align: left; }
.iwaki-lp .hero__stats small { display: block; font-size: 9px; margin-top: 4px; }
.iwaki-lp .hero__checks { position: absolute; left: 26px; top: 461px; padding: 0; margin: 0; list-style: none; font-size: 14px; font-weight: 700; line-height: 2; }
.iwaki-lp .hero__checks li::before { content: '☑'; color: var(--teal); margin-right: 5px; font-weight: 400; }
.iwaki-lp .hero__checks span { font-size: 10px; }
/* 応募ボタンは写真の下端に重ね、作業者の手元を隠さない位置へ。 */
.iwaki-lp .hero__cta { position: absolute; bottom: 22px; left: 10px; right: 10px; width: auto; padding: 10px 20px; min-height: 58px; border-radius: 35px; gap: 10px; justify-content: center; }
.iwaki-lp .button .cta-copy { font-family: 'Noto Sans JP',sans-serif; text-align: center; line-height: 1.3; }
.iwaki-lp .cta-copy small { display: block; font-size: 12px; font-weight: 700; }
.iwaki-lp .cta-copy strong { display: block; font-size: 18px; font-weight: 900; letter-spacing: .08em; margin-top: 3px; }
.iwaki-lp .cta-phone { display: block; width: 18px; height: 30px; border: 1px solid #fff; border-radius: 3px; flex-shrink: 0; position: relative; }
.iwaki-lp .cta-phone::after { content:''; position:absolute; width:5px; height:1px; background:#fff; top:3px; left:5px; }
/* 矢印は「今すぐ応募する」の行の中央へ。文字の字面に依存しない線で描きます。 */
.iwaki-lp .cta-arrow { background: #fff; color: var(--teal); flex: 0 0 21px; width: 21px; height: 21px; display: grid; place-items: center; align-self: flex-end; border-radius: 50%; margin: 0 0 1px 6px; }
.iwaki-lp .cta-arrow::before { content: ''; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateX(-1px) rotate(45deg); }
.iwaki-lp .section { padding: 80px 0; }
.iwaki-lp .section-heading { text-align: center; }
.iwaki-lp .section-heading .eyebrow { font: 700 48px/1.5 var(--number); color: var(--teal); letter-spacing: .015em; margin-bottom: 9px; text-align: center; }
.iwaki-lp .section-heading h2 { font-size: 24px; text-align: center; line-height: 1.5;  font-weight: 500; }
.iwaki-lp .requirements .section-heading .eyebrow { font-size: 40px; }
.iwaki-lp .section-heading__text { text-align: center; margin-top: 0; font-size: 13px; }
.iwaki-lp .benefits { background: #fff; }
.iwaki-lp .factory { background: #eff8f5; color: var(--ink); }
.iwaki-lp .factory__content > p:not(.eyebrow) { color: var(--muted);  font-size: 16px; }
.iwaki-lp .factory .eyebrow--light { color: var(--teal); }
.iwaki-lp .factory__address { border-color: #aacfc7; }
.iwaki-lp .factory__address small { color: var(--muted);  font-size: 12px; }
.iwaki-lp .job { background: #fff; border: 1px solid #c6e0d9; border-radius: 6px; overflow: hidden; }
.iwaki-lp .job__body { padding: 20px; }
.iwaki-lp .work { background: #f5faf7; }
.iwaki-lp .entry { color: var(--ink); background: #e8f6f1; }
.iwaki-lp .entry__panel { border: 1px solid #c3ddd3; }
.iwaki-lp .button--submit { border-radius: 30px; }
.iwaki-lp .footer { text-align: center; background: #fff; }
.iwaki-lp .footer .brand { justify-content: center; }
.iwaki-lp .fixed-entry { width: 100%; left: 50%; right: auto; transform: translate(-50%,100%); background: #fffffff5; border: 0; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 15px #00000010; }
.iwaki-lp .fixed-entry.is-visible { transform: translate(-50%,0); }
.iwaki-lp .fixed-entry > div { display: none; }
.iwaki-lp .fixed-entry .button { width: 100%; background: var(--teal); color: #fff; border-radius: 30px; justify-content: center; min-height: 52px; font-size: 18px; font-weight: 900; }
.iwaki-lp .pc-stage, .iwaki-lp .pc-brand, .iwaki-lp .pc-menu, .iwaki-lp .pc-entry { display: none; }

/* 元LPの囲みコピー・丸い福利厚生・横送りフロー。
   文章を長くする場合は丸い枠に詰め込まず、下の注記へ移してください。 */
.iwaki-lp .lead { margin: 30px 0; color: var(--teal); }
.iwaki-lp .lead__boxes { display: flex; flex-direction: column; align-items: flex-start; }
.iwaki-lp .lead__box { padding: 10px; box-shadow: inset 0 0 0 1px currentColor; font-size: 28px; font-weight: 700; line-height: 1.5; }
.iwaki-lp .lead__box--outline { color: #fff; -webkit-text-stroke: 2px var(--teal); paint-order: stroke fill; box-shadow: inset 0 0 0 1px var(--teal); }
.iwaki-lp .lead__text { margin-top: 20px; font-size: 16px; line-height: 1.5; }
.iwaki-lp .life { background: #9bd6ce; }
.iwaki-lp .life .section-heading .eyebrow, .iwaki-lp .life .lead { color: var(--deep); }
.iwaki-lp .life .lead__box--outline { color: #9bd6ce; -webkit-text-stroke-color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); }
.iwaki-lp .welfare-list { --welfare-icon: #087f65; position: relative; margin-top: 40px; padding-left: 25px; }
.iwaki-lp .welfare-line { position: absolute; top: 130px; bottom: 130px; left: 0; border-left: 2px dotted var(--deep); }
.iwaki-lp .welfare-circle { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; width: 260px; max-width: 100%; min-height: 260px; border: 1px solid var(--deep); border-radius: 50%; padding: 22px 14px; text-align: center; color: var(--deep); }
.iwaki-lp .welfare-circle + .welfare-circle { margin-top: -16px; }
.iwaki-lp .welfare-circle::before { content: ''; position: absolute; width: 24px; left: -25px; top: 50%; border-top: 2px dotted var(--deep); }
.iwaki-lp .welfare-circle h3 { display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--deep); color: #bce5de; padding: 7px 12px; font-size: 16px; line-height: 1.5; }
.iwaki-lp .welfare-circle p { font-size: 14px; line-height: 1.6; }
.iwaki-lp .welfare-circle strong { font: 700 60px/1 var(--number); }
.iwaki-lp .welfare-circle small { font-size: 11px; }
/* アイコンは白い円を背景にした緑色線画。色はwelfare-listの--welfare-iconで一括変更。
   休日にはアイコンを置かず、ほかの3項目は65pxの白丸内に40pxで配置します。 */
.iwaki-lp .welfare-symbol { display: grid; place-items: center; flex-shrink: 0; width: 65px; height: 65px; border-radius: 50%; background: #fff; color: var(--welfare-icon); }
.iwaki-lp .welfare-symbol svg { display: block; width: 40px; height: 40px; }
.iwaki-lp .dorm { background: #fff; }
.iwaki-lp .dorm .eyebrow { font-size: 48px; }
.iwaki-lp .entry .section-heading .eyebrow { font-size: 48px; }
.iwaki-lp .dorm-gallery__track { display: flex; gap: 15px; }
.iwaki-lp .dorm-gallery figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.iwaki-lp .dorm-gallery img { width: 100%; aspect-ratio: 400 / 261; object-fit: cover; }
.iwaki-lp .dorm-gallery figcaption { background: var(--mint); padding: 9px; text-align: center; font-size: 14px; font-weight: 700; }
.iwaki-lp .dorm__caption { margin-top: 15px; font-size: 11px; }
.iwaki-lp .dorm__conditions { margin-top: 25px; padding: 20px; border: 1px solid var(--teal); }
.iwaki-lp .dorm__conditions h3 { font-size: 18px; margin-bottom: 12px; }
.iwaki-lp .dorm__conditions p { font-size: 14px; line-height: 1.8; }
.iwaki-lp .dorm__conditions p + p { margin-top: 12px; }
.iwaki-lp .dorm__conditions .note { font-size: 11px; }
/* data-carouselの中にある項目数をJSで自動取得。JSがなくても横スクロールできます。 */
.iwaki-lp .carousel__viewport { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--teal) var(--mint); scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.iwaki-lp .is-carousel-ready .carousel__viewport { scrollbar-width: none; }
.iwaki-lp .is-carousel-ready .carousel__viewport::-webkit-scrollbar { display: none; }
.iwaki-lp .carousel__controls { display: flex; justify-content: center; align-items: center; gap: 25px; margin-top: 20px; }
.iwaki-lp .carousel__controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--teal); border-radius: 50%; background: #fff; color: var(--teal); font-size: 24px; }
.iwaki-lp .carousel__controls button:disabled { opacity: .35; cursor: default; }
.iwaki-lp .carousel__controls [data-carousel-status] { font: 600 16px/1 var(--number); color: var(--deep); min-width: 35px; text-align: center; }
.iwaki-lp .flow { background: var(--mint); }
.iwaki-lp .steps-wrap { position: relative; margin-top: 30px; }
.iwaki-lp .steps-wrap .carousel__controls button { position: absolute; top: 145px; z-index: 2; box-shadow: 0 2px 8px #064c5020; }
.iwaki-lp .steps-wrap .carousel__prev { left: 6px; }
.iwaki-lp .steps-wrap .carousel__next { right: 6px; }
.iwaki-lp .steps__track { display: flex; align-items: stretch; gap: 20px; width: max-content; margin: 0; padding: 5px 15px 10px; list-style: none; }
.iwaki-lp .step { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 240px; min-height: 370px; padding: 55px 15px; border-radius: 150px; background: #fff; color: var(--teal); scroll-snap-align: center; }
.iwaki-lp .step:not(:last-child)::after { content: '→'; position: absolute; right: -27px; top: 48%; z-index: 1; color: var(--deep); font-size: 32px; }
.iwaki-lp .step__num { padding: 8px 10px; color: #fff; background: var(--teal); font: 600 14px/1.4 var(--number); letter-spacing: .04em; }
.iwaki-lp .step .step__title { font-size: 24px; font-weight: 500; line-height: 1.4; text-align: center; }
.iwaki-lp .step__icon { display: block; width: 80px; height: 80px; background: var(--mint); border-radius: 50%; }
.iwaki-lp .step__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iwaki-lp .step__text { font-size: 14px; line-height: 1.4; text-align: center; }
.iwaki-lp .steps__hint { text-align: center; font-size: 11px; margin-top: 12px; color: var(--muted); }
.iwaki-lp .carousel__progress { position: relative; height: 2px; margin: 20px 15px 0; background: #fff; }
.iwaki-lp .carousel__progress span { display: block; width: 20%; height: 100%; background: var(--teal); transform: translateX(var(--progress, 0px)); }
.iwaki-lp .section-cta { display: flex; margin: 30px auto 0; justify-content: center; }
.iwaki-lp .faq { background: #fff; }
.iwaki-lp .faq .lead { margin-bottom: 40px; }
.iwaki-lp .faq details { padding: 20px 15px; margin-bottom: 10px; border-radius: 10px; background: #f4f5f4; }
.iwaki-lp .faq details[open] { background: var(--mint); }
.iwaki-lp .faq summary { display: flex; align-items: center; gap: 15px; margin: -20px -15px; padding: 20px 15px; list-style: none; cursor: pointer; border-radius: 10px; }
.iwaki-lp .faq summary::-webkit-details-marker { display: none; }
.iwaki-lp .faq__letter { flex-shrink: 0; font: 600 36px/1.2 var(--number); color: var(--teal); }
.iwaki-lp .faq__question { flex: 1; font-size: 16px; font-weight: 500; line-height: 1.6; }
.iwaki-lp .faq summary i { flex: 0 0 12px; height: 12px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); margin-right: 3px; transition: transform .2s; }
.iwaki-lp .faq details[open] summary i { transform: rotate(225deg); }
.iwaki-lp .faq__answer { display: flex; align-items: flex-start; gap: 15px; border-top: 2px dotted #a3c3bb; margin-top: 20px; padding-top: 20px; }
.iwaki-lp .faq__answer p { font-size: 16px; line-height: 1.6; }


/* 元LPと同じ全画面メニュー。行の余白20px/15px、文字16px、開閉0.3秒。
   項目を増やした場合は小さい画面で下の応募ボタンまでスクロールできるか確認します。 */
.iwaki-lp .menu { position: fixed; inset: 0; z-index: 100; width: 100%; max-width: 100%; height: 100dvh; max-height: none; margin: 0 auto; padding: 0; border: 0; color: var(--ink); background: #fff; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .3s ease; }
.iwaki-lp .menu[open] { display: flex; flex-direction: column; }
.iwaki-lp .menu.is-open { opacity: 1; }
.iwaki-lp .menu::backdrop { background: transparent; }
.iwaki-lp .menu__header { position: static; flex-shrink: 0; }
.iwaki-lp .menu-button--close { position: relative; }
.iwaki-lp .menu-button--close span { position: absolute; }
.iwaki-lp .menu-button--close span:first-child { transform: rotate(45deg); }
.iwaki-lp .menu-button--close span:last-child { transform: rotate(-45deg); }
.iwaki-lp .menu__body { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 20px 15px 60px; transform: translateY(-10px); transition: transform .3s ease; }
.iwaki-lp .menu.is-open .menu__body { transform: none; }
.iwaki-lp .menu__nav { width: 100%; border-top: 1px solid #ddd; }
.iwaki-lp .menu__list { margin: 0; padding: 0; list-style: none; }
.iwaki-lp .menu__list a { display: flex; align-items: center; gap: 10px; padding: 20px 15px; border-bottom: 1px solid #ddd; font-size: 16px; font-weight: 400; line-height: 1.4; }
.iwaki-lp .menu__list a > span { flex: 1; min-width: 0; }
.iwaki-lp .menu__list a > i { display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; }
.iwaki-lp .menu__list a > i::before { content: ''; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateX(-2px) rotate(45deg); }
.iwaki-lp .menu__list a[aria-current="location"] { color: var(--teal); font-weight: 700; box-shadow: inset 4px 0 0 var(--teal); }
.iwaki-lp .menu__cta { width: 100%; flex-shrink: 0; justify-content: center; gap: 10px; padding: 10px 15px; min-height: 64px; }

/* PC：中央375pxだけをスクロール。左右は画面に固定します。 */
@media (min-width: 1024px) {
  .iwaki-lp .lp-column { width: 375px; }

  .iwaki-lp .lp-column { padding-top: 50px; box-shadow: 0 0 20px #064c5007; }
  .iwaki-lp .header, .iwaki-lp .fixed-entry { display: none !important; }
  .iwaki-lp .section { scroll-margin-top: 25px; }
  /* 背景の編集：125degが帯の角度、%が帯の位置・幅、色コードが濃さです。
     細線の間隔は72px。写真を増やさず、明るい青緑と直線で工場らしい整然とした印象にします。 */
  .iwaki-lp .pc-stage {
    display: block;
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background:
      repeating-linear-gradient(125deg, transparent 0 71px, #087f8309 71px 72px),
      linear-gradient(125deg, transparent 0 12%, #d9eee7 12% 23%, transparent 23% 76%, #c3e5dd 76% 88%, transparent 88%),
      #f7faf8;
  }
  .iwaki-lp .pc-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 0 25%, #4aaca066 25% calc(25% + 1px), transparent calc(25% + 1px) 73%, #4aaca066 73% calc(73% + 1px), transparent calc(73% + 1px));
  }
  .iwaki-lp .pc-brand { display: block; position: fixed; top: 55px; left: max(30px,calc(50% - 653px)); z-index: 3; line-height: 1.5; }
  .iwaki-lp .pc-brand span { display: block; font-size: 10px; margin-top: 7px; }
  .iwaki-lp .pc-menu { display: block; position: fixed; width: 280px; left: calc(50% - 495px); top: 50%; transform: translateY(-45%); max-height: calc(100vh - 130px); overflow-y: auto; padding: 25px 20px 28px; border: 5px solid var(--teal); border-radius: 24px; background: #f0faf5; z-index: 1; }
  .iwaki-lp .pc-menu h2 { font: 700 25px/1.5 var(--number); color: #122627; letter-spacing: .05em; margin-bottom: 18px; }
  .iwaki-lp .pc-menu nav { display: flex; flex-direction: column; gap: 10px; }
  .iwaki-lp .pc-menu a { display: block; width: fit-content; max-width: 100%; padding: 2px 9px; border: 1px solid var(--teal); background: #fff; color: var(--teal); border-radius: 3px; font-size: 16px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
  .iwaki-lp .pc-menu a span { font-size: 12px; }
  .iwaki-lp .pc-menu a:hover { background: var(--teal); color: #fff; }
  .iwaki-lp .pc-entry { display: block; position: fixed; left: calc(50% + 215px); top: 50%; transform: translateY(-45%); width: 210px; text-align: center; z-index: 3; }
  .iwaki-lp .pc-entry > p { position: relative; background: #182728; color: #fff; border-radius: 26px; padding: 10px 10px; font-size: 18px; font-weight: 900; }
  .iwaki-lp .pc-entry > p::after { content: ''; position: absolute; top: 100%; left: calc(50% - 8px); border: 8px solid transparent; border-top: 14px solid #182728; }
  .iwaki-lp .pc-entry > a { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 190px; height: 190px; border-radius: 50%; background: var(--teal); border: 6px solid #fff; outline: 3px solid var(--teal); margin: 25px auto 16px; color: #fff; transition: transform .2s; }
  .iwaki-lp .pc-entry > a:hover { transform: scale(1.04); }
  .iwaki-lp .pc-entry a span { font-size: 28px; font-weight: 900; line-height: 1.35; }
  .iwaki-lp .pc-entry a b { width: 27px; height: 27px; border-radius: 50%; background: #fff; color: var(--teal); font: 700 29px/23px Arial,sans-serif; margin-top: 12px; }
  .iwaki-lp .footer { padding-bottom: 35px; }
}
/* 元LPの登場演出を再利用。通常の文章更新では下記の動作指定は変更不要です。 */
.iwaki-lp.js-anim [data-reveal] {
  transition:
    opacity 0.7s var(--ease-out) var(--delay, 0ms),
    translate 0.8s var(--ease-out) var(--delay, 0ms),
    scale 0.8s var(--ease-out) var(--delay, 0ms),
    clip-path 0.8s var(--ease-out) var(--delay, 0ms),
    transform 0.25s ease;
}

.iwaki-lp.js-anim [data-reveal]:not(.is-inview) {
  opacity: 0;
}

/* フェード＋移動・拡大 */
.iwaki-lp.js-anim [data-reveal="up"]:not(.is-inview) { translate: 0 28px; }
.iwaki-lp.js-anim [data-reveal="left"]:not(.is-inview) { translate: -40px 0; }
.iwaki-lp.js-anim [data-reveal="right"]:not(.is-inview) { translate: 40px 0; }
.iwaki-lp.js-anim [data-reveal="zoom"]:not(.is-inview) { scale: 0.88; }

/* ポンッと弾む */
.iwaki-lp.js-anim [data-reveal="pop"] {
  transition:
    opacity 0.4s ease var(--delay, 0ms),
    scale 0.7s var(--ease-back) var(--delay, 0ms),
    transform 0.3s var(--ease-back);
}
.iwaki-lp.js-anim [data-reveal="pop"]:not(.is-inview) { scale: 0.3; }

/* 左からワイプ（囲み見出し・ヒーローのラベル） */
.iwaki-lp.js-anim [data-reveal="wipe"] { clip-path: inset(0 0 0 0); }
.iwaki-lp.js-anim [data-reveal="wipe"]:not(.is-inview) { opacity: 1; clip-path: inset(0 100% 0 0); }

/* 英字見出し：1文字ずつ跳ねて登場（JSで文字を分割） */
.iwaki-lp.js-anim [data-reveal="chars"],
.iwaki-lp.js-anim [data-reveal="chars"]:not(.is-inview) { opacity: 1; }
.iwaki-lp .char {
  display: inline-block;
}
.iwaki-lp.js-anim [data-reveal="chars"] .char {
  transition:
    opacity 0.5s ease calc(var(--delay, 0ms) + var(--i) * 45ms),
    translate 0.7s var(--ease-back) calc(var(--delay, 0ms) + var(--i) * 45ms);
}
.iwaki-lp.js-anim [data-reveal="chars"]:not(.is-inview) .char {
  opacity: 0;
  translate: 0 0.6em;
}

/* 手当カード：登場時にアイコンがぴょこっと揺れる */
.iwaki-lp.js-anim .benefit.is-inview .line-icon {
  animation: iwaki-wiggle 0.7s ease calc(var(--delay, 0ms) + 350ms) both;
}

@keyframes iwaki-wiggle {
  0%, 100% { rotate: 0deg; }
  25% { rotate: -14deg; }
  50% { rotate: 10deg; }
  75% { rotate: -5deg; }
}

.iwaki-lp .hero h1 > [data-reveal] { display: inline-block; }
.iwaki-lp [data-parallax] { transform: translateY(var(--parallax, 0px)); }
.iwaki-lp .count-value { font: inherit; }
.iwaki-lp .is-counting { font-variant-numeric: tabular-nums; }
.iwaki-lp .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {

  .iwaki-lp *, .iwaki-lp *::before, .iwaki-lp *::after { transition: none !important; animation: none !important; }
}

/* 写真帯：元LPの写真を横に見せる構成。素材・順番はHTMLのscene-stripで更新します。 */
.iwaki-lp .scene-strip { position: relative; margin-inline: -20px; overflow-x: auto; }
.iwaki-lp.js-anim .scene-strip { overflow: hidden; }
/* 元版と同じ縦長240×310px・間隔5px。角丸を付けず、写真を大きく見せます。 */
.iwaki-lp .scene-strip figure { flex: 0 0 240px; width: 240px; height: 310px; margin: 0; background: #d9d9d9; }
.iwaki-lp .scene-strip img { width: 100%; height: 100%; object-fit: cover; }
.iwaki-lp .scene-toggle { display: none; position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #0009; cursor: pointer; }
.iwaki-lp.js-anim .scene-toggle:not([hidden]) { display: grid; place-items: center; }
.iwaki-lp .scene-toggle__icon { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.iwaki-lp .is-paused .scene-toggle__icon { width: 0; height: 0; margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #fff; border-right: 0; }
.iwaki-lp.js-anim .scene-strip.is-looping.is-paused .scene-strip__track { animation-play-state: paused; }
.iwaki-lp:not(.js-anim) .scene-strip__group[aria-hidden="true"] { display: none; }

/* 元版の区切り線と写真帯。本文16px、見出し24px/英字48pxを基準に更新します。 */
.iwaki-lp .section-heading__bar { display: block; width: 40px; height: 4px; margin: 20px auto 40px; background: var(--teal); }
.iwaki-lp.js-anim [data-reveal="bar"] { transform-origin: 50% 50%; }
.iwaki-lp.js-anim [data-reveal="bar"]:not(.is-inview) { opacity: 1; scale: 0 1; }
.iwaki-lp .scene-strip__track, .iwaki-lp .scene-strip__group { display: flex; flex: 0 0 auto; gap: 5px; }
.iwaki-lp .scene-strip__track { width: max-content; }
.iwaki-lp.js-anim .scene-strip.is-looping .scene-strip__track { animation: iwaki-marquee 45s linear infinite; }
@keyframes iwaki-marquee { from { transform: translateX(var(--scene-start)); } to { transform: translateX(calc(var(--scene-start) - var(--scene-distance))); } }
.iwaki-lp .steps__hint { display: flex; align-items: center; justify-content: center; gap: 8px; }
.iwaki-lp .steps__hint::before { content: '↔'; display: inline-block; font-size: 20px; }
.iwaki-lp.js-anim .steps__hint::before { animation: iwaki-swipe-hint 1.6s ease-in-out infinite; }
@keyframes iwaki-swipe-hint { 0%, 100% { translate: 4px 0; opacity: 1; } 60% { translate: -8px 0; opacity: .4; } }
/* 375pxより狭い画面だけ、長い英字や囲みコピーを枠内へ収めます。 */
@media (max-width: 374px) {
  .iwaki-lp .benefit-tile__value { font-size: 16px; }
  .iwaki-lp .lead__box { font-size: clamp(23px, 7.47vw, 28px); }
  .iwaki-lp .dorm .eyebrow, .iwaki-lp .entry .section-heading .eyebrow { font-size: clamp(36px, 11.2vw, 42px); }
  .iwaki-lp .requirements .section-heading .eyebrow { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .iwaki-lp .scene-strip__group[aria-hidden="true"], .iwaki-lp .scene-toggle { display: none; }
}

.iwaki-lp.js-anim .welfare-line { clip-path: inset(0 0 calc((1 - var(--draw, 0)) * 100%) 0); }
.iwaki-lp.js-anim .welfare-circle::before { transition: clip-path .6s var(--ease-out); }
.iwaki-lp.js-anim .welfare-circle:not(.is-inview)::before { clip-path: inset(0 100% 0 0); }
