@charset "UTF-8";

:root{
  --green:#004d3a;
  --green-deep:#003c2f;
  --ink:#1f2422;
  --paper:#ffffff;
  --soft:#f6f6f2;
  --line:#cfcfc7;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:"Noto Sans JP","Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
  line-height:1.8;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
.wrap{width:min(1180px,calc(100% - 48px));margin:auto}
.section{padding:58px 0}
.alt{background:var(--soft)}

.site-header{
  background:var(--green);
  color:#fff;
  position:sticky;
  top:0;
  z-index:20;
}
.header-inner{
  width:min(1320px,calc(100% - 48px));
  min-height:78px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.brand{
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:27px;
  font-weight:700;
  letter-spacing:.04em;
}
.global-nav{display:flex;gap:34px;font-weight:700;font-size:15px}
.global-nav a{padding:8px 0;white-space:nowrap}

.hero{
  position:relative;
  min-height:520px;
  overflow:hidden;
  background:#111;
}
.hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
  filter:brightness(.86) contrast(.98) saturate(.95);
}
.hero-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.74) 0%,rgba(0,0,0,.54) 29%,rgba(0,0,0,.10) 61%,rgba(0,0,0,.05) 100%);
}
.hero-copy{
  position:relative;
  z-index:2;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#fff;
}
.hero h1{
  margin:0 0 24px;
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:clamp(38px,4.2vw,64px);
  line-height:1.52;
  letter-spacing:.04em;
  font-weight:600;
}
.hero p{margin:0;font-size:17px;line-height:2}

.intro-grid{
  display:grid;
  grid-template-columns:1.02fr 1.3fr;
  gap:54px;
  align-items:center;
}
.intro-copy h2{
  margin:0 0 26px;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:34px;
  line-height:1.45;
}
.intro-copy h2 span{font-size:.88em}
.intro-copy p{font-size:15px;margin:0 0 16px}

.photo-slices{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  height:300px;
  transform:skewX(-9deg);
  overflow:hidden;
}
.photo-slices figure{
  margin:0;
  overflow:hidden;
  background:#222;
}
.photo-slices img{
  width:125%;
  height:100%;
  object-fit:cover;
  transform:skewX(9deg) scale(1.10);
  margin-left:-12%;
  filter:brightness(.92) contrast(.96) saturate(.92);
}
.photo-slices figure:nth-child(1) img{object-position:52% 50%}
.photo-slices figure:nth-child(2) img{object-position:48% 50%}
.photo-slices figure:nth-child(3) img{object-position:52% 55%}
.photo-slices figure:nth-child(4) img{object-position:48% 48%}

.section-title{
  text-align:center;
  margin:0 0 34px;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:34px;
}
.section-title:before,.section-title:after{content:"—";margin:0 18px;font-weight:400}

.strength-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}
.strength-grid article{
  padding:8px 34px;
  text-align:center;
}
.strength-grid article+article{border-left:1px solid var(--line)}
.strength-grid h3{
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:23px;
  margin:0 0 14px;
}
.strength-grid p{font-size:14px;margin:0;line-height:2}

.flow{padding-top:38px;padding-bottom:46px}
.flow-title{
  text-align:center;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  margin:0 0 26px;
  font-size:26px;
}
.flow-title small{font-size:17px;font-weight:600}
.flow-row{
  display:grid;
  grid-template-columns:repeat(15,auto);
  align-items:center;
  justify-content:center;
  gap:8px;
}
.flow-row i{font-style:normal;color:var(--green);font-size:24px;font-weight:700}
.step{
  min-width:118px;
  padding:15px 9px 13px;
  border:1px solid #9fb5aa;
  border-radius:8px;
  text-align:center;
  background:#fff;
}
.step b{display:block;color:var(--green);font-size:14px;margin-bottom:8px}
.step span{font-size:11px;line-height:1.55}

