@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root{
  --brand-blue:#39B1E9;
  --brand-gold:#B89F80;
  --text:#2F2F2F;
  --muted:#5F6368;
  --line:#E5E7EB;
  --white:#FFFFFF;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--white);
  color:var(--text);
  font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:17px;
  font-weight:400;
  line-height:1.9;
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{color:inherit}
.wrap{width:min(1120px,calc(100% - 40px));margin:auto}

header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}

.nav{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  text-decoration:none;
  line-height:1.25;
}

.nav nav{display:flex;gap:26px}
.nav nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:.9rem;
  font-weight:500;
}
.nav nav a:hover{color:var(--brand-blue)}


.hero-banner{
  width:100%;
  background:var(--white);
  border-bottom:1px solid var(--line);
}

.hero-banner img{
  display:block;
  width:100%;
  height:clamp(220px,24vw,360px);
  object-fit:cover;
  object-position:center 40%;
  filter:grayscale(100%);
}

.hero-single{
  max-width:1120px;
}

.hero-single > *{
  max-width:900px;
}

.hero,.section{padding:108px 0}
.hero{padding-top:74px;padding-bottom:96px}

.intro,.profile,.office,.contact{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:72px;
  align-items:start;
}

.eyebrow,.label,.cards article>span{
  color:var(--brand-blue);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.11em;
}

.hero h1{
  max-width:940px;
  font-size:clamp(3.1rem,5.2vw,5.05rem);
  line-height:1.18;
  letter-spacing:-.045em;
  margin:20px 0 10px;
  font-weight:700;
  word-break:keep-all;
  overflow-wrap:normal;
}

.en{
  color:var(--brand-gold);
  font-style:normal;
  font-weight:500;
  margin:.65rem 0 1rem;
}

.lead,.intro>p{
  color:var(--muted);
  font-weight:400;
}

.link{
  display:inline-block;
  margin-top:18px;
  color:var(--brand-blue);
  font-weight:600;
  text-decoration:none;
}

.link:hover{text-decoration:underline}


