/*
Theme Name: Sakura Technologies V5.32
Description: 櫻テクノロジーズ専用。ロゴ・ヘッダー・トップページ・各固定ページ・フッター・レスポンシブデザインを統合した完成版テーマ。
Version: 5.32
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sakura-technologies-v5-32
*/

:root{
  --sakura:#d9879a;
  --sakura-deep:#c66f85;
  --sakura-light:#fff5f7;
  --ink:#263238;
  --muted:#6f7b82;
  --line:#eadfe2;
  --white:#fff;
  --shadow:0 12px 32px rgba(38,50,56,.07);
}

*{box-sizing:border-box}
body{margin:0}
a{text-underline-offset:3px}
.sakura-logo img{width:320px;max-width:34vw;height:auto;display:block}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:56px;align-items:center}
.hero-copy h1{max-width:760px}
.hero-note{font-size:1.04rem}
.section-pad{padding:72px 24px}
.section-kicker{letter-spacing:.14em;font-weight:700;font-size:.76rem;color:var(--sakura-deep);margin-bottom:12px}
.section-title{margin-top:0;margin-bottom:18px}
.muted{color:var(--muted)}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.card{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow)}
.card h3{margin-top:8px}
.service-card{border-top:3px solid var(--sakura)}
.pill-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.pill{background:#fff;border:1px solid var(--line);border-radius:999px;padding:14px 16px;text-align:center;font-weight:700}
.profile-box{display:grid;grid-template-columns:180px minmax(0,1fr);gap:36px;align-items:start}
.profile-mark{width:150px;height:150px;border-radius:50%;background:var(--sakura-light);display:grid;place-items:center;font-size:3.3rem}
.contact-box{border-radius:24px;background:var(--sakura-light);padding:48px}
.tech-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tech-box{border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff}
.page-hero{background:var(--sakura-light);padding:56px 24px}
.page-body{padding:64px 24px 84px}
.page-body h2{margin-top:42px}
.clean-list{padding-left:1.2em}
.footer-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:36px}
.footer-links a{color:#fff}
@media(max-width:980px){
  .sakura-logo img{width:260px;max-width:50vw}
  .hero-grid{grid-template-columns:1fr;gap:28px}
  .card-grid{grid-template-columns:1fr}
  .pill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-box{grid-template-columns:1fr}
  .tech-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .sakura-logo img{width:220px;max-width:70vw}
  .section-pad{padding:54px 20px}
  .page-hero{padding:44px 20px}
  .page-body{padding:48px 20px 64px}
  .pill-grid{grid-template-columns:1fr}
  .contact-box{padding:34px 22px}
  .footer-grid{grid-template-columns:1fr}
}


/* Contact Form 7 */
.sakura-contact-form{
  max-width:760px;
  margin:0 auto;
}
.sakura-contact-form label{
  display:block;
  font-weight:700;
  margin:0 0 22px;
}
.sakura-contact-form input[type="text"],
.sakura-contact-form input[type="email"],
.sakura-contact-form input[type="tel"],
.sakura-contact-form select,
.sakura-contact-form textarea{
  width:100%;
  margin-top:8px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  font:inherit;
}
.sakura-contact-form textarea{min-height:180px;resize:vertical}
.sakura-contact-form input:focus,
.sakura-contact-form select:focus,
.sakura-contact-form textarea:focus{
  outline:none;
  border-color:var(--sakura);
  box-shadow:0 0 0 3px rgba(217,135,154,.12);
}
.sakura-contact-form .required,
.sakura-contact-form .optional{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  font-size:.72rem;
  line-height:1.5;
}
.sakura-contact-form .required{background:#f8dce3;color:#a64f66}
.sakura-contact-form .optional{background:#eef1f3;color:#657178}
.sakura-contact-form .privacy-consent{
  margin:24px 0;
  padding:16px 18px;
  border-radius:12px;
  background:var(--sakura-light);
}
.sakura-contact-form input[type="submit"]{
  appearance:none;
  border:0;
  border-radius:999px;
  padding:14px 28px;
  background:var(--sakura);
  color:#fff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.sakura-contact-form input[type="submit"]:hover{background:var(--sakura-deep)}
.wpcf7 form .wpcf7-response-output{
  margin:24px 0 0;
  border-radius:12px;
  padding:14px 16px;
}

/* V5: skills / overview */
.skill-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:28px}
.skill-group{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:var(--shadow)}
.skill-group h3{margin-top:0;margin-bottom:18px}
.skill-tags{display:flex;flex-wrap:wrap;gap:10px}
.skill-tag{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:8px 13px;background:var(--sakura-light);font-weight:600;font-size:.92rem}
.overview-table{width:100%;border-collapse:collapse;margin:24px 0 44px}
.overview-table th,.overview-table td{padding:16px 18px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.overview-table th{width:180px;background:var(--sakura-light)}
@media(max-width:720px){
 .skill-groups{grid-template-columns:1fr}
 .overview-table th,.overview-table td{display:block;width:100%}
 .overview-table th{border-bottom:0;padding-bottom:6px}
 .overview-table td{padding-top:6px}
}


/* V5.2: mobile header/navigation alignment */
.site-header > .wp-block-group,
.site-header .wp-block-group{
  align-items:center;
}
.site-header .wp-block-navigation{
  margin-left:auto;
  flex-shrink:0;
}
.site-header .wp-block-navigation__responsive-container-open{
  margin-left:auto;
  padding:8px;
  line-height:1;
}
.site-header .wp-block-navigation__responsive-container-content{
  align-items:flex-start;
}
@media (max-width: 900px){
  .site-header{
    padding-left:14px !important;
    padding-right:14px !important;
  }
  .site-header > .wp-block-group,
  .site-header .wp-block-group{
    width:100%;
    display:flex;
    flex-wrap:nowrap !important;
    justify-content:space-between;
    align-items:center;
    gap:12px;
  }
  .site-header .sakura-logo{
    margin:0;
    flex:1 1 auto;
    min-width:0;
  }
  .site-header .sakura-logo img{
    width:220px;
    max-width:68vw;
    height:auto;
  }
  .site-header .wp-block-navigation{
    flex:0 0 auto;
    margin-left:auto !important;
  }
}
@media (max-width: 480px){
  .site-header{
    padding-top:6px !important;
    padding-bottom:6px !important;
  }
  .site-header .sakura-logo img{
    width:185px;
    max-width:66vw;
  }
  .site-header .wp-block-navigation__responsive-container-open{
    padding:6px;
  }
}

/* V5.2: Column */
.column-intro{
  max-width:760px;
}
.column-grid .wp-block-post-template{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin:34px 0 0;
  padding:0;
}
.column-grid .wp-block-post{
  list-style:none;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:26px;
  box-shadow:var(--shadow);
}
.column-grid .wp-block-post-title{
  margin-top:10px;
  margin-bottom:12px;
  font-size:1.2rem;
}
.column-grid .wp-block-post-title a{
  color:var(--ink);
  text-decoration:none;
}
.column-grid .wp-block-post-date{
  color:var(--muted);
  font-size:.82rem;
}
.column-grid .wp-block-post-excerpt{
  color:var(--muted);
  font-size:.95rem;
}
.column-grid .wp-block-query-pagination{
  margin-top:36px;
}
.single-column-meta{
  color:var(--muted);
  font-size:.9rem;
  margin-bottom:28px;
}
@media(max-width:900px){
  .column-grid .wp-block-post-template{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:640px){
  .column-grid .wp-block-post-template{
    grid-template-columns:1fr;
  }
}


/* V5.3: iPhone / mobile navigation hard reset */
@media (max-width: 900px){
  .site-header{
    position:relative;
    overflow:visible;
  }

  .site-header .wp-block-navigation__responsive-container-open{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    margin-left:auto !important;
    padding:0 !important;
    border-radius:10px;
  }

  .site-header .wp-block-navigation__responsive-container{
    width:100vw !important;
    max-width:100vw !important;
    min-height:100dvh !important;
    left:0 !important;
    right:0 !important;
    top:0 !important;
    bottom:0 !important;
    padding:0 !important;
    background:#fff !important;
    overflow-y:auto !important;
  }

  .site-header .wp-block-navigation__responsive-container.is-menu-open{
    display:block !important;
  }

  .site-header .wp-block-navigation__responsive-container-close{
    position:absolute !important;
    top:18px !important;
    right:18px !important;
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 !important;
    padding:0 !important;
    z-index:3;
  }

  .site-header .wp-block-navigation__responsive-container-content{
    width:100% !important;
    min-height:100dvh !important;
    padding:88px 28px 36px !important;
    display:block !important;
  }

  .site-header .wp-block-navigation__container{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:0 !important;
  }

  .site-header .wp-block-navigation-item{
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border-bottom:1px solid var(--line);
  }

  .site-header .wp-block-navigation-item__content{
    width:100% !important;
    display:block !important;
    padding:18px 2px !important;
    text-align:left !important;
    font-size:1.05rem !important;
    font-weight:700 !important;
    color:var(--ink) !important;
  }

  .site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item{
    align-items:stretch !important;
  }

  .site-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container{
    justify-content:flex-start !important;
  }

  .hero-grid.section-pad{
    padding-top:52px !important;
    padding-bottom:52px !important;
  }

  .hero-copy h1{
    font-size:clamp(2rem,10vw,3rem) !important;
    line-height:1.35 !important;
    word-break:keep-all;
  }

  .hero-note{
    font-size:1rem !important;
    line-height:1.85 !important;
  }
}

@media (max-width: 480px){
  .site-header .sakura-logo img{
    width:175px !important;
    max-width:64vw !important;
  }

  .hero-grid.section-pad{
    padding-left:20px !important;
    padding-right:20px !important;
  }

  .hero-copy h1{
    font-size:clamp(1.9rem,9.2vw,2.6rem) !important;
  }

  .wp-block-button__link{
    font-size:1rem !important;
    padding:13px 22px !important;
  }
}


/* V5.6: Kiyose community page */
.kiyose-visual-hero{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  min-height:300px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(90deg,rgba(20,35,24,.72),rgba(20,35,24,.18)),
    url("/wp-content/themes/sakura-technologies-v5-32/assets/images/kiyose-hero.jpg") center center/cover no-repeat;
  color:#fff;
}
.kiyose-visual-hero__inner{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:62px 0;
}
.kiyose-visual-hero h1{
  color:#fff;
  margin:0 0 16px;
  font-size:clamp(2.2rem,5vw,3.4rem);
  text-shadow:0 2px 12px rgba(0,0,0,.22);
}
.kiyose-page-copy,
.kiyose-page-copy p{
  color:#fff;
  font-size:1.12rem;
  font-weight:600;
  margin:0;
  text-shadow:0 1px 8px rgba(0,0,0,.28);
}
.kiyose-main{
  padding-top:52px !important;
  padding-bottom:72px !important;
}
.kiyose-layout{
  gap:28px;
  align-items:flex-start;
}
.kiyose-section-title{
  color:#db5c83;
  font-size:clamp(1.55rem,3vw,2rem);
  margin:0 0 30px;
}
.kiyose-topic-query .wp-block-post-template{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  padding:0;
}
.kiyose-topic-query .wp-block-post{
  list-style:none;
}
.kiyose-empty{
  padding:44px 20px;
  border:1px dashed #e6b5c4;
  border-radius:16px;
  background:#fffafb;
  color:#777;
}
.kiyose-sidebar{
  display:grid;
  gap:18px;
  position:sticky;
  top:24px;
}
.kiyose-weather-card,
.kiyose-links-card{
  border:1px solid #dfe6f1;
  border-radius:15px;
  background:#fff;
  padding:22px;
  box-shadow:0 8px 26px rgba(30,45,70,.06);
}
.kiyose-weather-card{
  background:#f8fbff;
  border-color:#cddcf5;
}
.kiyose-links-card{
  background:#fff8fa;
  border-color:#f0ced8;
}
.kiyose-card-title{
  font-weight:800;
  font-size:1.08rem;
  margin-bottom:16px;
  color:#5078c8;
}
.kiyose-links-card .kiyose-card-title{
  color:#db5c83;
}
.kiyose-weather-status{
  color:#777;
  font-size:.92rem;
}
.kiyose-weather-current{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:8px 0 18px;
}
.kiyose-weather-label{
  font-weight:700;
}
.kiyose-weather-updated{
  font-size:.76rem;
  color:#7b8490;
  margin-top:4px;
}
.kiyose-weather-temp{
  font-size:2rem;
  font-weight:800;
  white-space:nowrap;
}
.kiyose-weather-details{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #dbe5f5;
  padding-top:14px;
}
.kiyose-weather-details div{
  text-align:center;
  border-right:1px solid #dbe5f5;
}
.kiyose-weather-details div:last-child{border-right:0}
.kiyose-weather-details span{
  display:block;
  font-size:.72rem;
  color:#7b8490;
}
.kiyose-weather-details strong{
  display:block;
  margin-top:4px;
  font-size:.95rem;
}
.kiyose-weather-note{
  font-size:.7rem;
  color:#8a929c;
  margin:14px 0 0;
  text-align:right;
}
.kiyose-links-card ul{
  margin:0;
  padding-left:1.1em;
}
.kiyose-links-card li{
  margin:.65em 0;
}
.kiyose-links-card a{
  color:#516eb0;
}
.kiyose-charm{
  margin-top:64px;
  padding-top:48px;
  border-top:1px solid #f0d8df;
}
.kiyose-charm-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.kiyose-charm-grid article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.kiyose-charm-grid img{
  width:100%;
  aspect-ratio:1.55/1;
  object-fit:cover;
  display:block;
}
.kiyose-charm-grid h3{
  font-size:1rem;
  margin:16px 16px 8px;
}
.kiyose-charm-grid p{
  font-size:.88rem;
  color:var(--muted);
  margin:0 16px 18px;
  line-height:1.7;
}
.kiyose-image-note{
  margin-top:18px;
  font-size:.78rem;
  color:#888;
}
@media(max-width:900px){
  .kiyose-layout{display:block !important}
  .kiyose-layout > .wp-block-column{width:100% !important; flex-basis:auto !important}
  .kiyose-sidebar{position:static;margin-top:34px;grid-template-columns:1fr 1fr}
  .kiyose-charm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kiyose-topic-query .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .kiyose-visual-hero{min-height:245px}
  .kiyose-visual-hero__inner{width:min(100% - 36px,1180px);padding:46px 0}
  .kiyose-main{padding-top:36px !important}
  .kiyose-sidebar{grid-template-columns:1fr}
  .kiyose-charm-grid{grid-template-columns:1fr}
  .kiyose-topic-query .wp-block-post-template{grid-template-columns:1fr}
}

/* V5.7: corrected Kiyose hero */
.kiyose-visual-hero{
  min-height:250px;
  background-image:
    linear-gradient(90deg,rgba(15,35,22,.58),rgba(15,35,22,.08)),
    url("/wp-content/themes/sakura-technologies-v5-32/assets/images/kiyose-hero.jpg") !important;
  background-position:center center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}
.kiyose-visual-hero__inner{
  padding-top:48px !important;
  padding-bottom:48px !important;
}
@media(max-width:640px){
  .kiyose-visual-hero{
    min-height:220px;
    background-position:center center !important;
  }
}

/* V5.8: clean Kiyose hero */
.kiyose-visual-hero.kiyose-visual-hero--image-only{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-height:0 !important;
  height:250px !important;
  margin:0 !important;
  padding:0 !important;
  background-image:url("/wp-content/themes/sakura-technologies-v5-32/assets/images/kiyose-hero-clean.jpg") !important;
  background-position:center center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}
.kiyose-intro-copy{
  padding-top:32px !important;
  padding-bottom:0 !important;
}
.kiyose-intro-copy h1{
  margin:0 0 10px !important;
}
.kiyose-intro-copy .wp-block-post-content,
.kiyose-intro-copy .wp-block-post-content p{
  margin-top:0 !important;
}
@media(max-width:640px){
  .kiyose-visual-hero.kiyose-visual-hero--image-only{
    height:180px !important;
  }
  .kiyose-intro-copy{
    padding:24px 18px 0 !important;
  }
}


/* ==========================================================
   V5.9 approved visual refresh
   Existing SAKURA TECHNOLOGIES logo is intentionally unchanged.
   ========================================================== */

/* Navigation: small, restrained icons above menu labels on desktop */
@media (min-width:901px){
  header .wp-block-navigation__container{
    align-items:flex-end;
    gap:clamp(16px,2.1vw,34px);
  }
  header .wp-block-navigation-item__content{
    position:relative;
    display:flex !important;
    flex-direction:column;
    align-items:center;
    gap:5px;
    font-size:.88rem;
    white-space:nowrap;
  }
  header .wp-block-navigation-item__content::before{
    display:block;
    font-size:1.15rem;
    line-height:1;
    font-family:"Segoe UI Symbol","Noto Sans Symbols 2",sans-serif;
    font-weight:400;
  }
  header .wp-block-navigation-item:nth-child(1) .wp-block-navigation-item__content::before{content:"⌂";}
  header .wp-block-navigation-item:nth-child(2) .wp-block-navigation-item__content::before{content:"▣";}
  header .wp-block-navigation-item:nth-child(3) .wp-block-navigation-item__content::before{content:"▥";}
  header .wp-block-navigation-item:nth-child(4) .wp-block-navigation-item__content::before{content:"♙";}
  header .wp-block-navigation-item:nth-child(5) .wp-block-navigation-item__content::before{content:"¥";}
  header .wp-block-navigation-item:nth-child(6) .wp-block-navigation-item__content::before{content:"✉";}
  header .wp-block-navigation-item:nth-child(7) .wp-block-navigation-item__content::before{content:"✎";}
  header .wp-block-navigation-item:nth-child(8) .wp-block-navigation-item__content::before{content:"❀";}
  header .wp-block-navigation-item:last-child .wp-block-navigation-item__content{
    color:#e75d84;
  }
}

/* Kiyose hero: approved image with editable title/copy over it */
.kiyose-visual-hero.kiyose-visual-hero--overlay{
  max-width:none !important;
  width:100% !important;
  min-height:0 !important;
  height:255px !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  background:
    linear-gradient(90deg,rgba(18,42,25,.62) 0%,rgba(18,42,25,.26) 42%,rgba(18,42,25,.04) 72%),
    url("/wp-content/themes/sakura-technologies-v5-32/assets/images/kiyose-hero-v59.jpg") center center/cover no-repeat !important;
}
.kiyose-hero-overlay-content{
  width:min(1180px,calc(100% - 64px));
  margin:0 auto !important;
  padding:34px 0 !important;
}
.kiyose-hero-overlay-content h1{
  margin:0 0 14px !important;
  color:#fff !important;
  font-size:clamp(2rem,4.3vw,3.2rem) !important;
  line-height:1.15;
  text-shadow:0 2px 12px rgba(0,0,0,.3);
}
.kiyose-hero-overlay-content h1::after{
  content:"";
  display:block;
  width:110px;
  height:3px;
  margin-top:14px;
  border-radius:99px;
  background:#f48baa;
}
.kiyose-hero-copy,
.kiyose-hero-copy p{
  color:#fff !important;
  margin:0 !important;
  font-size:1.05rem;
  font-weight:700;
  text-shadow:0 2px 9px rgba(0,0,0,.34);
}

/* Remove V5.8 below-image intro if cached block styling remains */
.kiyose-intro-copy{display:none !important;}

/* Slightly closer to approved section treatment */
.kiyose-main{
  background:#fffdfb;
}
.kiyose-section-title{
  position:relative;
  font-weight:800;
}
.kiyose-weather-card,
.kiyose-links-card,
.kiyose-charm-grid article{
  box-shadow:0 8px 24px rgba(39,49,68,.055);
}

/* Three community guide panels */
.kiyose-guide-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:34px 0 0;
}
.kiyose-guide-card{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:20px;
  border-radius:15px;
  border:1px solid;
}
.kiyose-guide-card--pink{background:#fff5f7;border-color:#f3cad5;}
.kiyose-guide-card--green{background:#f5fbf5;border-color:#cfe3d0;}
.kiyose-guide-card--blue{background:#f4f8ff;border-color:#ccdaf3;}
.kiyose-guide-icon{
  flex:0 0 58px;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  font-size:1.55rem;
  box-shadow:0 5px 16px rgba(0,0,0,.05);
}
.kiyose-guide-card h3{
  margin:2px 0 7px;
  font-size:1rem;
}
.kiyose-guide-card--pink h3{color:#df5c82;}
.kiyose-guide-card--green h3{color:#499257;}
.kiyose-guide-card--blue h3{color:#4e79c7;}
.kiyose-guide-card p{
  margin:0;
  color:#5f6670;
  font-size:.86rem;
  line-height:1.7;
}

@media(max-width:900px){
  .kiyose-guide-grid{grid-template-columns:1fr;}
}
@media(max-width:640px){
  .kiyose-visual-hero.kiyose-visual-hero--overlay{
    height:220px !important;
    background-position:center center !important;
  }
  .kiyose-hero-overlay-content{
    width:calc(100% - 36px);
    padding:28px 0 !important;
  }
  .kiyose-hero-overlay-content h1{
    font-size:1.9rem !important;
  }
  .kiyose-hero-copy,
  .kiyose-hero-copy p{
    font-size:.95rem;
  }
}

/* V5.10 — Kiyose hero: clean background image + WordPress text only */
.kiyose-v510-hero{
  width:100% !important;
  max-width:none !important;
  height:255px !important;
  min-height:255px !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  background:
    linear-gradient(90deg,rgba(16,40,24,.58) 0%,rgba(16,40,24,.20) 45%,rgba(16,40,24,.02) 75%),
    url("/wp-content/themes/sakura-technologies-v5-32/assets/images/kiyose-hero-v510.jpg") center center/cover no-repeat !important;
}
.kiyose-v510-hero-inner{
  width:min(1180px,calc(100% - 64px)) !important;
  margin:0 auto !important;
  padding:0 !important;
}
.kiyose-v510-hero-inner h1{
  margin:0 0 14px !important;
  color:#fff !important;
  font-size:clamp(2rem,4.3vw,3.2rem) !important;
  line-height:1.15 !important;
  text-shadow:0 2px 10px rgba(0,0,0,.34);
}
.kiyose-v510-hero-inner h1::after{
  content:"";
  display:block;
  width:110px;
  height:3px;
  margin-top:14px;
  border-radius:999px;
  background:#f48baa;
}
.kiyose-v510-copy,
.kiyose-v510-copy p{
  margin:0 !important;
  color:#fff !important;
  font-size:1.05rem !important;
  font-weight:700 !important;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
}
/* Hide any obsolete V5.8/V5.9 hero/intro remnants if cached markup survives */
.kiyose-intro-copy{display:none !important;}

@media(max-width:640px){
  .kiyose-v510-hero{
    height:210px !important;
    min-height:210px !important;
  }
  .kiyose-v510-hero-inner{
    width:calc(100% - 36px) !important;
  }
  .kiyose-v510-hero-inner h1{
    font-size:1.85rem !important;
  }
  .kiyose-v510-copy,
  .kiyose-v510-copy p{
    font-size:.93rem !important;
  }
}


/* ==========================================================
   V5.11 — iPhone / smartphone responsive hardening
   Desktop design and original logo remain unchanged.
   ========================================================== */

html{
  max-width:100%;
  overflow-x:clip;
}
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
img, video, iframe{
  max-width:100%;
  height:auto;
}
.wp-site-blocks,
.wp-site-blocks > *,
main,
section,
article{
  max-width:100%;
}
.hero-grid > *,
.card-grid > *,
.tech-grid > *,
.profile-box > *,
.footer-grid > *,
.wp-block-columns > .wp-block-column{
  min-width:0;
}

/* A subtle branded image treatment for Column and the other fixed-page headers.
   This uses the existing logo file; the logo itself is not modified. */
.page-hero--visual{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  min-height:190px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.page-hero--visual::after{
  content:"";
  position:absolute;
  z-index:-1;
  right:clamp(18px,5vw,86px);
  top:50%;
  transform:translateY(-50%);
  width:clamp(180px,25vw,360px);
  height:150px;
  background:url("/wp-content/themes/sakura-technologies-v5-32/assets/images/logo.png") center/contain no-repeat;
  opacity:.075;
  pointer-events:none;
}

/* Front page: prevent long Japanese / English text from forcing a wide viewport. */
.hero-copy,
.hero-copy h1,
.hero-copy p,
.section-kicker,
.card,
.card h2,
.card h3,
.card p{
  max-width:100%;
  overflow-wrap:anywhere;
}
.section-kicker{
  word-break:normal;
}

/* Full-screen mobile menu. */
@media (max-width:900px){
  body:has(.wp-block-navigation__responsive-container.is-menu-open){
    overflow:hidden !important;
  }

  .site-header{
    width:100% !important;
    max-width:100% !important;
    padding:8px 14px !important;
    position:sticky !important;
    top:0 !important;
    z-index:9999 !important;
    overflow:visible !important;
  }

  .site-header > .wp-block-group,
  .site-header > .wp-block-group > .wp-block-group,
  .site-header .wp-block-group{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    flex-wrap:nowrap !important;
  }

  .site-header .sakura-logo{
    margin:0 !important;
    min-width:0 !important;
    flex:1 1 auto !important;
  }
  .site-header .sakura-logo img{
    display:block !important;
    width:min(205px,58vw) !important;
    max-width:100% !important;
    height:auto !important;
  }

  .site-header .wp-block-navigation{
    flex:0 0 46px !important;
    width:46px !important;
    max-width:46px !important;
    margin-left:auto !important;
  }
  .site-header .wp-block-navigation__responsive-container-open{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    padding:0 !important;
    margin:0 0 0 auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  .site-header .wp-block-navigation__responsive-container{
    position:fixed !important;
    inset:0 !important;
    width:100% !important;
    height:100dvh !important;
    min-height:100dvh !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    z-index:100000 !important;
  }
  .site-header .wp-block-navigation__responsive-container.is-menu-open{
    display:block !important;
  }

  .site-header .wp-block-navigation__responsive-container-close{
    position:fixed !important;
    top:max(18px,env(safe-area-inset-top)) !important;
    right:18px !important;
    width:44px !important;
    height:44px !important;
    padding:0 !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    z-index:100002 !important;
  }

  .site-header .wp-block-navigation__responsive-dialog{
    width:100% !important;
    min-height:100dvh !important;
    margin:0 !important;
  }

  .site-header .wp-block-navigation__responsive-container-content{
    width:100% !important;
    max-width:100% !important;
    min-height:100dvh !important;
    padding:
      max(86px,calc(env(safe-area-inset-top) + 68px))
      24px
      max(36px,env(safe-area-inset-bottom))
      !important;
    margin:0 !important;
    display:block !important;
  }

  .site-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container{
    width:100% !important;
    max-width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:0 !important;
    margin:0 !important;
    padding:0 !important;
  }

  .site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border-bottom:1px solid var(--line) !important;
  }

  .site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    display:block !important;
    padding:18px 4px !important;
    margin:0 !important;
    text-align:left !important;
    font-size:1rem !important;
    line-height:1.45 !important;
    font-weight:700 !important;
    color:var(--ink) !important;
    white-space:normal !important;
  }

  /* Hide desktop-only icon pseudo elements inside the overlay. */
  .site-header .wp-block-navigation__responsive-container-content
  .wp-block-navigation-item__content::before{
    display:none !important;
  }

  /* Front-page hero becomes a true one-column mobile layout. */
  .hero-grid{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:24px !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
  }
  .hero-grid.section-pad{
    padding:40px 20px 44px !important;
  }
  .hero-copy{
    width:100% !important;
    min-width:0 !important;
  }
  .hero-copy h1{
    width:100% !important;
    max-width:100% !important;
    margin-right:0 !important;
    font-size:clamp(1.8rem,7.6vw,2.45rem) !important;
    line-height:1.42 !important;
    letter-spacing:0 !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
  }
  .hero-copy h1 br{
    display:none !important;
  }
  .hero-note{
    width:100% !important;
    max-width:100% !important;
    font-size:.96rem !important;
    line-height:1.8 !important;
    overflow-wrap:anywhere !important;
  }

  .hero-grid > .card{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:24px 22px !important;
  }
  .hero-grid > .card h2{
    font-size:1.3rem !important;
    line-height:1.55 !important;
  }

  .section-pad,
  .page-body{
    width:100% !important;
    max-width:100% !important;
  }
  .section-pad{
    padding-left:20px !important;
    padding-right:20px !important;
  }
  .page-body{
    padding-left:20px !important;
    padding-right:20px !important;
  }

  .card,
  .contact-box,
  .skill-group,
  .tech-box,
  .column-grid .wp-block-post{
    width:100% !important;
    max-width:100% !important;
  }

  .card-grid,
  .skill-groups,
  .tech-grid,
  .profile-box{
    grid-template-columns:minmax(0,1fr) !important;
  }

  .page-hero--visual{
    min-height:160px;
    padding-left:20px !important;
    padding-right:20px !important;
  }
  .page-hero--visual::after{
    right:-54px;
    width:220px;
    opacity:.055;
  }

  /* Kiyose page: strict mobile containment. */
  .kiyose-v510-hero{
    width:100% !important;
    max-width:100% !important;
  }
  .kiyose-v510-hero-inner{
    width:calc(100% - 36px) !important;
    max-width:100% !important;
  }
  .kiyose-layout,
  .kiyose-charm-grid,
  .kiyose-guide-grid,
  .kiyose-topic-query .wp-block-post-template{
    width:100% !important;
    max-width:100% !important;
  }
}

@media (max-width:480px){
  .site-header{
    padding-left:12px !important;
    padding-right:12px !important;
  }
  .site-header .sakura-logo img{
    width:min(190px,58vw) !important;
  }

  .hero-grid.section-pad{
    padding:34px 18px 40px !important;
  }
  .hero-copy h1{
    font-size:clamp(1.72rem,7.5vw,2.12rem) !important;
    line-height:1.45 !important;
  }
  .section-kicker{
    font-size:.72rem !important;
    letter-spacing:.09em !important;
    line-height:1.55 !important;
  }
  .wp-block-button__link{
    white-space:normal !important;
    text-align:center !important;
  }
  .page-hero,
  .page-body,
  .section-pad{
    padding-left:18px !important;
    padding-right:18px !important;
  }
}

/* ==========================================================
   V5.26 — Business / Service page visual redesign
   ========================================================== */
.business-v512{
  --biz-blue:#1771cf;
  --biz-navy:#102a4e;
  --biz-pale:#edf6ff;
  --biz-line:#d8e5f3;
  background:#fff;
  color:var(--biz-navy);
}
.business-v512-hero{
  max-width:1500px !important;
  margin:0 auto !important;
  display:grid;
  grid-template-columns:minmax(0, .83fr) minmax(0, 1.17fr);
  min-height:410px;
  overflow:hidden;
  background:linear-gradient(90deg,#fff 0%,#fbfdff 47%,#eaf5ff 100%);
}
.business-v512-copy{
  padding:54px 48px 50px 56px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}
.business-v512-titleline{
  display:flex;
  align-items:baseline;
  gap:28px;
  margin-bottom:24px;
}
.business-v512-titleline h1{
  margin:0;
  font-size:clamp(2.35rem,4.1vw,4rem);
  line-height:1.12;
  letter-spacing:.03em;
  color:var(--biz-navy);
  position:relative;
}
.business-v512-titleline h1::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-15px;
  width:72%;
  height:4px;
  border-radius:999px;
  background:#f3a4b8;
}
.business-v512-titleline span{
  color:var(--biz-blue);
  font-size:1.12rem;
  font-weight:800;
  letter-spacing:.06em;
}
.business-v512-copy > h2{
  margin:0 0 22px;
  max-width:700px;
  font-size:clamp(1.7rem,2.6vw,2.55rem);
  line-height:1.52;
  letter-spacing:.02em;
  color:var(--biz-navy);
}
.business-v512-copy > p{
  margin:0;
  max-width:680px;
  font-size:1rem;
  line-height:1.95;
  color:#34495f;
}
.business-v512-hero-image{
  min-width:0;
  min-height:410px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.16),rgba(255,255,255,0) 20%),
    url('/wp-content/themes/sakura-technologies-v5-32/assets/images/business/business-hero-rpa.jpg') center/cover no-repeat;
}
.business-v512-services{
  max-width:1500px !important;
  margin:0 auto !important;
  padding:42px 48px 52px !important;
}
.business-v512-section-heading{
  text-align:center;
  margin-bottom:28px;
}
.business-v512-section-heading h2{
  display:inline-flex;
  align-items:center;
  gap:18px;
  margin:0 0 10px;
  font-size:clamp(1.7rem,2.4vw,2.2rem);
  color:var(--biz-navy);
}
.business-v512-section-heading h2::before,
.business-v512-section-heading h2::after{
  content:"";
  width:34px;
  height:3px;
  border-radius:999px;
  background:var(--biz-blue);
}
.business-v512-section-heading p{
  margin:0;
  color:#43566b;
}
.business-v512-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
}
.business-v512-card{
  position:relative;
  min-width:0;
  background:#fff;
  border:1px solid var(--biz-line);
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 9px 24px rgba(16,42,78,.06);
}
.business-v512-card > img{
  display:block;
  width:100%;
  height:138px;
  object-fit:cover;
}
.business-v512-icon{
  position:absolute;
  top:110px;
  left:50%;
  transform:translateX(-50%);
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f3f8fd;
  color:var(--biz-blue);
  border:6px solid #fff;
  font-size:.8rem;
  font-weight:900;
  letter-spacing:-.02em;
}
.business-v512-card-body{
  padding:42px 22px 24px;
  text-align:center;
}
.business-v512-card-body h3{
  margin:0 0 15px;
  font-size:1.07rem;
  line-height:1.4;
  color:var(--biz-navy);
}
.business-v512-card-body p{
  margin:0;
  font-size:.88rem;
  line-height:1.85;
  color:#394e63;
}
.business-v512-note{
  max-width:980px;
  margin:26px auto 0;
  padding:14px 22px;
  text-align:center;
  border:1px solid #acd0f2;
  border-radius:6px;
  background:#f8fcff;
  color:#1265b9;
  font-size:1rem;
  font-weight:700;
}

@media (max-width:1100px){
  .business-v512-hero{
    grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);
  }
  .business-v512-copy{padding:46px 34px 42px 38px}
  .business-v512-services{padding-left:28px !important;padding-right:28px !important}
  .business-v512-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:780px){
  .business-v512-hero{
    display:flex;
    flex-direction:column;
    min-height:0;
  }
  .business-v512-copy{
    order:2;
    padding:32px 20px 36px;
  }
  .business-v512-hero-image{
    order:1;
    min-height:245px;
    background-position:center;
  }
  .business-v512-titleline{
    gap:16px;
    margin-bottom:26px;
  }
  .business-v512-titleline h1{font-size:2.2rem}
  .business-v512-titleline span{font-size:.9rem}
  .business-v512-copy > h2{
    font-size:1.55rem;
    line-height:1.55;
  }
  .business-v512-copy > h2 br{display:none}
  .business-v512-copy > p{font-size:.96rem;line-height:1.85}
  .business-v512-services{
    padding:36px 18px 42px !important;
  }
  .business-v512-grid{
    grid-template-columns:minmax(0,1fr);
    gap:18px;
  }
  .business-v512-card{
    display:grid;
    grid-template-columns:132px minmax(0,1fr);
    min-height:150px;
  }
  .business-v512-card > img{
    width:132px;
    height:100%;
    min-height:150px;
  }
  .business-v512-icon{display:none}
  .business-v512-card-body{
    padding:20px 18px;
    text-align:left;
  }
  .business-v512-card-body h3{margin-bottom:8px;font-size:1rem}
  .business-v512-card-body p{font-size:.83rem;line-height:1.7}
  .business-v512-note{
    margin-top:22px;
    font-size:.9rem;
    line-height:1.6;
  }
}

@media (max-width:430px){
  .business-v512-hero-image{min-height:210px}
  .business-v512-copy{padding:28px 18px 32px}
  .business-v512-titleline h1{font-size:2rem}
  .business-v512-titleline span{font-size:.8rem}
  .business-v512-copy > h2{font-size:1.42rem}
  .business-v512-card{grid-template-columns:112px minmax(0,1fr)}
  .business-v512-card > img{width:112px}
  .business-v512-card-body{padding:16px 14px}
}


/* ==========================================================
   V5.26 — Homepage redesign
   ========================================================== */
.home-v514{
  --h-blue:#0c3975;
  --h-mid:#1674c9;
  --h-pink:#ed4779;
  --h-ink:#102844;
  --h-muted:#506579;
  --h-line:#dce6f0;
  background:#fff;
  color:var(--h-ink);
  overflow:hidden;
}
.home-v514 *{box-sizing:border-box}
.home-v514 a{text-decoration:none}

.home-v514-hero{
  max-width:1500px;
  min-height:500px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(390px,.82fr) minmax(0,1.18fr);
  background:linear-gradient(90deg,#fff 0%,#fff 39%,#f4faff 100%);
}
.home-v514-hero-copy{
  padding:56px 36px 52px 54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:2;
}
.home-v514-hero-copy::after{
  content:"";
  position:absolute;
  right:-90px;top:0;bottom:0;width:160px;
  background:linear-gradient(90deg,#fff,rgba(255,255,255,0));
  pointer-events:none;
}
.home-v514-hero-copy p{margin:0;font-weight:900;line-height:1.08}
.home-v514-hero-dx{font-size:clamp(3.5rem,6vw,6rem);color:var(--h-blue)}
.home-v514-hero-system{font-size:clamp(1.45rem,2.3vw,2.25rem);color:#0973cb;margin-top:4px!important}
.home-v514-hero-support{font-size:clamp(1.4rem,2.15vw,2.1rem);color:var(--h-pink);margin-top:7px!important}
.home-v514-hero-copy h1{
  margin:28px 0 0;
  font-size:clamp(1.35rem,2.2vw,2.05rem);
  line-height:1.65;
  letter-spacing:.01em;
  color:var(--h-ink);
}
.home-v514-hero-buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:27px}
.home-v514-btn{
  min-height:48px;
  padding:12px 24px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:.94rem;
}
.home-v514-btn.primary{background:var(--h-pink);color:#fff}
.home-v514-btn.secondary{background:#fff;color:var(--h-blue);border:1px solid #8ba8c6}
.home-v514-hero-image{
  min-width:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.28),rgba(255,255,255,0) 18%),
    url('/wp-content/themes/sakura-technologies-v5-32/assets/images/home-hero-dx.jpg') center/cover no-repeat;
}

.home-v514-section{
  max-width:1500px;
  margin:0 auto;
  padding:54px 48px;
}
.home-v514-en{
  margin:0 0 5px;
  color:var(--h-pink);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
}
.home-v514-section h2{margin:0;color:var(--h-ink);line-height:1.35}
.home-v514-outline{
  display:inline-flex;
  margin-top:22px;
  padding:9px 17px;
  border:1px solid #8ba8c6;
  border-radius:999px;
  color:var(--h-blue);
  font-size:.86rem;
  font-weight:800;
}

.home-v514-service{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:28px;
  background:#fbfdff;
}
.home-v514-side-heading>p:not(.home-v514-en){
  color:var(--h-muted);line-height:1.9;font-size:.9rem
}
.home-v514-service-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;
}
.home-v514-service-card{
  overflow:hidden;border:1px solid var(--h-line);border-radius:8px;
  background:#fff;color:var(--h-ink);
  box-shadow:0 8px 22px rgba(16,40,68,.045);
}
.home-v514-service-card>img{display:block;width:100%;height:135px;object-fit:cover}
.home-v514-service-card>div{padding:36px 18px 22px;text-align:center;position:relative}
.home-v514-service-card>div>span{
  position:absolute;left:50%;top:-29px;transform:translateX(-50%);
  width:58px;height:58px;border-radius:50%;background:#fff;border:1px solid #e6edf4;
  display:flex;align-items:center;justify-content:center;color:var(--h-pink);font-weight:900
}
.home-v514-service-card h3{margin:0 0 10px;font-size:1rem}
.home-v514-service-card p{margin:0;color:#4a6074;line-height:1.75;font-size:.82rem}

.home-v514-about{
  display:grid;
  grid-template-columns:220px minmax(270px,.85fr) minmax(320px,1fr);
  gap:30px;align-items:center;
}
.home-v514-small-title{font-weight:800;margin:0 0 14px}
.home-v514-about-copy h2{font-size:clamp(1.55rem,2.3vw,2.15rem);margin-bottom:15px}
.home-v514-about-copy>p:last-child{color:var(--h-muted);font-size:.87rem;line-height:1.9}
.home-v514-about-image{width:100%;height:230px;object-fit:cover;border-radius:6px}
.home-v514-about-points{display:grid;gap:15px}
.home-v514-about-points>div{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:start}
.home-v514-about-points b{
  width:52px;height:52px;border-radius:50%;background:#fff;border:1px solid #e5ebf2;
  display:flex;align-items:center;justify-content:center;color:var(--h-pink);font-size:1.45rem;
  box-shadow:0 4px 12px rgba(16,40,68,.04)
}
.home-v514-about-points p{margin:0;line-height:1.55}
.home-v514-about-points strong{font-size:.94rem}
.home-v514-about-points span{color:var(--h-muted);font-size:.82rem}

.home-v514-experience-news{
  display:grid;grid-template-columns:.92fr 1.08fr;gap:46px;background:#fbfdff;
}
.home-v514-industry-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:22px}
.home-v514-industry-grid>div{
  min-height:100px;border:1px solid var(--h-line);background:#fff;border-radius:6px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
}
.home-v514-industry-grid b{color:var(--h-pink);font-size:1.65rem}
.home-v514-industry-grid span{font-size:.79rem;font-weight:800}

.home-v514-news h2,.home-v514-experience h2{font-size:1.45rem}
.home-v514-update-list{margin-top:16px}
.home-v514-update{
  display:grid;grid-template-columns:88px 78px minmax(0,1fr);gap:10px;align-items:center;
  padding:9px 0;border-bottom:1px solid #e4ebf2;color:var(--h-ink);
}
.home-v514-update time{font-size:.78rem}
.home-v514-update-label{
  display:inline-flex;justify-content:center;padding:3px 7px;border-radius:5px;color:#fff;
  font-size:.68rem;font-weight:800;white-space:nowrap
}
.home-v514-update-label.column{background:#4d9a88}
.home-v514-update-label.kiyose{background:#249ca1}
.home-v514-update-title{font-size:.83rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-v514-empty{color:var(--h-muted)}

.home-v514-tech{
  display:grid;grid-template-columns:200px minmax(0,1fr) 300px;gap:28px;align-items:center
}
.home-v514-tech-copy>p:last-child{color:var(--h-muted);font-size:.84rem;line-height:1.8}
.home-v514-tags{display:flex;flex-wrap:wrap;gap:9px}
.home-v514-tags span{
  min-width:95px;text-align:center;padding:7px 13px;border:1px solid #c8d8e8;border-radius:999px;
  color:#194e84;background:#fff;font-size:.78rem
}
.home-v514-tech>img{width:100%;height:120px;object-fit:cover;border-radius:5px}

.home-v514-column{background:#fbfdff}
.home-v514-column-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}
.home-v514-column-heading a{color:var(--h-pink);font-weight:800;font-size:.85rem}
.home-v514-column-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.home-v514-column-card{background:#fff;border:1px solid var(--h-line);border-radius:7px;overflow:hidden}
.home-v514-column-image{display:block}
.home-v514-column-image img{display:block;width:100%;height:145px;object-fit:cover}
.home-v514-column-body{padding:15px 17px 19px}
.home-v514-column-meta{display:flex;gap:10px;align-items:center;font-size:.7rem;color:#617588}
.home-v514-column-meta span{background:#4d9a88;color:#fff;padding:2px 7px;border-radius:4px}
.home-v514-column-card h3{font-size:.98rem;line-height:1.55;margin:9px 0}
.home-v514-column-card h3 a{color:var(--h-ink)}
.home-v514-column-card p{margin:0;color:#607486;font-size:.78rem;line-height:1.75}

.home-v514-kiyose{
  display:grid;grid-template-columns:190px minmax(0,1fr) 240px;gap:26px;align-items:center
}
.home-v514-kiyose-copy>p:not(.home-v514-en){color:var(--h-muted);font-size:.84rem;line-height:1.8}
.home-v514-kiyose>img{width:100%;height:170px;object-fit:cover;border-radius:5px}
.home-v514-kiyose-message h3{font-size:1.45rem;line-height:1.5;margin:0 0 12px}
.home-v514-kiyose-message p{color:var(--h-muted);font-size:.83rem;line-height:1.7}

.home-v514-bottom-cta{
  max-width:none;margin:0;padding:18px max(28px,calc((100vw - 1300px)/2));
  display:flex;justify-content:space-between;align-items:center;gap:30px;
  background:linear-gradient(90deg,#fff2f6,#ffe5ed);
}
.home-v514-bottom-cta>div{display:flex;align-items:center;gap:17px}
.home-v514-mail{
  width:55px;height:55px;border-radius:50%;background:#fff;color:var(--h-pink);
  display:flex;align-items:center;justify-content:center;border:1px solid #ffc0d1;font-size:1.4rem
}
.home-v514-bottom-cta p{margin:0;line-height:1.55}
.home-v514-bottom-cta a{
  min-width:320px;padding:15px 28px;text-align:center;border-radius:5px;
  background:var(--h-pink);color:#fff;font-weight:800
}

@media (max-width:1100px){
  .home-v514-hero{grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr)}
  .home-v514-hero-copy{padding-left:36px}
  .home-v514-service{grid-template-columns:1fr}
  .home-v514-side-heading{max-width:600px}
  .home-v514-about{grid-template-columns:1fr 1fr}
  .home-v514-about-copy{grid-column:1/-1}
  .home-v514-experience-news{grid-template-columns:1fr}
  .home-v514-tech{grid-template-columns:180px 1fr}
  .home-v514-tech>img{display:none}
  .home-v514-kiyose{grid-template-columns:180px 1fr}
  .home-v514-kiyose-message{grid-column:1/-1}
}

@media (max-width:780px){
  .home-v514-hero{display:flex;flex-direction:column;min-height:0}
  .home-v514-hero-image{order:1;min-height:245px;background-position:center}
  .home-v514-hero-copy{order:2;padding:30px 20px 38px;background:#fff}
  .home-v514-hero-copy::after{display:none}
  .home-v514-hero-dx{font-size:3.4rem}
  .home-v514-hero-system{font-size:1.45rem}
  .home-v514-hero-support{font-size:1.38rem}
  .home-v514-hero-copy h1{font-size:1.45rem;line-height:1.55;margin-top:22px}
  .home-v514-hero-copy h1 br{display:none}
  .home-v514-hero-buttons{width:100%}
  .home-v514-btn{flex:1 1 100%}

  .home-v514-section{padding:38px 18px}
  .home-v514-service-grid{grid-template-columns:1fr}
  .home-v514-service-card{
    display:grid;grid-template-columns:118px minmax(0,1fr);min-height:135px
  }
  .home-v514-service-card>img{width:118px;height:100%;min-height:135px}
  .home-v514-service-card>div{padding:18px 15px;text-align:left}
  .home-v514-service-card>div>span{display:none}

  .home-v514-about{display:block}
  .home-v514-about-image{margin:20px 0}
  .home-v514-about-points{margin-top:20px}
  .home-v514-industry-grid{grid-template-columns:repeat(3,1fr)}

  .home-v514-update{grid-template-columns:78px 68px minmax(0,1fr);gap:7px}
  .home-v514-update-title{font-size:.78rem}

  .home-v514-tech{display:block}
  .home-v514-tags{margin-top:20px}
  .home-v514-tags span{min-width:0;flex:1 1 calc(50% - 9px)}

  .home-v514-column-grid{grid-template-columns:1fr}
  .home-v514-column-card{display:grid;grid-template-columns:120px 1fr}
  .home-v514-column-image img{width:120px;height:100%;min-height:150px}
  .home-v514-column-body{padding:13px 14px}
  .home-v514-column-card p{display:none}

  .home-v514-kiyose{display:block}
  .home-v514-kiyose>img{margin:20px 0}
  .home-v514-kiyose-message{margin-top:12px}

  .home-v514-bottom-cta{padding:22px 18px;display:block}
  .home-v514-bottom-cta a{display:block;min-width:0;width:100%;margin-top:16px}
}

@media (max-width:430px){
  .home-v514-hero-image{min-height:210px}
  .home-v514-industry-grid{grid-template-columns:repeat(2,1fr)}
  .home-v514-update{grid-template-columns:70px 66px minmax(0,1fr)}
  .home-v514-update time{font-size:.7rem}
  .home-v514-update-title{font-size:.73rem}
}

/* V5.26 column article readability */
.single-post .wp-block-post-content{
  max-width:900px;
  margin-inline:auto;
}
.single-post .wp-block-post-content h2{
  margin-top:2.8em;
  padding:14px 18px;
  border-left:5px solid #ed4779;
  background:#f6faff;
  color:#102844;
  border-radius:4px;
}
.single-post .wp-block-post-content h3{
  margin-top:2em;
  color:#0c3975;
}
.single-post .wp-block-post-content p,
.single-post .wp-block-post-content li{
  line-height:2;
}
.single-post .wp-block-post-content figure{
  margin-top:2em;
  margin-bottom:2em;
}
.single-post .wp-block-post-content figure img{
  width:100%;
  height:auto;
  border-radius:10px;
  box-shadow:0 8px 28px rgba(16,40,68,.08);
}
.single-post .wp-block-post-content figcaption{
  text-align:center;
  color:#65788a;
  font-size:.82rem;
}
@media(max-width:780px){
  .single-post .wp-block-post-content h2{
    font-size:1.3rem;
    padding:12px 14px;
  }
}

/* V5.26 — Generative AI article section images */
.single-post .generative-ai-section-image{
  max-width:760px;
  margin:1.5em auto 2em;
}
.single-post .generative-ai-section-image img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
  background:#fff;
}
@media(max-width:780px){
  .single-post .generative-ai-section-image{
    max-width:100%;
    margin:1.2em 0 1.7em;
  }
}


/* ==========================================================
   V5.26 — Column card height + fixed inquiry CTA
   ========================================================== */

/* Column archive cards: equal height in each grid row */
.column-grid .wp-block-post-template{
  align-items:stretch;
}
.column-grid .wp-block-post{
  height:100%;
  min-height:350px;
  display:flex;
  flex-direction:column;
}
.column-grid .wp-block-post > .wp-block-group{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
}
.column-grid .wp-block-post-title{
  min-height:3.2em;
}
.column-grid .wp-block-post-excerpt{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}
.column-grid .wp-block-post-excerpt > p:first-child{
  flex:1 1 auto;
}
.column-grid .wp-block-post-excerpt__more-link{
  margin-top:auto;
  display:inline-block;
}

/* Fixed CTA shown automatically at the end of every column article */
.column-contact-cta{
  margin-top:56px !important;
  margin-bottom:42px !important;
  padding:44px 28px !important;
  max-width:900px;
  border-radius:18px;
  background:#fff3f6;
  text-align:center;
}
.column-contact-cta h3{
  margin:0 0 18px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#0c3975 !important;
  font-size:1.25rem;
}
.column-contact-cta p{
  margin:0 0 24px !important;
  color:#263d57;
}
.column-contact-cta .wp-block-buttons{
  margin:0;
}
.column-contact-cta-button .wp-block-button__link{
  min-width:210px;
  padding:13px 28px;
  border-radius:999px;
  background:#df8299;
  color:#fff;
  font-weight:800;
  text-decoration:none;
}
.column-contact-cta-button .wp-block-button__link:hover{
  opacity:.88;
}

@media(max-width:900px){
  .column-grid .wp-block-post{
    min-height:330px;
  }
}

@media(max-width:640px){
  .column-grid .wp-block-post{
    min-height:0;
  }
  .column-grid .wp-block-post-title{
    min-height:0;
  }
  .column-contact-cta{
    margin-top:40px !important;
    padding:32px 18px !important;
    border-radius:14px;
  }
  .column-contact-cta h3{
    font-size:1.08rem;
  }
  .column-contact-cta-button .wp-block-button__link{
    width:100%;
    min-width:0;
  }
}


/* ==========================================================
   V5.26 — Column grid vertical alignment fix
   WordPress block-gap was adding margin to the 2nd+ cards.
   ========================================================== */
.column-grid .wp-block-post-template{
  align-items:stretch !important;
}
.column-grid .wp-block-post-template > .wp-block-post{
  margin-top:0 !important;
  margin-block-start:0 !important;
  margin-bottom:0 !important;
  align-self:stretch !important;
}
.column-grid .wp-block-post-template > .wp-block-post > .wp-block-group{
  margin-top:0 !important;
  margin-block-start:0 !important;
}
@media(min-width:641px){
  .column-grid .wp-block-post-template > .wp-block-post{
    min-height:374px;
  }
}


/* ==========================================================
   V5.26 — Entity / SEO clarity
   ========================================================== */
.entity-summary{
  margin:28px 0 42px;
  padding:20px 22px;
  border-left:4px solid #df8299;
  border-radius:10px;
  background:#fff7f9;
  line-height:1.9;
}
.overview-table a{
  overflow-wrap:anywhere;
}

/* V5.26 profile visual banner */
.profile-tech-banner{margin:0 0 46px!important;min-height:330px!important;overflow:hidden}
.profile-tech-banner .wp-block-cover__inner-container{width:min(1100px,calc(100% - 48px));margin:auto;color:#102f4f}
.profile-tech-banner h2{margin:0 0 22px!important;padding:0!important;border:0!important;color:#102f4f!important;font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.4}
.profile-tech-banner p{margin:0!important;color:#102f4f!important;font-size:clamp(1.05rem,2vw,1.3rem);line-height:1.9}
@media(max-width:640px){.profile-tech-banner{min-height:300px!important;margin-bottom:34px!important}.profile-tech-banner .wp-block-cover__inner-container{width:calc(100% - 36px)}}


/* V5.26 — Profile banner alignment / clean image fix */
.profile-tech-banner{
  width:min(100%, 1120px) !important;
  max-width:1120px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  min-height:340px !important;
  border-radius:0 !important;
}
.profile-tech-banner .wp-block-cover__image-background{
  object-fit:cover !important;
  object-position:center center !important;
}
.profile-tech-banner .wp-block-cover__inner-container{
  width:calc(100% - 72px) !important;
  max-width:1000px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
@media(max-width:640px){
  .profile-tech-banner{
    width:100% !important;
    max-width:100% !important;
    min-height:300px !important;
  }
  .profile-tech-banner .wp-block-cover__inner-container{
    width:calc(100% - 36px) !important;
  }
}


/* ==========================================================
   V5.26 — Profile banner rebuilt:
   clean image contains NO text; all copy is HTML overlay.
   ========================================================== */
.profile-tech-banner{
  box-sizing:border-box !important;
  width:min(1120px, calc(100% - 32px)) !important;
  max-width:1120px !important;
  min-height:340px !important;
  margin:0 auto 46px !important;
  padding:0 !important;
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  overflow:hidden !important;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.48) 0%, rgba(255,255,255,.20) 48%, rgba(255,255,255,.06) 100%),
    url("/wp-content/themes/sakura-technologies-v5-32/assets/images/profile/profile-tech-banner.jpg") !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
.profile-tech-banner-text{
  position:relative;
  z-index:2;
  width:100%;
  padding:48px 60px;
  color:#082f58;
}
.profile-tech-banner-text h2{
  margin:0 0 22px !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  color:#082f58 !important;
  font-size:clamp(1.65rem, 3vw, 2.2rem) !important;
  line-height:1.45 !important;
}
.profile-tech-banner-text p{
  margin:0 !important;
  color:#082f58 !important;
  font-size:clamp(1.05rem, 1.8vw, 1.25rem) !important;
  line-height:1.9 !important;
  font-weight:700;
}
@media(max-width:640px){
  .profile-tech-banner{
    width:calc(100% - 24px) !important;
    min-height:280px !important;
    margin-bottom:34px !important;
    background-position:center center !important;
  }
  .profile-tech-banner-text{
    padding:34px 24px;
  }
  .profile-tech-banner-text h2{
    font-size:1.45rem !important;
  }
  .profile-tech-banner-text p{
    font-size:1rem !important;
  }
}

/* =========================================================
 * V5.32 Home refresh — "清瀬のIT屋さん。"
 * Front page only. Existing page/mobile styles are preserved.
 * ======================================================= */
.home-v529{--v529-navy:#082a4d;--v529-blue:#0869b2;--v529-sky:#eaf6ff;--v529-pink:#e989a4;--v529-pink-soft:#fff0f4;--v529-green:#278c68;--v529-green-soft:#edf9f4;--v529-ink:#112f4d;--v529-muted:#536b80;--v529-line:#dbe7f0;--v529-shadow:0 18px 42px rgba(8,42,77,.09);color:var(--v529-ink);overflow:hidden;background:#fff}
.home-v529 *{box-sizing:border-box}
.home-v529 a{text-decoration:none}
.home-v529-section{max-width:1220px;margin:0 auto;padding:78px 28px}
.home-v529-kicker{margin:0 0 10px;color:var(--v529-blue);font-size:.74rem;font-weight:900;letter-spacing:.18em}
.home-v529-heading h2{margin:0;color:var(--v529-ink);font-size:clamp(1.7rem,2.6vw,2.35rem);line-height:1.35}
.home-v529-heading>p:last-child{color:var(--v529-muted);line-height:1.8;margin:12px auto 0;max-width:700px}
.home-v529-heading.center{text-align:center}.home-v529-heading.left{text-align:left}.home-v529-heading.left>p:last-child{margin-left:0}

.home-v529-hero{position:relative;min-height:575px;background-image:url('/wp-content/themes/sakura-technologies-v5-32/assets/images/kiyose-hero-v510.jpg');background-size:cover;background-position:center;display:flex;align-items:center}
.home-v529-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,252,255,.98) 0%,rgba(247,252,255,.93) 40%,rgba(247,252,255,.52) 66%,rgba(247,252,255,.13) 100%)}
.home-v529-hero-inner{position:relative;z-index:2;width:min(1220px,100%);margin:0 auto;padding:72px 28px 105px;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:40px;align-items:center}
.home-v529-hero-copy{max-width:750px}.home-v529-eyebrow{margin:0 0 8px;font-size:1.05rem;font-weight:900;letter-spacing:.02em}
.home-v529-hero h1{margin:0;color:#0a2948;font-size:clamp(3.5rem,7vw,6.5rem);line-height:1.04;letter-spacing:-.045em;font-weight:900}.home-v529-hero h1 span{color:var(--v529-blue)}
.home-v529-hero h2{margin:12px 0 0;font-size:clamp(1.45rem,2.6vw,2.4rem);letter-spacing:.02em;color:#112f4d}
.home-v529-lead{margin:26px 0 0;max-width:690px;color:#27485f;font-weight:600;line-height:2;font-size:.98rem;text-shadow:0 1px #fff}
.home-v529-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.home-v529-btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:56px;padding:13px 30px;border-radius:999px;font-weight:800;transition:transform .2s,box-shadow .2s}.home-v529-btn:hover{transform:translateY(-2px)}
.home-v529-btn.primary{background:linear-gradient(135deg,#075d9f,#0b78c9);color:#fff;box-shadow:0 12px 28px rgba(8,105,178,.22)}.home-v529-btn.ghost{background:rgba(255,255,255,.82);border:1px solid #97bad6;color:#0a548a}.home-v529-btn.white{background:#fff;color:#0c5488;box-shadow:0 12px 30px rgba(3,38,72,.18)}
.home-v529-hero-note{justify-self:end;align-self:start;margin-top:45px;color:#0870bc;font-size:clamp(1.5rem,2.2vw,2.15rem);line-height:1.55;font-weight:800;transform:rotate(-5deg);font-family:serif;text-align:center;text-shadow:0 1px #fff}
.home-v529-badges{position:absolute;z-index:3;bottom:28px;right:max(28px,calc((100vw - 1220px)/2 + 28px));display:flex;gap:12px}.home-v529-badge{width:146px;height:146px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 12px 30px rgba(8,42,77,.12);border:4px solid rgba(255,255,255,.8)}.home-v529-badge b{font-size:1.15rem;margin-bottom:5px}.home-v529-badge span{font-size:.72rem;line-height:1.45;font-weight:700}.home-v529-badge strong{font-size:1rem;margin-top:2px}.home-v529-badge.pink{background:#ffe7ee;color:#b04f6d}.home-v529-badge.blue{background:#e3f4ff;color:#0762a3}.home-v529-badge.green{background:#e8f7ef;color:#20785a}

.home-v529-problems{padding-top:70px}.home-v529-problem-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:34px}.home-v529-problem-grid article{padding:31px 23px 28px;background:#fff;border:1px solid var(--v529-line);border-radius:12px;text-align:center;box-shadow:0 8px 25px rgba(8,42,77,.05)}.home-v529-icon{width:54px;height:54px;border:2px solid #0c78c2;border-radius:14px;display:grid;place-items:center;margin:0 auto 18px;color:#0871ba;font-weight:900;font-size:1.35rem}.home-v529-problem-grid h3{margin:0 0 11px;font-size:1rem;line-height:1.65}.home-v529-problem-grid p{margin:0;color:var(--v529-muted);font-size:.84rem;line-height:1.75}.home-v529-helpbar{display:flex;align-items:center;justify-content:center;gap:24px;margin:28px auto 0;width:min(840px,100%);padding:14px 22px;border-radius:999px;background:linear-gradient(90deg,#edf8ff,#dff2ff);color:#075d9f;font-weight:900;font-size:1.05rem}

.home-v529-services{padding-top:28px}.home-v529-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:35px}.home-v529-service-grid>a{position:relative;min-height:250px;border-radius:9px;overflow:hidden;background:#092b4d;box-shadow:var(--v529-shadow)}.home-v529-service-grid img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.9)}.home-v529-service-grid>a:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,35,65,.08),rgba(5,35,65,.90))}.home-v529-service-grid>a>div{position:absolute;z-index:2;inset:auto 20px 19px;color:#fff}.home-v529-service-grid small{font-size:.66rem;letter-spacing:.12em;opacity:.8}.home-v529-service-grid h3{font-size:1.28rem;line-height:1.45;margin:7px 0 0}.home-v529-service-grid span{position:absolute;right:0;bottom:0;font-size:1.4rem}.home-v529-center-link{text-align:center;margin-top:28px}.home-v529-outline{display:inline-flex;align-items:center;justify-content:center;padding:12px 23px;border:1px solid #8bb2d0;border-radius:999px;color:#075f9f;font-weight:800;background:#fff}

.home-v529-about{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:55px;align-items:center;background:linear-gradient(135deg,#f5fbff,#fff);max-width:none;padding-left:max(28px,calc((100vw - 1220px)/2 + 28px));padding-right:max(28px,calc((100vw - 1220px)/2 + 28px))}.home-v529-about-photo img{width:100%;min-height:400px;height:100%;object-fit:cover;border-radius:18px;box-shadow:var(--v529-shadow)}.home-v529-about-copy h2{font-size:clamp(2rem,3.7vw,3.25rem);line-height:1.35;margin:0 0 22px}.home-v529-about-copy>p:not(.home-v529-kicker){color:var(--v529-muted);line-height:1.95}.home-v529-about-points{display:grid;gap:12px;margin:24px 0}.home-v529-about-points>div{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:start;padding:14px 0;border-bottom:1px solid var(--v529-line)}.home-v529-about-points b{width:42px;height:42px;border-radius:50%;background:#e9f6ff;color:#0670ba;display:grid;place-items:center}.home-v529-about-points span{display:flex;flex-direction:column;gap:3px}.home-v529-about-points strong{font-size:.98rem}.home-v529-about-points small{color:var(--v529-muted);font-size:.82rem;line-height:1.55}

.home-v529-info{display:grid;grid-template-columns:1fr 1fr;gap:52px}.home-v529-info-col{min-width:0}.home-v529-info .home-latest-column-grid{grid-template-columns:1fr!important}.home-v529-info .home-latest-column-card:nth-child(n+3){display:none}.home-v529-textlink{display:inline-block;margin-top:18px;color:#075e9f;font-weight:800}

.home-v529-kiyose{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;min-height:390px;background:#e6f6ff;position:relative}.home-v529-kiyose-image,.home-v529-kiyose-family{overflow:hidden}.home-v529-kiyose-image img,.home-v529-kiyose-family img{width:100%;height:100%;object-fit:cover;display:block}.home-v529-kiyose-copy{position:absolute;z-index:3;left:max(28px,calc((100vw - 1220px)/2 + 28px));top:50%;transform:translateY(-50%);width:min(470px,42vw);padding:34px;background:rgba(246,252,255,.92);border-radius:18px;box-shadow:var(--v529-shadow);backdrop-filter:blur(8px)}.home-v529-kiyose-copy h2{font-size:clamp(2rem,3.3vw,3rem);margin:0 0 12px}.home-v529-kiyose-copy>p:not(.home-v529-kicker){line-height:1.8;color:#36576d}.home-v529-kiyose-copy .home-v529-btn{margin-top:10px;background:#0a66a6;color:#fff}.home-v529-kiyose-message{position:absolute;right:max(25px,calc((100vw - 1220px)/2 + 25px));top:42px;color:#066bb1;font-family:serif;font-size:clamp(1.4rem,2vw,2rem);font-weight:800;line-height:1.55;transform:rotate(-5deg);text-align:center;text-shadow:0 1px #fff}

.home-v529-contact{max-width:none;padding:54px max(28px,calc((100vw - 1220px)/2 + 28px));background:linear-gradient(125deg,#07355e,#075a91);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:40px}.home-v529-contact .home-v529-kicker{color:#8dd0ff}.home-v529-contact h2{margin:0;font-size:clamp(1.55rem,2.6vw,2.3rem)}.home-v529-contact p:not(.home-v529-kicker){margin:10px 0 0;line-height:1.7;color:#e5f3ff}.home-v529-contact .home-v529-btn{flex:0 0 auto}

@media(max-width:1000px){
 .home-v529-hero{min-height:650px}.home-v529-hero-inner{grid-template-columns:1fr;padding-bottom:175px}.home-v529-hero-note{display:none}.home-v529-badges{right:24px;bottom:20px}.home-v529-badge{width:125px;height:125px}
 .home-v529-problem-grid,.home-v529-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-v529-about{grid-template-columns:1fr;gap:32px}.home-v529-about-photo img{min-height:300px;max-height:430px}.home-v529-info{grid-template-columns:1fr;gap:62px}
}
@media(max-width:720px){
 .home-v529-section{padding:56px 18px}.home-v529-hero{min-height:auto;background-position:center}.home-v529-hero-shade{background:rgba(247,252,255,.9)}.home-v529-hero-inner{display:block;padding:52px 20px 190px}.home-v529-eyebrow{font-size:.88rem}.home-v529-hero h1{font-size:clamp(2.65rem,14vw,4.25rem);word-break:normal}.home-v529-hero h2{font-size:1.25rem;line-height:1.5}.home-v529-lead{font-size:.88rem;line-height:1.85}.home-v529-lead br{display:none}.home-v529-actions{display:grid}.home-v529-btn{width:100%;min-height:52px}.home-v529-badges{left:18px;right:18px;bottom:18px;justify-content:center;gap:7px}.home-v529-badge{width:104px;height:104px;border-width:3px}.home-v529-badge span{font-size:.6rem}.home-v529-badge strong{font-size:.78rem}
 .home-v529-problem-grid,.home-v529-service-grid{grid-template-columns:1fr}.home-v529-problem-grid article{padding:26px 20px}.home-v529-helpbar{border-radius:16px;text-align:center;font-size:.95rem}.home-v529-service-grid>a{min-height:215px}
 .home-v529-about{padding-left:18px;padding-right:18px}.home-v529-about-photo img{min-height:230px}.home-v529-about-copy h2{font-size:2rem}.home-v529-info{padding-top:62px}
 .home-v529-kiyose{grid-template-columns:1fr;grid-template-rows:250px 250px}.home-v529-kiyose-copy{left:18px;right:18px;top:50%;width:auto;padding:24px;transform:translateY(-50%)}.home-v529-kiyose-message{display:none}.home-v529-kiyose-family{grid-row:2}.home-v529-contact{padding:42px 20px;display:grid;text-align:center}.home-v529-contact .home-v529-btn{width:100%}
}


/* ==========================================================
   V5.32 — one-line hero + article / Kiyose content
   ========================================================== */
@media (min-width: 1100px){
  .home-v529-hero-copy{max-width:860px}
  .home-v529-hero h1{
    font-size:clamp(3.4rem,5.35vw,5.45rem);
    white-space:nowrap;
    letter-spacing:-.055em;
  }
}
.kiyose-v530-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.kiyose-v530-card{padding:24px;background:#fff;border:1px solid #e6edf3;border-radius:14px;box-shadow:0 8px 24px rgba(8,42,77,.05)}
.kiyose-v530-card time{font-size:.78rem;color:#6e8291}
.kiyose-v530-card h3{font-size:1.05rem;line-height:1.65;margin:8px 0}
.kiyose-v530-card h3 a{color:#123957;text-decoration:none}
.kiyose-v530-card p{font-size:.88rem;line-height:1.8;color:#526a7b}
.kiyose-v530-more{font-size:.86rem;font-weight:800;color:#0870b8;text-decoration:none}
.dx-v530-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:28px 0}
.dx-v530-steps>div{padding:20px 12px;border-radius:14px;text-align:center;background:linear-gradient(180deg,#eef8ff,#f9fcff);border:1px solid #d8ebf7}
.dx-v530-steps b{display:grid;place-items:center;width:34px;height:34px;margin:0 auto 10px;border-radius:50%;background:#0874bd;color:#fff}
.dx-v530-steps strong,.dx-v530-steps span{display:block}
.dx-v530-steps strong{color:#0b4f7d;margin-bottom:6px}
.dx-v530-steps span{font-size:.78rem;line-height:1.55;color:#617888}
.dx-v530-tools{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:25px 0 30px}
.dx-v530-tools span{padding:10px 16px;border-radius:999px;background:#eef8ff;border:1px solid #cce6f7;color:#0a5d95;font-weight:800;font-size:.86rem}
@media(max-width:782px){
  .kiyose-v530-list{grid-template-columns:1fr}
  .dx-v530-steps{grid-template-columns:1fr}
  .dx-v530-steps>div{display:grid;grid-template-columns:40px 1fr;text-align:left;column-gap:10px}
  .dx-v530-steps b{grid-row:1/3;margin:0}
  .home-v529-hero h1{white-space:normal}
}

/* V5.32 Weather section */
.kiyose-weather-section{margin-top:28px;margin-bottom:38px}
@media(max-width:782px){.kiyose-weather-section{margin-top:20px;margin-bottom:28px}}
