@charset "UTF-8";
/* トップページ（inc/wc-top.php）。コンセプト「家族にすすめたい会社が、ここにある。」（11/20 岩元さん）。
   j-cat.co.jp のように、縦書きのキャッチコピーと余白で見せる。温かみ：地は生成り、字は明朝、金の細い線。写真は脇役（同じ形にそろえて小さめ）。
   前の案：css/top-b.css（グッドデザイン賞の形）・css/top-a.css（認定証の枠） */
.tw{--bg:#f4f9ff;--paper:#ffffff;--ink:#1f2a44;--sub:#5f7491;--navy:#0f3b66;--gold:#38a3e8;--line:#d6e4f0;
  background:var(--bg);color:var(--ink);font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;line-height:1.9;letter-spacing:.04em;overflow:hidden}
.tw *{box-sizing:border-box}
.tw a{color:inherit;text-decoration:none}
.tw ul,.tw ol{list-style:none;margin:0;padding:0}
.tw li{margin:0}.tw li::before{display:none}
.tw h1::before,.tw h1::after,.tw h2::before,.tw h2::after{display:none}
.tw-h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.tw-in{max-width:1040px;margin:0 auto;padding:0 24px}
.tw-narrow{max-width:760px}
.tw .tw-sp{display:none}
.tw h2{margin:0 0 30px;padding:0;border:0;background:none;font-family:"Shippori Mincho",serif;font-weight:500;font-size:24px;line-height:1.6;letter-spacing:.08em;color:var(--ink);text-align:center}

/* いちばん上：縦書きのキャッチコピー */
.tw-hero{position:relative;min-height:min(86vh,760px);display:flex;align-items:center;justify-content:center;padding:70px 24px 150px}
.tw-copy{margin:0;writing-mode:vertical-rl;font-family:"Shippori Mincho",serif;font-weight:500;font-size:46px;line-height:1.9;letter-spacing:.2em;color:var(--ink)}
.tw-copy span{display:block}
.tw-copy span+span{margin-top:2.2em}
.tw-sign{position:absolute;left:0;right:0;bottom:44px;text-align:center}
.tw-sign img{display:block;width:46px;height:auto;margin:0 auto;float:none;opacity:.9}
.tw-sign p{margin:8px 0 0;font-size:12px;line-height:1.8;letter-spacing:.12em;color:var(--sub)}
@media (prefers-reduced-motion:no-preference){
  .tw-copy span{opacity:0;animation:twIn 1.6s ease forwards}
  .tw-copy span+span{animation-delay:.7s}
  .tw-sign{opacity:0;animation:twIn 1.4s ease 1.6s forwards}
}
@keyframes twIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* 考え */
.tw-words{max-width:760px;margin:0 auto;padding:30px 24px 90px;text-align:center}
.tw-words p{margin:0 0 18px;font-family:"Shippori Mincho",serif;font-weight:500;font-size:20px;line-height:2;letter-spacing:.08em}
.tw-words .tw-small{margin:40px 0 26px;font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;font-weight:400;font-size:14px;color:var(--sub);letter-spacing:.05em}
.tw-link{display:inline-block;padding:0 0 4px;border-bottom:1px solid var(--gold);color:var(--navy) !important;font-size:14px;font-weight:700}