.bordered{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.soft{background:var(--white)}

.intro{
  grid-template-columns:.95fr .75fr;
  align-items:end;
  margin-bottom:46px;
}

.intro h2,.profile h2,.office h2,.contact h2{
  font-size:clamp(2rem,3.7vw,3.35rem);
  line-height:1.3;
  letter-spacing:-.035em;
  margin:0;
  font-weight:700;
  word-break:keep-all;
}

.cards{display:grid;gap:20px}
.cards.three{grid-template-columns:repeat(3,1fr)}
.cards.two{grid-template-columns:repeat(2,1fr)}

.cards article{
  background:var(--white);
  border:1px solid var(--line);
  border-top:4px solid var(--brand-blue);
  border-radius:16px;
  padding:30px;
  box-shadow:0 2px 10px rgba(47,47,47,.035);
}


.cards h3{
  font-size:1.42rem;
  line-height:1.5;
  margin:25px 0 0;
  font-weight:700;
}

.cards p{color:#4A4A4A}
.small{font-size:.9rem}

.button{
  display:inline-block;
  margin-top:24px;
  padding:13px 19px;
  background:var(--brand-blue);
  color:#fff;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}
.button:hover{filter:brightness(.96)}


.knowledge-section{
  background:var(--white);
}

.knowledge-intro{
  margin-bottom:34px;
}

.knowledge-list{
  border-top:1px solid var(--line);
}

.knowledge-item{
  display:grid;
  grid-template-columns:150px minmax(0,1fr) 210px;
  gap:36px;
  align-items:center;
  padding:44px 0;
  border-bottom:1px solid var(--line);
}

.knowledge-no{
  color:var(--brand-blue);
  font-size:2.6rem;
  font-weight:700;
  line-height:1;
  text-align:center;
  border-right:1px solid var(--line);
  padding:18px 24px 18px 0;
}

.knowledge-body h3{
  margin:0;
  font-size:1.65rem;
  line-height:1.45;
  font-weight:700;
}

.knowledge-body > p:not(.en){
  margin:14px 0 0;
  max-width:660px;
  color:#4A4A4A;
}

.knowledge-link{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--brand-blue);
  text-decoration:none;
  font-size:.95rem;
  font-weight:600;
  text-align:center;
}

.knowledge-arrow{
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  border:1px solid rgba(57,177,233,.35);
  border-radius:50%;
  background:rgba(57,177,233,.05);
  font-size:2rem;
  font-weight:400;
  transition:transform .2s ease, background .2s ease;
}

.knowledge-link:hover .knowledge-arrow{
  transform:translateX(4px);
  background:rgba(57,177,233,.1);
}

.knowledge-all{
  display:flex;
  justify-content:center;
  padding-top:44px;
}

.knowledge-all-link{
  display:inline-flex;
  align-items:center;
  gap:18px;
  padding:14px 30px;
  border:1px solid var(--brand-blue);
  border-radius:999px;
  color:var(--brand-blue);
  text-decoration:none;
  font-weight:600;
}

.knowledge-all-link:hover{
  background:rgba(57,177,233,.06);
}



.services-section{
  background:var(--white);
}

.services-intro{
  margin-bottom:40px;
}

.service-panels{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}

.service-panel{
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--white);
  padding:34px 36px;
  box-shadow:0 2px 10px rgba(47,47,47,.035);
}

.service-head{
  display:flex;
  align-items:flex-start;
  gap:24px;
}

.service-no{
  width:72px;
  height:72px;
  flex:0 0 72px;
  display:grid;
  place-items:center;
  border:1px solid rgba(57,177,233,.25);
  border-radius:50%;
  background:rgba(57,177,233,.05);
  color:var(--brand-blue);
  font-size:1.8rem;
  font-weight:700;
}

.service-head h3{
  margin:4px 0 0;
  font-size:1.65rem;
  line-height:1.4;
  font-weight:700;
}

.service-desc{
  margin:28px 0 0;
  color:#4A4A4A;
}

.price-list{
  margin-top:28px;
  border-top:1px solid var(--line);
}

.price-row{
  padding:22px 0;
  border-bottom:1px solid var(--line);
}

.price-row:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.price-label{
  margin-bottom:6px;
  font-weight:600;
}

.price-value{
  display:flex;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
}

.price-value strong{
  color:var(--brand-blue);
  font-size:2.2rem;
  line-height:1.2;
  font-weight:700;
}

.price-value span{
  color:var(--text);
  font-size:1rem;
}

.services-all{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  margin-top:44px;
  text-align:center;
}

.services-all-link{
  display:inline-flex;
  align-items:center;
  gap:18px;
  padding:14px 30px;
  border:1px solid var(--brand-blue);
  border-radius:999px;
  color:var(--brand-blue);
  text-decoration:none;
  font-weight:600;
}

.services-all-link:hover{
  background:rgba(57,177,233,.06);
}

.services-all p{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
}

.profile{grid-template-columns:.72fr 1.28fr}
.profile img{
  width:100%;
  border-radius:20px;
  background:#fff;
}

.name{
  padding:26px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-top:24px;
}

.name h3{font-size:2rem;margin:0;font-weight:700}
.catch{font-size:1.5rem;line-height:1.55;margin-top:32px;font-weight:700}
.profile p{color:#444}

.career{
  margin-top:72px;
  border-top:1px solid var(--line);
  padding-top:28px;
}

.row{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:28px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}

.row b{color:var(--brand-gold);font-weight:600}
.row em{display:block;color:var(--muted);font-style:normal}
.row p{margin:.4rem 0;color:#4A4A4A}

.office dl{
  display:grid;
  grid-template-columns:110px 1fr;
  margin-top:34px;
}

.office dt,.office dd{
  padding:14px 0;
  border-top:1px solid var(--line);
  margin:0;
}

.office dt{color:var(--muted);font-weight:500}

.map{
  min-height:400px;
  display:grid;
  place-items:center;
  text-align:center;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  color:var(--brand-blue);
  font-weight:700;
  letter-spacing:.12em;
}

.map small{
  display:block;
  color:var(--muted);
  font-weight:400;
  letter-spacing:0;
}

.dark{
  background:#2F2F2F;
  color:#fff;
}

.pale{color:#D8D8D8}

.contact form{display:grid;gap:17px}
.contact label{display:grid;gap:6px;font-weight:600}
.contact input,.contact textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #5A5A5A;
  border-radius:8px;
  background:#3A3A3A;
  color:#fff;
  font-family:inherit;
  font-size:1rem;
}

.contact .check{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.9rem;
}

.contact .check input{width:auto}

.contact button{
  padding:14px;
  border:0;
  border-radius:8px;
  background:var(--brand-blue);
  color:#fff;
  font-weight:700;
  font-family:inherit;
}

.note{font-size:.78rem;color:#C7C7C7}

footer{
  background:#2F2F2F;
  color:#E2E2E2;
  border-top:4px solid var(--brand-gold);
  padding:38px 0;
}

.foot{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:30px;
  align-items:end;
}

.foot p{margin:2px 0;font-size:.85rem}

@media(max-width:900px){

  .contact-layout{
    grid-template-columns:1fr;
    gap:38px;
  }
  .contact-copy{
    padding-right:0;
    padding-bottom:34px;
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .profile-main{
    grid-template-columns:1fr;
  }
  .profile-photo-wrap{
    max-width:430px;
  }
  .office-grid{
    grid-template-columns:1fr;
  }

  .service-panels{
    grid-template-columns:1fr;
  }

  .knowledge-item{
    grid-template-columns:90px 1fr;
    gap:24px;
  }
  .knowledge-link{
    grid-column:2;
    flex-direction:row;
    justify-content:flex-start;
  }
  .knowledge-arrow{
    width:52px;
    height:52px;
    font-size:1.5rem;
  }
  .nav nav{display:none}
  .intro,.profile,.office,.contact,.foot,.cards.three,.cards.two{grid-template-columns:1fr}
  .intro{gap:18px}
  .profile img{max-width:520px}
  .row{grid-template-columns:1fr;gap:4px}
}

@media(max-width:600px){

  .form-grid{
    grid-template-columns:1fr;
  }
  .form-full{
    grid-column:auto;
  }
  .contact-info-card{
    grid-template-columns:48px 1fr;
    padding:20px;
  }
  .office-map-frame,
  .office-map-frame iframe{min-height:240px;}

  .career-list{
    margin-left:8px;
  }
  .career-item{
    grid-template-columns:1fr;
    gap:5px;
    padding-left:30px;
  }
  .profile-name-row h3{
    font-size:1.7rem;
  }

  .service-panel{
    padding:26px 24px;
  }
  .service-head{
    gap:16px;
  }
  .service-no{
    width:58px;
    height:58px;
    flex-basis:58px;
    font-size:1.4rem;
  }
  .service-head h3{
    font-size:1.4rem;
  }
  .price-value strong{
    font-size:1.8rem;
  }

  .knowledge-item{
    grid-template-columns:1fr;
    gap:14px;
    padding:34px 0;
  }
  .knowledge-no{
    text-align:left;
    border-right:0;
    padding:0;
    font-size:2rem;
  }
  .knowledge-link{
    grid-column:auto;
  }
  .knowledge-body h3{
    font-size:1.4rem;
  }

  .hero-banner img{
    height:190px;
  }
  body{font-size:16px}
  .wrap{width:calc(100% - 28px)}
  .hero,.section{padding:76px 0}
  .hero h1{font-size:2.55rem;line-height:1.28}
  .cards article{padding:24px}
  .office dl{grid-template-columns:1fr}
  .office dt{padding-bottom:0}
  .office dd{border-top:0;padding-top:2px}
}

.brand-main{
  color:var(--text);
  font-size:1rem;
  font-weight:700;
  letter-spacing:.02em;
}
.brand-sub{
  color:var(--brand-blue);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.04em;
}


.profile-section{
  background:var(--white);
}

.profile-title{
  margin-bottom:36px;
}

.profile-title h2{
  margin:0;
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.35;
  letter-spacing:-.03em;
}

.profile-main{
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);
  gap:54px;
  align-items:start;
}

.profile-photo-wrap{
  overflow:hidden;
  border-radius:12px;
  background:#f7f7f7;
}

.profile-photo{
  display:block;
  width:100%;
  height:auto;
}

.profile-name-row{
  display:flex;
  align-items:baseline;
  gap:18px;
  flex-wrap:wrap;
}

.profile-name-row h3{
  margin:0;
  font-size:2rem;
  line-height:1.3;
}

.profile-name-row span{
  color:var(--brand-gold);
  font-weight:600;
}

.profile-license{
  margin:8px 0 22px;
  color:var(--brand-blue);
  font-weight:700;
}

.profile-copy > p:not(.profile-license){
  margin:0 0 18px;
  color:#424242;
}

.profile-subsection{
  margin-top:58px;
}

.profile-subtitle{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 22px;
  color:var(--brand-gold);
  font-size:1.35rem;
  font-weight:700;
}

.profile-subtitle::after{
  content:"";
  height:1px;
  flex:1;
  margin-left:10px;
  background:var(--line);
}

.profile-subtitle span{
  color:var(--brand-gold);
  font-size:.95rem;
  font-weight:600;
}

.career-list{
  position:relative;
  margin-left:28px;
  border-left:1px solid rgba(57,177,233,.65);
}

.career-item{
  position:relative;
  display:grid;
  grid-template-columns:130px 1fr;
  gap:28px;
  padding:0 0 24px 46px;
  border-bottom:1px solid var(--line);
  margin-bottom:24px;
}

.career-item:last-child{
  margin-bottom:0;
}

.career-item::before{
  content:"";
  position:absolute;
  left:-6px;
  top:7px;
  width:11px;
  height:11px;
  border-radius:50%;
  background:var(--brand-blue);
}

.career-date{
  color:var(--brand-blue);
  font-weight:700;
}

.career-item h4{
  margin:0;
  font-size:1rem;
  line-height:1.55;
}

.career-item p{
  margin:4px 0 0;
  color:#555;
  font-size:.93rem;
}

.office-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:44px;
  align-items:stretch;
}

.office-info h4{
  margin:0 0 20px;
  font-size:1.2rem;
}

.office-info p{
  margin:0 0 18px;
}

.office-map-placeholder{
  min-height:250px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:12px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(57,177,233,.08) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(57,177,233,.08) 50%, transparent 51%),
    #fafafa;
  background-size:52px 52px;
  text-align:center;
}

.office-map-placeholder > div{
  padding:22px 28px;
  border-radius:10px;
  background:rgba(255,255,255,.92);
  box-shadow:0 4px 18px rgba(47,47,47,.07);
}

.map-pin{
  display:block;
  margin-bottom:8px;
  color:var(--brand-blue);
  font-size:1.6rem;
}

.office-map-placeholder p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:.9rem;
}


.office-map-frame{
  min-height:300px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fafafa;
}

.office-map-frame iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:300px;
  border:0;
}


