/* メインビジュアル*/

#main-visual .logo {
  position: absolute;
  max-width: 18%;
  top: 30px;
  left: 60px;
  z-index: 10;
}

.main-visual-swiper {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.main-visual-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.main-img {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-right: 60px;
  padding-left: 120px;
  filter: brightness(0.7);
  object-fit: cover;
}

/* メインビジュアルのテキストスタイル */
.slide-text {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);
  color: var(--color-white);
  z-index: 10;
  font-size: clamp(32px, 4vw, 72px);
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: var(--font-family-playfair);
  line-height: 1.3;
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-text.active {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

/* 最初のスライドのテキストは最初から表示 */
.swiper-slide:first-child .slide-text.active {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.slide-subtext {
  opacity: 0;
  transform: translateY(15px);
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-subtext.active {
  opacity: 1;
  transform: translateY(0);
}

/* 最初のスライドのサブテキストは最初から表示 */
.swiper-slide:first-child .slide-subtext.active {
  opacity: 1;
  transform: translateY(0);
}

.text-dragpn {
  position: absolute;
  width: 100%;
  top: -7%;
  padding-top: 400px;
  padding-right: 0px;
  padding-left: 5%;
  color: var(--color-white);
  z-index: 10;
  font-size: clamp(34px, 3.5vw, 66px);
  text-shadow: -13px -9px 0px rgba(217, 217, 217, 0.2);
  font-family: var(--font-family-playfair);
  line-height: var(--line-height-normal);
}

/* スライド番号表示 */
.slide-counter {
  position: absolute;
  bottom: 100px;
  padding-top: 120px;
  padding-right: 40px;
  padding-left: 20%;
  color: var(--color-white);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.slide-number {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: bold;
  font-family: var(--font-family-mincho);
}

.slide-number::after {
  content: "→";
  margin-left: 5px;
  font-size: 1.5em;
}

.slide-number .current-slide {
  font-size: 24px;
  font-weight: bold;
}

.slide-number .slide-separator {
  font-size: 18px;
  opacity: 0.7;
}

.slide-number .total-slides {
  font-size: 18px;
  opacity: 0.7;
}

/* ドットネーション */
.slide-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-dots .dot {
  width: 28%;
  height: 3px;
  background-color: var(--color-white);
  opacity: 0.3;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.slide-dots .dot.active {
  opacity: 1;
}

.padding {
  padding-top: 120px;
  padding-right: 60px;
  padding-left: 120px;
}

/* メイン背景画像 */
main {
  background-image: url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 1024px) {
}

@media (max-width: 767px) {
  .main-img {
    padding-right: 0px;
    padding-left: 0px;
  }

  #main-visual .logo {
    width: 34%;
    min-width: 32%;
  }

  /* スマートフォン用のテキストアニメーション調整 */
  .slide-text {
    transform: translate(-50%, -50%) translateY(10px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .slide-subtext {
    transform: translateY(10px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

/* プロフィール*/
#profile {
  background-color: var(--color-light-gray);
  margin-right: 60px;
  margin-bottom: var(--space-xxl);
}

#profile .container {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

#profile .wrap {
  display: flex;
}

#profile h2 {
  justify-content: center;
  margin-bottom: var(--space-l);
}

#profile .text-box .text-item p {
  margin-bottom: var(--space-l);
}

#profile .text-box .text-item p span {
  color: var(--color-brown);
  font-weight: var(--font-weight-bold);
}

#profile .btn-box {
  display: flex;
  gap: 30px;
}

#profile .wrap {
  display: flex;
  gap: 60px;
  width: calc(100% - 60px);
  align-items: center;
}

#profile .wrap .img-box {
  width: 40%;
}

#profile .wrap .text-box {
  width: 60%;
}

@media (max-width: 1024px) {
  #profile .wrap {
    flex-direction: column;
  }

  #profile .wrap .img-box {
    width: 60%;
  }
}

@media (max-width: 767px) {
  #profile .wrap .img-box {
    width: 100%;
  }

  #profile .wrap .text-box {
    width: 100%;
    padding: 20px;
  }

  #profile {
    margin-right: 16px;
  }

  #profile .btn-box {
    flex-direction: column;
  }

  #profile h2 {
    padding-left: 16px;
  }

  #profile .wrap {
    gap: 30px;
  }
}

/* 価値*/

#value {
  padding: 0 var(--space-xl);
  margin-bottom: var(--space-xxl);
  margin-bottom: 500px;
}

