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

メインビジュアル

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

#main-visual {
}

#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(30px);
  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.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

.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%;
  }

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

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

(タイトル)

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

#page-title {
  position: relative;
  padding-bottom: var(--space-xxl);
  padding-top: var(--space-xxl);
}

#page-title h2 {
  justify-content: center;
  text-decoration: underline;
  text-decoration-color: #141919;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25);
}

#page-title .decorationtext {
  position: absolute;
  font-family: var(--font-family-playfair);
  top: 3%;
  left: 2%;
  font-size: 64px;
  color: rgba(20, 25, 25, 0.08);
  margin: 0;
  padding: 0;
}

#page-title .text-item01 {
  text-align: center;
  font-size: var(--font-size-fixed-md);
  font-weight: var(--font-weight-bold);
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25);
}

#page-title .text-item02 {
  text-align: center;
  font-size: var(--font-size-fixed-md);
}

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

三好里香について

*******************************/
#miyosi {
  background-color: var(--color-pale-gray);
  padding: var(--space-xxl) var(--space-xl);
}

#miyosi .wrap {
  display: flex;
  gap: 50px;
}

#miyosi .text-box {
  width: calc(60% - 20px);
}

#miyosi h2 {
  margin-bottom: 30px;
}

#miyosi .text-box p {
  display: inline-block;
}

#miyosi .text-01 {
  font-size: var(--font-size-fixed-xl);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-mincho);
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25);
}

#miyosi .text-05 {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-fixed-md);
  margin-bottom: 30px;
}

#miyosi .img-box .text-miyosi {
  font-weight: var(--font-weight-bold);
  text-align: center;
}

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

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

@media (max-width: 767px) {
  #miyosi {
    padding: var(--space-xxl) 16px;
  }

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

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

  #page-title .decorationtext {
    font-size: var(--font-size-fixed-lg);
  }

  #miyosi .text-01 {
    font-size: var(--font-size-fixed-lg);
  }
}

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

空間ブランディング

*******************************/
#space-book {
  background-color: var(--color-beige);
  padding: var(--space-xxl) var(--space-xl);
}

#space-book .effect-box {
  margin-bottom: var(--space-xxl);
}

#space-book .effect-box .wrap {
  display: flex;
  gap: 50px;
}

#space-book .effect-box .wrap .text-01 {
  font-size: var(--font-size-fixed-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xl);
  font-family: var(--font-family-mincho);
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25);
}

#space-book .effect-box .item-box01 {
  margin-bottom: 120px;
}

#space-book .effect-box .wrap .text-item p {
  margin-bottom: var(--space-l);
  font-size: var(--font-size-fixed-md);
}

#space-book .effect-box .wrap .text-item p span {
  font-weight: var(--font-weight-bold);
}

#space-book .effect-box .wrap .img-box {
  width: calc(50% - 30px);
}

#space-book .effect-box .wrap .text-box {
  width: calc(50% - 20px);
}

#space-book .book-box .wrap {
  display: flex;
  justify-content: center;
}

#space-book .book-box .wrap .text-box > p:nth-of-type(1) {
  font-size: var(--font-size-fixed-md);
  line-height: 1.6;
  margin-bottom: 20px;
}

#space-book .book-box .wrap .text-box > p:nth-of-type(2) {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

#space-book .book-box .wrap .text-box > p:nth-of-type(3) {
  font-size: var(--font-size-fixed-md);
  line-height: 1.6;
  margin-bottom: 20px;
}

#space-book .book-box .wrap .img-box {
  width: 50%;
}

#space-book .book-box .wrap .img-box .img-item {
  width: 60%;
  margin: 0 auto;
  margin-bottom: var(--space-l);
}

#space-book .book-box .wrap .text-box {
  width: 50%;
}

#space-book .book-box .wrap .img-box .btn {
  text-align: center;
}

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

#space-book .book-box .wrap .text-box .text-item p span {
  font-weight: var(--font-weight-bold);
}

#space-book h2 {
  text-align: center;
  justify-content: center;
  margin-bottom: var(--space-xxl);
}

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

@media (max-width: 767px) {
  #space-book .effect-box .wrap {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  space-book .effect-box .item-box01 {
    margin-bottom: 60px;
  }

  #space-book .effect-box .wrap .img-box {
    width: 100%;
  }

  #space-book {
    background-color: var(--color-beige);
    padding: var(--space-xxl) var(--space-sm);
  }

  #space-book .effect-box .item-box01 {
    margin-bottom: 60px;
  }

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

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

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

  #space-book .book-box .wrap .img-box .img-item {
    width: 80%;
  }

  #space-book .effect-box .wrap .img-box {
    width: 100%;
  }

  #space-book .effect-box .wrap .text-box {
    width: 100%;
  }
}

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