.contact-section{
  background:var(--white);
  color:var(--text);
  border-top:1px solid var(--line);
}

.contact-layout{
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  gap:58px;
  align-items:start;
}

.contact-copy{
  padding-right:42px;
  border-right:1px solid var(--line);
}

.contact-copy h2{
  margin:0;
  font-size:clamp(2.2rem,4vw,3.5rem);
  line-height:1.3;
  letter-spacing:-.035em;
  font-weight:700;
}

.contact-intro{
  margin:30px 0 0;
  max-width:470px;
  color:#424242;
}

.contact-info-card{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:18px 20px;
  margin-top:38px;
  padding:24px 26px;
  border-radius:12px;
  background:rgba(57,177,233,.07);
}

.contact-mail-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--brand-blue);
  color:#fff;
  font-size:1.25rem;
}

.contact-info-label{
  margin-bottom:3px;
  font-weight:700;
}

.contact-info-card a{
  color:#0d63cf;
  text-decoration:none;
  font-size:1.05rem;
  font-weight:700;
}

.contact-info-card a:hover{
  text-decoration:underline;
}

.contact-response{
  grid-column:1 / -1;
  padding-top:18px;
  border-top:1px solid rgba(57,177,233,.18);
  color:#424242;
  font-size:.92rem;
}

