/* ============================================================
   基本設定
   ============================================================ */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family:
    "Noto Serif JP",        
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Yu Mincho",
    serif;
}

p {
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}
.reveal {
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(60px);
}
.js-enabled .reveal.is-active {
  opacity: 1;
  transform: translateY(0);
}

.caption-overlay {
  position: absolute;
  right: 0.4%;
  bottom: 0.4%;
  color: #fff;
  font-size: clamp(0.5625rem, 0.75vw, 0.75rem);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.05em;
  font-weight: normal;
}


/* ============================================================
   ページトップへ戻るボタン
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 1.5%;
  bottom: 2%;
  width: 50px;
  height: 50px;
  z-index: 9999;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #ddd;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.back-to-top.is-show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: #3e5a7d;
  border-color: #3e5a7d;
}

.arrow {
  width: 12px;
  height: 12px;
  border-top: 3px solid gray;
  border-right: 3px solid gray;
  transform: translateY(3px) rotate(-45deg);
  transition: all 0.4s ease;
}
.back-to-top:hover .arrow {
  border-color: #fff;
}

/* PC / SP 改行ヘルパー */
.pc {
  display: block;
}
.sp {
  display: none;
}


/* ============================================================
   SECTION 1 ブランドコンセプト
   ============================================================ */
.s1 {
  padding: 5% 0;
  background-color: #fff;
  overflow-x: hidden;
}
.s1-wrap {
  display: flex;
  width: 70%;
  height: auto;
  margin: 0 auto;
  position: relative;
}
.s1-side {
  width: 20%;
  flex-shrink: 0;
}
.s1-logo {
  width: 48%;
  writing-mode: vertical-rl;
  font-family: sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: bold;
  letter-spacing: 0.3em;
  color: #e0e0e0;
  line-height: 1;
}
.s1-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.s1-main {
  flex-grow: 1;
}
.s1-catch {
  font-size: clamp(1.125rem, 2.2vw, 2.75rem);
  margin-bottom: 4%;
  font-weight: normal;
}
.s1-desc {
  margin-bottom: 6.5%;
  margin-top: 6.5%;
}
.s1-desc p {
  font-size: clamp(0.75rem, 1.1vw, 1.2rem);
  line-height: 2.4;
  font-weight: normal;
}
.s1-img {
  width: calc(100% + 30vw);
  margin-top: 4%;
  margin-bottom: 5%;
  margin-right: -30vw;
}
.s1-img img {
  width: 100%;
  height: auto;
  display: block;
}
.s1-btm {
  text-align: center;
  margin-top: 15%;
  transform: translateX(-10%);
  line-height: 1.8;
}
.s1-btm p {
  font-size: clamp(1.0rem, 1.6vw, 1.5rem);
  margin-bottom: 3%;
}
.s1-btm h2 {
  font-size: clamp(1.375rem, 2.8vw, 2.7rem);
  font-weight: normal;
  letter-spacing: 0.1em;
}

/* タブレット以下 */
@media (max-width: 1024px) {
  .s1 {
    padding: 6% 0;
  }
  .s1-wrap {
    width: 100%;
  }
  .s1-side {
    width: 10%;
    margin-right: 7%;
	margin-left: -1%;
  }
  .s1-side img {
    width: 100%;
    height: auto;
    display: block;
  }
  .s1-logo {
    width: 100%;
  }
  .s1-catch {
    font-size: clamp(1.125rem, 3.5vw, 1.375rem);
    margin-bottom: 4%;
  }
  .s1-desc p {
    font-size: clamp(0.9rem, 2.3vw, 0.9rem);
    margin-bottom: 2%;
  }
  .s1-img {
    width: calc(100% + 5vw);
    margin-top: 4%;
    margin-bottom: 4%;
    margin-right: -5vw;
  }
  .s1-btm {
    transform: translateX(-10%);
    margin-top: 14%;
  }
  .s1-btm p {
    font-size: clamp(1.0rem, 2.2vw, 0.95rem);
    margin-bottom: 5%;
  }
  .s1-btm h2 {
    font-size: clamp(1.7rem, 3.8vw, 1.8rem);
  }
  .pc {
    display: none;
  }
  .sp {
    display: inline;
  }
}


/* ============================================================
   SECTION 2 シンプルという価値
   ============================================================ */
.s2 {
  padding: 3% 0 2%;
  position: relative;
  background-color: #fff;
  overflow: hidden;
}
.s2-wrap {
  width: 70%;
  margin: 0 auto;
  position: relative;
}
.s2-bg {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  padding-top: 6%;
  padding-bottom: 6%;
}
.s2-bgi {
  width: 60%;
}
.s2-bgi img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  margin-bottom: 5%;
}
.s2-top {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 60%;
  pointer-events: auto;
}
.s2-h2 {
  font-size: clamp(1.125rem, 2vw, 2rem);
  font-weight: normal;
  margin-bottom: 3%;
  letter-spacing: 0.1em;
}
.s2-lead p {
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  margin-bottom: 1%;
  line-height: 2.6;
}

