
/* =========================================================
  IETOMO CUSTOM CSS (one file)
========================================================= */

/* ===== Base ===== */
body{
  font-family:
    "Zen Kaku Gothic New",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    Meiryo,
    sans-serif;
}
.font-en{
  font-family: "Sen", sans-serif;
  letter-spacing: 0.04em;
}

/* ===== Utility: br control ===== */
.br-pc, .br-sp{ display:none; }
@media (min-width: 769px){ .br-pc{ display:inline; } }
@media (max-width: 768px){ .br-sp{ display:inline; } }

/* =========================================================
  Header (PC)
========================================================= */
.ietomoHeader{
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
}
.ietomoHeader.is-scrolled{
  background:#fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.ietomoHeader__inner{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
  padding: 0 0 0 16px;
}
.ietomoHeader__logo{ display:flex; align-items:center; }
.ietomoHeader__logoImg{ height: clamp(28px, 2.6vw, 46px); width:auto; }

.ietomoHeader__nav{
  display:flex;
  align-items:center;
  gap: clamp(12px, 1.2vw, 22px);
  flex: 1;
  justify-content:center;
  min-width: 380px;
}
.ietomoHeader__nav a{
  text-decoration:none;
  color:#111;
  font-weight: 500;
  font-size: clamp(12px, 0.9vw, 16px) !important;
  letter-spacing: .04em;
  padding: 2px 0;
}
.ietomoHeader__nav a:hover{ opacity:.65; }

.ietomoHeader__right{
  display:flex;
  align-items:center;
  gap: 14px;
  color:#111;
}
.ietomoHeader__tel{
  display:flex;
  align-items:baseline;
  text-align:center;
  gap: 6px;
  white-space:nowrap;
}
.ietomoHeader__telLabel{
  font-weight:700;
  font-size: clamp(10px, .7vw, 11px) !important;
}
.ietomoHeader__telNum{
  color:#111;
  text-decoration:none !important;
  font-weight: 800;
  letter-spacing: .05em;
  font-size: clamp(17px, 1.5vw, 24px) !important;
}
.ietomoHeader__hours{
  font-size: clamp(10px, .75vw, 12px);
  line-height: 1.3;
  white-space:nowrap;
}
.ietomoHeader__hoursSub{ font-size: clamp(8px, .6vw, 9px) !important; }