.contact-form{
  display:block;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px 20px;
}

.contact-form label{
  display:block;
  font-weight:600;
}

.contact-form label > span{
  display:block;
  margin-bottom:8px;
}

.contact-form small{
  color:var(--muted);
  font-weight:500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea{
  width:100%;
  padding:14px 15px;
  border:1px solid #d6dbe1;
  border-radius:6px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:.98rem;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--brand-blue);
  box-shadow:0 0 0 3px rgba(57,177,233,.10);
}

.contact-form textarea{
  resize:vertical;
  min-height:170px;
}

.form-full{
  grid-column:1 / -1;
}

.privacy-consent{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  margin-top:22px;
  font-weight:500 !important;
}

.privacy-consent input{
  width:18px;
  height:18px;
  margin-top:4px;
}

.privacy-consent > span{
  margin:0 !important;
}

.privacy-consent a{
  color:#0d63cf;
}

.contact-submit{
  width:100%;
  margin-top:22px;
  padding:15px 18px;
  border:0;
  border-radius:6px;
  background:var(--brand-blue);
  color:#fff;
  font:inherit;
  font-size:1rem;
  font-weight:700;
  cursor:pointer;
}

.contact-submit span{
  margin-left:14px;
}

.contact-submit:hover{
  filter:brightness(.96);
}