#value h2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
  text-align: center;
  margin-bottom: var(--space-xxl);
}

#value .wrap {
  display: flex;
  gap: 60px;
}

#value .img-box {
  position: relative;
  width: calc((100% - 120px) / 3);
}

#value .img-box .text-item p {
  margin-bottom: var(--space-sm);
}

#value .img-box img {
  display: block;
  width: 100%;
  height: auto;
}

#value .img-overlay-01 {
  position: absolute;
  color: #fff;
  font-size: 32px;
  padding: 16px 32px;
  font-family: "Zen Old Mincho", serif;
  background-color: var(--color-slate);
}

#value .img-overlay-02 {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 90%;
  line-height: var(--line-height-normal);
  padding: 16px;
  font-size: 20px;
  transform: translateX(-50%);
  font-weight: var(--font-weight-bold);
  color: var(--color-brown);
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

#value .img-overlay-03 {
  position: absolute;
  top: 86%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding: 20px;
  line-height: var(--line-height-normal);
  color: var(--color-white);
  background-color: var(--color-medium-gray);
  box-sizing: border-box;
}

#value .img-overlay-03 p {
  margin-bottom: 30px;
}

#value .img-overlay-04 {
  position: absolute;
  top: 22px;
  left: 132px;
  line-height: var(--line-height-default);
  font-weight: var(--font-weight-bold);
  font-size: clamp(14px, 6vw, 28px);
  color: #fff;
  font-family: "Zen Old Mincho", serif; /* 先ほどのフォント例 */
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.8);
}

#value .img-overlay .number {
  display: block;
  font-size: 24px;
  font-weight: bold;
}

#value .img-overlay .title {
  display: block;
  font-size: 16px;
  margin-top: 5px;
}

#value .number {
  font-family: "Zen Old Mincho", serif;
  border-bottom: 1px solid var(--color-white);
}

#value .number-2 {
  background-color: var(--color-purple);
}

#value .number-3 {
  background-color: var(--color-sand);
}

@media (max-width: 1224px) {
  #value .img-overlay-03 {
    position: absolute;
    width: 100%;
    padding: 20px;
    line-height: var(--line-height-normal);
    box-sizing: border-box;
  }

  #value .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    row-gap: 329px;
  }

  #value .wrap > * {
    flex: 0 calc(50% - 25px);
  }

  #value .img-overlay-04 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  #value .wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
  }

  #value .img-box {
    width: 100%;
  }

  #value {
    padding: 0 16px;
  }

  #value .img-overlay-02 {
    font-size: 16px;
  }

  #value .img-overlay-04 {
    font-size: 18px;
  }

  #value .img-overlay-03 {
    top: 73%;
  }

  #value {
    margin-bottom: 60px;
  }

  #value .img-overlay-03 {
    position: relative;
    transform: translateX(-50%);
  }

  #value .wrap > * {
    flex: 0 calc(50% - 25px);
    display: flex;
    flex-direction: column-reverse;
  }

  #value .img-overlay-02 {
    top: 25%;
  }

  #value .img-overlay-01 {
    top: 0;
  }
}

/******************************************

What we do

*******************************************/

#do {
  padding-top: 120px;
  padding: 120px 60px 120px 60px;
  margin-bottom: var(--space-xxl);
  background-color: var(--color-pale-gray);
}

#do h2 {
  font-family: var(--font-family-mincho);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: var(--space-xl);
  text-align: center;
  font-weight: var(--font-weight-bold);
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25);
}

h2 .highlight {
  font-family: var(--font-family-mincho);
  font-weight: var(--font-weight-bold);
  display: block;
  font-size: var(--font-size-fixed-2xl);
}

#do .text-item {
  width: fit-content;
  margin: 0 auto;
  text-align: left;
  margin-bottom: var(--space-xxl);
  font-family: var(--font-family-mincho);
  font-weight: var(--font-weight-bold);
}

#do .text-item p {
  margin-bottom: var(--space-l);
}

#do .wrap {
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

#do .wrap-bottom {
  margin-bottom: var(--space-xxl);
}

#do .wrap .img-box {
  width: 405px;
}

#do .strengths-box h3 {
  position: relative;
  padding-left: 140px;
  font-family: var(--font-family-playfair);
  margin-bottom: var(--space-xl);
}