インテリアセラピー

*******************************/
#interior-book {
  background-color: var(--color-beige);
  padding: var(--space-xxl) var(--space-xl);
}

#interior-book .effect-box {
  margin-bottom: var(--space-xxl);
}

#interior-book .effect-box .wrap {
  display: flex;
  gap: 50px;
}

#interior-book.effect-box .wrap .text-01 {
  font-size: var(--font-size-fixed-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xl);
}

#interior-book .effect-box .item-box01 {
  margin-bottom: 120px;
}

#interior-book .effect-box .wrap .text-item p {
  margin-bottom: var(--space-l);
  font-size: var(--font-size-fixed-md);
}

#interior-book .effect-box .wrap .text-item p span {
  font-weight: var(--font-weight-bold);
}

#interior-book .effect-box .wrap .img-box {
  width: calc(50% - 30px);
}

#interior-book .effect-box .wrap .text-box {
  width: calc(50% - 20px);
}

#interior-book .book-box .wrap {
  display: flex;
  justify-content: center;
}

#interior-book .book-box .wrap .text-box > p:nth-of-type(1) {
  font-size: var(--font-size-fixed-md);
  line-height: 1.6;
  margin-bottom: 20px;
}

#interior-book .book-box .wrap .text-box > p:nth-of-type(2) {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

#interior-book .book-box .wrap .text-box > p:nth-of-type(3) {
  font-size: var(--font-size-fixed-md);
  line-height: 1.6;
  margin-bottom: 20px;
}

#interior-book .book-box .wrap .img-box {
  width: 50%;
}

#interior-book .book-box .wrap .img-box .img-item {
  width: 60%;
  margin: 0 auto;
  margin-bottom: var(--space-l);
}

#interior-book .book-box .wrap .text-box {
  width: 50%;
}

#interior-book .book-box .wrap .img-box .btn {
  text-align: center;
}

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

#interior-book .book-box .wrap .text-box .text-item p span {
  font-weight: var(--font-weight-bold);
}

#interior-book .effect-box .wrap .text-01 {
  font-size: var(--font-size-fixed-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xl);
  font-family: var(--font-family-mincho);
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25);
}

#interior-book h2 {
  text-align: center;
  justify-content: center;
  margin-bottom: var(--space-xxl);
}

#interior-book .img-item {
  margin-bottom: 20px;
}

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

@media (max-width: 767px) {
  #interior-book .effect-box .wrap {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  #interior-book .effect-box .item-box01 {
    margin-bottom: 60px;
  }

  #interior-book .effect-box .wrap .img-box {
    width: 100%;
  }

  #interior-book {
    background-color: var(--color-beige);
    padding: var(--space-xxl) var(--space-sm);
  }

  #interior-book .effect-box .item-box01 {
    margin-bottom: 60px;
  }

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

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

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

  #interior-book .book-box .wrap .img-box .img-item {
    width: 80%;
  }

  #interior-book .effect-box .wrap .text-box {
    width: 100%;
  }
}

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

トピックス/メディア

*******************************/
#sub-topics .wrap {
  padding: 0px var(--space-xl);
}

#sub-topics .wrap {
  display: flex;
  gap: 50px;
  align-items: center;
  padding-bottom: 120px;
}

#sub-topics .wrap .img-box {
  width: calc(30% - 30px);
}

#sub-topics .wrap .text-box {
  width: calc(60% - 20px);
}

#sub-topics .wrap .text-box .text-title {
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-mincho);
  font-size: var(--font-size-fixed-sm);
}

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

@media (max-width: 767px) {
  #sub-topics .wrap {
    flex-direction: column;
  }

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

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

  #sub-topics .wrap {
    display: flex;
    gap: 50px;
    align-items: center;
    padding-bottom: 60px;
  }
}

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

個別投稿ページ (single.php)

*******************************/
#single-content {
  padding: 0 0 var(--space-xxl) 0;
}

.content-wrap.center-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.center-image {
  text-align: center;
  width: 50%;
  margin: 0 auto;
  margin-bottom: var(--space-xl);
}

.center-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.center-text {
  text-align: center;
}

.post-content.center-text {
  text-align: left;
  line-height: 1.8;
  font-size: var(--font-size-fixed-md);
  margin-bottom: var(--space-xl);
}

.post-meta.center-text {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background-color: var(--color-pale-gray);
  border-radius: 8px;
}

.post-meta p {
  margin: 0;
  font-size: 14px;
  color: var(--color-gray);
}

.navigation-links.center-text {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-lg);
}

.nav-previous,
.nav-next {
  display: flex;
}