.contact-privacy-note{
  margin:12px 0 0;
  color:var(--muted);
  font-size:.82rem;
}

.form-setup-note code{
  font-family:Consolas,Monaco,monospace;
}

.contact-bottom-note{
  margin:38px 0 0;
  text-align:center;
  color:#4d4d4d;
  font-size:.9rem;
}


.footer-right a{
  margin-left:14px;
  color:inherit;
  text-decoration:none;
}

.footer-right a:hover{
  color:var(--brand-blue);
}

.privacy-section{
  background:var(--white);
}

.privacy-wrap{
  max-width:920px;
}

.privacy-wrap h1{
  margin:0;
  font-size:clamp(2.4rem,5vw,4.3rem);
  line-height:1.25;
  letter-spacing:-.04em;
  font-weight:700;
}

.privacy-content{
  margin-top:46px;
  color:#404040;
}

.privacy-content > p:first-child{
  font-size:1.02rem;
}

.privacy-content section{
  padding:28px 0;
  border-top:1px solid var(--line);
}

.privacy-content h2{
  margin:0 0 14px;
  font-size:1.3rem;
  line-height:1.5;
}

.privacy-content p{
  margin:0;
}

.privacy-content ul{
  margin:10px 0 0;
  padding-left:1.4em;
}

.privacy-content li{
  margin:6px 0;
}

.privacy-content a{
  color:var(--brand-blue);
}

.privacy-back{
  margin-top:38px;
}

.privacy-back a{
  color:var(--brand-blue);
  text-decoration:none;
  font-weight:600;
}

.privacy-back a:hover{
  text-decoration:underline;
}