#do .strengths-box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 115px;
  height: 3px;
  background-color: var(--color-brown);
}

#do .do-img-box {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
}

#do .do-img-box .do-text-01 {
  position: absolute;
  top: 50%; /* 上から中央 */
  left: 50%; /* 左から中央 */
  transform: translate(-50%, -50%);
  width: 77%;
  color: var(--color-white);
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-default);
}

#do .do-img-box .do-text-01 .do-text-span01 {
  font-size: 36px; /* 空間診断だけ大きく */
  line-height: 1; /* ← 行間を詰める */
  display: inline-block; /* ブロック扱いにすると調整しやすい */
}

#do .do-img-box .do-text-02 {
  color: var(--color-white);
  bottom: 0px;
  width: 100%;
  left: 50%;
}

#do .do-img-box .do-text-02 span {
  font-size: 20px;
  line-height: 1;
  display: inline-block;
}

#do .do-img-box .do-text-01 .do-text-span02 {
  font-size: 26px;
  line-height: 1.4;
  font-weight: var(--font-weight-semi-bold);
  font-family: var(--font-family-mincho);
  display: inline-block;
  white-space: nowrap;
}

#do .do-img-box .do-text-01 .do-text-span03 {
  font-size: 20px;
}

#do .do-img-box .do-text-01 .do-text-span04 {
  font-weight: normal;
  font-size: 20px;
}

@media (max-width: 1224px) {
}

@media (max-width: 767px) {
  #do {
    padding: 60px 16px 60px 16px;
  }

  #do .wrap {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  #do .do-img-box .do-text-01 .do-text-span01 {
    font-size: 20px;
  }

  #do .do-img-box .do-text-01 .do-text-span02 {
    font-size: 20px;
  }

  #do .do-img-box .do-text-01 .do-text-span04 {
    font-size: 16px;
  }

  #do .do-img-box .do-text-01 .do-text-span03 {
    font-size: 16px;
  }

  #do .do-img-box .do-text-01 {
    width: 80%;
  }

  #do h2 .highlight {
    font-size: 24px;
  }
}

@media (max-width: 340px) {
  #do .do-img-box .do-text-01 {
    font-size: 16px;
  }
}

/******************************************

method

********************************************/

#method {
  padding-bottom: var(--space-xxl);
}

#method h3 {
  text-align: center;
  padding-left: 0;
}

#method .text-item01 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-mincho);
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.5);
}

#method .svg-text {
  width: 60%;
  margin: 0 auto;
  padding-bottom: var(--space-xl);
}

#method .text-item {
  text-align: center;
  padding-bottom: var(--space-xl);
}

#method .text-item p {
  margin-bottom: var(--space-l);
  font-size: 24px;
}

#method .text-item p .span01 {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-fixed-xl);
}

#method .text-item p .span02 {
  font-weight: var(--font-weight-bold);
}

#method .img-lp {
  width: 30%;
  margin: 0 auto;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

#method .img-lp:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  animation-duration: 1s;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.8), 0 0 0 0 rgba(0, 0, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.3), 0 0 0 30px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0), 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

#method .line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* h3 を中央に配置 */
}

#method .line h3 {
  position: relative;
  padding: 0 20px; /* 横棒と文字がくっつかないように余白 */
  font-size: var(--font-size-fixed-xl);
}

#method .line h3::before,
#method .line h3::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 115px; /* 横棒の長さ */
  height: 3px; /* 横棒の太さ */
  background-color: var(--color-brown);
}

#method .line h3::before {
  left: -125px; /* h3の左側に配置（width+padding分ずらす） */
}

#method .line h3::after {
  right: -125px; /* h3の右側に配置 */
}

@media (max-width: 1224px) {
}

@media (max-width: 767px) {
  #method {
    padding: 0 16px;
  }

  #method h3 {
    padding-bottom: 0px;
  }

  #method .text-item01 {
    font-size: 20px;
  }

  #method .svg-text {
    width: 100%;
  }

  #method .text-item p .span01 {
    font-weight: var(--font-weight-bold);
    font-size: 16px;
  }

  #method .img-lp {
    width: 60%;
  }

  #method .text-item p {
    font-size: 16px;
  }

  #method .line h3::before,
  #method .line h3::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10%;
    height: 3px;
    background-color: var(--color-brown);
  }

  #method .line h3::after {
    right: 100%;
  }

  #method .line h3::before {
    left: 100%;
  }

  #method {
    padding-bottom: 60px;
  }
}

