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

/* =========================
   Base
========================= */
:root{
  --bg:#ffffff;
  --text:#707070;
  --muted:#666;
  --line:#e7e7e7;
  --accent:#F83920;     /* 赤の差し色 */
  --navFill:#fdffcb;    /* hover塗りの色 */
  --sidebarW:260px;
  --container:980px;
  --radius:18px;
  --shadow:0 12px 40px rgba(0,0,0,.08)}

*{ box-sizing:border-box}
html,body{ height:100%}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.media-hblog img{    aspect-ratio: 16 / 9;        object-fit: cover;}




u.ung{text-decoration-color:#777}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN","Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height:1.8}

img{ max-width:100%; height:auto; display:block}
a{ color:inherit; text-decoration:none}
ul{ margin:0; padding:0; list-style:none}
p{ margin:0 0 1em}
small{ color:var(--muted)}

::selection{ background:rgba(173, 173, 173, 0.15)}

/* =========================
   Layout
========================= */
.l-app{
  display:flex;
  min-height:100vh}

/* PC: sidebar fixed */
.l-sidebar{
  width:var(--sidebarW);
  padding:32px 18px;
  border-right:none;
  position:fixed;
  top:0; left:0;
  height:100vh;
  background:var(--bg);
  z-index:10}

.l-main{
  margin-left:var(--sidebarW);
  width:calc(100% - var(--sidebarW));
  padding:42px 24px 80px}

/* Container */
.c-container{
  max-width:var(--container);
  margin:0 auto}

/* =========================
   Sidebar
========================= */
.c-mheader__brand{background: url(../../images/logo.png) no-repeat; background-size: 100%;        width:150px;
        height: 40px}
.c-mheader__brand span{display: none}


.c-nav{
  margin-top:22px}
.c-nav__item + .c-nav__item{ margin-top:8px}

.c-nav__link{
  display:flex;
  gap:0px;
  align-items:baseline;
  padding:10px 12px;
  border-radius:12px;
  position:relative;
  overflow:hidden;
  transition:color .25s ease;
  white-space:nowrap}
.c-nav__num{
  font-size:12px;
  color:#313131;
  min-width:26px}
.c-nav__label{
  font-size:12px;
  color:#313131;
  margin-left:6px}
.c-nav__title{
  display:flex;
  align-items:baseline;
  gap:4px;
  flex-wrap:nowrap;
  min-width:0;
  font-size:12.5px;
  white-space:nowrap}

.c-nav__label{
  font-size:11px;
  color:#9a9a9a;
  margin-left:0;
  white-space:nowrap}

/* Hover fill: left -> right */
.c-nav__link::before{
  content:"";
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  background:var(--navFill);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .35s cubic-bezier(.2,.8,.2,1);
  z-index:-1}
.c-nav__link:hover::before,
.c-nav__link:focus-visible::before{
  transform:scaleX(1)}
.c-nav__link:hover .c-nav__num,
.c-nav__link:hover .c-nav__title{
  color:#333}

.c-nav__link.is-active{
  font-weight:700}
.c-nav__link.is-active::before{
  transform:scaleX(1);
}

/* Top right CTA (PC) */
.c-cta{
  margin-top:18px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  padding:10px 14px;
  border-radius:999px;
  font-size:12px;
  color:#444;
  background:#fff;
  transition:transform .25s ease, box-shadow .25s ease}
.c-cta:hover{
  transform:translateY(-1px);
  box-shadow:none}
.c-cta__icon{
  width:16px; height:16px;
  border-radius:50%;
  border:1px solid #bbb;
  display:inline-block;
  position:relative}
.c-cta__icon::after{
  content:"";
  position:absolute;
  width:6px; height:6px;
  border-right:1px solid #777;
  border-bottom:1px solid #777;
  transform:rotate(-45deg);
  right:4px; top:4px}


/* =========================
   Top right CTA (PC)
========================= */
.c-topcta{
  position:fixed;
  top:18px;
  right:24px;
  z-index:20;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  padding:10px 14px;
  font-size:12px;
  color:#444;
  background:#fff}
.c-topcta__icon{
  width:25px; height:25px;
  display:inline-block;
  position:relative;
  background:url(../../images/icon.png) no-repeat;
  background-size: 100%}
.c-topcta__icon::after{
  content:"";
  position:absolute;
  width:25px; height:6px;
  right:25px; top:4px}
@media (max-width: 860px){
  .c-topcta{ display:none}
}

/* =========================
   Mobile Header + Hamburger
========================= */
.c-mheader{
  display:none;
  position:fixed;
  top:0; left:0;
  width:100%;
  height:64px;
  background:#fff;
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid rgba(0,0,0,.06);
  z-index:30}
.c-mheader__inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px}
.c-mheader__brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800}

/* hamburger */
.c-hamb{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0);
  background:#fff;
  position:relative;
  cursor:pointer}
.c-hamb span{
  position:absolute;
  left:11px;
  right:11px;
  height:2px;
  background:#222;
  border-radius:2px;
  transition:transform .35s ease, top .35s ease, opacity .25s ease}
.c-hamb span:nth-child(1){ top:14px}
.c-hamb span:nth-child(2){ top:21px}
.c-hamb span:nth-child(3){ top:28px}
body.is-menu-open .c-hamb span:nth-child(1){ top:21px; transform:rotate(45deg)}
body.is-menu-open .c-hamb span:nth-child(2){ opacity:0}
body.is-menu-open .c-hamb span:nth-child(3){ top:21px; transform:rotate(-45deg)}

/* Fullscreen overlay menu (rich) */
.c-overlay{
  position:fixed;
  inset:0;
  background:#777;
  backdrop-filter:saturate(180%) blur(12px);
  z-index:25;
  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease}
body.is-menu-open .c-overlay{
  opacity:1;
  pointer-events:auto}

.c-overlay__panel{
  position:absolute;
  inset:0;
  display:flex;
  padding:90px 18px 28px}

/* animated background “wipe” */
.c-overlay__wipe{
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(0,0,0,.22), rgba(0,0,0,0));
  transform:translateX(-35%);
  opacity:.0;
  transition:transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s ease}
body.is-menu-open .c-overlay__wipe{
  transform:translateX(0%);
  opacity:1}