/* =========================================================
   Final mobile layout fixes
   Added after all desktop rules so these overrides win
   ========================================================= */

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  .nav nav {
    display: none;
  }

  /* HERO */
  .hero-banner {
    width: 100vw;
    max-width: none;
  }

  .hero-banner img {
    display: block;
    width: 100vw;
    max-width: none;
    height: 220px;
    object-fit: cover;
    object-position: center 40%;
  }

  .hero-single {
    max-width: none;
  }

  /* EXPERTISE / common section introductions */
  .intro,
  .knowledge-intro,
  .services-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .intro > p {
    margin-top: 0;
  }

  .cards.three,
  .cards.two,
  .service-panels {
    grid-template-columns: 1fr;
  }

  /* PROFILE */
  .profile-main {
    display: block;
    width: 100%;
  }

  .profile-photo-wrap {
    width: 100%;
    max-width: 430px;
    margin: 0 0 28px;
  }

  .profile-photo {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .profile-copy {
    width: 100%;
    min-width: 0;
  }

  .profile-name-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: baseline;
  }

  .profile-name-row h3,
  .profile-name-row span,
  .profile-license,
  .profile-copy p {
    writing-mode: horizontal-tb;
    word-break: normal;
    overflow-wrap: break-word;
  }

  /* Career */
  .career-list {
    width: auto;
  }

  .career-item {
    min-width: 0;
  }

  /* OFFICE */
  .office-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .office-info {
    width: 100%;
    min-width: 0;
  }

  .office-map-frame {
    width: 100%;
    min-height: 300px;
  }

  .office-map-frame iframe {
    width: 100%;
    min-height: 300px;
  }

  /* CONTACT */
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-copy {
    width: 100%;
    min-width: 0;
    padding-right: 0;
    padding-bottom: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-copy h2,
  .contact-intro {
    max-width: none;
    writing-mode: horizontal-tb;
  }

  .contact-form {
    width: 100%;
    min-width: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: auto;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea,
  .contact-submit {
    width: 100%;
    min-width: 0;
  }

  .contact-info-card {
    width: 100%;
  }

  /* Footer */
  footer {
    width: 100%;
  }

  .foot {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 28px);
  }

  .hero-banner img {
    height: 190px;
    object-position: center 38%;
  }

  .hero {
    padding-top: 62px;
    padding-bottom: 72px;
  }

  .section {
    padding: 68px 0;
  }

  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.3;
  }

  .intro {
    margin-bottom: 30px;
  }

  .cards article {
    padding: 24px;
  }

  /* PROFILE */
  .profile-title {
    margin-bottom: 28px;
  }

  .profile-title h2 {
    font-size: 2rem;
  }

  .profile-photo-wrap {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .profile-name-row {
    display: block;
  }

  .profile-name-row h3 {
    margin-bottom: 3px;
    font-size: 1.7rem;
  }

  .profile-name-row span {
    display: block;
  }

  .profile-license {
    margin-top: 8px;
  }

  .profile-copy > p:not(.profile-license) {
    margin-bottom: 16px;
  }

  .career-list {
    margin-left: 8px;
  }

  .career-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 30px;
  }

  /* OFFICE */
  .office-grid {
    gap: 24px;
  }

  .office-map-frame,
  .office-map-frame iframe {
    min-height: 260px;
  }

  /* CONTACT */
  .contact-copy h2 {
    font-size: 2rem;
    line-height: 1.35;
  }

  .contact-info-card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 20px;
  }

  .contact-info-card a {
    overflow-wrap: anywhere;
  }

  .form-grid {
    gap: 20px;
  }

  .privacy-consent {
    align-items: flex-start;
  }

  .contact-bottom-note {
    margin-top: 30px;
  }

  /* Privacy page */
  .privacy-wrap h1 {
    font-size: 2.25rem;
  }
}


/* Mobile heading wrap fix */
.mobile-break{
  display:none;
}