/*********************************** 

空間ブランディング

**************************************/
#space {
  position: relative;
  background-color: var(--color-gray);
  padding: var(--space-xxl) 0;
  margin-bottom: 120px;
}

#space .img-box {
  width: 60%;
  position: relative;
}

#space .img-box::after {
  content: "";
  position: absolute;
  right: 0;
  top: 100%;
  width: 2px;
  height: 28%;
  background-color: rgba(255, 255, 255, 0.7);
}

#space .img-box::before {
  content: "";
  position: absolute;
  bottom: -28%;
  left: 100%;
  width: 40%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.7);
}

#space .text-box {
  /* width: 70%;
  position: relative; */
}

#space .text-box img {
  position: relative;
}

#space .text-box h2 {
  /* font-size: clamp(28px, 3.5vw, 60px);
  color: var(--color-white);
  font-family: var(--font-family-mincho);
  font-weight: var(--font-weight-bold);
  margin-bottom: 20px;
  position: absolute;
  white-space: nowrap;
  justify-content: center;
  width: 100%;
  padding-left: var(--space-xl);
  top: 10%; */
}

#space h2 {
  justify-content: center;
  color: var(--color-white);
}

#space .text-item02 {
  position: absolute;
  top: 40%;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 20px);
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  padding: var(--space-m);
}

#space .text-item01 {
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-fixed-lg);
  font-family: var(--font-family-mincho);
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  text-align: center;
}

#space .book-area {
  position: absolute;
  right: 10%;
  top: 40%;
  width: 15%;
}

#space .icon-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#space .icon-box .text {
  font-family: var(--font-family-playfair);
  font-size: var(--font-size-fixed-md);
  color: var(--color-white);
}

#space .book-box {
  width: 100%;
  margin-bottom: var(--space-l);
}

#space .book-icon {
  width: 52px;
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  animation: glow 2s ease-in-out infinite alternate;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#space .book-icon:hover {
  transform: scale(1.1);
  animation-duration: 1s;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3),
      0 0 10px rgba(255, 255, 255, 0.2), 0 0 15px rgba(255, 255, 255, 0.1);
  }
  to {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6),
      0 0 20px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
  }
}

#space .btn-box {
  margin: 5% 0% 1px 18%;
}

@media (max-width: 1224px) {
}

@media (max-width: 767px) {
  #space {
    position: relative;
    background-color: var(--color-gray);
    padding: 60px 16px 60px 16px;
    margin-bottom: 60px;
  }

  #space .text-item01 {
    text-align: center;
    padding: 0 16px 30px 16px;
    font-size: 18px;
  }

  #space .container .wrap {
    flex-direction: column;
  }

  #space .img-box {
    width: 100%;
    margin-bottom: 30px;
  }

  #space .text-area {
    position: static;
    width: 100%;
  }

  #space .text-box {
    position: static;
    width: 100%;
    padding: 20px;
  }

  #space .text-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  #space .text-item02 {
    position: static;
    font-size: 16px;
    padding: 0;
    margin-bottom: 20px;
    white-space: normal;
    background-color: rgba(0, 0, 0, 0);
  }

  #space .book-area {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    position: static;
  }

  #space .book-box {
    margin-bottom: 15px;
  }

  #space .book-box img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  #space .icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #space .book-icon {
    width: 40px;
    padding: 5px;
  }

  #space .btn-box {
    margin: 0 auto;
    text-align: center;
  }

  #space .text-box h2 {
    /* font-size: clamp(28px, 3.5vw, 60px); */
    color: var(--color-white);
    font-family: var(--font-family-mincho);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    position: absolute;
    white-space: normal;
    position: static;
    width: 100%;
    padding-left: 0;
    top: 10%;
  }

  #space .img-box::before,
  #space .img-box::after {
    display: none;
  }
}

/* インテリアセラピー*/
#interior {
  position: relative;
  background-color: var(--color-gray);
  padding: var(--space-xxl) 0;
  margin-bottom: 120px;
}

#interior .container .wrap {
  display: flex;
  flex-direction: row-reverse;
}

#interior .book-area {
  width: 15%;
}

#interior .img-box {
  width: 60%;
  position: relative;
}

#interior .img-box::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 2px;
  height: 28%;
  background-color: rgba(255, 255, 255, 0.7);
}