.ietomoHeader__contact{
  background:#111;
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap: 5px;
  padding: 20px 17px;
  white-space:nowrap;
  font-weight:500;
  font-size: clamp(9px, 1vw, 12px) !important;
  transition: .2s;
}
.ietomoHeader__contactIcon{
  width: 22px;
  height: 22px;
  display:block;
  object-fit: contain;
}
.ietomoHeader__contact:hover{ opacity:.8; color:#fff; }
.ietomoHeader__contact:visited{ color:#fff; }

@media (max-width: 980px){
  .ietomoHeader__nav{ display:none; }
  .ietomoHeader__right{ display:none; }
  .ietomoHeader__inner{
    gap:1px;
    padding: 13px 0 17px 10px;
  }
}

/* =========================================================
  SP Menu (overlay)
========================================================= */
.spHeader, .spMenu{ display:none; }

@media (max-width: 900px){
  .spHeader{
    display:block;
    position: fixed;
    inset: 0 0 auto 0;
    height: 56px;
    z-index: 9999;
    pointer-events: none;
  }
  .spHeader__burger{
    position:absolute;
    top:6px; right:10px;
    width:44px; height:44px;
    display:grid; place-items:center;
    background:#111;
    border:0;
    pointer-events:auto;
    -webkit-tap-highlight-color: transparent;
  }
  .spHeader__burgerLines{ position:relative; width:15px; height:12px; display:block; }
  .spHeader__burgerLines::before,
  .spHeader__burgerLines::after,
  .spHeader__burgerLines span{
    content:"";
    position:absolute;
    height:2px;
    background:#fff;
    border-radius:2px;
  }
  .spHeader__burgerLines::before{ top:0; right:0; width:8px; }
  .spHeader__burgerLines span{ top:5px; left:0; width:15px; }
  .spHeader__burgerLines::after{ bottom:0; left:0; width:8px; }

  .spMenu{
    display:none;
    position:fixed;
    inset:0;
    z-index:10000;
  }
  .spMenu.is-open{ display:block; }

  .spMenu__backdrop{
    position:absolute;
    inset:0;
    border:0;
    background: transparent;
    z-index:1;
    -webkit-tap-highlight-color: transparent;
  }

  .spMenu__panel{
    position:relative;
    z-index:2;
    width:100%;
    height:100vh;
    background:#fff;
    overflow-y:auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    transition: transform 320ms cubic-bezier(.22,.61,.36,1);
    touch-action: pan-y;
  }
  .spMenu.is-open .spMenu__panel{ transform: translateY(0); }

  .spMenu__top{
    position: sticky;
    top:0;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 6px 10px;
    background:#fff;
  }
  .spMenu__brandLogo{ height:33px; width:auto; display:block; }
  .spMenu__close{
    border:0; background:transparent;
    font-size:28px !important; line-height:1;
    padding:10px;
    -webkit-tap-highlight-color: rgba(0,0,0,0.25); /* 黒のタップ反応 */
  }
  .spMenu__close{
  -webkit-tap-highlight-color: rgba(0,0,0,0.25);
  color: #000; /* 念のため文字色固定 */
}

  .spMenu__nav{ padding: 10px 16px 6px; }
  .spMenu__link{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 16px 15px;
    text-decoration:none;
    font-size:16px !important;
    color:#111;
  }
  .spMenu__link:visited,
  .spMenu__link:hover,
  .spMenu__link:active{ color:#111; }

  .spMenu__arrow{
    position:relative;
    width:13px; height:10px;
    margin-right:5px;
    flex:0 0 auto;
  }
  .spMenu__arrow::before{
    content:"";
    position:absolute;
    top:50%; left:0;
    width:14px; height:2px;
    background:#111;
    transform: translateY(-50%);
  }
  .spMenu__arrow::after{
    content:"";
    position:absolute;
    right:0; top:50%;
    width:8px; height:8px;
    border-top:2px solid #111;
    border-right:2px solid #111;
    transform: translateY(-50%) rotate(45deg);
  }
  .spMenu__arrow--white::before{ background:#fff; }
  .spMenu__arrow--white::after{ border-color:#fff; }

  .spMenu__bottom{ padding: 18px 16px 26px; }
  .spMenu__telBox{
    border:1px solid #000;
    padding:10px;
    margin-bottom:12px;
    text-align:center;
  }
  .spMenu__telRow{
    display:flex;
    justify-content:center;
    align-items:baseline;
    gap:5px;
  }
  .spMenu__telLabel{ font-size:14px !important; font-weight:700; color:#111; }
  .spMenu__telNum{
    font-size:25px !important;
    font-weight:700;
    line-height:1;
    color:#111;
    text-decoration:none !important;
  }
  .spMenu__telNote{ font-size:13px !important; line-height:1.2; color:#000; }

  .spMenu__cta{ display:grid; gap:15px; }
  .spMenu__ctaBtn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 12px;
    text-decoration:none;
    border-radius:2px;
    border:1px solid rgba(0,0,0,.22);
    -webkit-tap-highlight-color: transparent;
  }
  .spMenu__ctaBtn--black{ background:#111; border-color:#111; color:#fff; }
  .spMenu__ctaBtn--dark { background:#444; border-color:#444; color:#fff; }
  .spMenu__ctaBtn--gray { background:#777; border-color:#777; color:#fff; }

  .spMenu__ctaBtn,
  .spMenu__ctaBtn:visited,
  .spMenu__ctaBtn:hover,
  .spMenu__ctaBtn:active{ color:#fff !important; }

  .spMenu__ctaIcon{
    width:22px; min-width:22px;
    display:flex; align-items:center; justify-content:center;
  }
  .spMenu__ctaIcon img{ width:18px; height:18px; display:block; }
  .spMenu__ctaText{
    flex:1;
    padding-left:10px;
    font-size:16px !important;
    font-weight:500;
    letter-spacing:.05em;
  }
}

@media (prefers-reduced-motion: reduce){
  .spMenu__panel{ transition:none; }
}

/* =========================================================
  Side Float Buttons
========================================================= */
.nkSideFloat{
  position: fixed;
  bottom: 0;
  right: 0;
  transform: translateY(-50%) translateX(110%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: transform .35s ease, opacity .25s ease;
  will-change: transform, opacity;
}
.nkSideFloat.is-show{
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.nkSideFloat__btn{ display:block; line-height:0; text-decoration:none; }
.nkSideFloat__btn img{ display:block; width:47px; height:auto; transition: opacity .25s ease; }
.nkSideFloat__btn:hover img{ opacity: .8; }
@media (max-width: 768px){ .nkSideFloat{ display:none; } }

/* =========================================================
  Hero Swiper
========================================================= */
.hero{
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.hero .swiper,
.hero .swiper-wrapper,
.hero .swiper-slide{ height: 100%; }
.hero .swiper-slide{
  backface-visibility: hidden;
  transform: translateZ(0);
}
.hero .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  will-change: transform, opacity;
  transform: scale(1);
}
.hero .swiper-slide.is-zoom img{
  animation: heroZoom 10s linear both;
}
@keyframes heroZoom{
  0%{ transform: scale(1.15); }
  100%{ transform: scale(1); }
}
.heroCaption{
  position: absolute;
  left: 10%;
  bottom: 20%;
  z-index: 5;
  color: #fff;
  pointer-events: none;
}
.heroCaption__jp{
  font-weight: 400;
  font-size: clamp(22px, 3vw, 34px) !important;
  letter-spacing: .06em;
  line-height: 1.2;
}
.heroCaption__en{
  margin-top: 6px;
  font-weight: 400;
  font-size: clamp(11px, 1.2vw, 14px) !important;
  letter-spacing: .06em;
  opacity: .95;
}

/* =========================================================
  Section title
========================================================= */
.nkSectionTitle{
  text-align: center;
  padding: 60px 0;
}
.nkSectionTitle__sub{
  font-size: clamp(15px, 1.8vw, 18px) !important;
  letter-spacing: .08em;
  color: #111;
  margin-bottom: 0px;
}
.nkSectionTitle__main{
  margin: 0;
  font-weight: 500;
  line-height: 1;
  font-size: clamp(22px, 2.2vw, 27px) !important;
  letter-spacing: .01em;
  color: #111;
}

/* =========================================================
  Split Scroll (4 points)
========================================================= */
.nkSplitScroll__media,
.nkSplitScroll__img{ pointer-events:none; }

.nkSplitScroll__wrap{ position:relative; background:#fff; }
.nkSplitScroll__pin{
  position: sticky;
  top: 0;
  height: 100vh;
  display:grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  overflow:hidden;
  background:#fff;
}
.nkSplitScroll__spacer{ height: var(--nkSplitScrollPinH, 0px); }

.nkSplitScroll__left{
  position:relative;
  height:100vh;
  overflow:hidden;
}
.nkSplitScroll__media{
  position:absolute;
  inset:0;
  height:100%;
  width:100%;
  background:#fff; /* 下地 */
}
.nkSplitScroll__media::before{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;
  z-index:0;
}
.nkSplitScroll__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
  opacity:0;
  transition: opacity 420ms ease, transform 700ms ease;
  z-index:1;
}
.nkSplitScroll__img--active{ opacity:1; transform:scale(1); }

.nkSplitScroll__right{
  height:100vh;
  overflow:hidden;
  background:#fff;
  color:#111;
}
.nkSplitScroll__rightInner{
  max-width:720px;
  margin:0 auto;
  padding: 40px 100px 60px 50px;
}
.nkSplitScroll__point{ padding:40px 0; }
.nkSplitScroll__label{
  display:inline-block;
  background:#111;
  color:#fff;
  font-size:12px !important;
  letter-spacing:.08em;
  padding:4px 8px;
  line-height:1;
  margin:0 0 14px;
}
.nkSplitScroll__title{
  font-size:22px !important;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.55;
  margin:0 0 12px;
}
.nkSplitScroll__text{
  margin:0;
  font-size:14px !important;
  line-height:1.7;
  letter-spacing:.02em;
  color: rgba(0,0,0,.75);
}
.nkSplitScroll__point + .nkSplitScroll__point{ margin-top:18px; }
.nkSplitScroll__text_last{ margin-bottom:600px; }

/* SP split scroll */
@media (max-width: 768px){
  .nkSplitScroll__pin{
    position: relative;
    height: auto;
    display: block;
    overflow: visible;
  }
  .nkSplitScroll__left{
    position: sticky;
    top: 0;
    height: 42vh;
    z-index: 10;
  }
  .nkSplitScroll__right{
    height: auto;
    overflow: visible;
    padding-bottom: 40px;
    box-sizing: border-box;
  }
  .nkSplitScroll__rightInner{ padding: 20px 18px 30px; }
  .nkSplitScroll__spacer{ height:0 !important; }
  .nkSplitScroll__text_last{ margin-bottom:0; }
}

/* =========================================================
  LINEUP cards
========================================================= */
.homeCards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  height:auto;
  grid-auto-rows: 520px;
}
.homeCard{
  position:relative;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
  margin-bottom: 10px !important;
}
.homeCard img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(.2,.6,.2,1);
}
.homeCard:hover img{ transform: scale(1.12); }
.homeCard::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.1));
}
.homeCard__overlay{
  position:absolute;
  bottom:20px;
  left:20px;
  right:30px;
  z-index:2;
}
.homeCard__label{
  font-size:12px !important;
  letter-spacing:.02em;
  opacity:.8;
  margin-bottom:0;
}
.homeCard h3{
  font-size:24px !important;
  letter-spacing:.05em;
  margin-bottom:14px;
}
.homeCard p{
  font-size:13px !important;
  line-height:1.3;
  opacity:.95;
  margin-bottom:15px;
}
.more{
  font-size:12px !important;
  letter-spacing:.1em;
  border-bottom:1px solid rgba(255,255,255,.7);
  padding:0 5px 2px;
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.more i{
  font-size:12px !important;
  transition: transform .25s ease;
  margin-top:5px;
}
.homeCard:hover .more i{ transform: translateX(3px); }
.homeCard,
.homeCard:visited,
.homeCard:hover,
.homeCard:active{ color:#fff; }

@media (max-width: 768px){
  .homeCards{ grid-template-columns: 1fr 1fr; grid-auto-rows: 400px; }
  .homeCard:hover img{ transform: scale(1.05); }
  .homeCard__label{ font-size:10px !important;; }
  .homeCard h3{ font-size:15px !important;; }
  .homeCard p{ font-size:10px !important;; }
  .homeCard__overlay{ right:10px; }
}

/* Ruby (君の上に きみ) */
.ruby-kun{
  position: relative;
  display: inline;
  white-space: nowrap;
}
.ruby-kun::before{
  content:"きみ";
  position:absolute;
  top:-0.9em;
  left:50%;
  transform: translateX(-50%);
  font-size:10px !important;;
  line-height:1;
  letter-spacing:.08em;
  opacity:.9;
  pointer-events:none;
}

/* AndGarden icon (SVG -> white by filter) */
.homeCards .homeCard:nth-child(8) h3{
  display:inline-flex;
  align-items:center;
  gap:3px;
}
.homeCards .homeCard:nth-child(8) h3::before{
  content:"";
  width:30px;
  height:30px;
  display:inline-block;
  background: url("../assets/images/infinity_traced.svg") no-repeat center / contain;
  filter: brightness(0) invert(1);
  flex-shrink:0;
}
@media (max-width:768px){
  .homeCards .homeCard:nth-child(8) h3::before{
    width:20px;
    height:20px;
  }
}

/* =========================================================
  WORK grid
========================================================= */
.worksGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
  padding:0 0 30px;
  margin-bottom:50px;
}
@media (max-width:900px){ .worksGrid{ grid-template-columns: 1fr 1fr; } }
@media (max-width:768px){ .worksGrid{ grid-template-columns: 1fr; } }

.worksItem{ position:relative; overflow:hidden; display:block; }
.worksItem img{
  width:100%;
  height:250px;
  display:block;
  object-fit:cover;
  transition: transform .7s ease;
}
.worksItem:hover img{ transform: scale(1.08); }

.worksCaption{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:0 15px;
  color:#fff;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0));
  opacity:0;
  transform: translateY(20px);
  transition: .35s ease;
}
.worksItem:hover .worksCaption{ opacity:1; transform: translateY(0); }
.worksCaption span{ font-size:12px !important;; letter-spacing:.08em; opacity:.85; }
.worksCaption p{ font-size:14px !important;; margin-top:1px; line-height:1.4 !important;margin-bottom:20px }
@media (max-width:768px){
  .worksCaption{ opacity:1; transform:none; }
}

/* Center link */
.nkTextBlock__more--center{
  display:block;
  width:fit-content;
  margin:0 auto;
}

/* =========================================================
  Flow gallery (marquee)
  ※ ここはあなたの既存CSSを残しつつ整理
========================================================= */
.nkFlowGallery{ overflow:hidden; padding:20px 0; }
.nkFlowGallery__track{
  width: max-content;
  display:flex;
  gap:14px;
  padding:0 20px;
  animation: nkFlowLoop var(--duration, 30s) linear infinite;
}
@keyframes nkFlowLoop{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
.nkFlowGallery a{ pointer-events:none; }

.nkFlowItem.single{
  flex:0 0 auto;
  width:320px;
  height:420px;
  overflow:hidden;
}
.nkFlowItem.single img{ width:100%; height:100%; object-fit:cover; }

.nkFlowItem.stack{
  flex:0 0 auto;
  width:320px;
  height:420px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.stackItem{ flex:1; overflow:hidden; }
.stackItem img{ width:100%; height:100%; object-fit:cover; }

.nkCaption{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:#fff;
  background: rgba(0,0,0,.35);
  opacity:0;
  transition:.3s;
}
.single:hover .nkCaption,
.stackItem:hover .nkCaption{ opacity:1; }

.single img,
.stackItem img{ transition: transform .6s ease; }
.single:hover img,
.stackItem:hover img{ transform: scale(1.05); }

@media(max-width:768px){
  .nkFlowItem.single{ width:200px; height:320px; }
  .nkFlowItem.stack{ width:200px; height:320px; }
  .nkCaption{
    opacity:1;
    justify-content:flex-end;
    align-items:flex-start;
    padding:12px;
    background:linear-gradient(to top, rgba(0,0,0,.55), transparent);
  }
}

/* =========================================================
  EVENT grid
========================================================= */
.nkEventGrid{
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 0 30px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}
.nkEventCard{ display:block; text-decoration:none; color:#111; }
.nkEventCard__thumb{ background:#fff; overflow:hidden; }
.nkEventCard__thumb img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  display:block;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.nkEventCard:hover .nkEventCard__thumb img{ transform: scale(1.08); }
.nkEventCard__body{ padding-top: 14px; }
.nkEventCard__date{ font-size:12px !important;; color:#6b6b6b; margin-bottom:0; }
.nkEventCard__title{ font-size:15px !important;; font-weight:500; line-height:1.55; margin:0; }
.nkEventCard:hover{ opacity:.85; color:#555; }

@media (max-width: 980px){
  .nkEventGrid{ grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 640px){
  .nkEventGrid{
    display:flex;
    gap:18px;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom:10px;
  }
  .nkEventCard{ flex: 0 0 78%; max-width: 320px; }
}

/* =========================================================
  Banner section
========================================================= */
.nkBannerSection{ background:#eeeeee; width:100%; }
.nkBannerWrap{
  max-width:1100px;
  margin:0 auto;
  padding:40px 20px;
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  justify-content:center;
}
.nkBanner{ display:block; flex: 0 1 calc(50% - 20px); max-width:520px; }
.nkBanner:only-child{ flex-basis: min(520px, 100%); }
.nkBanner img{ width:100%; height:auto; display:block; transition: opacity .3s ease; }
.nkBanner img:hover{ opacity:.7; }
@media (max-width:768px){
  .nkBannerWrap{ gap:24px; padding:28px 16px; }
  .nkBanner{ flex-basis:100%; max-width:680px; }
}

/* =========================================================
  Youtube
========================================================= */
.nkYoutube{
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
}
.nkYoutube iframe{ width:100%; height:100%; border:0; }
  .nkYoutube{
  position:relative;
  width:100%;
  padding-top:56.25%;
}

.nkYoutube iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border:0;
}
/* =========================================================
  Footer
========================================================= */
.siteFooter{ background:#2f2f2f; color:#fff; }
.siteFooter__top{
  max-width:1300px;
  margin:0 auto;
  padding:40px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.siteFooter__logoImg{
  height:28px;
  width:auto;
  display:block;
  filter: brightness(0) invert(1);
}
.siteFooter__line{
  max-width:1300px;
  margin:0 auto;
  height:1px;
  background:#fff;
}
.siteFooter__bottomRow{
  max-width:1300px;
  margin:0 auto;
  padding:50px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.siteFooter__copy{
  font-size:11px !important;
  letter-spacing:.16em;
  white-space:nowrap;
}
.siteFooter__nav{
  display:flex;
  align-items:center;
  gap:40px;
  font-size:13px !important;
  letter-spacing:.06em;
  white-space:nowrap;
}
.siteFooter__nav a{ color:#fff; text-decoration:none; }
.siteFooter__nav a:hover{ opacity:.8; }

.siteFooter__sns{ display:flex; gap:18px; font-size:16px !important; }
.siteFooter__sns a{ color:#fff; text-decoration:none; }
.siteFooter__sns a:hover{ opacity:.8; }

@media (max-width: 768px){
  .siteFooter__top,
  .siteFooter__bottomRow{
    padding-left:20px;
    padding-right:20px;
    padding-top:22px;
    padding-bottom:100px;
  }
  .siteFooter__line{
    margin:0 auto;
    width: calc(100% - 40px);
  }
  .siteFooter__bottomRow{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }
  .siteFooter__nav{
    width:100%;
    flex-wrap:wrap;
    white-space:normal;
    gap:14px 22px;
    order:1;
  }
  .siteFooter__copy{
    order:2;
    margin-top:10px;
  }
}

/* =========================================================
  PATCH: missing CSS blocks
  これを css/ietomo-custom.css の末尾に追記
========================================================= */

/* ===== section margin（各セクション上下余白） ===== */
.section_margin{ margin: 150px 0; }
@media (max-width:768px){
  .section_margin{ margin: 50px 0; }
}

/* =========================================================
  nkTextBlock（100人100色の家づくり）
========================================================= */
.nkTextBlock{
  max-width: 100%;
  padding: 0;
  background: #fff;
  color: #111;
  line-height: 2.0;
}

/* タイトル */
.nkTextBlock__title{
  margin: 0 0 18px;
  font-size: clamp(20px, 1.8vw, 25px) !important;
  font-weight: 500;
  letter-spacing: .00em;
  line-height: 1.55;
}

/* 本文 */
.nkTextBlock__body{
  font-size: 14px !important;
  letter-spacing: .0em;
}
.nkTextBlock__body p{
  margin: 0 0 10px;
  line-height: 2rem;
}
.nkTextBlock__body p:last-child{ margin-bottom: 18px; }

/* Read more（WORKやEVENTのSee moreにも流用される） */
.nkTextBlock__more{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #111;
  font-size: 13px !important;
  letter-spacing: .01em;
  font-weight: 500;
  padding-bottom: 3px;
  padding-left: 10px;
  padding-right: 10px;
  border-bottom: 1px solid #111;
  transition: .2s;
}
.nkTextBlock__more:hover{
  color: #555;
  border-color: #555;
}
.nkTextBlock__icon{
  font-size: 12px !important;
  transition: transform .2s ease;
  margin-top: 5px;
}
.nkTextBlock__more:hover .nkTextBlock__icon{
  transform: translateX(2px);
  color: #555;
}

/* 中央寄せ（あなたがWORKで使ってる） */
.nkTextBlock__more--center{
  display: block;
  width: fit-content;
  margin: 0 auto;
}

@media (max-width: 768px){
  .nkTextBlock{ padding: 26px 22px 22px; }
  .nkTextBlock__body{ font-size: 13px !important; }
}

/* =========================================================
  nkPhotoCollage（右側の写真コラージュ）
========================================================= */
.nkPhotoCollage{ padding: 0; }

.nkPhotoCollage__wrap{
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  min-height: 560px;
}

.nkPhotoCollage__img{
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #fff;
}
.nkPhotoCollage__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 上：大きい */
.nkPhotoCollage__img--top{
  top: 0;
  left: 0;
  width: 100%;
  height: 330px;
  z-index: 1;
}

/* 右下：横長 */
.nkPhotoCollage__img--right{
  top: 280px;
  right: 20px;
  width: 65%;
  height: 220px;
  z-index: 3;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

/* 左下：小さい */
.nkPhotoCollage__img--left{
  top: 460px;
  left: 20px;
  width: 23%;
  height: 160px;
  z-index: 2;
}

@media (max-width: 768px){
  .nkPhotoCollage__wrap{
    max-width: 92vw;
    min-height: 520px;
  }
  .nkPhotoCollage__img--top{ height: 300px; }
  .nkPhotoCollage__img--right{
    top: 255px;
    width: 82%;
    height: 200px;
  }
  .nkPhotoCollage__img--left{
    top: 435px;
    width: 42%;
    height: 135px;
  }
}

/* =========================================================
  nkCtaSplit（フッター手前の2分割CTA）
========================================================= */
.nkCtaSplit{
  display:grid;
  grid-template-columns: 1fr 1fr;
  height: 380px;
}
@media (max-width: 900px){
  .nkCtaSplit{
    grid-template-columns: 1fr 1fr; /* ←あなたの仕様（SPでも2列） */
    height: auto;
    gap: 0px;
    padding: 0;
    box-sizing: border-box;
  }
}

.nkCtaSplit__item{
  position:relative;
  overflow:hidden;
  display:block;
  text-decoration:none;
  color:#fff;
}
.nkCtaSplit__item > img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1);
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.nkCtaSplit__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
  transition: opacity .3s ease, background .3s ease;
}
.nkCtaSplit__content{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:22px !important;
  font-weight:500;
  letter-spacing:.12em;
  z-index:2;
  pointer-events:none;
}
.nkCtaSplit__icon img{
  width:23px;
  height:auto;
  display:block;
}
.nkCtaSplit__arrow{
  display:flex;
  align-items:center;
  font-size:15px !important;
  transition: transform .25s ease;
}

.nkCtaSplit__item{ color:#fff; }
.nkCtaSplit__item .nkCtaSplit__text,
.nkCtaSplit__item .nkCtaSplit__arrow,
.nkCtaSplit__item .nkCtaSplit__arrow i{ color:#fff !important; }


.nkCtaSplit__item:hover > img{ transform: scale(1.06); }
.nkCtaSplit__item:hover .nkCtaSplit__overlay{ background: rgba(0,0,0,.42); }
.nkCtaSplit__item:hover .nkCtaSplit__arrow{ transform: translateX(6px); }

@media (max-width: 900px){
  .nkCtaSplit__item{ height: 170px; }
  .nkCtaSplit__content{ font-size:16px !important; gap:10px; }
  .nkCtaSplit__icon img{ width:18px; }
  .nkCtaSplit__arrow{ font-size:14px !important; }
}

/* =========================================================
  spFixedCta（スマホ下固定CTA）
========================================================= */
.spFixedCta{ display:none; }

@media (max-width: 860px){
  .spFixedCta{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: flex;
    height: 54px;
  }
  .spFixedCta__btn{
    flex: 1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 5px;
    text-decoration:none;
    font-weight: 300;
    font-size: 13px !important;
    letter-spacing: .04em;
  }
  .spFixedCta__btn--dark{ background:#000; color:#fff; }
  .spFixedCta__btn--mid { background:#3a3a3a; color:#fff; }
  .spFixedCta__btn--light{ background:#9a9a9a; color:#fff; }

  .spFixedCta__btn:hover{ filter: brightness(1.15); color:#fff; }
  .spFixedCta__btn:active{ transform: scale(0.97); filter: brightness(0.9); }
  .spFixedCta__btn:focus-visible{ outline: 2px solid #fff; outline-offset: -2px; }

  .spFixedCta__iconImg{
    width: 22px;
    height: 22px;
    object-fit: contain;
    display:block;
  }

  /* 下固定に被らないように余白（あなたの元コード踏襲） */
  body{ padding-bottom: 70px; }
}

/* =========================================================
  SplitScroll：画像切替時の透けをさらに防ぐ（強化版）
========================================================= */
/* 左のメディアに “必ず白下地” + 画像の合成を安定 */
.nkSplitScroll__left{ background:#fff; }
.nkSplitScroll__media{ background:#fff; }
.nkSplitScroll__img{ background:#fff; } /* 画像の透明PNG対策にもなる */