@media (max-width: 600px){
  .mobile-break{
    display:inline;
  }

  .hero h1,
  .profile-title h2,
  .contact-copy h2,
  .intro h2{
    max-width:100%;
    word-break:normal;
    overflow-wrap:anywhere;
  }

  .hero h1{
    font-size:2.2rem;
    line-height:1.32;
    letter-spacing:-.035em;
  }
}


/* PROFILE mobile heading break */
.profile-mobile-break{
  display:none;
}

@media (max-width:600px){
  .profile-mobile-break{
    display:inline;
  }

  .profile-title h2{
    font-size:1.9rem;
    line-height:1.38;
    letter-spacing:-.03em;
  }
}


/* =========================================================
   Mobile navigation
   ========================================================= */

.mobile-menu-button,
.mobile-menu{
  display:none;
}

@media (max-width:900px){
  .nav{
    position:relative;
  }

  .mobile-menu-button{
    display:inline-flex;
    align-items:center;
    gap:10px;
    border:0;
    background:transparent;
    color:var(--text);
    padding:8px 0 8px 12px;
    font:inherit;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.08em;
    cursor:pointer;
  }

  .menu-icon{
    width:22px;
    display:flex;
    flex-direction:column;
    gap:4px;
  }

  .menu-icon i{
    display:block;
    width:100%;
    height:2px;
    background:var(--brand-blue);
    border-radius:999px;
    transition:transform .2s ease, opacity .2s ease;
  }

  .mobile-menu-button[aria-expanded="true"] .menu-icon i:nth-child(1){
    transform:translateY(6px) rotate(45deg);
  }

  .mobile-menu-button[aria-expanded="true"] .menu-icon i:nth-child(2){
    opacity:0;
  }

  .mobile-menu-button[aria-expanded="true"] .menu-icon i:nth-child(3){
    transform:translateY(-6px) rotate(-45deg);
  }

  .mobile-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:50;
    padding:8px 14px 14px;
    background:#fff;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    box-shadow:0 10px 24px rgba(47,47,47,.07);
  }

  .mobile-menu:not([hidden]){
    display:grid;
  }

  .mobile-menu a{
    padding:14px 8px;
    border-bottom:1px solid var(--line);
    color:var(--text);
    text-decoration:none;
    font-size:1rem;
    font-weight:600;
  }

  .mobile-menu a:last-child{
    border-bottom:0;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus{
    color:var(--brand-blue);
  }
}

@media (max-width:600px){
  .mobile-menu-button{
    font-size:.72rem;
  }

  .mobile-menu{
    padding-left:14px;
    padding-right:14px;
  }
}


/* =========================================================
   Mobile fixed header
   ========================================================= */

@media (max-width:900px){
  header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    width:100%;
    z-index:1000;
  }

  body{
    padding-top:72px;
  }

  .nav{
    min-height:72px;
  }

  .mobile-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:1001;
  }

  section[id]{
    scroll-margin-top:88px;
  }
}

@media (max-width:600px){
  body{
    padding-top:72px;
  }
}