#interior .img-box::before {
  content: "";
  position: absolute;
  bottom: -28%;
  right: 100%;
  width: 40%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.7);
}

#interior .text-box {
  /* width: 70%;
  position: relative; */
}

#interior .text-box img {
  position: relative;
}

#interior .text-box h2 {
  /* font-size: clamp(28px, 3.5vw, 60px);
  color: var(--color-white);
  font-family: var(--font-family-mincho);
  font-weight: var(--font-weight-bold);
  margin-bottom: 20px;
  position: absolute;
  white-space: nowrap;
  width: 100%;
  padding-left: var(--space-xl);
  top: 10%; */
}

#interior h2 {
  justify-content: center;
}

#interior .text-item01 {
  padding: 0px 0px 30px 0px;
  text-align: center;
  font-size: var(--font-size-fixed-lg);
  font-family: var(--font-family-mincho);
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
}

#interior .text-item02 {
  position: absolute;
  top: 40%;
  right: 0;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.5);
  padding: var(--space-m);
  color: var(--color-black);
  font-size: clamp(12px, 1.2vw, 20px);
}

#interior .book-area {
  position: absolute;
  left: 10%;
  top: 40%;
}

#interior .icon-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#interior .icon-box .text {
  font-family: var(--font-family-playfair);
  font-size: var(--font-size-fixed-md);
  color: var(--color-black);
}

#interior .book-box {
  width: 100%;
  margin-bottom: var(--space-l);
}

#interior .book-icon {
  width: 52px;
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  animation: glow 2s ease-in-out infinite alternate;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#interior .book-icon:hover {
  transform: scale(1.1);
  animation-duration: 1s;
}

#interior .btn-box {
  margin: 5% 0% 1px 70%;
}

#interior .img-box::after {
  content: "";
  position: absolute;
  right: 0;
  top: 100%;
  width: 2px;
  height: 28%;
  background-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1224px) {
}

@media (max-width: 767px) {
  #interior {
    position: relative;
    background-color: var(--color-gray);
    padding: 60px 16px 60px 16px;
    margin-bottom: var(--space-xl);
  }

  #interior .text-item01 {
    text-align: center;
    padding: 0 16px 30px 16px;
    font-size: 18px;
  }

  #interior .container .wrap {
    flex-direction: column;
  }

  #interior .img-box {
    width: 100%;
    margin-bottom: 30px;
  }

  #interior .text-area {
    position: static;
    width: 100%;
  }

  #interior .text-box {
    position: static;
    width: 100%;
    padding: 20px;
  }

  #interior .text-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  #interior .text-item02 {
    position: static;
    font-size: 16px;
    padding: 0;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0);
  }

  #interior .book-area {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    position: static;
  }

  #interior .book-box {
    margin-bottom: 15px;
  }

  #interior .book-box img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  #interior .icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #interior .book-icon {
    width: 40px;
    padding: 5px;
  }

  #interior .text-box h2 {
    color: var(--color-white);
    font-family: var(--font-family-mincho);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    position: absolute;
    white-space: normal;
    position: static;
    width: 100%;
    padding-left: 0;
    top: 10%;
  }

  #interior .btn-box {
    margin: 0 auto;
    text-align: center;
  }

  #interior .img-box::before,
  #interior .img-box::after {
    display: none;
  }
}

/* サービス */

#service {
  padding: 0 var(--space-xl);
}

#service h2 {
  justify-content: center;
  padding-bottom: var(--space-xl);
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.5);
}

#service .wrap {
  display: flex;
  position: relative;
  padding-bottom: var(--space-xxl);
}

#service .wrap .text-item {
  position: absolute;
  background-color: var(--color-medium-gray);
  right: 0;
  top: 7%;
  width: 100;
  height: auto;
  width: 56%;
  padding: 90px;
  font-size: 18px;
  color: var(--color-white);
  line-height: var(--line-height-default);
}

#service .text-item p {
  margin-bottom: var(--space-l);
}

#service .font-bold {
  font-weight: var(--font-weight-bold);
  display: inline;
}

#service .title {
  position: absolute;
  right: 10%;
  background-color: rgba(255, 255, 255, 0.9);
  top: -1%;
  width: 50%;
  height: 16%;
  color: var(--color-brown);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#service .wrap .text-box-2 {
  top: 7%;
  left: 0;
}

#service .title-2 {
  left: 10%;
  top: -1%;
}

#service .img-box {
  width: 50%;
  height: 500px;
  position: relative;
}