.nav-previous a,
.nav-next a {
  display: block;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-beige);
  color: var(--color-brown);
  text-decoration: none;
  border-radius: 4px;
  padding: var(--space-sm);
  transition: background-color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
  background-color: var(--color-brown);
  color: var(--color-white);
}

.back-to-topics.center-content {
  text-align: center;
  margin-top: var(--space-xxl);
}

@media (max-width: 767px) {
  .content-wrap.center-content {
    padding: 0px var(--space-sm);
  }

  .navigation-links.center-text {
    gap: var(--space-sm);
    align-items: center;
  }

  .nav-previous a,
  .nav-next a {
    text-align: center;
  }

  .center-image {
    width: 100%;
  }
}

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

実績紹介

*******************************/
#sub-works {
  padding: 0 var(--space-xl);
}

#sub-works .container {
  text-align: center;
}

#sub-works .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 均等に3列 */
  gap: 50px; /* 行・列の間隔 */
  padding-bottom: 120px;
}

#sub-works .wrap .item-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

#sub-works .wrap .item-box .img-box img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

#sub-works .wrap .item-box p {
  position: relative;
  text-align: center;
  font-size: var(--font-size-fixed-lg);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-mincho);
  color: var(--color-brown);
  margin-bottom: 20px;
  font-size: 20px;
  display: inline-block;
  padding-bottom: 6px; /* 下線と文字の間隔 */
  border-bottom: 4px solid var(--color-brown); /* 文字下の下線 */
  margin-left: auto;
  margin-right: auto; /* 中央寄せ */
}

h2 span {
  display: inline-block;
  width: 200px;
  height: 3px;
  background-color: var(--color-white);
  vertical-align: middle;
}

@media (max-width: 1024px) {
  /* #sub-works .wrap .item-box {
    flex: 0 0 calc((100% - 50px) / 2);
  } */

  #sub-works .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  /* #sub-works .wrap {
    flex-direction: column;
    gap: 30px;
  }

  #sub-works .wrap .item-box {
    flex: 1;
    width: 100%;
  } */
  #sub-works .wrap {
    grid-template-columns: 1fr;
  }
  #sub-works .wrap .item-box p {
    font-size: 18px;
  }

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

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

ページネーション

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

.pagination-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background-color: var(--color-white);
  color: var(--color-black);
  text-decoration: none;
  border: 1px solid var(--color-gray);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 44px;
  height: 44px;
  text-align: center;
  position: relative;
}

.pagination-link:hover {
  background-color: var(--color-brown);
  color: var(--color-white);
  border-color: var(--color-brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pagination-link.current {
  background-color: var(--color-brown);
  color: var(--color-white);
  border-color: var(--color-brown);
  cursor: default;
  transform: none;
  box-shadow: none;
}

.pagination-link.prev,
.pagination-link.next {
  font-weight: 600;
  padding: 12px 20px;
  min-width: auto;
}

.pagination-link.prev::before {
  content: "‹‹";
  margin-right: 8px;
  font-size: 16px;
  font-weight: bold;
}

.pagination-link.next::after {
  content: "››";
  margin-left: 8px;
  font-size: 16px;
  font-weight: bold;
}

.pagination-link.prev {
  margin-right: 15px;
}

.pagination-link.next {
  margin-left: 15px;
}

/* ページ番号のスタイル */
.pagination-link:not(.prev):not(.next) {
  font-weight: 600;
}

/* 省略記号のスタイル */
.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  color: var(--color-gray);
  font-size: 16px;
  font-weight: bold;
  min-width: 44px;
  height: 44px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .pagination-wrapper {
  }

  .pagination {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-link {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 36px;
    height: 36px;
  }

  .pagination-link.prev,
  .pagination-link.next {
    margin: 0 8px;
    padding: 8px 16px;
  }

  .pagination-link.prev::before {
    font-size: 14px;
    margin-right: 4px;
  }

  .pagination-link.next::after {
    font-size: 14px;
    margin-left: 4px;
  }

  .pagination-ellipsis {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* 

LP

*/

/* LP画像用スタイル */
.lp-images {
  padding: 0;
  margin: 0;
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 200px;
}

.lp-image-item {
  width: 100%;
  margin: 0;
  padding: 0;
}

.lp-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .lp-container {
    width: 90%;
  }

  .lp-img {
    width: 100%;
    height: auto;
  }

  .lp-container {
    margin-top: 100px;
  }
}

/* 動画用スタイル - 画像の上に重ねて配置 */
.lp-image-with-video {
  position: relative;
}

.lp-video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* 画像の下半分を覆う */
  z-index: 10;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 動画のレスポンシブ対応 */
@media (max-width: 768px) {
  .lp-video-overlay {
    height: 40%; /* モバイルでは少し小さく */
  }
}