/* タブレット以下 */
@media (max-width: 1024px) {
  .s2 {
    padding: 6% 0;
  }
  .s2-wrap {
    width: 90%;
  }
  .s2-bg {
    padding-top: 0;
    padding-bottom: 0;
  }
  .s2-bgi {
    width: 90%;
  }
  .s2-bgi img {
    margin-bottom: 0;
  }
  .s2-top {
    position: relative;
    top: auto;
    left: 0;
    width: 100%;
    margin-top: 7%;
    margin-bottom: 6%;
  }
  .s2-h2 {
    font-size: clamp(1.25rem, 3.5vw, 1.375rem);
    margin-bottom: 4%;
    line-height: 1.6;
  }
  .s2-lead p {
    font-size: clamp(0.9rem, 1.0vw, 1.1rem);
    margin-bottom: 1%;
  }
}


/* ============================================================
   SECTION 3 機能性・快適性へのこだわり
   ============================================================ */
.s3 {
  padding: 0% 0 1%;
  position: relative;
  background-color: #fff;
  overflow: hidden;
}
.s3-wrap {
  width: 70%;
  margin: 0 auto;
  position: relative;
}
.s3-bg {
  position: relative;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  padding-top: 10%;
  margin-bottom: 4%;
}
.s3-bgi {
  width: 60%;
  margin-left: auto;
}
.s3-bgi img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  margin-bottom: 20%;
}
.s3-top {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 55%;
  pointer-events: auto;
  margin-left: 15%;
  margin-top: 25%;
}
.s3-h2 {
  font-size: clamp(1.125rem, 2vw, 2rem);
  font-weight: normal;
  margin-bottom: 3%;
  letter-spacing: 0.05em;
}
.s3-lead p {
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  margin-bottom: 1%;
  line-height: 2.6;
}

/* 中間サイズ調整 */
@media (min-width: 1025px) and (max-width: 1100px) {
  .s3 {
    padding: 5% 0;
  }
  .s3-top {
    width: 60%;
  }
}

/* タブレット以下 */
@media (max-width: 1024px) {
  .s3 {
    padding: 6% 0;
  }
  .s3-wrap {
    width: 90%;
  }
  .s3-bg {
    padding-top: 0;
    margin-bottom: 0;
  }
  .s3-bgi {
    width: 90%;
    margin-left: 0;
  }
  .s3-bgi img {
    margin-bottom: 0;
  }
  .s3-top {
    position: relative;
    top: auto;
    left: 0;
    width: 100%;
    margin-left: 0;
    margin-top: 7%;
    margin-bottom: 6%;
  }
  .s3-h2 {
    font-size: clamp(1.25rem, 3.5vw, 1.375rem);
    margin-bottom: 4%;
    line-height: 1.5;
  }
  .s3-lead p {
    font-size: clamp(0.9rem, 1.0vw, 1.1rem);
    margin-bottom: 2%;
  }
}


/* ============================================================
   SECTION 4 安心・快適をずっと、もっと
   ============================================================ */
.s4 {
  padding: 0% 0%;
  position: relative;
  background-color: #fff;
  overflow: hidden;
}
.s4-wrap {
  width: 70%;
  margin: 0 auto;
  position: relative;
}
.s4-bg {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  padding-top: 10%;
  padding-bottom: 8%;
}
.s4-bgi {
  width: 60%;
}
.s4-bgi img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  margin-bottom: 10%;
}
.s4-top {
  position: absolute;
  top: 45%;
  left: 42%;
  z-index: 2;
  width: 55%;
  pointer-events: auto;
}
.s4-h2 {
  font-size: clamp(1.125rem, 2vw, 2rem);
  font-weight: normal;
  margin-bottom: 3%;
  letter-spacing: 0.05em;
  text-align: left;
}
.s4-lead p {
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  margin-bottom: 1%;
  line-height: 2.6;
}

/* 中間サイズ調整 */
@media (min-width: 1025px) and (max-width: 1100px) {
  .s4 {
    padding: 5% 0;
  }
  .s4-top {
    left: 35%;
  }
}

/* タブレット以下 */
@media (max-width: 1024px) {
  .s4 {
    padding: 6% 0;
  }
  .s4-wrap {
    width: 90%;
  }
  .s4-bg {
    padding-top: 0;
    padding-bottom: 0;
  }
  .s4-bgi {
    width: 90%;
  }
  .s4-bgi img {
    margin-bottom: 0;
  }
  .s4-top {
    position: relative;
    top: auto;
    left: 0;
    width: 100%;
    text-align: right;
    margin-top: 7%;
    margin-bottom: 6%;
  }
  .s4-h2 {
    font-size: clamp(1.25rem, 3.5vw, 1.375rem);
    margin-bottom: 4%;
    line-height: 1.5;
  }
  .s4-lead p {
    font-size: clamp(0.9rem, 1.0vw, 1.1rem);
    text-align: left;
    margin-bottom: 1%;
  }
}