.service-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.service-image-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.service-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.service-image.active {
  opacity: 1;
}

.service-image-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.service-image-dots .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service-image-dots .dot.active {
  background-color: var(--color-sand);
}

.service-image-dots .dot:hover {
  background-color: var(--color-brown);
  opacity: 0.8;
}

@media (max-width: 1224px) {
}

@media (max-width: 767px) {
  #service {
    padding: 0 16px;
  }

  #service .img-box {
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
  }

  #service .wrap .text-item {
    position: absolute;
    position: static;
    background-color: var(--color-gray);
    right: 0;
    top: 7%;
    width: 100%;
    padding: 30px;
    font-size: 18px;
    color: var(--color-white);
    line-height: var(--line-height-default);
  }

  #service .wrap {
    flex-direction: column;
  }

  #service .title {
    left: 0;
  }

  #service .font-bold {
    font-weight: var(--font-weight-bold);
    display: inline;
    white-space: normal;
  }

  #service .wrap {
    padding-bottom: 60px;
  }

  #service h2 {
    padding-bottom: 30px;
  }

  #service .title {
    font-size: 18px;
  }

  #rental .img-box {
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
  }
}

/* セミナー*/
#seminar {
  background-color: var(--color-white);
  padding: var(--space-xxl) 60px;
  margin-bottom: var(--space-xxl);
}

.seminar-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brown);
  margin: 0;
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.seminar-title-2 {
  margin-bottom: 30px;
}

#seminar .seminar-title-2 p {
  margin-bottom: 12px;
}

#seminar h2 {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xxl);
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.3);
}

#seminar .wrap {
  display: flex;
  justify-content: center;
  gap: 50px;
  width: 100%;
}

#seminar .wrap .img-box {
  width: calc(50% - 25px); /* gapを半分ずつ引く */
}

/* セミナースライダー */
.seminar-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.seminar-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seminar-slider .swiper-pagination {
  bottom: 10px;
}

.seminar-slider .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  width: 24px;
  height: 24px;
  margin: 0 4px;
}

.seminar-slider .swiper-pagination-bullet-active {
  background-color: var(--color-sand);
}

#seminar .wrap .text-box {
  width: calc(50% - 25px);
  position: relative; /* ::before の基準にする */
  padding-left: 40px; /* 棒線と文字の間隔 */
  box-sizing: border-box;
}

#seminar .wrap .text-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 3px;
  height: 60%;
  background-color: var(--color-brown);
}

@media (max-width: 1024px) {
}

@media (max-width: 767px) {
  #seminar .wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
    width: 100%;
  }

  #seminar .wrap .img-box {
    width: 100%;
  }

  .seminar-slider {
    height: 100%;
  }

  #seminar .wrap .text-box {
    width: 100%;
  }

  #seminar {
    padding: var(--space-xxl) 16px;
  }

  .seminar-title {
    font-size: 18px;
  }
}

/* レンタルスペース */
#rental {
  background-color: var(--color-white);
  padding: var(--space-xxl) var(--space-xl);
  margin-bottom: var(--space-xxl);
}

#rental h2 {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xxl);
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.3);
}

#rental .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: var(--space-xxl);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-mincho);
}

#rental .wrap {
  display: flex;
  justify-content: center;
  gap: 50px;
  width: 100%;
  margin-bottom: var(--space-xxl);
}

#rental .title {
  width: fit-content;
  margin: 0 auto;
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-fixed-sm);
  margin-bottom: var(--space-xxl);
}

#rental .title p {
  font-family: var(--font-family-mincho);
}

#rental .title p {
  margin-bottom: 20px;
}

#rental .wrap .img-box {
  width: calc(50% - 25px); /* gapを半分ずつ引く */
}

#rental .wrap .text-box {
  width: calc(50% - 25px);
  position: relative; /* ::before の基準にする */
  padding-left: 40px; /* 棒線と文字の間隔 */
  box-sizing: border-box;
}

#rental .wrap .text-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 3px;
  height: 60%;
  background-color: var(--color-brown);
}

.rental-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brown);
  margin: 0;
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.rental-title-2 p {
  margin-bottom: 20px;
}

#rental .btn-box {
  display: flex;
  gap: 60px;
}

#rental .img-box {
  width: calc(50% - 25px);
  height: 500px;
  position: relative;
}

.rental-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}

.rental-image-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rental-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.rental-image.active {
  opacity: 1;
}