.access{
  background:linear-gradient(90deg,var(--green-deep),#005844);
  color:#fff;
  padding:34px 0;
}
.access-grid{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:42px;
  align-items:stretch;
}
.access-info h2{
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  font-size:31px;
  margin:0 0 14px;
  font-weight:500;
  border-bottom:1px solid rgba(255,255,255,.7);
  width:max-content;
}
.access-info h3{font-size:19px;margin:0 0 13px}
.access-info dl{margin:0}
.access-info dl div{display:grid;grid-template-columns:58px 1fr;gap:10px;margin:8px 0}
.access-info dt{font-weight:700}
.access-info dd{margin:0}
.google-map{
  min-height:220px;
  overflow:hidden;
  border:6px solid rgba(255,255,255,.18);
  background:#edf2ef;
}
.google-map iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:220px;
  border:0;
}
.nowrap{white-space:nowrap}
.address-row dd{
  display:flex;
  flex-direction:column;
  gap:1px;
}
.address-text{
  display:block;
  line-height:1.75;
}

.site-footer{
  background:#003126;
  color:#fff;
  text-align:center;
  padding:18px;
  font-size:12px;
}

@media (max-width:980px){
  .header-inner{align-items:flex-start;padding:18px 0;flex-direction:column}
  .global-nav{flex-wrap:wrap;gap:10px 22px}
  .hero,.hero-copy{min-height:480px}
  .intro-grid{grid-template-columns:1fr}
  .photo-slices{height:280px}
  .strength-grid{grid-template-columns:1fr}
  .strength-grid article{padding:25px 0}
  .strength-grid article+article{border-left:0;border-top:1px solid var(--line)}
  .flow-row{display:flex;overflow-x:auto;justify-content:flex-start;padding-bottom:12px}
  .step{flex:0 0 128px}
  .access-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .wrap{width:min(100% - 28px,1180px)}
  .header-inner{width:min(100% - 28px,1320px)}
  .brand{font-size:22px}
  .global-nav{font-size:13px}
  .hero,.hero-copy{min-height:440px}
  .hero-image{object-position:61% 50%}
  .hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.42))}
  .hero h1{font-size:34px}
  .hero p{font-size:14px}
  .section{padding:44px 0}
  .intro-copy h2,.section-title{font-size:28px}
  .photo-slices{height:200px;gap:5px}
  .flow-title small{display:block;margin-top:6px}
}


/* ===== Smartphone optimization ===== */
.nav-toggle,
.nav-button{display:none}