/* ============================================================
   Point 共通（s2〜s4 共有）
   ============================================================ */
.pt-box {
  position: relative;
  z-index: 2;
  border: 1px solid #ccc;
  padding: 3%;
}
.pt-in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8%;
}
.pt-txt {
  flex: 1 1 0;
  margin-top: 2%;
}
.pt-hd {
  display: flex;
  align-items: center;
  gap: 2%;
  margin-bottom: 3%;
}
.pt-lbl {
  font-size: clamp(0.75rem, 1.1vw, 1.125rem);
  color: #999;
  font-family: sans-serif;
  white-space: nowrap;
}
.pt-hr {
  flex: 1;
  height: 1px;
  background-color: #ccc;
}
.pt-h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.7rem);
  margin-bottom: 4%;
  margin-top: 7%;
  font-weight: normal;
}
.pt-txt p {
  font-size: clamp(0.9rem, 1.0vw, 1.1rem);
  line-height: 1.9;
}
.pt-img {
  width: 40%;
  flex-shrink: 0;
  margin-top: 1%;
}
.pt-img img {
  width: 100%;
  height: auto;
  display: block;
}
.pt-cap {
  font-size: clamp(0.5625rem, 0.8vw, 0.6875rem);
  text-align: right;
  margin-top: 1%;
  color: #333;
}

/* 中間サイズ調整 */
@media (min-width: 1025px) and (max-width: 1100px) {
  .pt-box {
    padding: 3%;
  }
  .pt-in {
    gap: 3%;
  }
  .pt-img {
    width: 38%;
  }
}

/* タブレット以下 */
@media (max-width: 1024px) {
  .pt-box {
    padding: 7%;
  }
  .pt-in {
    flex-direction: column;
    gap: 0;
  }
  .pt-hd {
    margin-bottom: 4%;
    gap: 3%;
  }
  .pt-h3 {
    margin-bottom: 3%;
    font-size: clamp(1.0rem, 2.8vw, 1.125rem);line-height: 1.7;
  }
  .pt-img {
    width: 100%;
    max-width: 100%;
    margin-top: 5%;
  }
  .pt-cap {
    text-align: left;
    font-size: clamp(0.5625rem, 1.5vw, 0.625rem);
  }
}

/* ============================================================
   SECTION 5 CTAエリア：完全分離設計
   ============================================================ */

/* -----------------------------------------
   PC用：1025px以上のみ適用
   ----------------------------------------- */
@media (min-width: 1025px) {
  .cta-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 13%;
  }
  .cta {
    background-color: #a8a097;
    position: relative;
    overflow: hidden;
    width: 85%;
    min-height: 25vw;
  }
  .cta-btns {
    position: absolute;
    top: 50%;
    left: 50vw;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5%;
    z-index: 2;
    width: clamp(12rem, 18vw, 20rem);
    padding-bottom: 6%;
  }
  .cta-btn {
    display: block;
    width: 100%;
    padding: 5% 4%;
    margin: 3% 0 8%;
    background-color: #2b2420;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: clamp(0.75rem, 1.1vw, 0.9375rem);
    letter-spacing: 0.1em;
    transition: opacity 0.2s ease;
    white-space: nowrap;
  }
  .cta-btn:hover {
    opacity: 0.75;
  }
  .cta-bg {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 75%;
    z-index: 1;
    pointer-events: none;
  }
  .cta-bg img {
    width: 100%;
    padding-bottom: 1%;
    height: auto;
    display: block;
  }
  .cta-sp {
    height: 20%;
    min-height: 12.5rem;
  }
}

/* -----------------------------------------
   スマホ・タブレット用：1024px以下のみ適用
   ----------------------------------------- */
@media (max-width: 1024px) {
  .cta-wrap {
    position: relative;
    width: 100%;
    margin-top: 15%;
    background-color: #a8a097; /* 背景色は外枠につける */
    padding: 60px 0 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }
  .cta {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
  }
  .cta-btns {
    position: relative;
    width: 70%; /* スマホでのボタン幅 */
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
    margin-bottom: 60px;
  }
  .cta-btn {
    display: block;
    width: 100%;
    padding: 16px 10px;
    background-color: #2b2420;
    color: #fff;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  .cta-bg {
    position: relative;
    width: 100%;
    line-height: 0;
    z-index: 1;
  }
  .cta-bg img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
  }
  /* 不要な要素を消去 */
  .cta-sp {
    display: none;
  }
}