.rental-image-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.rental-image-dots .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.rental-image-dots .dot.active {
  background-color: var(--color-sand);
}

.rental-image-dots .dot:hover {
  background-color: var(--color-brown);
  opacity: 0.8;
}

@media (max-width: 1024px) {
}

@media (max-width: 767px) {
  #rental .wrap {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    gap: 30px;
    width: 100%;
  }

  #rental .wrap .img-box {
    width: 100%;
  }

  #rental .wrap .text-box {
    width: 100%;
  }

  #rental {
    padding: 60px 16px;
  }

  #rental .title {
    font-size: 14px;
  }

  #rental .btn-box {
    flex-direction: row;
    gap: 30px;
  }

  .rental-title {
    font-size: 18px;
  }
}

/****************************** 

ポートフォリオ 

*******************************/
#portfolio {
  margin-bottom: var(--space-xxl);
}

#portfolio .wrap {
  display: flex;
  align-items: center;
  gap: 50px;
  width: 100%;
}

#portfolio .wrap .img-box {
  width: calc(50% - 25px); /* gapを半分ずつ引く */
}

#portfolio .wrap .img-box-wrap {
  display: flex;
  justify-content: right;
  gap: 16px;
}

#portfolio .wrap .text-box {
  width: calc(50% - 25px);
  position: relative; /* ::before の基準にする */
  box-sizing: border-box;
  padding: 60px;
  background-color: var(--color-light-gray);
}

#portfolio .wrap .portfolio-text {
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-l);
}

#portfolio .portfolio-text p {
  margin-bottom: var(--space-l);
}

#portfolio h3 {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  padding-left: 0px;
  margin-bottom: var(--space-l);
}

#portfolio h3 .line {
  display: inline-block;
  width: 115px; /* ← 好きな長さに変更 */
  height: 3px;
  background-color: var(--color-brown);
}

@media (max-width: 1024px) {
}

@media (max-width: 767px) {
  #portfolio .wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    width: 100%;
  }

  #portfolio .wrap .text-box {
    width: 100%;
  }

  #portfolio .wrap .text-box {
    padding: 60px 16px;
  }
}

/****************************** 

トピックス

*******************************/

#topics {
  padding-bottom: 200px;
}

#topics .box {
  background-color: var(--color-gray);
  margin-right: 60px;
  height: 500px;
  position: relative;
}

#topics .text-box {
  padding: 30px;
}

#topics h3 {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  padding-left: 0px;
  color: var(--color-white);
}

#topics h3 .line {
  display: inline-block;
  width: 115px; /* ← 好きな長さに変更 */
  height: 3px;
  background-color: var(--color-brown);
}

#topics .box .text-item {
  display: flex;
  align-items: center;
  gap: 60px;
}

#topics .img-wrap {
  display: flex;
  position: absolute;
  right: 0;
  top: 55%;
  gap: 25px;
}

#topics .img-wrap .img-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

#topics .img-box {
  width: 33%;
  position: relative;
}

/* 投稿数に応じた幅調整 */
#topics .img-wrap.single-post .img-box {
  width: 100%;
}

#topics .img-wrap.two-posts .img-box {
  width: 50%;
}

#topics .img-wrap.three-posts .img-box {
  width: 100%;
}

#topics h2 {
  color: var(--color-white);
}

#topics .img-box .img-text {
  position: absolute;
  padding: 12px 12px;
  bottom: -15px;
  gap: 12px;
  right: 5%;
  left: 5%;
  min-height: 66px;
  max-height: 120px;
  background-color: var(--color-white);
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  overflow: hidden;
  display: flex;
}

#topics .img-box .img-text p:first-child {
  font-size: var(--font-size-fixed-xxs);
  font-family: var(--font-family-playfair);
}

#topics .img-box .img-text p:last-child {
  font-weight: bold;
}

@media (max-width: 1024px) {
}

@media (max-width: 767px) {
  #topics {
    margin-bottom: 0px;
    padding: 0 16px;
  }

  #topics .box {
    margin-right: 0px;
  }

  #topics .img-wrap {
    display: flex;
    position: static;
    flex-direction: column;
    right: -10%;
    top: 55%;
    gap: 60px;
  }

  #topics .box {
    height: auto;
  }

  #topics .img-wrap.two-posts .img-box {
    width: 100%;
  }

  #topics .box .text-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 30px;
  }
}