@media (max-width:640px){
  body{font-size:15px}
  .site-header{position:sticky;top:0}
  .header-inner{
    min-height:66px;
    padding:0;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    position:relative;
  }
  .brand{
    font-size:20px;
    line-height:1.2;
    white-space:nowrap;
    letter-spacing:.02em;
  }

  .nav-toggle{
    position:absolute;
    opacity:0;
    pointer-events:none;
  }
  .nav-button{
    display:flex;
    width:42px;
    height:42px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    cursor:pointer;
    border:1px solid rgba(255,255,255,.45);
    border-radius:8px;
  }
  .nav-button span{
    width:20px;
    height:2px;
    background:#fff;
    display:block;
    transition:.2s ease;
  }

  .global-nav{
    position:absolute;
    top:66px;
    left:-14px;
    right:-14px;
    padding:8px 14px 18px;
    background:var(--green);
    display:none;
    flex-direction:column;
    gap:0;
    border-top:1px solid rgba(255,255,255,.16);
    box-shadow:0 12px 24px rgba(0,0,0,.12);
  }
  .global-nav a{
    display:block;
    padding:13px 4px;
    font-size:15px;
    border-bottom:1px solid rgba(255,255,255,.16);
  }
  .global-nav a:last-child{border-bottom:0}
  .nav-toggle:checked ~ .global-nav{display:flex}
  .nav-toggle:checked + .nav-button span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-toggle:checked + .nav-button span:nth-child(2){opacity:0}
  .nav-toggle:checked + .nav-button span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  .hero,
  .hero-copy{min-height:510px}
  .hero-image{
    object-position:64% 50%;
    filter:brightness(.82) contrast(.96) saturate(.92);
  }
  .hero-shade{
    background:linear-gradient(90deg,rgba(0,0,0,.74) 0%,rgba(0,0,0,.48) 60%,rgba(0,0,0,.20) 100%);
  }
  .hero-copy{
    justify-content:flex-end;
    padding-bottom:58px;
  }
  .hero h1{
    font-size:clamp(31px,10vw,42px);
    line-height:1.48;
    margin-bottom:20px;
    max-width:9.5em;
  }
  .hero p{
    font-size:14px;
    line-height:1.9;
    max-width:24em;
  }

  .section{padding:42px 0}
  .intro-grid{gap:28px}
  .intro-copy h2{
    font-size:28px;
    line-height:1.45;
    margin-bottom:20px;
  }
  .intro-copy p{
    font-size:14px;
    line-height:1.95;
  }

  .photo-slices{
    transform:none;
    grid-template-columns:repeat(2,1fr);
    height:auto;
    gap:8px;
    overflow:visible;
  }
  .photo-slices figure{
    aspect-ratio:4/3;
    border-radius:4px;
  }
  .photo-slices img{
    width:100%;
    height:100%;
    margin:0;
    transform:none;
    object-fit:cover;
    filter:brightness(.92) contrast(.96) saturate(.92);
  }

  .section-title{
    font-size:27px;
    margin-bottom:22px;
  }
  .section-title:before,.section-title:after{
    content:"";
    margin:0;
  }
  .strength-grid article{
    text-align:left;
    padding:22px 0;
  }
  .strength-grid h3{
    font-size:21px;
    margin-bottom:10px;
  }
  .strength-grid p{
    font-size:14px;
    line-height:1.9;
  }

  .flow{padding-top:34px}
  .flow-title{
    font-size:23px;
    line-height:1.55;
    margin-bottom:18px;
  }
  .flow-title small{
    display:block;
    font-size:13px;
    line-height:1.7;
    margin-top:4px;
  }
  .flow-row{
    display:flex;
    gap:8px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    padding:2px 2px 12px;
  }
  .flow-row::-webkit-scrollbar{height:5px}
  .flow-row i{
    flex:0 0 auto;
    font-size:21px;
  }
  .step{
    flex:0 0 132px;
    min-width:132px;
    scroll-snap-align:start;
  }

  .access{padding:30px 0}
  .access-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .access-info h2{font-size:28px}
  .access-info dl div{
    grid-template-columns:52px 1fr;
    font-size:14px;
  }
  .google-map{
    min-height:240px;
    border-width:5px;
  }
  .google-map iframe{
    min-height:240px;
  }

  .site-footer{
    padding:16px 12px;
    font-size:11px;
  }
}


/* ===== Mobile v2 refinements ===== */
@media (max-width:640px){

  /* Compact header */
  .header-inner{
    min-height:62px;
  }
  .global-nav{
    top:62px;
  }
  .brand{
    font-size:19px;
  }
  .nav-button{
    width:40px;
    height:40px;
  }

  /* Hero: reduce oversized headline and keep welding focal point */
  .hero,
  .hero-copy{
    min-height:470px;
  }
  .hero-copy{
    padding-bottom:42px;
  }
  .hero h1{
    font-size:34px;
    line-height:1.42;
    max-width:10em;
    margin-bottom:18px;
  }
  .hero p{
    font-size:13.5px;
    line-height:1.85;
  }

  /* Intro */
  .intro-copy h2{
    font-size:26px;
    line-height:1.5;
  }
  .intro-copy p{
    font-size:14px;
  }

  /* Strengths: text only, no left-side illustrations/icons */
  .strengths .section-title{
    text-align:center;
  }
  .strength-grid{
    display:block;
  }
  .strength-grid article{
    display:block !important;
    position:relative;
    padding:26px 0;
    margin:0;
    text-align:left;
  }
  .strength-grid article::before,
  .strength-grid article::after{
    content:none !important;
    display:none !important;
  }
  .strength-grid article > *{
    margin-left:0 !important;
    padding-left:0 !important;
  }
  .strength-grid h3{
    font-size:22px;
    margin:0 0 10px;
  }
  .strength-grid p{
    font-size:14px;
    line-height:1.95;
  }

  /* Flow title spacing */
  .flow-title{
    margin-bottom:22px;
  }

  /* Access */
  .access-info h3{
    font-size:19px;
  }
}


/* ===== Mobile v3: fixed hero headline line breaks ===== */
.hero-title span{
  display:block;
}