.c-overlay__nav{
  width:100%;
  max-width:560px;
  margin:0 auto;
  transform:translateX(18px);
  opacity:0;
  transition:transform .55s cubic-bezier(.2,.8,.2,1), opacity .35s ease}
body.is-menu-open .c-overlay__nav{
  transform:translateX(0);
  opacity:1}
.c-overlay__title{
  font-size:12px;
  color:rgba(255,255,255,.85);
  margin-bottom:16px;
  display:none}

.c-overlay__list{
  border-top:1px solid rgba(255,255,255,.22)}
.c-overlay__item{
  border-bottom:1px solid rgba(255,255,255,.22)}

.c-overlay__link{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:4px 6px;
  font-size:15px;
  color:#fff;
  position:relative;
  overflow:hidden}
.c-overlay__link::before{
  content:"";
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  background:rgba(255,255,255,.12);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .4s cubic-bezier(.2,.8,.2,1);
  z-index:-1}
.c-overlay__link:hover::before{ transform:scaleX(1)}

.c-overlay__arrow{
  width:10px; height:10px;
  border-right:1px solid rgba(255,255,255,.9);
  border-bottom:1px solid rgba(255,255,255,.9);
  transform:rotate(-45deg);
  opacity:.7}

.c-overlay__text{
  display:flex;
  flex-direction:column;
  gap:2px}
.c-overlay__en{
  font-size:15px;
  display: block}
.c-overlay__jp{
  font-size:12px;
  color:rgba(255,255,255,.85);
  display: block;
  margin:-0.5em 0 0
}

/* stagger appear */
.c-overlay__item{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .45s ease, transform .45s ease}
body.is-menu-open .c-overlay__item{
  opacity:1;
  transform:translateY(0)}

/* =========================
   Typography blocks
========================= */
.c-pagehead{
  padding-top:8px;
  margin-bottom:24px}