.breadcrumb{display:flex;flex-wrap:wrap;gap:8px;padding:22px 0;color:var(--muted);font-size:.82rem}.breadcrumb a{color:var(--muted);text-decoration:none}.knowledge-hub-hero{padding:54px 0 46px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.knowledge-hub-hero h1{margin:0;font-size:clamp(2.5rem,5vw,4.6rem);line-height:1.25;letter-spacing:-.045em}.knowledge-hub-lead{margin:28px 0 0;max-width:820px}.knowledge-jumps{display:grid;grid-template-columns:repeat(7,1fr);margin-top:42px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.knowledge-jump{min-height:126px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px 12px;border-right:1px solid var(--line);color:var(--text);text-decoration:none;text-align:center}.knowledge-jump:last-child{border-right:0}.knowledge-jump span{color:var(--brand-blue);font-size:1.2rem;font-weight:700}.knowledge-index-section{padding:54px 0 72px;background:#fff}.knowledge-index-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start}.knowledge-sidebar{position:sticky;top:100px}.knowledge-sidebar-box,.knowledge-consult-box{border:1px solid var(--line);border-radius:10px;padding:20px;background:#fff}.knowledge-sidebar-box h2{margin:0 0 14px;font-size:1rem}.knowledge-sidebar-box a{display:flex;gap:9px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none;font-size:.84rem}.knowledge-sidebar-box a span{color:var(--brand-blue);font-weight:700}.knowledge-consult-box{margin-top:18px;text-align:center;background:#fbfdff}.knowledge-consult-box h3{font-size:.96rem}.knowledge-consult-box a{display:block;padding:11px;background:var(--brand-blue);color:#fff;text-decoration:none;border-radius:6px;font-size:.82rem;font-weight:700}.knowledge-categories{border-top:1px solid var(--line)}.knowledge-category{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid var(--line);border-top:0;scroll-margin-top:100px}.knowledge-category-head{display:flex;gap:18px;padding:28px 24px;border-right:1px solid var(--line)}.knowledge-cat-no{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:7px;background:rgba(57,177,233,.12);color:var(--brand-blue);font-size:1.25rem;font-weight:700}.knowledge-category-head h2{margin:0;font-size:1.28rem}.knowledge-category-head .en{margin:5px 0 13px;font-size:.82rem}.knowledge-category-head p:last-child{margin:0;color:#555;font-size:.88rem}.knowledge-article-list{list-style:none;margin:0;padding:0}.knowledge-article-row{min-height:58px;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line)}.knowledge-article-row:last-child{border-bottom:0}.knowledge-article-title{display:flex;gap:16px;font-size:.92rem}.knowledge-article-code{font-weight:700}.knowledge-article-meta{display:flex;gap:12px;align-items:center}.status{padding:3px 8px;border-radius:999px;font-size:.72rem;font-weight:700}.status-coming{background:#f0f1f2;color:#7a7d80}.knowledge-row-arrow{color:#aab0b5}.next-knowledge{padding:0 0 72px;background:#fff}.next-knowledge-box{display:grid;grid-template-columns:1fr 1.25fr auto;gap:34px;align-items:center;padding:30px 34px;border:1px solid rgba(57,177,233,.45);border-radius:12px;background:#fbfdff}.next-knowledge-box h2{margin:0}.next-knowledge-disabled{padding:11px 22px;border-radius:999px;background:#eef1f3;color:#7d8388;font-size:.85rem;font-weight:700}
@media(max-width:1000px){.knowledge-jumps{grid-template-columns:repeat(4,1fr)}.knowledge-index-layout{grid-template-columns:1fr}.knowledge-sidebar{position:static}.knowledge-sidebar-box{display:none}}
@media(max-width:900px){.knowledge-category{grid-template-columns:1fr}.knowledge-category-head{border-right:0;border-bottom:1px solid var(--line)}.next-knowledge-box{grid-template-columns:1fr}}
@media(max-width:600px){.knowledge-hub-hero h1{font-size:2.1rem}.knowledge-hub-lead br{display:none}.knowledge-jumps{grid-template-columns:repeat(2,1fr)}.knowledge-jump{min-height:105px}.knowledge-category-head{padding:24px 20px}.knowledge-article-row{align-items:flex-start;padding:16px 14px}.knowledge-article-title{gap:10px;font-size:.9rem}.knowledge-row-arrow{display:none}.status{white-space:nowrap}.next-knowledge-box{padding:24px 20px}}


/* Knowledge category menu alignment refinement */
.knowledge-jump{
  justify-content:flex-start;
  padding-top:24px;
}
.knowledge-jump span{
  display:block;
  height:30px;
  line-height:30px;
  margin-bottom:8px;
}
.knowledge-jump strong{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  min-height:3em;
  line-height:1.5;
}