@media (max-width:640px){
  .hero h1.hero-title{
    max-width:none;
    width:100%;
    font-size:31px;
    line-height:1.48;
    letter-spacing:.01em;
  }
  .hero-title span{
    display:block;
    white-space:nowrap;
  }
  .hero-title span + span{
    margin-top:.12em;
  }
}

@media (max-width:390px){
  .hero h1.hero-title{
    font-size:28px;
  }
}


/* ===== v4 refinements ===== */
.hero h1{
  font-size:clamp(34px,3.6vw,54px);
}

.step::before,
.step::after{
  content:none !important;
  display:none !important;
}

@media (max-width:640px){
  .hero h1.hero-title{
    font-size:27px;
    line-height:1.5;
  }

  .flow-row{
    display:flex;
    flex-direction:column;
    overflow:visible;
    gap:0;
    padding:0;
  }
  .flow-row i{
    transform:rotate(90deg);
    align-self:center;
    margin:2px 0;
    font-size:18px;
  }
  .step{
    width:100%;
    min-width:0;
    flex:none;
    padding:15px 18px;
    border-radius:6px;
  }
  .step b{
    font-size:16px;
    margin-bottom:4px;
  }
  .step span{
    font-size:13px;
  }
}


/* ===== Top v5: Google Map + typography/address balance ===== */
.access-info,
.access-info dl,
.access-info dd{
  font-family:"Noto Sans JP","Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
}
.access-info h2,
.access-info h3{
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
}
.access-info h3{
  letter-spacing:.02em;
}
.address-text{
  word-break:keep-all;
  overflow-wrap:normal;
}
@media (min-width:641px){
  .address-row dd{
    white-space:normal;
  }
  .address-row .postal{
    display:block;
  }
  .address-row .address-text{
    display:block;
  }
}
@media (max-width:640px){
  .access-info dl div{
    align-items:start;
  }
  .address-row dd{
    font-size:13.5px;
    line-height:1.75;
  }
  .address-row .postal{
    display:block;
  }
  .address-row .address-text{
    display:block;
    max-width:100%;
  }
  .google-map{
    min-height:250px;
  }
  .google-map iframe{
    min-height:250px;
  }
}


/* ===== Top v6: ACCESS overlap + text wrapping balance ===== */

/* ACCESS: give text and map clearer separation */
.access-grid{
  grid-template-columns:minmax(360px, .82fr) minmax(520px, 1.38fr);
  column-gap:52px;
  align-items:center;
}
.access-info{
  min-width:0;
  padding-right:10px;
}
.access-info dl{
  width:100%;
}
.access-info dl div{
  grid-template-columns:92px minmax(0,1fr);
  column-gap:18px;
}
.access-info dd{
  min-width:0;
}
.address-row dd{
  max-width:100%;
}
.address-text{
  max-width:100%;
  white-space:normal;
  word-break:normal;
}
.nowrap{
  white-space:nowrap;
}

/* MAP: slightly smaller than v5 so it never visually collides with address */
.google-map{
  width:100%;
  max-width:690px;
  min-height:205px;
  justify-self:end;
}
.google-map iframe{
  min-height:205px;
}

/* Intro copy: slightly narrower measure for more natural Japanese line breaks */
.intro-copy{
  max-width:620px;
}
.intro-copy p{
  line-height:1.9;
  text-wrap:pretty;
}

/* Strengths: balance line lengths and avoid awkward short orphan lines */
.strength-card{
  padding-left:34px;
  padding-right:34px;
}
.strength-card h3{
  line-height:1.45;
  text-wrap:balance;
}
.strength-card p{
  max-width:390px;
  margin-left:auto;
  margin-right:auto;
  line-height:1.9;
  text-wrap:pretty;
}

/* Tablet */
@media (max-width:980px){
  .access-grid{
    grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);
    column-gap:32px;
  }
  .google-map{
    max-width:580px;
  }
  .intro-copy{
    max-width:560px;
  }
  .strength-card{
    padding-left:24px;
    padding-right:24px;
  }
}