/* 探す */
.tw-find{padding:64px 0;background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.tw-s{display:flex;max-width:620px;margin:0 auto;border:1px solid #c9dff2;border-radius:999px;background:#fff;overflow:hidden}
.tw-s input[type=search]{flex:1;min-width:0;height:56px;padding:0 24px;border:0;background:none;font-size:16px;outline:none}
.tw-s button{flex:0 0 auto;margin:6px;padding:0 30px;border:0;border-radius:999px;background:var(--navy);color:#fff;font-size:15px;font-weight:700;letter-spacing:.1em;cursor:pointer}
.tw-s:focus-within{box-shadow:0 0 0 3px rgba(56,163,232,.25)}
.tw-count{margin:18px 0 0;text-align:center;font-size:14px;color:var(--sub)}
.tw-count b{font-family:"Shippori Mincho",serif;font-size:20px;color:var(--ink);font-weight:500}
.tw-count a{margin-left:10px;border-bottom:1px solid var(--gold);color:var(--navy) !important;font-weight:700}

/* 段 */
.tw-sec{padding:84px 0 0}
.tw-ph{display:block;aspect-ratio:3/2;border-radius:6px;overflow:hidden;background:#e1ecf7}
.tw-ph img{width:100%;height:100%;object-fit:cover;display:block}
.tw-cos{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 28px}
.tw-cos a{display:block}
.tw-co{display:block;padding:12px 2px 0}
.tw-co b{display:block;font-size:15px;line-height:1.6}
.tw-co small{display:block;margin-top:2px;font-size:12px;color:var(--sub)}
.tw-cos a:hover b,.tw-ivs a:hover b,.tw-pop a:hover{color:var(--navy);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}
.tw-rank{padding-top:84px}
.tw-ivs{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.tw-ivs a{display:block}
.tw-ivs b{display:block;margin-top:12px;font-size:15px;line-height:1.7;font-weight:500}
.tw-more{margin:30px 0 0;text-align:center}
.tw-more a{border-bottom:1px solid var(--gold);color:var(--navy) !important;font-size:14px;font-weight:700;padding-bottom:4px}
.tw-pop{border-top:1px solid var(--line)}
.tw-pop li{border-bottom:1px solid var(--line)}
.tw-pop a{display:block;padding:18px 4px;font-size:15px;line-height:1.7}

/* 終わり */
.tw-close{margin-top:100px;padding:80px 24px 70px;background:var(--navy);color:#fff;text-align:center}
.tw-close img{display:block;margin:0 auto;width:54px;height:auto;filter:brightness(0) invert(1);opacity:.85}
.tw-close>p{margin:18px 0 44px;font-family:"Shippori Mincho",serif;font-weight:500;font-size:24px;line-height:1.9;letter-spacing:.1em}
.tw-ends{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.tw-ends a{display:block;min-width:300px;padding:20px 26px;border:1px solid rgba(56,163,232,.6);border-radius:6px;color:#fff !important;font-size:16px;font-weight:700;letter-spacing:.06em}
.tw-ends small{display:block;font-size:12px;font-weight:400;color:#c9dff2;margin-bottom:2px}
.tw-ends a:hover{background:rgba(255,255,255,.06)}
.tw a:focus-visible,.tw button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* スマホ */
@media (max-width:767px){
  .tw .tw-sp{display:inline}
  .tw h2{font-size:19px;margin-bottom:22px}
  .tw-hero{min-height:82svh;padding:56px 20px 140px}
  .tw-copy{font-size:32px}
  .tw-words{padding:20px 22px 64px}
  .tw-words p{font-size:17px;margin-bottom:16px}
  .tw-words .tw-small{font-size:13px;margin-top:32px}
  .tw-find{padding:48px 0}
  .tw-in{padding:0 20px}
  .tw-s input[type=search]{height:52px;padding:0 18px}
  .tw-s button{padding:0 22px}
  .tw-count a{display:block;margin:6px 0 0;border:0;text-decoration:underline;text-decoration-color:var(--gold)}
  .tw-sec,.tw-rank{padding-top:64px}
  .tw-cos{grid-template-columns:1fr 1fr;gap:22px 14px}
  .tw-co b{font-size:13px}
  .tw-co small{font-size:11px}
  .tw-ivs{grid-template-columns:1fr;gap:24px}
  .tw-pop a{padding:15px 2px;font-size:14px}
  .tw-close{margin-top:72px;padding:60px 20px 56px}
  .tw-close>p{font-size:19px;margin-bottom:32px}
  .tw-ends a{min-width:0;width:100%}
}

/* インタビュー：有料なので特別に（11/20 10:01 岩元翔さん）。深い紺に金の線・いちばん新しい1本を大きく */
.tw-iv{margin-top:96px;padding:72px 0 76px;background:#0f2238 radial-gradient(110% 120% at 90% -10%,rgba(56,163,232,.22),transparent 55%);color:#fff;position:relative}
.tw-iv::before,.tw-iv::after{content:"";position:absolute;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,#38a3e8 20%,#a5d8ff 50%,#38a3e8 80%,transparent)}
.tw-iv::before{top:0}.tw-iv::after{bottom:0}
.tw-iv-badge{display:flex;justify-content:center;align-items:center;gap:14px;margin:0 0 12px;font-family:"Shippori Mincho",serif;font-size:12px;letter-spacing:.32em;color:#a5d8ff}
.tw-iv-badge::before,.tw-iv-badge::after{content:"";width:36px;height:1px;background:currentColor}
.tw .tw-iv h2{color:#fff;margin-bottom:10px;font-size:28px;letter-spacing:.14em}
.tw-iv-lead{margin:0 0 40px;text-align:center;font-size:14px;color:rgba(255,255,255,.75)}
.tw-iv-ph{display:block;aspect-ratio:3/2;overflow:hidden;background:#1d3550}
.tw-iv-ph img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.tw-iv a:hover .tw-iv-ph img{transform:scale(1.03)}
.tw-iv-feat{display:grid;grid-template-columns:1.4fr 1fr;border:1px solid rgba(165,216,255,.55);border-radius:10px;overflow:hidden;background:rgba(255,255,255,.04);position:relative}
.tw-iv-feat::before{content:"";position:absolute;inset:8px;border:1px solid rgba(165,216,255,.35);border-radius:6px;pointer-events:none;z-index:1}
.tw-iv-tx{display:flex;flex-direction:column;justify-content:center;padding:34px 38px}
.tw-iv small{display:block;font-size:12px;color:#a5d8ff;letter-spacing:.06em}
.tw-iv-feat b{display:block;margin-top:8px;font-family:"Shippori Mincho",serif;font-weight:800;font-size:23px;line-height:1.65;color:#fff}
.tw-iv-feat i{align-self:flex-start;margin-top:22px;padding:10px 26px;border-radius:999px;background:#a5d8ff;color:#0f2238;font-style:normal;font-size:14px;font-weight:700;letter-spacing:.06em}
.tw-iv-sub{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px!important}
.tw-iv-sub a{display:grid;grid-template-columns:200px 1fr;gap:18px;align-items:center}
.tw-iv-sub .tw-iv-ph{border-radius:6px}
.tw-iv-sub b{display:block;margin-top:4px;font-family:"Shippori Mincho",serif;font-weight:500;font-size:15px;line-height:1.7;color:#fff}
.tw-iv a:hover b{text-decoration:underline;text-decoration-color:#38a3e8;text-underline-offset:4px}
.tw-iv-more{margin:36px 0 0;text-align:center}
.tw-iv-more a{color:#a5d8ff!important;border-bottom:1px solid #38a3e8;padding-bottom:4px;font-size:14px;font-weight:700}
.tw-iv+.tw-sec{padding-top:96px}
@media (max-width:767px){
  .tw-iv{margin-top:72px;padding:52px 0 56px}
  .tw .tw-iv h2{font-size:22px}
  .tw-iv-lead{margin-bottom:28px;font-size:13px}
  .tw-iv-feat{grid-template-columns:1fr}
  .tw-iv-tx{padding:20px 22px 24px}
  .tw-iv-feat b{font-size:18px}
  .tw-iv-sub{grid-template-columns:1fr;gap:18px;margin-top:22px!important}
  .tw-iv-sub a{grid-template-columns:120px 1fr;gap:14px}
  .tw-iv-sub b{font-size:14px}
  .tw-iv+.tw-sec{padding-top:72px}
}
/* トップのインタビュー：紺をやめてシャンパンの生成り＋金の箔の線（11/20 10:20 岩元さん「紺になってテイストかわってない？」） */
.tw-iv{background:#eef6fc radial-gradient(90% 120% at 50% -20%,rgba(56,163,232,.26),transparent 60%);color:var(--ink)}
.tw-iv-badge{color:#38a3e8}
.tw .tw-iv h2{color:var(--ink)}
.tw-iv-lead{color:var(--sub)}
.tw-iv-feat{background:#ffffff;border-color:#c9dff2;box-shadow:0 10px 30px rgba(15,59,102,.10)}
.tw-iv-feat::before{border-color:rgba(56,163,232,.45)}
.tw-iv small{color:#0f3b66}
.tw-iv-feat b,.tw-iv-sub b{color:var(--ink)}
.tw-iv-feat i{background:linear-gradient(135deg,#0f3b66,#38a3e8 55%,#0f3b66);color:#1f2a44}
.tw-iv-ph{background:#e1ecf7}
.tw-iv-more a{color:var(--navy)!important}

/* PC：認定マークが小さく、何のサイトか分かりにくい（11/20 10:28 岩元さん）→ 縦書きのコピーの終わり（左下）に、落款のように認定マークを大きめに置く。バランスは崩さない */
@media (min-width:1024px){
  .tw-hero{flex-direction:row-reverse;align-items:flex-end;gap:72px;padding-bottom:90px}
  .tw-sign{position:static;text-align:left;padding-bottom:6px}
  .tw-sign img{width:132px;margin:0 0 18px;opacity:1}
  .tw-sign p{margin:0;font-size:14px;line-height:2;letter-spacing:.14em;color:#1f2a44}
  .tw-sign::before{content:"";display:block;width:1px;height:96px;margin:0 0 22px 66px;background:linear-gradient(180deg,transparent,#38a3e8)}
}
/* コピーはまん中のまま（バランスを崩さない）、認定マークだけ左下に */
@media (min-width:1024px){
  .tw-hero{flex-direction:row;justify-content:center}
  .tw-sign{position:absolute;left:auto;right:calc(50% + 150px);bottom:96px;width:300px}
}
@media (min-width:1024px){.tw-sign{width:auto}.tw-sign p{white-space:nowrap;font-size:13px;letter-spacing:.12em}}

/* 11/20 10:40：j-cat のように、コピーを2つに割ってあいだに認定企業の写真（ゆっくり切り替わる）。スクロールで写真の帯が開き、下のコピーが浮かぶ */
.tw-hero-b{display:block;min-height:0;padding:84px 24px 110px;text-align:center}
.tw-hero-b .tw-copy{display:inline-block;text-align:left}
.tw-hero-b .tw-c1 span{animation-delay:0s}
.tw-band{position:relative;max-width:1080px;margin:64px auto;aspect-ratio:1080/420;overflow:hidden;border-radius:3px;background:#e1ecf7;clip-path:inset(0 0 0 0)}
.tw-band a{position:absolute;inset:0;display:block}
.tw-band img{width:100%;height:100%;object-fit:cover;display:block}
.tw-band span{position:absolute;right:14px;bottom:12px;padding:3px 12px;border-radius:999px;background:rgba(255,253,248,.88);font-size:12px;color:var(--ink);letter-spacing:.04em}
.tw-c2w{position:relative;display:inline-block}
.tw-hero-b .tw-sign{position:static;margin-top:44px}
@media (prefers-reduced-motion:no-preference){
  .tw-band a{opacity:0;animation:twBand 36s infinite;animation-delay:calc(var(--i) * 6s)}
  .tw-band a img{animation:twZoom 36s infinite linear;animation-delay:calc(var(--i) * 6s)}
  .tw-band{clip-path:inset(0 50% 0 50%);transition:clip-path 1.4s cubic-bezier(.6,0,.2,1)}
  .tw-band.in{clip-path:inset(0 0 0 0)}
  .tw-hero-b .tw-c2 span{animation:none;opacity:0;transform:translateY(-10px);transition:opacity 1.4s ease .5s,transform 1.4s ease .5s}
  .tw-c2w.in .tw-c2 span{opacity:1;transform:none}
  .tw-hero-b .tw-sign{animation:none;opacity:0;transition:opacity 1.2s ease 1.4s}
  .tw-c2w.in .tw-sign{opacity:1}
}
@media (prefers-reduced-motion:reduce){.tw-band a+a{display:none}}
@keyframes twBand{0%{opacity:0}3%{opacity:1}16.6%{opacity:1}19.6%{opacity:0}100%{opacity:0}}
@keyframes twZoom{0%{transform:scale(1.06)}20%{transform:scale(1)}100%{transform:scale(1)}}
@media (min-width:1024px){
  .tw-hero-b .tw-sign{position:absolute;left:auto;right:calc(100% + 110px);bottom:0;margin:0;width:auto}
}
@media (max-width:767px){
  .tw-hero-b{padding:52px 0 72px}
  .tw-band{margin:40px 0;aspect-ratio:16/9;border-radius:0}
  .tw-hero-b .tw-sign{display:none} /* 11/20 14:33 岩元さん：スマホは一文なし */
}

/* スマホ：最初の画面に認定マーク（11/20 12:45 岩元さん）。縦書きのコピーの終わり（左下）に落款のように置く。下の段は一文だけにして重ねない */
.tw-c1w{position:relative;display:inline-block}
.tw-seal{display:none}
@media (max-width:1023px){
  .tw-seal{display:block;position:absolute;right:calc(100% + 26px);bottom:-4px;width:76px;height:auto}
  .tw-hero-b .tw-sign img{display:none}
  .tw-hero-b .tw-sign::before{display:none}
}
@media (prefers-reduced-motion:no-preference) and (max-width:1023px){
  .tw-seal{opacity:0;animation:twIn 1.4s ease 1.2s forwards}
}
@media (max-width:1023px){
  .tw-hero-b{position:relative}
  .tw-c1w{display:contents}
  .tw-c1w .tw-seal{position:absolute!important;display:block!important;left:calc(50% - 112px);top:272px;width:62px;max-width:none;margin:0}
}
/* PC もスマホと同じ位置に（11/20 13:09 岩元さん）：最初の画面の「家族にすすめたい」の左下に認定マーク。下の「会社が、ここにある。」の横は一文だけ */
@media (min-width:1024px){
  .tw-hero-b{position:relative}
  .tw-c1w{display:contents}
  .tw-c1w .tw-seal{display:block!important;position:absolute!important;left:calc(50% - 170px);top:430px;width:104px;max-width:none;margin:0;opacity:1;animation:none}
  .tw-hero-b .tw-sign img,.tw-hero-b .tw-sign::before{display:none}
}
@media (min-width:1024px){.tw-c1w .tw-seal{top:392px;left:calc(50% - 196px);width:100px}}
.tw-band a[hidden]{display:none}

/* 一文はPCのロゴの下へ移したので、トップのコピーの下には出さない（11/20 14:40 岩元さん） */
.tw-hero-b .tw-sign{display:none!important}

/* PC（11/20 14:45 岩元さん）：j-cat の大きさに。右に縦書きのコピー（いまと同じ・字は小さく）、左に写真を大きすぎずに。認定マークは「家族にすすめたい」の下に浮かぶ */
@media (min-width:1024px){
  .tw-hero-b{display:grid;grid-template-columns:minmax(0,476px) auto auto;grid-template-areas:"band c2 c1";justify-content:center;align-items:start;padding:100px 40px 110px;min-height:0;text-align:left}
  .tw-hero-b .tw-band{grid-area:band;align-self:end;width:100%;max-width:none;margin:0 0 26px;aspect-ratio:16/9} /* 15:19 一回り小さく・下の端を「ここにあります。」の終わりにそろえる */
  .tw-hero-b .tw-c2w{grid-area:c2;margin-left:110px}
  .tw-hero-b .tw-c1w{display:block!important;grid-area:c1;position:relative;margin-left:14px}
  .tw-hero-b .tw-copy{font-size:32px;letter-spacing:.24em;line-height:1.9}
  .tw-hero-b .tw-c1w .tw-seal{position:absolute!important;top:calc(100% + 30px)!important;left:calc(50% - 40px)!important;width:80px!important;opacity:1}
}
@media (min-width:1024px) and (prefers-reduced-motion:no-preference){
  .tw-hero-b .tw-c1w .tw-seal{opacity:0;animation:twIn 1.4s ease 1.3s forwards!important}
}

/* PC：コピーと写真の下の「考え」の文を上へ（11/20 14:57 岩元さん） */
@media (min-width:1024px){
  .tw-hero-b{padding-bottom:30px}
  .tw-hero-b ~ .tw-words{padding-top:20px}
}

/* 「考え」の3行の行間をつめる。まん中の「仕事と人生を、」の位置はそのまま（11/20 15:25 岩元さん） */
.tw-words p:not(.tw-small){margin:0;line-height:1.9}
.tw-words p:first-child{margin-top:20px}
.tw-words p:nth-child(3){margin-bottom:20px}

/* 新しく認定を受けた会社の下の案内（/special の終わりと同じ・11/20 15:44 岩元さん） */
.tw-ctas{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin:40px 0 0}
.tw-btn{display:inline-block;padding:14px 36px;border-radius:999px;background:#0f3b66;color:#fff !important;font-size:16px;font-weight:700;text-decoration:none}
.tw-btn:hover{background:#2c4568;opacity:1}
.tw-btn-o{background:#eef6fc;color:#0f3b66 !important;border:1px solid #c9dff2}
.tw-btn-o:hover{background:#e1ecf7}
.tw-biz{margin:22px 0 0;text-align:center}
.tw-biz a{font-size:13px;color:var(--sub) !important;text-decoration:underline !important;text-underline-offset:3px}
@media (max-width:767px){.tw-ctas{flex-direction:column;gap:12px}.tw-btn{width:100%;text-align:center}}

/* トップのインタビュー：もっと目立つように（11/20 18:50 岩元翔さん）。ソビポーの虹色のやわらかい面・上下に虹色の線・紺の見出しを大きく */
.tw-iv{background:linear-gradient(120deg,#dcecff 0%,#e9e4ff 55%,#fde6f3 100%);position:relative;padding:88px 0 92px}
.tw-iv::before,.tw-iv::after{content:"";position:absolute;left:0;right:0;height:4px;background:linear-gradient(90deg,#a5d8ff,#bfdbfe 40%,#c4b5fd 75%,#f5c2e7)}
.tw-iv::before{top:0}.tw-iv::after{bottom:0}
.tw-iv-badge{color:#0f3b66!important;font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif!important;font-weight:700;font-size:13px!important;letter-spacing:.34em!important}
.tw .tw-iv h2{color:#0f3b66;font-size:32px;font-weight:600}
.tw-iv-lead{color:#3d5577}
.tw-iv-feat{border-color:#c9dff2;background:#fff linear-gradient(90deg,#a5d8ff,#bfdbfe 40%,#c4b5fd 75%,#f5c2e7) top/100% 4px no-repeat;box-shadow:0 20px 50px rgba(15,59,102,.16)}
.tw-iv-feat b{color:#0f3b66}
.tw-iv-feat i{background:linear-gradient(135deg,#0f3b66,#1d6fb8);color:#fff}
.tw-iv small{color:#1d6fb8}
.tw-iv-more a{border-bottom-color:#0f3b66}
@media (max-width:767px){.tw-iv{padding:56px 0 60px}.tw .tw-iv h2{font-size:24px}}
/* 11/20 19:07：紫をやめる。面はうすい青の1色、上下の線は水色の1色（虹色はヘッダーの下だけ） */
.tw-iv{background:#e6f1fb}
.tw-iv::before,.tw-iv::after{background:#38a3e8;height:3px}
.tw-iv-feat{background:#fff linear-gradient(90deg,#38a3e8,#38a3e8) top/100% 3px no-repeat}
/* 11/20 19:23：横棒はソビポーのヘッダーと同じ虹色（面は1色のまま） */
.tw-iv::before,.tw-iv::after{background:linear-gradient(90deg,#a5d8ff,#bfdbfe 40%,#c4b5fd 75%,#f5c2e7)}
.tw-iv-feat{background:#fff linear-gradient(90deg,#a5d8ff,#bfdbfe 40%,#c4b5fd 75%,#f5c2e7) top/100% 3px no-repeat}
.tw-iv-badge::before,.tw-iv-badge::after{width:44px;height:2px;background:linear-gradient(90deg,#a5d8ff,#bfdbfe 40%,#c4b5fd 75%,#f5c2e7)}

/* インタビューをもっと特別に（11/20 19:29 岩元翔さん）：カードの縁を虹色の細い枠に・写真に PREMIUM の札・写真を大きく・抜き出しの文・さわると光が流れる */
.tw-iv-feat{grid-template-columns:1.55fr 1fr;border:2px solid transparent;border-radius:16px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#a5d8ff,#bfdbfe 40%,#c4b5fd 75%,#f5c2e7) border-box;box-shadow:0 24px 60px rgba(15,59,102,.18);overflow:hidden}
.tw-iv-feat::before{display:none}
.tw-iv-feat .tw-iv-ph{position:relative;aspect-ratio:16/10}
.tw-iv-feat .tw-iv-ph::after{content:"PREMIUM";position:absolute;left:16px;top:16px;padding:5px 14px 4px;border-radius:999px;background:#0f3b66;color:#fff;font-size:11px;font-weight:700;letter-spacing:.24em;box-shadow:0 4px 14px rgba(15,59,102,.3)}
.tw-iv-tx{padding:36px 40px}
.tw-iv-feat b{font-size:25px}
.tw-iv-ex{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:14px;font-style:normal;font-size:13px;line-height:1.95;color:#3d5577}
.tw-iv-feat::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-12deg);pointer-events:none}
@media (prefers-reduced-motion:no-preference){.tw-iv-feat:hover::after{transition:left .9s ease;left:120%}}
.tw-iv-feat:hover{transform:translateY(-3px);transition:transform .3s}
.tw-iv-sub a{padding:12px;border:1.5px solid transparent;border-radius:14px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#a5d8ff,#bfdbfe 40%,#c4b5fd 75%,#f5c2e7) border-box;box-shadow:0 12px 30px rgba(15,59,102,.10)}
.tw-iv-sub a:hover{transform:translateY(-2px);transition:transform .3s}
.tw-iv-sub b{color:#0f3b66;font-weight:600}
@media (max-width:767px){.tw-iv-feat{grid-template-columns:1fr}.tw-iv-tx{padding:22px 22px 26px}.tw-iv-feat b{font-size:19px}.tw-iv-sub a{grid-template-columns:110px 1fr}}

/* スマホ：「会社が、ここにあります。」も最初の画面に（11/20 20:23 岩元翔さん）。PC と同じく2行の縦書きを並べ、写真の帯はその下 */
@media (max-width:1023px){
  .tw-hero-b{display:grid;grid-template-columns:auto auto;grid-template-areas:"c2 c1" "band band";justify-content:center;align-items:start;padding:40px 0 56px;text-align:left}
  .tw-hero-b .tw-c2w{grid-area:c2;display:block}
  .tw-hero-b .tw-c1w{display:block!important;grid-area:c1;position:relative;margin-left:22px}
  .tw-hero-b .tw-band{grid-area:band;margin:40px 0 0;width:100vw}
  .tw-hero-b .tw-copy{font-size:30px;letter-spacing:.2em;line-height:1.8}
  .tw-hero-b .tw-c1w .tw-seal{position:absolute!important;top:calc(100% + 22px)!important;left:calc(50% - 31px)!important;width:62px!important}
}
/* 21:07 岩元さん「キャッチは並べて・ロゴは右」：2行をまん中に寄せて並べ、認定マークは右の行のさらに右下 */
@media (max-width:1023px){
  .tw-hero-b{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:0}
  .tw-hero-b .tw-c2w{order:1}
  .tw-hero-b .tw-c1w{order:2;margin-left:18px}
  .tw-hero-b .tw-band{order:3;flex:0 0 100%;width:100%}
  .tw-hero-b .tw-c1w .tw-seal{top:auto!important;bottom:0!important;left:calc(100% + 14px)!important;width:58px!important}
}
/* 21:11 岩元さん「ロゴは左」：認定マークは2行の左（下にそろえる） */
@media (max-width:1023px){
  .tw-hero-b .tw-c1w{display:contents!important}
  .tw-hero-b .tw-c1w .tw-seal{position:static!important;order:0;align-self:flex-end;margin:0 14px 4px 0;width:58px!important}
  .tw-hero-b .tw-c1w .tw-copy{order:2;margin-left:18px}
}
/* 21:25 直し：flex だと縦書きの行が1行ぶんの幅を取ってしまう → 両わきを 1fr にした格子で、まん中に「マーク・2行目・1行目」を並べる */
@media (max-width:1023px){
  .tw-hero-b{display:grid!important;grid-template-columns:1fr auto auto auto 1fr;grid-template-areas:". seal c2 c1 ." "band band band band band";align-items:end}
  .tw-hero-b .tw-c1w{display:contents!important}
  .tw-hero-b .tw-c1w .tw-seal{grid-area:seal;position:static!important;align-self:end;margin:0 14px 6px 0;width:58px!important}
  .tw-hero-b .tw-c2w{grid-area:c2;align-self:start}
  .tw-hero-b .tw-c1w .tw-copy{grid-area:c1;align-self:start;margin-left:18px}
  .tw-hero-b .tw-band{grid-area:band;width:100%;margin:40px 0 0}
}
/* 21:35：縦書きの行は幅が決まらず 0 になることがある → 列の幅を決めておく（字 30px・行の高さ 1.8 ≒ 54px） */
@media (max-width:1023px){
  .tw-hero-b{grid-template-columns:1fr 76px 58px 76px 1fr!important}
  .tw-hero-b .tw-c2w,.tw-hero-b .tw-c1w .tw-copy{width:58px;justify-self:center}
  .tw-hero-b .tw-c1w .tw-copy{margin-left:0}
  .tw-hero-b .tw-c1w .tw-seal{justify-self:end}
}
/* 22:45 岩元さん「文字をセンターにして左にロゴ」：2行をちょうどまん中に（右にもマークと同じ幅の空きを置く）。マークは左 */
@media (max-width:1023px){
  .tw-hero-b{grid-template-columns:1fr 72px 62px 62px 72px 1fr!important;grid-template-areas:". seal c2 c1 . ." "band band band band band band"!important;padding-top:48px}
  .tw-hero-b .tw-c2w,.tw-hero-b .tw-c1w .tw-copy{width:62px}
}

/* 11/21 02:56 岩元さん：スマホは「家族にすすめたい会社が、／ここにあります。」で改行。「ここにあります。」を画面のまん中に、1行目はその右、マークは左 */
.tw-copy i{font-style:normal}
.tw-onsp{display:none}
@media (max-width:1023px){
  .tw-onsp{display:inline}
  .tw-onpc{display:none}
  .tw-hero-b{grid-template-columns:1fr 62px 1fr!important;grid-template-areas:"seal c2 c1" "band band band"!important}
  .tw-hero-b .tw-c1w .tw-seal{justify-self:end;margin:0 16px 6px 0}
  .tw-hero-b .tw-c1w .tw-copy{justify-self:start;margin-left:14px}
}
@media (max-width:1023px){.tw-hero-b .tw-c1w .tw-copy{margin-left:2px}}