.c-pagehead__eyebrow{
  font-size:12px;
  color:#777}
.c-pagehead__title{
  margin:.1em 0 0;
  font-size:44px;
  font-weight:500;
  font-family: "Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN", ui-serif, "Times New Roman", serif}
.c-pagehead__sub{
  color:#777;
  font-size:12px}

.c-lead{
  font-size:15px;
  line-height:2;
  color:#222;
  margin:16px 0 20px}
.c-accent{
  color:var(--accent);
  font-weight:700}

/* =========================
   Media / Sections
========================= */
.c-hero{
  border-radius:0;
  overflow:hidden;
  box-shadow:none;
  margin:18px 0 30px;
  position:relative}
.c-hero img{
  width:100%;
  height:480px;
  object-fit:cover}
.c-hero__caption{
  position:absolute;
  left:18px; bottom:18px;
  background:rgba(255,255,255,.86);
  padding:12px 14px;
  border-radius:14px;
  font-size:12px;
  color:#444;
  max-width:min(520px, 90%)}

.c-section{
  margin:52px 0}
.c-section__title{
  font-size:28px;
  font-family: "Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN", ui-serif, "Times New Roman", serif;
  font-weight:500;
  margin:0 0 12px}
.c-section__sub{
  font-size:12px;
  color:#777;
  margin-top:-6px;
  margin-bottom:18px}

/* Image grid */
.c-grid{
  display:grid;
  gap:14px}
.c-grid--3{ grid-template-columns:repeat(3, 1fr)}
.c-grid--2{ grid-template-columns:repeat(2, 1fr)}
.c-card{
  border-radius:16px;
  overflow:hidden;
  background:#fafafa;
  border:1px solid rgba(0,0,0,.05);
  box-shadow:none}
.c-card img{
  width:100%;
  height:220px;
  object-fit:cover}
.c-card__body{
  padding:14px 14px 16px}
.c-card__meta{
  font-size:11px;
  color:#777}
.c-card__title{
  margin:6px 0 6px;
  font-size:16px}
.c-card__desc{
  color:#666;
  font-size:13px}

/* Article thumb row (COLUMN) */
.c-thumbrow{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px}
.c-thumb{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  transition:transform .25s ease, box-shadow .25s ease}
.c-thumb:hover{
  transform:translateY(-2px);
  box-shadow:none}
.c-thumb img{ height:120px; object-fit:cover; width:100%;}
.c-thumb__body{ padding:10px 10px 12px}
.c-thumb__date{ font-size:11px; color:#777}
.c-thumb__title{ font-size:12px; color:#333; margin-top:4px}

/* Buttons */
.c-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#222;
  color:#fff;
  font-size:13px;
  transition:transform .25s ease, box-shadow .25s ease}
.c-btn:hover{
  transform:translateY(-1px);
  box-shadow:none}

/* =========================
   Scroll reveal animations
========================= */
.js-reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .75s ease, transform .75s ease;
  will-change:transform, opacity}
.js-reveal.is-inview{
  opacity:1;
  transform:translateY(0)}



/* subtle parallax target */
.js-parallax{
  will-change:transform}

/* =========================
   Forms (Contact)
========================= */
.c-form{
  margin-top:26px;
  border-top:1px solid var(--line);
  padding-top:24px}
.c-field{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:18px;
  padding:12px 0;
  border-bottom:1px solid rgba(0,0,0,.06)}
.c-field label{
  font-size:12px;
  color:#666;
  padding-top:10px}
.c-input, .c-textarea{
  width:100%;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  padding:12px 12px;
  font-size:14px;
  outline:none}
.c-textarea{ min-height:140px; resize:vertical}
.c-actions{
  display:flex;
  justify-content:center;
  margin-top:22px}

/* =========================
   Footer
========================= */
.c-footer{
  margin-top:70px;
  padding-top:26px;
  border-top:1px solid var(--line);
  color:#777;
  font-size:12px}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px){
  :root{ --container:860px}
  .c-hero img{ height:420px}
}

@media (max-width: 860px){
  /* Switch to mobile layout */
  .l-sidebar{ display:none}
  .l-main{
    margin-left:0;
    width:100%;
    padding:84px 16px 70px; /* header space */
  }
  .c-mheader{ display:block}

  /* Images width 80% on mobile (your requirement) */
  .c-container img{
    width:80%;
    margin-left:auto;
    margin-right:auto}
  /* Keep full-bleed hero */
  .c-hero img{
    width:100%;
    margin:0}

  .c-pagehead__title{ font-size:34px}
  .c-grid--3{ grid-template-columns:1fr}
  .c-grid--2{ grid-template-columns:1fr}
  .c-thumbrow{ grid-template-columns:1fr 1fr}
  .c-field{ grid-template-columns:1fr; gap:8px}
  .c-field label{ padding-top:0}
}

@media (max-width: 420px){
  .c-thumbrow{ grid-template-columns:1fr}
}



/* =========================
   Design alignment overrides (v3)
========================= */
body{
  font-family:"Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size:14px;
  line-height:2.1;
  color:#222}
.c-nav__num,
.c-nav__title,
.c-nav__label,
.u-mincho{
  font-family:"Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN","Noto Serif JP","Yu Mincho","游明朝",serif!important;
  font-weight:400}
.u-muted{ color:#666}

.l-main{
  padding:64px 90px 110px}
@media (max-width: 1024px){
  .l-main{ padding:60px 0px 90px}
}
@media (max-width: 860px){
  .l-main{ padding:84px 0px 70px}
}

/* content column like mock: left aligned with generous whitespace */
.c-container{
  max-width:740px;
  margin:0; /* left align in main area */
}

/* Page title (ABOUT/COMPANY/FLOW...) */
.c-pagetitle{
  margin:6px 0 22px}
.c-pagetitle__en{
  font-family:"Cormorant Garamond","Times New Roman",serif;
  font-weight:500;
  font-size:28px;
  margin:0;
  line-height:1.1}
.c-pagetitle__jp{
  margin-top:4px;
  font-size:12px;
  color:#777}

/* Top page headline */
.c-toplead{
  margin:18px 0 26px}
.c-toplead p{
  margin:0;
  font-size:20px;
  line-height:2.0}

/* Lead sentences */
.c-lead{
  font-size:14px;
  line-height:2.2;
  margin:18px 0 18px;
  color:#333}
.c-lead--tight{ margin-top:10px}

/* Media blocks (images) */
.c-hero{
  margin:18px 0 34px;
  box-shadow:none;
  border-radius:0}
.c-hero img{
  height:auto;
  max-height:none}
.c-hero__caption{ display:none} /* mock doesn't show caption overlay */

/* Section headings like WORKS/COLUMN */
.c-section{
  margin:64px 0}
.c-section__title{
  font-family:"Cormorant Garamond","Times New Roman",serif;
  font-weight:500;
  font-size:34px;
  margin:0 0 10px}
.c-section__sub{
  font-size:12px;
  color:#777;
  margin:0 0 22px}

/* Remove card styling shadows/borders (design is flat) */
.c-card{
  box-shadow:none;
  border:none;
  background:transparent;
  border-radius:0}
.c-card img{ border-radius:0}
.c-card__body{ padding:12px 0 0}
.c-thumb{
  box-shadow:none;
  border:none;
  border-radius:0}
.c-thumb img{         border-radius:0;}
.c-thumb__body{ padding:10px 0 0}
.c-btn{
  box-shadow:none;
  background:#333;
  border:none}
.c-btn:hover{ box-shadow:none}

/* Sidebar menu like mock: flat bar, no rounding */
.c-nav__link{
  border-radius:0;
  padding:8px 10px}
.c-nav__link::before{
  border-radius:0}
.c-nav__title{ font-size:12px}
.c-nav__label{ font-size:11px}
.c-nav__num{ font-size:11px; min-width:24px}

/* Right top CTA button (PC) */
.c-topcta{
  top:18px;
  right:36px;
  background:#fff;
  border:1px solid #d8d8d8;
  color:#444;
  font-size:12px}

/* Accent line (red sentence in flow etc.) */
.c-accentline{
  color:var(--accent);
  font-weight:500;
  font-size:13px;
  margin:10px 0 22px}

/* PROCESS (FLOW) */
.c-process{
  margin-top:36px}
.c-process__list{
  margin:0;
  padding:0}
.c-process__item{
  display:grid;
  grid-template-columns:180px 1fr;
  column-gap:44px;
  padding:10px 0}
.c-process__label{
  background:#f3f3f3;
  padding:10px 12px;
  font-size:10px;
  color:#666;
  line-height:1.6;
  white-space:nowrap}
.c-process__body{
  font-size:12px;
  line-height:2.2;
  color:#555}
.c-process__body p{ margin:0 0 10px}
.c-process__note{
  margin-top:10px}
@media (max-width: 860px){
  .c-container{ max-width: none}
  .c-process__item{
    grid-template-columns:1fr;
    row-gap:10px;
    column-gap:0}
  .c-process__label{
    width:80%;
    margin:0 auto;
    text-align:center}
  .c-process__body{
    width:80%;
    margin:0 auto}
}

/* Contact form align flatter like mock */
.c-form{ border-top:none; padding-top:0}
.c-field{ border-bottom:1px solid rgba(0,0,0,.06)}
.c-input, .c-textarea{
  border-radius:10px;
  border:1px solid rgba(0,0,0,.12)}

/* Keep mobile image rule, but don't affect icons etc. */
@media (max-width: 860px){
  .c-container img{ width:80%; margin-left:auto; margin-right:auto}
  .c-hero img{ width:100%; margin:0}
}



/* =========================
   Pixel-perfect tuning (v4)
   Target: desktop comps provided (approx 980px wide layout)
========================= */

/* Fixed centered canvas (PC) */
@media (min-width: 861px){
  .l-app{
    width:980px;
    margin:0 auto}
  .l-sidebar{
    width:260px;
    left:calc(50% - 490px);
    border-right:none;
    padding:34px 16px}
  .l-main{
    margin-left:260px;
    width:720px;
    padding:78px 0 120px 62px; /* top / right / bottom / left */
  }
  .c-container{
    max-width:640px;
    margin:0}
  .c-topcta{
    right:calc(50% - 490px + 24px);
    top:18px}
}

/* Typography baseline */
body{
  font-size:13px;
  line-height:2.25;
  color:#2a2a2a}

/* Page head (ABOUT/FLOW/...) */
.c-pagetitle{
  margin:0 0 18px}
.c-pagetitle__en{
  font-family:"Cormorant Garamond","Times New Roman",serif;
  font-weight:500;
  font-size:36px;
  margin:0;
  line-height:1.05;
  color:#2a2a2a}
.c-pagetitle__jp{
  margin-top:6px;
  font-size:12px;
  color:#7a7a7a}

/* Top headline (mincho, like comp) */
.c-toplead{
  margin:6px 0 22px}
.c-toplead p{
  font-family:"Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN","Noto Serif JP","Yu Mincho","游明朝",serif;
  font-size:15px;
  line-height:2.0;
  color:#2a2a2a}

/* Body mincho blocks */
.u-mincho{
  font-family:"Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN","Noto Serif JP","Yu Mincho","游明朝",serif}

/* Media blocks (no shadow, square) */
.c-hero{
  border-radius:0 !important;
  box-shadow:none !important;
  margin:22px 0 28px}
.c-hero img{
  width:100%;
  height:auto;
  object-fit:cover}
.c-hero__caption{ display:none !important}

/* Section titles like WORKS/COLUMN */
.c-section{
  margin:72px 0}
.c-section__title{
  font-family:"Cormorant Garamond","Times New Roman",serif;
  font-weight:500;
  font-size:34px;
  margin:0 0 6px;
  color:#2a2a2a}
.c-section__sub{
  margin:0 0 18px;
  font-size:12px;
  color:#8a8a8a}

/* Flat grids (images only) */
.c-grid{ gap:10px}
.c-card{ background:transparent !important; border:none !important}
.c-card__body{ display:none !important} /* comps show images grid */

.c-thumbrow{ gap:18px}
.c-thumb{ background:transparent !important}
.c-thumb img{ height:86px} /* small thumbs like comp */
.c-thumb__date{ font-size:11px; color:#777}
.c-thumb__title{ font-size:11px; color:#777; line-height:1.8}

/* Accent line (red) */
.c-accentline{
  color:#F83920;
  font-size:12px;
  line-height:2.2;
  margin:14px 0 16px}

/* Paragraph spacing like comp */
.p-text{
  font-size:12px;
  color:#6f6f6f;
  line-height:2.35;
  margin:0}
.p-text + .p-text{ margin-top:14px}

/* FLOW process list styling (match comp: label strip + text) */
.c-process{ margin-top:18px}
.c-process__item{
  grid-template-columns:200px 1fr;
  column-gap:48px;
  padding:9px 0}
.c-process__label{
  background:#efefef;
  padding:8px 12px;
  font-size:10px;
  color:#666}
.c-process__body{
  font-size:11px;
  color:#6b6b6b;
  line-height:2.25}
.c-process__body p{ margin:0 0 10px}

/* Contact form sizing */
.c-field{
  grid-template-columns:140px 1fr;
  gap:22px;
  padding:16px 0}
.c-input, .c-textarea{
  padding:12px 14px;
  font-size:13px}
.c-actions{ margin-top:34px}
.c-btn{ padding:14px 40px; font-size:13px; background:#4a4a4a}
.smf-action button{ font-size:13px!important; padding:14px 60px!important; background:#4a4a4a!important;color:#fff!important;border: none!important;border-radius: 999px!important}

/* Mobile: keep previous rules */
@media (max-width: 860px){
  .c-pagetitle__en{ font-size:34px}
}



/* =========================
   Pixel-perfect from XD PDF (v5)
   Canvas: 1700px (exported artboard)
========================= */
@media (min-width: 861px){
  :root{
    --canvasW:1700px;
    --sidebarW:539px;   /* content starts at x=539 in PDF */
    --contentW:1000px;  /* images span x=539..1539 */
  }

  body{ background:#fff}

  .l-app{
    width:var(--canvasW);
    margin:0 auto}

  .l-sidebar{
    width:var(--sidebarW);
    left:calc(50% - (var(--canvasW) / 2));
    padding:90px 0 0 169px; /* menu text starts at x=169 */
    border-right:none !important}

  .c-brand{background: url(../../images/logo.png) no-repeat; background-size: 100%;         width: 213px;
        height: 56px;display: block;        margin: 0 0 32px}
.c-brand__mark,.c-brand__name{display: none}


  .c-nav{ margin-top:0;         margin: 0 0 0 9px}
  .c-nav__item + .c-nav__item{ margin-top:28px}

  .c-nav__link{
    padding:0;
    white-space:nowrap}
  .c-nav__num{
    font-size:15px;
    min-width:auto}
  .c-nav__num::after{content: "│"}
  .c-nav__title{
    font-size:15px}
  .c-nav__label{
    font-size:12px}
  .c-nav__link::before{ top:-10px; bottom:-10px; height:auto}

  .l-main{
    margin-left:var(--sidebarW);
    width:calc(var(--canvasW) - var(--sidebarW));
    padding:173px 0 160px 0; /* first content block starts around y=173 */
  }
  .c-container{
    width:var(--contentW);
    max-width:none;
    margin:0}

  /* Top-right CTA matches PDF position */
  .c-topcta{
    position:fixed;
    left:calc(50% - (var(--canvasW) / 2) + 1346px);
    top:87px;
    padding:12px 18px;
    font-size:14px;
    border:1px solid #d9d9d9;
    background:#fff;
    color:#333}
}

/* Typography (match PDF span sizes) */
@media (min-width: 861px){
  body{
    font-size:25px;          /* body paragraphs in PDF are 25 */
    line-height:2.0;         /* ~50px leading for 25px text */
    color:#707070}

  /* English large headings: 40 */
  .t-en40{
    font-family:"Cormorant Garamond","Times New Roman",serif;
    font-size:28px;
    font-weight:500;
    line-height:1.05;
    margin:0}
  .t-jp16{
    font-size:14px;
    color:#7a7a7a;
    margin-top:8px}
  .t-lead30{
    font-size:21px;
    line-height:1.7;
    margin:0}
  .t-body25{
            font-size: 13px;
        line-height: 2;
    color:#707070;
    margin:0}
  .t-small17{
    font-size:13px;
    line-height:2.0;
    color:#5f5f5f;
    margin:0}
  .t-mini15{
    font-size:13px;
    line-height:1.9;
    color:#6d6d6d;
    margin:0}

  .u-mincho{
    font-family:"Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN","Noto Serif JP","Yu Mincho","游明朝",serif}


  /* Media blocks sized to PDF content width */
  .media1000{ width:100% }
  .media1000 img{ width:100%; display:block}


  /* Remove all shadows / cards */
  .c-card, .c-thumb{ box-shadow:none !important; border:none !important; background:transparent !important; border-radius:0 !important}
  .c-card img, .c-thumb img{ border-radius:0 !important}

  /* Works grid 3x2 tiles 333px with no gap */
  .grid-works{
    display: flex;
        /* grid-template-columns: repeat(3, 333px); */
        /* gap: 0; */
        width: 100%;
        margin-top: 18px;
        flex-wrap: wrap;}
  .grid-works a img{}

  .grid-works a{width:33%;display: block;margin: -1px;}

  /* Column thumbnails: 4 across, 224px with 35px gap */
  .grid-column{
            display: grid;
        grid-template-columns: repeat(3, 30%);
        column-gap: 35px;
        row-gap: 0;
        width: 100%;
        margin-top: 18px;}
 .thumb img{
    width:298px;
    aspect-ratio: 1/1;
        border-radius: 12px;
    object-fit:cover}
.thumb .meta{
    font-size:15px;
    color:#7a7a7a;
    margin-top:10px;
    line-height:1.8}
.thumb .title{
    font-size:15px;
    color:#7a7a7a;
    margin-top:6px;
    line-height:1.8}

  /* Section headings like WORKS/COLUM: 40 */
  .t-sec40{
    font-family:"Cormorant Garamond","Times New Roman",serif;
    font-size:28px;
    font-weight:500;
    margin:0 0 45px;
    line-height:1.05}
  .t-sec-sub{
    font-size:14px;
    color:#7a7a7a;
    margin-top:8px}

  /* Vertical rhythm */
  .sp-22{ margin-top:22px}
  .sp-30{ margin-top:30px}
  .sp-50{ margin-top:50px}
  .sp-90{ margin-top:90px}

  /* FLOW process: label column starts at x=539, body starts at x=980 */
  .process{
    margin-top:30px}
  .process .row{
    display:grid;
    grid-template-columns:411px 1fr;
    column-gap:30px;
    align-items:start;
    padding:0}
  .process .label{
    background:#efefef;
    padding:12px 15px;
    font-size:13px;
    color:#666;
    line-height:1.6;
    white-space:nowrap}
  .process .body{
    font-size:13px;
    color:#5f5f5f;
    line-height:2.0;
  padding:0 0 12px;}
  .process .body p{ margin:0 0 18px}

  /* CONTACT form sizes like PDF */
  .c-form{ margin-top:40px}
  .c-field{ grid-template-columns:220px 1fr; padding:18px 0}
  .c-field{ font-size:13px; color:#666}
  .c-input, .c-textarea{ font-size:17px; padding:14px 16px; border-radius:10px}
  .c-actions{ justify-content:center; margin-top:50px}
  .smf-action button{ font-size:15px!important; padding:14px 60px!important; background:#4a4a4a!important;color:#fff!importantborder: none!important;border-radius: 999px!important}
}

/* Keep mobile behavior from earlier versions (do not change) */



/* =========================
   Layout fixes (v6)
   - No fixed CTA
   - Prevent width break
   - Add slider + property list
========================= */

/* PC canvas: fluid with max width (prevents breaking) */
@media (min-width: 861px){
  .l-app{
    width:auto !important;
    max-width:1400px;
    margin:0 auto}
  .l-sidebar{
    position:fixed;
    left:calc(50% - 700px); /* align with centered app */
    width:260px;
    padding:90px 0 0 40px;
    background:#fff}
  .l-main{
    margin-left:260px;
    width:auto;
    padding:120px 60px 120px}
  .c-container{
    width:auto;
    max-width:980px;
    margin:0}

  /* CTA should scroll with page (NOT fixed) */
  .c-topcta{
    position:absolute !important;
    top:24px;
    right:60px;
    left:auto !important}
}

/* Ensure no horizontal overflow */
html, body{ overflow-x:hidden}

/* Remove any remaining shadows globally */
*{ box-shadow:none !important}

/* Hide old footer blocks completely (user requested deletion, but safety) */
.c-footer{ display:none !important}

/* ---------- Property list ---------- */
.c-property-list{
  margin-top:60px;
  display:grid;
  grid-template-columns:1fr;
  gap:40px}
.c-property-item{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:34px;
  align-items:start}
.c-property-item__media img{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:0}
.c-property-item__tagrow{
  display:flex;
  gap:8px;
  margin-top:6px}
.c-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:#fff;
  background:#333;
  padding:2px 10px;
  border-radius:999px}
.c-property-item__title{
  font-family:"Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN","Noto Serif JP","Yu Mincho","游明朝",serif;
  font-size:19px;
  margin-top:12px;
  color:#707070;
  line-height:1.7}
.c-property-item__meta{
  margin-top:10px;
  font-size:14px;
  color:#666;
  line-height:2.0}
.c-property-item__desc{
  margin-top:12px;
  font-size:14px;
  color:#666;
  line-height:2.1;
  border:1px solid rgba(0,0,0,.12);
  padding:12px 14px}
@media (max-width: 1024px){
  .c-property-item{ grid-template-columns:1fr}
  .c-property-item__media img{ height:auto}
  .c-property-item__desc{ width:100%}
}

/* ---------- Slider ---------- */
.c-slider{
  position:relative;
  width:100%;
  overflow:hidden}
.c-slider__track{
  display:flex;
  transition:transform .45s ease;
  will-change:transform}
.c-slide{
  min-width:100%}
.c-slide img{
  width:100%;
  object-fit:cover}
.c-slider__nav{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  pointer-events:none}
.c-slider__btn{
  pointer-events:auto;
  width:33px;
  height:33px;
  border:1px solid rgba(255,255,255,0);
  background:rgba(0,0,0,.9);
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  margin:0 5px
}
.c-slider__btn:active{ transform:scale(.98)}
.c-slider__btn span{
  width:10px;
  height:10px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  display:block}
.c-slider__btn--prev span{ transform:rotate(135deg); margin-left:4px}
.c-slider__btn--next span{ transform:rotate(-45deg); margin-right:4px}

.c-slider__dots{
  position:absolute;
  left:0; right:0;
  bottom:14px;
  display:flex;
  justify-content:center;
  gap:8px}
.c-slider__dot{
  width:7px; height:7px;
  border-radius:50%;
  background:rgba(255,255,255,.55);
  border:none;
  cursor:pointer}
.c-slider__dot.is-active{
  background:#fff}

@media (max-width: 860px){
  .c-slide img{ height:auto}
}

body{ position:relative}



/* =========================
   Fix requests (v7)
   - Head order JP -> EN
   - Main content in Mincho
   - Contact hero background + overlay
   - Works-detail slider
   - Property layouts refinements
========================= */

/* Content font: Mincho (main area), keep nav sans */
.l-main, .l-main *{
  font-family:"Hiragino Mincho Pro","Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN","Noto Serif JP","Yu Mincho","游明朝",serif;
  font-style:normal;
  font-weight:300;
  src:
    local("Hiragino Mincho Pro W3"),
    local("Hiragino Mincho ProN W3"),
    local("ヒラギノ明朝 Pro W3"),
    local("ヒラギノ明朝 ProN W3"),
    local("Hiragino Mincho Pro"),
    local("Hiragino Mincho ProN"),
    local("ヒラギノ明朝 Pro"),
    local("ヒラギノ明朝 ProN");
}
.c-mheader, .c-mheader * , .c-overlay, .c-overlay * , .c-topcta{
  font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",system-ui,sans-serif !important}

/* Page header block */
.c-pagehead-v7{
  margin-bottom:40px}
.pagehead__jp{
  font-size:3vw;
  color:#7a7a7a;
  margin:0 0 10px}
.pagehead__en{
  font-family:"Cormorant Garamond","Times New Roman",serif;
  font-size:6vw;
  font-weight:500;
  margin:0;
  line-height:1.05;
  color:#707070}

/* Contact hero with background image */
.c-hero-bg{
  width:100%;
  height:520px;
  background-image:url("https://ftello.jp/waps/wp-content/themes/ftellowp/images/image-interactive.jpg");
  background-size:cover;
  background-position:center;
  position:relative;
  margin-top:40px}
.c-hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.25)}
.c-hero-bg__inner{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:44px;
  z-index:1;
  color:#fff}
.c-hero-bg__inner .lead{
  font-size:30px;
  line-height:1.7}

/* Contact form full width */
.c-form{ width:100%}
.c-field{ width:100%}
.c-input, .c-textarea{ width:100%}

/* Works-detail uses slider height */
@media (min-width: 861px){
  .c-slide img{}
}

/* Property page: 2-column list grid */
.c-property-grid{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:44px 34px}
.c-prop-card{
  display:block}
.c-prop-card__img img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius: 20px}
.c-prop-card__body{
  margin-top:16px}
.c-prop-card__title{
  font-size:19px;
  line-height:1.7;
  color:#707070;
  margin:0}
.c-prop-card__meta{
  margin-top:10px;
  font-size:14px;
  color:#666;
  line-height:2.0}
.c-prop-card__desc{
  margin-top:12px;
  border:1px solid rgba(0,0,0,.12);
  padding:12px 14px;
  font-size:14px;
  color:#666;
  line-height:2.05}
.c-prop-card__tags{
  margin-top:10px;
  font-size:14px;
  color:#666}
@media (max-width: 1024px){
  .c-property-grid{ grid-template-columns:1fr}
  .c-prop-card__img img{ height:auto}
}

/* Property detail: prev/next at bottom */
.c-prevnext{
  display:flex;
  justify-content:space-between;
  margin-top:70px;
  font-size:15px;
  color:#666}

/* Ensure topcta is not fixed already in v6; keep absolute within body */



/* =========================
   Global fixes (v7)
========================= */

/* Content is basically Mincho */
.l-main{
  font-family:"Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN","Noto Serif JP","Yu Mincho","游明朝",serif}
.l-sidebar, .c-mheader, .c-overlay{
  font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",system-ui,sans-serif}

/* Sidebar: fixed to LEFT, never clipped */
@media (min-width: 861px){
  .l-app{
    max-width:none !important;
    width:100% !important;
    margin:0 !important}
  .l-sidebar{
    left:0 !important;
    width:280px !important;
    padding:40px 14px 40px 18px !important}
  .l-main{
    margin-left:260px !important;
    width:calc(100% - 260px) !important;
    padding:69px 60px 120px !important;
    min-width:0}
  .c-topcta{
    position:absolute !important;
    right:60px !important;
    top:24px !important;
    left:auto !important}

  /* Smaller nav text so it doesn't cut */
  .c-nav__num{ font-size:12px !important}
  .c-nav__title{ font-size:11.5px !important}
  .c-nav__label{ font-size:10.5px !important}
}

/* Prevent horizontal overflow */
html, body{ overflow-x:hidden}

/* Remove copyright blocks everywhere (already hidden) */
.c-footer{ display:none !important}

/* Page heading order: JP then EN */
.pagehead{
  margin-bottom:40px}
.pagehead__jp{
  font-size:14px;
  color:#7a7a7a}
.pagehead__en{
  font-family:"Cormorant Garamond","Times New Roman",serif;
  font-size:28px;
  font-weight:500;
  line-height:1.05;
  margin:6px 0 0}

/* Contact hero background */
.c-contact-hero{
  position:relative;
  width:100%;
  height:520px;
  background-position:center;
  margin-top:40px}
.c-contact-hero__inner{
  position:absolute;
  left:0; top:0;
  height:100%;
  width:100%;
  display:flex;
  align-items:center}
.c-contact-hero__text{
  width:90%;
  padding:0 0 0 5%}
.c-contact-hero__text .lead{
  font-size:25px;
  line-height:1.2;
  color:#fff;
  text-shadow:0 2px 18px rgba(0,0,0,.35)}
@media (max-width: 860px){
  .c-contact-hero{ height:auto; padding-top:56%}
  .c-contact-hero__inner{ padding:20px 0}
  .c-contact-hero__text .lead{ font-size:22px}
}

/* Contact form full width */
.c-form{
  width:100% !important}
.c-field{
  width:100%}

/* Works detail slider spacing */
.c-slider{ margin-top:40px}

/* Property list: 2 columns */
.c-property-grid{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:44px 34px}
.c-prop-card{
  display:block}
.c-prop-card img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius: 20px}
.c-prop-card__meta{
  margin-top:14px;
  font-size:14px;
  color:#666;
  line-height:2.0}
.c-prop-card__title{
  margin-top:24px;
  font-size:19px;
  line-height:1.7;
  color:#707070}
.c-prop-card__price{
  margin-top:10px;
  font-size:14px;
  color:#666;
  line-height:2.0}
.c-prop-card__desc{
  margin-top:12px;
  font-size:14px;
  color:#666;
  line-height:2.1}
.c-prop-card__tags{
  margin-top:12px;
  display:flex;
  gap:8px}
.c-prop-card__tag{
  background:#333;
  color:#fff;
  font-size:12px;
  padding:2px 10px;
  border-radius:999px}
@media (max-width: 1024px){
  .c-property-grid{ grid-template-columns:1fr}
  .c-prop-card img{ height:auto}
}

/* Property detail: prev/next at bottom */
.c-prevnext{
  display:flex;
  justify-content:space-between;
  margin-top:80px;
  font-size:15px;
  color:#7a7a7a}



/* =========================
   Property detail + Mobile typography (v8)
========================= */

/* Property detail head 2-column */
.c-prop-detail-head{
  margin-top:26px;
  padding:18px 0;
  display:block;
}
.c-prop-detail-left .tagrow{
  display:flex;
  gap:8px;
  margin-bottom:12px;
  font-family:"Noto Sans JP",sans-serif}
.c-prop-detail-left .tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#333;
  color:#fff;
  font-size:12px;
  padding:2px 10px;
  border-radius:999px}
.c-prop-detail-left .title{
  font-size:19px;
  line-height:1.7;
  margin:0}
.c-prop-detail-left .meta,
.c-prop-detail-right .meta{
  margin-top:12px;
  font-size:13px;
  color:#6b6b6b;
  line-height:2.0}
.c-prop-detail-right .descbox{
  border:1px solid rgba(0,0,0,.18);
  padding:12px 14px;
  font-size:12px;
  color:#6b6b6b;
  line-height:2.0}
.c-prop-detail-bodybox{
  margin-top:26px;
  border:1px solid rgba(0,0,0,.18);
  height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:12px;
  color:#7a7a7a;
  line-height:2.0}
.c-prop-detail-map{
  margin-top:26px}
.c-prop-detail-map img{
  width:100%;
  height:auto;
  display:block}



span.smallcau{font-size:14px;display: block}
.comtib{margin-bottom:2em}
figure{padding: 0;margin:0}
figure img{width: 100%!important}
.label2{background:#fff!important;border: #E3E3E3 1px solid!important}
.partner span{font-size: 50%}
.lead span{display: block;font-size: 50%;line-height: 1.3;margin-top:1em}

.probox{border:1px solid #eee;padding:1em;display: flex;justify-content:space-around;padding: 1em;margin-top:2em}
.probox div{width: 45%}
.indexhero{margin:2.5em 0}




@media (max-width: 1024px){
  .c-prop-detail-head{
    grid-template-columns:1fr;
    row-gap:18px}
}

/* Mobile typography: keep hierarchy similar to PC */
@media (max-width: 860px){
  .l-main{
    font-family:"Hiragino Mincho Pro","Hiragino Mincho ProN","ヒラギノ明朝 Pro","ヒラギノ明朝 ProN","Noto Serif JP","Yu Mincho","游明朝",serif}
  .pagehead__jp{
    font-size:3vw}
  .pagehead__en{
    font-size:28px}
  .t-en40{ font-size:34px}
  .t-lead30{ font-size:4vw; line-height:1.9}
  .t-body25{ font-size:3vw; line-height:1.8; margin-bottom:1em;        margin-top: 3em;}

  .t-small17{ font-size:3vw; line-height:2.0}
  .t-mini15{ font-size:2.486vw; line-height:1.9}
  .t-sec40{ font-size:32px}
  .t-sec-sub{ font-size:3vw}
  .grid-works{display:flex;justify-content: center;flex-wrap: wrap}
  .grid-works a{width:50%;display:block}
  .grid-works a img{width: 100%!important}
  .grid-column{        display: grid;
        grid-template-columns: repeat(3, 30%);
        column-gap: 5%;
        row-gap: 0;
        width: 100%;
        margin-top: 18px;}
  .grid-column a{    margin-bottom: 1em;}
  .colum-swiper a img,
  .grid-column a img{width: 100%!important}
  span.smallcau{font-size:3vw;display: block}

   .process .label{
    background:#efefef;
    padding:6px 7px;
    font-size:3.6vw;
    color:#666;
    line-height:1.6;
    white-space:nowrap;

    width:fit-content;
    margin:2em 0 0.5em}
  .c-field{display: block}
figure.media1000 {
    margin: 2em 0}


.ceo{display:block!important;margin:0 0 24px}
.ceo div{width: 100%!important;margin:1em auto}
.ceo div:last-of-type p{padding:0!important;font-size:70%;text-align: center}
.ceo img{width:100%!important}
.w4{display: flex;flex-wrap: wrap}
.w4 div{width:50%!important;background: #F7F7F7;text-align: center}
.w4 div img{width:100%}

.w4 div span{display: block;padding:0.5em 0 0;font-size:100%!important}
.w4 div p{font-size:120%!important}

br.forsp{display: block!important;}
br.forpc{display: none!important;}
.wp-element-caption {
    font-size: 104%!important;
}


.prof{width:100%!important;margin:80px 0;}
.profimg img{width:100%!important}
.proftxt h4{}
.proftxt h4 span{font-size:80%}
.proftxt{font-size:12px!important;        line-height: 1.8;}
.proftxt br{display:none!important;}


}




li.c-nav__item {
    display: block;
    margin: 0 0 -0.7em 0;
}

br.forsp{display: none;}
br.forpc{display: block;}


.sss{display: flex;align-items: baseline;}

.mb30{margin-bottom: 30px}

.ceo{display: flex;align-items: center;margin:0 0 24px}
.ceo div{width: 50%}
.ceo div:last-of-type p{display: block;padding:0 0 0 10%;font-size:70%}

.w4{display: flex;font-size:70%}
.w4 div{width:24.5%;background: #F7F7F7;text-align: center}
.w4 div img{width:100%}

.w4 div span{display: block;padding:0.5em 0 0;font-size:65%}
.w4 div p{display: block;margin:0 0;font-size:100%}

.js-slider-prev span{ transform:rotate(135deg)}
.js-slider-next span{ transform:rotate(-45deg)}

.t-accent{
    color:#F83920;
    font-weight:500}

  strong{color: #222;font-weight: normal;}


.prof{width:55%;margin:20px 0 80px;}
.profimg img{width:100%!important;        border-radius: 12px;}
.proftxt h4{}
.proftxt h4 span{font-size:80%}
.proftxt{font-size:12.8px;}
.proftxt br{display:block;}




.page-child .wp-block-heading {font-size:23px!important;    width: fit-content;
    margin: 0 auto 30px;}
.blogblock p {font-size:13px}
.blogblock h2{border-bottom:1px solid #eee}


.c-container::after {
        display: block;
    width: 100%;
    height: 30px;
    border-top: thin #efefef solid;
    margin-top: 2em;
    padding: 2em 0 0;
    content: "";
    background: url(https://ladybugs.co.jp/wapp/wp-content/themes/tendousya-2/images/logo-s.png) no-repeat right 1em;
    background-size: 18px;
    opacity: 0.6;
}




@media (min-width: 861px) {
.home .l-main {
        padding:100px 60px 120px !important
    }
.home .c-container{padding:0;}
.tophero{margin-top:0!important}
}



hr.herohr{border:#fff;    height: 0.7em;margin: 0;}



u{text-decoration: underline;text-decoration-color: #F83920;text-underline-offset: 8px;}


.tophoto {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 600; /* 画像比率に合わせて調整（例） */
  overflow: hidden;
border-radius:15px;
}
/* =========================
   Cycle2 HERO 完全版（縮む瞬間なし）
   対象: figure.tophoto.cycle-slideshow
   ========================= */

figure.tophoto {
  position: relative;
  overflow: hidden;

  --zoom-from: 1.08;
  --zoom-to: 1;
  --dur: 5s;      /* data-cycle-timeout="5000" と合わせる */
  --hold: 80%;    /* ここまででズーム、残りは固定 */
}

figure.tophoto > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  /* 基本は常に100% */
  transform: scale(var(--zoom-from));

  transition: none !important;
  animation: none;

  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* JSが付けるクラスでズーム開始 */
figure.tophoto > img.is-zooming {
  animation: heroZoomHold var(--dur) linear forwards;
}

@keyframes heroZoomHold{
  0%              { transform: scale(var(--zoom-from)); }
  var(--hold)     { transform: scale(var(--zoom-to)); }
  100%            { transform: scale(var(--zoom-to)); }
}




.indexhero em {
    font-weight: normal;
    margin-left: 8em;
}



.btcontrl div{width:40%;padding:0 1em}


.btcontrl div:last-of-type{text-align:right}

.more{display:flex;width: 87%;}
.moremore{margin:0 0 0 auto;display:block}

.grid-column a{margin-bottom:1em}


/* process */
/* ===== FLOW line settings（調整用） ===== */
.process {
  --flow-line-color: rgba(0, 0, 0, 0.1);
  --flow-line-w: 1px;

  /* PC: 左ライン位置（ボックス左端からの距離） */
  --flow-line-x: 38.7%;

  /* PC: 上下の余白（角丸のボックスなら少し空けると綺麗） */
  --flow-line-top: 0px;
  --flow-line-bottom: 0px;

  /* SP: 下の箱サイズ */
  --flow-box-h: 44px;
  --flow-box-gap: 14px; /* row本体と箱の隙間 */
  --flow-box-radius: 10px;
  --flow-box-border: rgba(0, 0, 0, 0.1);
}

/* ===== base ===== */
.process .row {
  position: relative;
}

/* ===== PC: 左に「上→下へ伸びる線」 ===== */
.process .row::before {
  content: "";
  position: absolute;
  left: var(--flow-line-x);
  top: var(--flow-line-top);
  bottom: var(--flow-line-bottom);
  width: var(--flow-line-w);
  background: var(--flow-line-color);

  /* 表示された時だけ伸びる */
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  transition: transform 900ms ease, opacity 200ms linear;
  pointer-events: none;
}

/* is-inview が付いた瞬間に発火 */
.process .row.is-inview::before {
  transform: scaleY(1);
  opacity: 1;
}




.w5050{display:block;}

.page-id-16 h3.wp-block-heading,
.w5050 u.ung{display:block;width: fit-content;padding-right: 1em;border-bottom:2px solid #777;text-decoration:none;}

/* ===== SP: 左ラインはやめて、rowの下に箱（after）＋箱の中央で線（beforeを移動） ===== */
@media (max-width: 767px) {
  /* 下の箱ぶんのスペースを確保（これがないと次のrowと重なります） */
 .process .row::before{
  left:0;
 }
.process .label,
.process .body{margin:0 0 0 1em}
.process .body p:last-of-type{margin:0}
.process .row{padding:0 0 3em}
u{text-decoration: underline;text-decoration-color: #F83920;text-underline-offset: 4px;}
h3.wp-block-heading,
.page-id-16 .w5050 u.ung{display:block;width: fit-content;padding-right: 1em;border-bottom:2px solid #777;text-decoration:none;}
.c-contact-hero{margin:2em 0}

.single-post .t-lead30{font-size:18.5px}

.toiawasebut a{width:80%!important;padding:14px 60px!important;border-radius:999px;color:#fff;background:#4a4a4a!important;margin:1em auto;display:block;font-size:12px;text-align:center;}


}

.works-ti{display:inline-block!important;margin-left:1em}

figure img{border-radius:15px}


.toiawasebut a{width:40%;padding:14px 60px!important;border-radius:999px;color:#fff;background:#4a4a4a!important;margin:1em auto;display:block;font-size:12px;text-align:center;}


.thumb .title {
    line-height: 1.4;
}



/* PC: 3件並び */
@media (min-width: 768px) {
  .colum-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; /* お好み */
  }

  .colum-swiper .swiper-slide {
    width: auto !important; /* Swiperのinline width対策 */
  }

  .colum-swiper .swiper-pagination {
    display: none;
  }
}
@media (max-width: 861px) {
  .colum-swiper { overflow: hidden;   }
.swiper-pagination{  position: static!important;
    margin-bottom: 2em!important;}
  .colum-swiper .swiper-slide { height: auto; }
  .colum-swiper .thumb { display: block; width: 100%; }

  /* 角丸を「親」に付けて overflow hidden で確実に効かせる */
  .colum-swiper .thumb {
    overflow: hidden;
    display: block;
  }

  /* 画像を正方形(1:1)でトリミング */
.grid-column .thumb img,
  .colum-swiper .thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;          /* 念のため */
    object-fit: cover;
    display: block;
    border-radius: 16px;   /* 好みで */
margin:1em 0 0.5em
  }
}



.detail figure img{border-radius:0px;}

.yomb{margin-bottom:2em}