/* Smartphone */
@media (max-width:640px){
  .access-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .access-info{
    padding-right:0;
  }
  .access-info dl div{
    grid-template-columns:78px minmax(0,1fr);
    column-gap:12px;
  }
  .google-map{
    max-width:none;
    width:100%;
    min-height:230px;
    justify-self:stretch;
  }
  .google-map iframe{
    min-height:230px;
  }
  .address-text{
    font-size:13px;
    line-height:1.8;
  }
  .intro-copy{
    max-width:none;
  }
  .strength-card{
    padding-left:18px;
    padding-right:18px;
  }
  .strength-card p{
    max-width:none;
  }
}


/* ===== Top v7: Strengths text alignment / line-break balance ===== */
.strength-card{
  text-align:left;
}
.strength-card h3{
  text-align:left;
  max-width:390px;
  margin-left:auto;
  margin-right:auto;
  line-height:1.5;
  text-wrap:balance;
}
.strength-card p{
  text-align:left;
  max-width:390px;
  margin-left:auto;
  margin-right:auto;
  line-height:1.95;
  text-wrap:pretty;
  word-break:normal;
  overflow-wrap:anywhere;
}

/* Keep each paragraph optically aligned even when card widths differ */
.strength-card:nth-child(1) p,
.strength-card:nth-child(2) p,
.strength-card:nth-child(3) p{
  width:100%;
}

@media (max-width:980px){
  .strength-card h3,
  .strength-card p{
    max-width:340px;
  }
}

@media (max-width:640px){
  .strength-card h3,
  .strength-card p{
    max-width:none;
    width:100%;
  }
}


/* ===== Top v8: corrected Strengths selectors ===== */
.strength-grid > article{
  text-align:left !important;
  padding-left:38px;
  padding-right:38px;
}
.strength-grid > article h3{
  width:100%;
  max-width:390px;
  margin:0 auto 14px;
  text-align:left !important;
  line-height:1.5;
}
.strength-grid > article p{
  display:block;
  width:100%;
  max-width:390px;
  margin:0 auto !important;
  text-align:left !important;
  line-height:1.95;
  word-break:normal;
  overflow-wrap:break-word;
  text-wrap:pretty;
}

@media (max-width:980px){
  .strength-grid > article{
    padding-left:26px;
    padding-right:26px;
  }
  .strength-grid > article h3,
  .strength-grid > article p{
    max-width:340px;
  }
}

@media (max-width:640px){
  .strength-grid > article{
    padding-left:0;
    padding-right:0;
  }
  .strength-grid > article h3,
  .strength-grid > article p{
    max-width:none;
    width:100%;
    margin-left:0 !important;
    margin-right:0 !important;
    text-align:left !important;
  }
}


/* ===== Top v9: Strengths overall balance ===== */

/* Keep the three columns visually even */
.strength-grid{
  align-items:stretch;
}

/* Large headings centered for symmetry */
.strength-grid > article h3{
  width:100%;
  max-width:none;
  margin:0 0 20px !important;
  text-align:center !important;
  line-height:1.5;
  text-wrap:balance;
}

/* Descriptions left-aligned, but centered as a text block */
.strength-grid > article p{
  width:100%;
  max-width:410px;
  margin:0 auto !important;
  text-align:left !important;
  line-height:1.95;
  word-break:normal;
  overflow-wrap:break-word;
  text-wrap:pretty;
}

/* Equal horizontal breathing room */
.strength-grid > article{
  padding-left:34px;
  padding-right:34px;
}

/* Slightly narrower middle/right body blocks for similar line count */
.strength-grid > article:nth-child(2) p,
.strength-grid > article:nth-child(3) p{
  max-width:395px;
}

@media (max-width:980px){
  .strength-grid > article{
    padding-left:24px;
    padding-right:24px;
  }
  .strength-grid > article p,
  .strength-grid > article:nth-child(2) p,
  .strength-grid > article:nth-child(3) p{
    max-width:350px;
  }
}

@media (max-width:640px){
  .strength-grid > article{
    padding-left:0;
    padding-right:0;
  }
  .strength-grid > article h3{
    text-align:center !important;
    margin-bottom:14px !important;
  }
  .strength-grid > article p,
  .strength-grid > article:nth-child(2) p,
  .strength-grid > article:nth-child(3) p{
    max-width:none;
    width:100%;
    margin:0 !important;
    text-align:left !important;
  }
}
