/* =========================================================================
   銀河 — Design D  "RECRUIT-SITE style" — FLAT / COLOR-BLOCKED rebuild
   Modeled on toiro recruit site: crisp section color-blocking, big simple
   headings, NO shadows, NO bordered "boxes" — flat planar surfaces.
   GINGA brand colors + Noto Sans JP only.
   ========================================================================= */

.d{
  --d1:#5BC2D9; --d2:#64C0AB; --d3:#7B9FD3; --d4:#F2C14E;
  --tintA:#e9f6f9;   /* turquoise band  */
  --tintB:#eaf6f1;   /* emerald band    */
  --tintC:#eef3fb;   /* blue band       */
  --ink:#2b3338; --ink-strong:#1f282d; --sub:#5a666d;
  font-family:var(--font);color:var(--ink);
}
.d .container{max-width:1120px;}
.d *{box-shadow:none !important;}            /* hard flat rule */

/* flat buttons */
.d .btn{box-shadow:none;border-radius:6px;font-weight:800;}
.d .btn-primary{background:var(--turq);} .d .btn-primary:hover{background:var(--turq-d);transform:none;}
.d .btn-white{background:#fff;color:var(--turq-dd);} .d .btn-white:hover{transform:none;}
.d .btn-ghost{box-shadow:inset 0 0 0 2px var(--turq) !important;} 
.d .btn-emerald{background:var(--emerald);}

/* flat header */
.d .site-header{background:#fff;border-bottom:1px solid #e3eaed;backdrop-filter:none;}

/* ---------- big simple bilingual section header ---------- */
.d-head{text-align:center;margin-bottom:50px;}
.d-head .d-vert{display:none;}
.d-head .d-en{display:block;font-family:"Century Gothic","Trebuchet MS",Verdana,sans-serif;
  font-weight:800;font-size:14px;letter-spacing:.26em;text-transform:uppercase;color:var(--turq-dd);}
.d-head .d-jp{font-size:clamp(28px,4vw,46px);font-weight:900;color:var(--ink-strong);
  margin-top:10px;line-height:1.3;letter-spacing:.01em;}
.d-head .d-lead{margin:18px auto 0;max-width:680px;color:var(--sub);font-size:15px;line-height:2;font-weight:500;}
.d-head.left{text-align:left;}
.d-dots{display:flex;gap:8px;justify-content:center;margin-top:18px;}
.d-head.left .d-dots{justify-content:flex-start;}
.d-dots i{width:11px;height:11px;border-radius:50%;display:block;}
.d-dots i:nth-child(1){background:var(--d1);}
.d-dots i:nth-child(2){background:var(--d2);}
.d-dots i:nth-child(3){background:var(--d3);}
.d-dots i:nth-child(4){background:var(--d4);}

/* ---------- flat More button ---------- */
.d-more{display:inline-flex;align-items:center;gap:12px;font-weight:800;font-size:14px;
  color:var(--ink-strong);border:2px solid var(--ink-strong);border-radius:999px;
  padding:13px 28px;transition:.15s;background:transparent;}
.d-more::after{content:"→";font-weight:900;color:var(--turq-dd);}
.d-more:hover{background:var(--ink-strong);color:#fff;}
.d-more:hover::after{color:#fff;}

/* ---------- HERO (MV) ---------- */
.d-hero{position:relative;min-height:560px;display:flex;align-items:flex-end;overflow:hidden;background:#0e3038;}
.d-hero-bg{position:absolute;inset:0;}
.d-hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 30%;}
.d-hero-bg::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(14,48,56,.10) 0%,rgba(14,48,56,0) 38%,rgba(14,48,56,.58) 100%),
            linear-gradient(95deg,rgba(14,48,56,.34),transparent 55%);}
.d-hero-inner{position:relative;z-index:2;width:100%;padding:0 0 56px;}
.d-hero-eyebrow{display:inline-block;background:#fff;color:var(--turq-dd);font-weight:800;font-size:13px;
  padding:8px 18px;border-radius:999px;margin-bottom:18px;}
.d-hero-title{color:#fff;font-size:clamp(30px,5vw,56px);font-weight:900;line-height:1.4;}
.d-hero-sub{color:#eef6f8;margin-top:18px;font-size:clamp(14px,1.5vw,17px);line-height:1.9;max-width:620px;font-weight:500;}
.d-hero-cta{display:flex;gap:14px;margin-top:30px;flex-wrap:wrap;}
.d-hero .multi-bar{position:absolute;left:0;right:0;bottom:0;height:8px;z-index:3;display:flex;}
.d-hero .multi-bar span{flex:1;}
.d-hero .multi-bar span:nth-child(1){background:var(--d1);}
.d-hero .multi-bar span:nth-child(2){background:var(--d2);}
.d-hero .multi-bar span:nth-child(3){background:var(--d3);}
.d-hero .multi-bar span:nth-child(4){background:var(--d4);}
@media(max-width:760px){ .d-hero{min-height:440px;} .d-hero-inner{padding-bottom:42px;} }

/* =======================================================================
   SECTION COLOR-BLOCKS (crisp flat boundaries)
   about #fff · banners #fff · work tintA · oneday #fff · support tintB
   · flow #fff · facility tintC · group dark · cta turquoise
   ======================================================================= */
.d-about{background:#fff;}
.d-banners-sec{background:#fff;padding-top:0;}
.d-work{background:var(--tintA);}
.d-day{background:#fff;}
.d-support{background:var(--tintB);}
.d-flow{background:#fff;}
.d-fac{background:var(--tintC);}

/* ---------- About ---------- */
.d-about-intro{text-align:center;max-width:760px;margin:0 auto 42px;color:var(--sub);
  font-size:15.5px;line-height:2.1;font-weight:500;}
.d-about-intro b{color:var(--turq-dd);font-weight:800;}
.d-sublinks{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-bottom:46px;
  border:1px solid #dbe6ea;border-radius:0;overflow:hidden;}
.d-sublink{display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:#fff;padding:24px 26px;transition:.15s;border-right:1px solid #dbe6ea;}
.d-sublink:last-child{border-right:none;}
.d-sublink:hover{background:var(--tintA);}
.d-sublink .t{display:flex;flex-direction:column;gap:4px;}
.d-sublink .t b{font-size:18px;font-weight:900;color:var(--ink-strong);}
.d-sublink .t span{font-family:"Century Gothic","Trebuchet MS",sans-serif;font-size:12px;color:var(--muted);font-weight:700;letter-spacing:.08em;}
.d-sublink .ar{width:32px;height:32px;border-radius:50%;background:var(--turq);flex:none;
  display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;}
.d-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:0;}
.d-photos img{width:100%;height:240px;object-fit:cover;display:block;}
@media(max-width:760px){ .d-sublinks{grid-template-columns:1fr;}
  .d-sublink{border-right:none;border-bottom:1px solid #dbe6ea;}
  .d-photos{grid-template-columns:1fr;} .d-photos img{height:220px;} }

/* ---------- banners (flat solid color blocks) ---------- */
.d-banners{display:grid;grid-template-columns:repeat(4,1fr);gap:0;}
.d-banner{padding:26px 22px;color:#fff;min-height:140px;display:flex;flex-direction:column;justify-content:center;}
.d-banner:nth-child(1){background:var(--d1);}
.d-banner:nth-child(2){background:var(--d2);}
.d-banner:nth-child(3){background:var(--d3);}
.d-banner:nth-child(4){background:var(--ink-strong);}
.d-banner .bn-ico{width:38px;height:38px;margin-bottom:10px;}
.d-banner .bn-ico img{width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1);}
.d-banner b{font-size:19px;font-weight:900;line-height:1.4;}
.d-banner span{font-size:12.5px;opacity:.94;margin-top:5px;font-weight:600;}
.d-banner .big{font-size:36px;font-weight:900;line-height:1;}
.d-banner .big i{font-size:.48em;font-style:normal;}
@media(max-width:860px){ .d-banners{grid-template-columns:1fr 1fr;} }

/* ---------- Work (flat: photo + text, no card box) ---------- */
.d-work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 28px;}
.d-work-card{background:transparent;}
.d-work-card .wph{height:200px;overflow:hidden;position:relative;}
.d-work-card .wph img{width:100%;height:100%;object-fit:cover;display:block;transition:.5s;}
.d-work-card:hover .wph img{transform:scale(1.05);}
.d-work-card .wph .tag{position:absolute;left:0;bottom:0;background:#fff;color:var(--turq-dd);
  font-weight:800;font-size:12px;padding:6px 14px;font-family:"Century Gothic","Trebuchet MS",sans-serif;letter-spacing:.04em;}
.d-work-card .wb{padding:16px 2px 0;}
.d-work-card .wb h3{font-size:18px;font-weight:900;color:var(--ink-strong);margin-bottom:8px;}
.d-work-card .wb p{font-size:13.5px;color:var(--sub);font-weight:500;line-height:1.9;}
@media(max-width:860px){ .d-work-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:560px){ .d-work-grid{grid-template-columns:1fr;} }

/* ---------- One Day timeline (flat) ---------- */
.d-day-list{max-width:840px;margin:0 auto;display:flex;flex-direction:column;}
.d-day-item{display:grid;grid-template-columns:96px 1fr;gap:24px;position:relative;padding-bottom:28px;}
.d-day-item:not(:last-child)::before{content:"";position:absolute;left:47px;top:50px;bottom:-2px;width:2px;background:#c9e4ec;}
.d-day-time .clock{width:50px;height:50px;border-radius:50%;background:var(--turq);
  display:flex;align-items:center;justify-content:center;font-weight:900;color:#fff;font-size:13px;z-index:1;position:relative;margin:0 auto;}
.d-day-body{background:var(--tintA);padding:18px 22px;display:flex;gap:18px;align-items:center;}
.d-day-body .dph{width:130px;height:90px;object-fit:cover;flex:none;display:block;}
.d-day-body .dtxt h4{font-size:16.5px;font-weight:900;color:var(--ink-strong);margin-bottom:5px;}
.d-day-body .dtxt p{font-size:13px;color:var(--sub);font-weight:500;line-height:1.85;}
@media(max-width:680px){
  .d-day-item{grid-template-columns:50px 1fr;gap:14px;}
  .d-day-item:not(:last-child)::before{left:24px;}
  .d-day-body{flex-direction:column;align-items:stretch;}
  .d-day-body .dph{width:100%;height:150px;}
}

/* ---------- Support (flat) ---------- */
.d-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.d-support-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;}
.d-support h3.h-md{color:var(--ink-strong);}
.d-rulecard{background:#fff;padding:26px 28px;margin-top:20px;}
.d-rulecard .rh{display:flex;align-items:center;gap:10px;font-weight:900;color:var(--ink-strong);font-size:16px;margin-bottom:14px;}
.d-rulecard .rh .tg{background:var(--turq);color:#fff;font-size:11px;padding:4px 12px;border-radius:999px;font-weight:800;}
.d-rule{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid #e7eef0;}
.d-rule:first-of-type{border-top:none;}
.d-rule .ck{width:24px;height:24px;border-radius:50%;background:var(--emerald);color:#fff;flex:none;
  display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;margin-top:2px;}
.d-rule p{font-size:14px;color:var(--ink);font-weight:500;}
.d-rule p b{color:var(--turq-dd);}
@media(max-width:820px){ .d-support-grid{grid-template-columns:1fr;gap:28px;} }

/* ---------- Flow (flat numbered steps) ---------- */
.d-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:0;border:1px solid #e0e9ec;}
.d-step{background:#fff;padding:34px 16px 24px;text-align:center;position:relative;border-right:1px solid #e0e9ec;}
.d-step:last-child{border-right:none;}
.d-step .num{position:absolute;top:14px;left:16px;font-family:"Century Gothic","Trebuchet MS",sans-serif;
  font-weight:800;font-size:13px;color:var(--turq);}
.d-step .sico{width:66px;height:66px;border-radius:50%;margin:6px auto 14px;background:var(--tintA);
  display:flex;align-items:center;justify-content:center;}
.d-step .sico img{width:32px;height:32px;}
.d-step h4{font-size:15px;font-weight:900;color:var(--ink-strong);margin-bottom:6px;}
.d-step p{font-size:12px;color:var(--sub);font-weight:500;line-height:1.7;}
.d-step:not(:last-child)::after{content:"";position:absolute;right:-7px;top:50%;transform:translateY(-50%) rotate(45deg);
  width:12px;height:12px;background:#fff;border-top:1px solid #e0e9ec;border-right:1px solid #e0e9ec;z-index:2;}
@media(max-width:900px){ .d-steps{grid-template-columns:1fr 1fr;}
  .d-step{border-bottom:1px solid #e0e9ec;}
  .d-step:not(:last-child)::after{display:none;} }
@media(max-width:520px){ .d-steps{grid-template-columns:1fr;} }

/* ---------- Facility (flat) ---------- */
.d-fac-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start;}
.d-fac-list{display:flex;flex-direction:column;}
.d-fac-card{display:flex;gap:14px;align-items:center;background:#fff;padding:14px;
  border-bottom:1px solid #dde7ea;transition:.15s;}
.d-fac-card:first-child{border-top:1px solid #dde7ea;}
.d-fac-card:hover{background:#f3f9fb;}
.d-fac-card img.th{width:92px;height:70px;object-fit:cover;flex:none;display:block;}
.d-fac-card .ic{width:92px;height:70px;background:var(--tintA);display:flex;align-items:center;justify-content:center;flex:none;}
.d-fac-card .ic img{width:36px;height:36px;}
.d-fac-card .fi{flex:1;min-width:0;}
.d-fac-card .fi .ar{font-size:12px;font-weight:800;color:var(--turq-dd);}
.d-fac-card .fi h4{font-size:16px;font-weight:900;color:var(--ink-strong);margin:2px 0 3px;}
.d-fac-card .fi p{font-size:12px;color:var(--sub);}
.d-fac-card .mr{color:var(--turq-dd);font-weight:800;font-size:18px;flex:none;}
.d-fac .map-ph{height:100%;min-height:340px;border:none;border-radius:0;background:
  radial-gradient(circle at 30% 30%, #e3f2f6 0, #d6ebf1 100%);}
@media(max-width:820px){ .d-fac-grid{grid-template-columns:1fr;} .d-fac .map-ph{min-height:240px;} }

/* ---------- Group (flat dark block) ---------- */
.d-group{background:var(--ink-strong);color:#fff;padding:50px 52px;display:grid;
  grid-template-columns:1fr 1fr;gap:38px;align-items:center;}
.d-group .gl .ge{font-family:"Century Gothic","Trebuchet MS",sans-serif;font-size:13px;letter-spacing:.22em;color:#9fd7e3;font-weight:700;}
.d-group .gl h3{font-size:26px;font-weight:900;margin:12px 0 16px;}
.d-group .gl p{font-size:14px;line-height:2;color:#d4dde2;font-weight:500;}
.d-group .gr{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid rgba(255,255,255,.18);}
.d-group .gr .gstat{padding:20px;text-align:center;border-right:1px solid rgba(255,255,255,.18);border-bottom:1px solid rgba(255,255,255,.18);}
.d-group .gr .gstat:nth-child(2n){border-right:none;}
.d-group .gr .gstat:nth-child(n+3){border-bottom:none;}
.d-group .gr .gstat b{display:block;font-size:30px;font-weight:900;color:#fff;line-height:1;}
.d-group .gr .gstat b i{font-size:.5em;font-style:normal;}
.d-group .gr .gstat span{font-size:12px;color:#bcd6dd;margin-top:6px;display:block;font-weight:600;}
.d-group .d-more{border-color:#fff;color:#fff;}
.d-group .d-more::after{color:#9fd7e3;}
.d-group .d-more:hover{background:#fff;color:var(--ink-strong);}
@media(max-width:820px){ .d-group{grid-template-columns:1fr;gap:26px;padding:34px 26px;} }

/* ---------- CTA (flat solid turquoise) ---------- */
.d-cta{text-align:center;color:#fff;background:var(--turq);}
.d-cta-inner{max-width:720px;margin:0 auto;}
.d-cta .d-en{color:rgba(255,255,255,.55);}
.d-cta h2{font-size:clamp(24px,3.4vw,38px);font-weight:900;line-height:1.5;margin-top:8px;}
.d-cta p{margin:18px auto 0;max-width:560px;font-size:15px;line-height:2;opacity:.97;}
.d-cta-btns{display:flex;gap:16px;justify-content:center;margin-top:32px;flex-wrap:wrap;}
.d-cta-contact{display:flex;gap:26px;justify-content:center;margin-top:30px;flex-wrap:wrap;}
.d-cta-contact a{display:flex;align-items:center;gap:10px;font-weight:800;font-size:17px;color:#fff;}
.d-cta-contact a .ci{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.24);display:flex;align-items:center;justify-content:center;}
.d-cta-contact a .ci img{width:20px;height:20px;filter:brightness(0) invert(1);}
.d-cta .btn-ghost{box-shadow:inset 0 0 0 2px rgba(255,255,255,.8) !important;}

/* flat footer */
.d .site-footer{background:var(--ink-strong);}

/* mobile nav */
.d .mnav{display:none;position:fixed;inset:0;z-index:100;background:#fff;padding:90px 28px 40px;}
.d .mnav.open{display:block;}
.d .mnav a{display:block;font-size:19px;font-weight:800;color:var(--ink);padding:17px 0;border-bottom:1px solid #e3eaed;}
.d .mnav .btn{margin-top:24px;}
.d .mnav .x{position:absolute;top:24px;right:24px;font-size:30px;background:none;border:none;color:var(--ink);cursor:pointer;}
