.header {
  background-color: var(--base-color);
  height: 7rem;
  padding: 1.25rem 0;
  position: fixed;
  width: calc(100vw - 3.2rem);
  z-index: 10001;
}

.home .header {
  border-bottom: 1px solid var(--black);
}

.header__container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  height: 100%;
  padding: 0;
  width: 90%;
  min-width: unset;
}

.header__title {
  display: flex;
  gap: 3.2rem;
  height: 100%;
  align-items: center;
}

.header__title-logo {
  height: 100%;
  max-width: 100%;
  min-width: 0;
  /* flex子要素の縮小を許可 */
}

.header__title a {
  display: block;
  height: 100%;
}

.header__title a img {
  height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.header__subtitle {
  font-size: 1.2rem;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}


/* 検索エリア */
.header__search {
  width: 35.6rem;
}

.header__search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.header__search-input {
  background-color: var(--white);
  border: 2px solid transparent;
  border-radius: 50px;
  color: var(--black);
  font-size: 1.4rem;
  padding: 1.4rem 2.4rem;
  transition: border-color 0.3s ease;
  width: 100%;
}

.header__search-input::-webkit-search-cancel-button {
  display: none;
}

.header__search-input::-webkit-search-decoration {
  display: none;
}

.header__search-input::-ms-clear {
  display: none;
}

.header__search-input::placeholder {
  color: var(--gray);
}

.header__search-input:focus {
  border-color: var(--main-accent-color);
  outline: none;
}

.header__search-submit {
  align-items: center;
  background: none;
  border: none;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: center;
  padding: 0.8rem;
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.3s ease;
}

.header__search-icon {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .header__search {
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
  }

  .header__search-form {
    max-width: 100%;
  }

  .header__search-input {
    padding: 1rem 4.5rem 1rem 1.4rem;
    font-size: var(--small);
  }

  .header__search-icon {
    width: 1.8rem;
    height: 1.8rem;
  }
}

/* ハンバーガーボタン */
.header__humburger {
  cursor: pointer;

}

.header__humburger-btn {
  align-items: end;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 1.8rem;
  justify-content: center;
  position: relative;
  width: 3rem;
  z-index: 10002;
}

.header__humburger-line {
  background-color: var(--black);
  border-radius: 0.1rem;
  display: block;
  height: 0.1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.header__humburger-line:nth-child(2) {
  width: 90%;
}

.header__humburger-line:nth-child(3) {
  width: 80%;
}

.header__humburger-btn.is-active .header__humburger-line:nth-child(1) {
  transform: translateY(0.6rem) rotate(45deg);
  width: 100%;
}

.header__humburger-btn.is-active .header__humburger-line:nth-child(2) {
  opacity: 0;
}

.header__humburger-btn.is-active .header__humburger-line:nth-child(3) {
  transform: translateY(-.6rem) rotate(-45deg);
  width: 100%;
}

/* ハンバーガーメニュー */
.header__humburger-menu {
  background-image: url(../img/common/menu.svg);
  background-repeat: repeat-y;
  background-size: 100%;
  bottom: 0;
  height: calc(100vh - 7rem);
  overflow-y: auto;
  padding: 5rem 8rem;
  position: fixed;
  right: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  width: calc(60% - 3.6rem);
  z-index: 9999;
}


.header__humburger-menu.is-active {
  transform: translateX(0);
}

.header__humburger-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.header__humburger-item-title {
  align-items: center;
  display: flex;
  font-size: 1.4rem;
  font-weight: 600;
  gap: 0.8rem;
  border-bottom: 1px dotted var(--black);
  padding-bottom: 1.2rem;
}

.header__humburger-item-icon {
  height: 1.2rem;
  width: 1.2rem;
}

.header__humburger-button-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.4rem;
  gap: 1.6rem;
}

.header__humburger-button {
  background: var(--white);
  border-radius: 50px;
  color: var(--main-accent-color);
  cursor: pointer;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 1.2rem 1.6rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header__humburger-button:hover {
  background-color: var(--main-accent-color);
  color: var(--white);
}

.header__humburger-tag-group {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  gap: 1.6rem;
}

.header__humburger-tag {
  border: 1px solid var(--black);
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
  padding: .8rem 3.2rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header__humburger-tag:hover {
  opacity: .7;
}

/* オーバーレイ */
.header__humburger-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  bottom: 0;
  height: calc(100vh - 7rem);
  left: 0;
  opacity: 0;
  position: fixed;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
  width: 100%;
  z-index: 9998;
}

.header__humburger-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ハンバーガーメニュー内バナーセクション */
.header__humburger-banner {
  background-color: var(--white);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 6.4rem;
  padding: 1rem;
  position: relative;
}

.header__humburger-banner__textarea {
  align-items: center;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 24rem;
  padding: 4rem 3rem;
  position: relative;
}

.header__humburger-banner__decoration {
  position: absolute;
  width: 9.5rem;
  z-index: 1;
}

.header__humburger-banner__decoration--top-left {
  left: -4rem;
  top: 0;
  transform: rotate(-46deg);
}

.header__humburger-banner__decoration--bottom-right {
  bottom: 0;
  right: -4rem;
  transform: rotate(-46deg);
}

.header__humburger-banner__decoration img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.header__humburger-banner__title {
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  text-align: center;
}

.header__humburger-banner__title span {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.header__humburger-banner__title span::before {
  background-image: url(../img/common/menu_line.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -1rem;
  content: '';
  height: 2.8rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
  z-index: -1;
}

.header__humburger-banner__button {
  align-items: center;
  background-color: var(--main-accent-color);
  border-radius: 50px;
  color: var(--white);
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 500;
  gap: 1rem;
  padding: 1.2rem 2.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header__humburger-banner__button:hover {
  background-color: var(--sub-accent-color);
  box-shadow: 0 4px 12px rgba(34, 100, 113, 0.3);
  transform: translateY(-2px);
}

.header__humburger-banner__button-arrow {
  height: 1.4rem;
  stroke: currentColor;
  width: 1.4rem;
}

.header__humburger-banner__imgarea {
  width: 100%;
  height: 100%;
}

.header__humburger-banner__image-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.4rem;
}

.header__humburger-banner__image {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.header__humburger-banner__image-link:hover .header__humburger-banner__image {
  transform: scale(1.05);
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (max-width: 1440px) {
  .header {
    height: 4.861vw;
    padding: 0.868vw 0;
  }

  .header__title {
    gap: 2.222vw;
  }

  .header__subtitle {
    font-size: 0.833vw;
  }

  .header__nav {
    gap: 1.042vw;
  }

  .header__search {
    width: 24.722vw;
  }

  .header__search-input {
    font-size: 0.972vw;
    padding: 0.972vw 1.667vw;
  }

  .header__search-submit {
    padding: 0.556vw;
    right: 0.556vw;
  }

  .header__search-icon {
    width: 1.389vw;
    height: 1.389vw;
  }

  .header__humburger-btn {
    gap: 0.347vw;
    height: 1.25vw;
    width: 2.083vw;
  }

  .header__humburger-line {
    border-radius: 0.069vw;
    height: 0.069vw;
  }

  .header__humburger-btn.is-active .header__humburger-line:nth-child(1) {
    transform: translateY(0.417vw) rotate(45deg);
  }

  .header__humburger-btn.is-active .header__humburger-line:nth-child(3) {
    transform: translateY(-0.417vw) rotate(-45deg);
  }

  .header__humburger-menu {
    height: calc(100vh - 4.861vw);
    padding: 3.472vw 5.556vw;
  }

  .header__humburger-overlay {
    height: calc(100vh - 4.861vw);
  }

  .header__humburger-menu-inner {
    gap: 2.778vw;
  }

  .header__humburger-search {
    display: none;
  }

  .header__humburger-item-title {
    font-size: 0.972vw;
    gap: 0.556vw;
    padding-bottom: 0.833vw;
  }

  .header__humburger-item-icon {
    height: 0.833vw;
    width: 0.833vw;
  }

  .header__humburger-button-group {
    margin-top: 1.667vw;
    gap: 1.111vw;
  }

  .header__humburger-button {
    font-size: 0.972vw;
    padding: 0.833vw 1.111vw;
  }

  .header__humburger-tag-group {
    margin-top: 1.667vw;
    gap: 1.111vw;
  }

  .header__humburger-tag {
    font-size: 0.972vw;
    padding: 0.556vw 2.222vw;
  }

  .header__humburger-banner {
    margin-top: 4.444vw;
    padding: 0.694vw;
  }

  .header__humburger-banner__textarea {
    min-height: 16.667vw;
    padding: 2.778vw 2.083vw;
  }

  .header__humburger-banner__decoration {
    width: 6.597vw;
  }

  .header__humburger-banner__decoration--top-left {
    left: -2.778vw;
  }

  .header__humburger-banner__decoration--bottom-right {
    right: -2.778vw;
  }

  .header__humburger-banner__title {
    font-size: 1.55vw;
  }

  .header__humburger-banner__title span::before {
    bottom: -0.694vw;
    height: 1.944vw;
  }

  .header__humburger-banner__button {
    font-size: 0.833vw;
    padding: 0.833vw 1.667vw;
    gap: 0.694vw;
  }

  .header__humburger-banner__button-arrow {
    height: 0.972vw;
    width: 0.972vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .header {
    height: 5.6rem;
    padding: 1rem 0;
    width: calc(100vw - 2rem);
  }

  .header__container {
    width: 90%;
  }

  .header__title {
    gap: 1.2rem;
  }

  .header__title a {
    display: block;
    max-width: 100%;
  }

  .header__title a img {
    max-width: 100%;
    object-fit: contain;
    max-height: 35px;
  }

  .header__subtitle {
    display: none;
  }

  .header__nav {
    gap: 0;
  }

  .header__search {
    display: none;
  }

  .header__humburger-search {
    width: 100%;
    display: block;
  }

  .header__humburger-search .header__search-form {
    max-width: 100%;
  }

  .header__humburger-search .header__search-input {
    font-size: 1.4rem;
    padding: 1rem 4.5rem 1rem 1.4rem;
  }

  .header__search-submit {
    right: 1.6rem;
  }

  .header__humburger-search .header__search-icon {
    height: 1.8rem;
    width: 1.8rem;
  }

  .header__humburger-btn {
    gap: 0.4rem;
    height: 1.6rem;
    width: 2.4rem;
  }

  .header__humburger-line {
    border-radius: 0.1rem;
    height: 0.15rem;
  }

  .header__humburger-btn.is-active .header__humburger-line:nth-child(1) {
    transform: translateY(0.55rem) rotate(45deg);
  }

  .header__humburger-btn.is-active .header__humburger-line:nth-child(3) {
    transform: translateY(-0.55rem) rotate(-45deg);
  }

  .header__humburger-menu {
    background-color: var(--sub-base-color);
    background-image: none;
    height: calc(100vh - 5.6rem);
    left: 0;
    padding: 2.4rem 2rem;
    right: 0;
    top: 5.6rem;
    transform: translateY(-100%);
    width: 100%;
  }

  .header__humburger-menu.is-active {
    transform: translateY(0);
  }

  .header__humburger-overlay {
    height: calc(100vh - 5.6rem);
    top: 5.6rem;
  }

  .header__humburger-menu-inner {
    gap: 3.2rem;
    padding: 0;
  }

  .header__humburger-item-title {
    font-size: 1.4rem;
    gap: 0.8rem;
    padding-bottom: 1.2rem;
  }

  .header__humburger-item-icon {
    height: 1.2rem;
    width: 1.2rem;
  }

  .header__humburger-button-group {
    gap: 1.2rem;
    margin-top: 1.6rem;
  }

  .header__humburger-button {
    font-size: 1.2rem;
    padding: 1rem 1.2rem;
  }

  .header__humburger-tag-group {
    gap: 1.2rem;
    margin-top: 1.6rem;
  }

  .header__humburger-tag {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
  }

  .header__humburger-banner {
    margin-top: 4rem;
    padding: 0;
    grid-template-columns: 2fr 1fr;
  }

  .header__humburger-banner__textarea {
    min-height: auto;
    padding: 2.4rem 1.6rem;
  }

  .header__humburger-banner__decoration {
    width: 6rem;
  }

  .header__humburger-banner__decoration--top-left {
    left: -2rem;
  }

  .header__humburger-banner__decoration--bottom-right {
    right: -2rem;
  }

  .header__humburger-banner__title {
    font-size: 1.45rem;
  }

  .header__humburger-banner__title span::before {
    bottom: -0.8rem;
    height: 2.4rem;
  }

  .header__humburger-banner__button {
    font-size: 1.2rem;
    gap: 0.8rem;
    padding: .8rem 1.6rem;
  }


  .header__humburger-banner__button-arrow {
    height: 1.2rem;
    width: 1.2rem;
  }

  .header__humburger-banner__image {
    aspect-ratio: 4 / 3;
  }





  .header__humburger-menu {
    bottom: 0;
    height: calc(100vh - 5.6rem);
    padding: 6.4rem 2.4rem;
    top: 5.6rem;
    transform: translateX(100%);
    width: calc(100% - 2rem);
  }

  .header__humburger-menu.is-active {
    transform: translateX(0);
  }

  .header__humburger-overlay {
    height: calc(100vh - 5.6rem);
    top: 5.6rem;
  }

  .header__humburger-menu-inner {
    gap: 3.2rem;
    padding: 0;
  }

  .header__humburger-item-title {
    font-size: 1.4rem;
    gap: 0.8rem;
    padding-bottom: 1.2rem;
  }

  .header__humburger-item-icon {
    height: 1.2rem;
    width: 1.2rem;
  }

  .header__humburger-button {
    font-size: 1.2rem;
    padding: 1rem 1.2rem;
  }

  .header__humburger-button-group {
    gap: .8rem;
    margin-top: 1.6rem;
  }

  .header__humburger-tag-group {
    gap: .8rem;
    margin-top: 1.6rem;
  }

  .header__humburger-tag {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
  }

  .header__humburger-external-links {
    flex-direction: column;
    gap: 1.2rem;
  }

  .header__humburger-external-link {
    padding: 1rem 1.6rem;
    font-size: var(--small);
  }

  .header__humburger-external-icon {
    width: 2rem;
    height: 2rem;
  }
}

/* ========================================
   共通コンポーネント
   ======================================== */

/* ========================================
   Section Header (共通)
   ======================================== */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  align-items: start;
}

.about__content .section-header {
  align-items: center;
}

.section-header__title {
  display: inline-block;
  height: 2rem;
  width: auto;
}

.section-header__title img {
  height: 100%;
  max-width: 100%;
  width: auto;
}

.section-header__subtitle {
  font-family: "Shippori Mincho", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-size: 3.2rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .section-header__subtitle {
    font-size: 2.8rem;
  }
}

/* ========================================
   Common Button
   ======================================== */
.btn-primary {
  align-items: center;
  background-color: var(--main-accent-color);
  border: 1px solid var(--main-accent-color);
  border-radius: 50px;
  color: var(--white);
  display: inline-flex;
  font-size: 1.8rem;
  font-weight: 500;
  gap: 1rem;
  justify-content: center;
  max-width: 30rem;
  padding: 1.6rem 2.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--sub-accent-color);
  color: var(--main-accent-color);
}


.btn-primary svg {
  height: 1.3rem;
  width: 0.9rem;
  fill: #ffffff;
}

.btn-primary--blank svg {
  fill: none;
}

.btn-primary:hover svg {
  stroke: var(--main-accent-color) !important;
}

.btn-primary svg path {
  stroke: #fff !important;
}

.btn-primary:hover svg {
  fill: var(--main-accent-color);

}

.btn-primary--blank:hover svg {
  fill: none;
}

.btn-primary:hover svg path {
  stroke: var(--main-accent-color) !important;
}

/* Navigation Button (共通パーツ) */
.btn-nav {
  align-items: center;
  background-color: var(--main-accent-color);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  height: 4rem;
  justify-content: center;
  padding: 0;
  transition: all 0.3s ease;
  width: 4rem;
}

.btn-nav svg {
  height: 1.2rem;
  width: 1.2rem;
}

.btn-nav svg path {
  fill: #fff;
  transition: fill 0.3s ease;
}

.btn-nav:hover {
  background-color: var(--white);
  border: 1px solid var(--main-accent-color);
  color: var(--main-accent-color);
}

.btn-nav:hover svg path {
  fill: var(--main-accent-color);
}

.btn-primary--header {
  margin-top: 2.4rem;
  padding: 1.2rem 2.4rem;
}

.btn-primary--header span {
  font-size: 1.6rem;
}

/* 共通の記事カードスタイル */
.article-card {
  background-color: var(--base-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-card__link {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.article-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 100%;
}

.article-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.article-card:hover .article-card__image img {
  transform: scale(1.05);
}

.article-card__content {
  padding: 2rem 2rem 3rem 2rem;
}

.article-card__date {
  font-size: 1.2rem;
  font-weight: 700;
}

.article-card__title {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.7;
  margin-top: 1.2rem;
}

.article-card__person {
  font-size: 1.4rem;
  margin-top: 1.2rem;
}

.article-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding-top: 1.6rem;
  margin-top: 2.4rem;
  border-top: 1px dotted var(--gray);
}

.article-card__tag {
  font-size: 1.4rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .article-card__content {
    padding: 2.4rem 1.6rem;
  }

  .article-card__title {
    font-size: 1.4rem;
  }

  .article-card__person {
    font-size: 1.2rem;
  }

  .article-card__tags {
    margin-top: 1.6rem;
  }

  .article-card__tag {
    font-size: 1.0rem;
  }
}

/* ========================================
   FV Section
   ======================================== */
.fv {
  padding: 4rem 0;
}

.fv__container {
  align-items: center;
  display: grid;
  gap: 6rem;
  grid-template-columns: 1fr 1.5fr;
  min-width: 0;
  overflow: visible;
  position: relative;
  width: 100%;
  padding: 0 14.5rem;
  justify-content: center;

  @media (min-width: 1440px) {
    width: 83%;
    padding: 0 8.333vw;
    min-width: 1440px;
  }
}

.fv__title {
  color: var(--black);
  display: flex;
  flex-direction: column;
  font-size: 4.8rem;
  font-weight: 500;
  gap: 0.8rem;
  line-height: 1.4;
  align-items: start;
}

.fv__title-line {
  display: inline-block;
  position: relative;
}

.fv__title-line--decorated::after {
  background-image: url("../img/title/fv-title-line.svg");
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 100% auto;
  bottom: -1rem;
  content: '';
  height: 4.4rem;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  width: 110%;
  z-index: -1;
  /* 左から右にふんわり出てくるアニメーション */
  clip-path: inset(0 100% 0 0);
  animation: fv-title-line-reveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes fv-title-line-reveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0 0% 0 0);
  }
}

.fv__title-accent {
  color: var(--main-accent-color);
}

.fv__today {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 0.8rem 0;
  position: relative;
  margin-top: 6.4rem;
}

.fv__today::before,
.fv__today::after {
  background-image:
    radial-gradient(circle, var(--main-accent-color) 0.4rem, transparent 0.4rem),
    linear-gradient(to right, var(--main-accent-color) 0, var(--main-accent-color) 100%),
    radial-gradient(circle, var(--main-accent-color) 0.4rem, transparent 0.4rem);
  background-position: left center, center, right center;
  background-repeat: no-repeat;
  background-size: 0.8rem 0.8rem, calc(100% - 1.6rem) 1px, 0.8rem 0.8rem;
  content: '';
  height: 0.8rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
}

.fv__today::before {
  top: 0;
}

.fv__today::after {
  bottom: 0;
}

.fv__today-line {
  display: none;
}

.fv__today-content {
  padding: 3.2rem;
}

.fv__today-label {
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
}

.fv__today-info {
  color: var(--black);
  display: flex;
  font-size: 2.1rem;
  font-weight: 500;
  gap: 1.6rem;
  margin-top: 1.2rem;
  align-items: center;
  justify-content: center;
}

.fv__today-weather {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.fv__today-weather-icon {
  height: 3.2rem;
  object-fit: contain;
  width: 3.2rem;
}

.fv__today-temp span {
  font-size: 1.4rem;
}

.fv__scroll {
  align-items: center;
  color: var(--main-accent-color);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: var(--small);
  gap: 0.8rem;
  justify-content: center;
  margin-top: auto;
  position: absolute;
  left: -2.4rem;
  bottom: -7.7rem;
}

.fv__scroll-circle {
  animation: scroll-rotate 20s linear infinite;
  height: 13.6rem;
  overflow: visible;
  width: 13.6rem;
}

.fv__scroll-text {
  fill: var(--main-accent-color);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: lowercase;
}

@keyframes scroll-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.fv__scroll-arrow {
  height: 4.5rem;
  width: 4.5rem;
  position: absolute;
}

.fv__right {
  min-width: 0;
  overflow: visible;
  position: relative;
  max-width: 67.5rem;
}

.fv__slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.fv__slider-track {
  display: flex;
  gap: 2.4rem;
  position: relative;
  transform: translateX(0%);
  transition: transform 0.5s ease;
  width: 300%;
}

.fv__slider-item {
  background-color: var(--base-color);
  color: inherit;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: calc(33.333% - 1.6rem);
  text-decoration: none;
  width: calc(33.333% - 1.6rem);
  border-radius: 0.4rem;
}

.fv__slider-image {
  aspect-ratio: 675 / 450;
  overflow: hidden;
  width: 100%;
  border-radius: 0.4rem .4rem 0 0;
}

.fv__slider-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.fv__slider-item:hover .fv__slider-image img {
  transform: scale(1.05);
}

.fv__slider-content {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  padding: 3.6rem;
}

.fv__slider-date-container {
  display: flex;
  flex-direction: column;
}

.fv__slider-date {
  font-size: 1.6rem;
  display: flex;
  align-items: end;
  gap: .4rem;
}

.fv__slider-date-month-day {
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 1.2;
}

.fv__slider-category {
  border: 1px solid var(--black);
  border-radius: 50px;
  display: inline-block;
  font-size: 1.4rem;
  padding: 0.6rem 1.4rem;
  width: 100%;
  margin-top: .8rem;
  text-align: center;
}

.fv__slider-title {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.5;
}

.fv__slider-author {
  margin-top: 1.4rem;
  font-size: 1.8rem;
}

.fv__slider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.fv__slider-tag {
  font-size: 1.4rem;
}

/* fv__rightに対してposition: absoluteで配置 */
.fv__slider-nav {
  background-color: var(--white);
  border: 1px solid var(--main-accent-color);
  height: 4.8rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4.8rem;
  z-index: 10;
}

.fv__slider-nav svg path {
  fill: var(--main-accent-color);
}

@media (hover: hover) {
  .fv__slider-nav:hover {
    background-color: var(--main-accent-color);
    border-color: var(--main-accent-color);
  }
}

.fv__slider-nav:hover svg path {
  fill: #fff;
}

.fv__slider-nav--prev {
  left: -2.4rem;
  transform: translateY(-50%) scaleX(-1);
}

.fv__slider-nav--next {
  right: -2.4rem;
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .fv {
    padding: 2.778vw 0;
  }

  .fv__container {
    gap: 4.167vw;
    padding: 0 10.069vw;
  }

  .fv__left {
    gap: 2.778vw;
  }

  .fv__title {
    font-size: 3.333vw;
    gap: 0.556vw;
  }

  .fv__title-line--decorated::after {
    bottom: -1.667vw;
    height: 3.056vw;
  }

  .fv__today {
    gap: 1.111vw;
    padding: 0.556vw 0;
    margin-top: 4.444vw;
  }

  .fv__today::before,
  .fv__today::after {
    background-size: 0.556vw 0.556vw, calc(100% - 1.111vw) 1px, 0.556vw 0.556vw;
    height: 0.556vw;
  }

  .fv__today-content {
    padding: 2.222vw;
  }

  .fv__today-label {
    font-size: 0.903vw;
  }

  .fv__today-info {
    font-size: 1.458vw;
    gap: 1.111vw;
    margin-top: 0.833vw;
  }

  .fv__today-weather-icon {
    height: 1.667vw;
    width: 1.667vw;
  }

  .fv__today-temp span {
    font-size: 0.972vw;
  }

  .fv__scroll {
    gap: 0.556vw;
    left: -1.667vw;
    bottom: -5.347vw;
  }

  .fv__scroll-arrow {
    height: 3.125vw;
    width: 3.125vw;
  }

  .fv__right {
    max-width: 46.875vw;
  }

  .fv__slider-track {
    gap: 1.667vw;
  }

  .fv__slider-item {
    min-width: calc(33.333% - 1.111vw);
    width: calc(33.333% - 1.111vw);
    border-radius: 0.278vw;
  }

  .fv__slider-image {
    border-radius: 0.278vw 0.278vw 0 0;
  }

  .fv__slider-content {
    gap: 1.944vw;
    padding: 2.5vw;
  }

  .fv__slider-date {
    font-size: 1.111vw;
  }

  .fv__slider-date-month-day {
    font-size: 1.944vw;
  }

  .fv__slider-category {
    border-radius: 34.722vw;
    font-size: 0.972vw;
    padding: 0.417vw 0.972vw;
    margin-top: 0.556vw;
  }

  .fv__slider-title {
    font-size: 1.944vw;
  }

  .fv__slider-author {
    margin-top: 0.972vw;
    font-size: 1.25vw;
  }

  .fv__slider-tags {
    gap: 0.556vw;
    margin-top: 1.667vw;
  }

  .fv__slider-tag {
    font-size: 0.972vw;
  }

  .fv__slider-nav {
    height: 3.333vw;
    width: 3.333vw;
  }

  .fv__slider-nav--prev {
    left: -1.667vw;
  }

  .fv__slider-nav--next {
    right: -1.667vw;
  }

  .fv__slider-nav svg {
    height: 0.833vw;
    width: 0.833vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .fv {
    min-height: auto;
    padding: 6rem 0;
  }

  .fv__container {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 0 2.4rem;
  }

  .fv__title {
    font-size: 8.53vw;
  }

  .fv__today {
    display: none;
  }

  .fv__slider-nav {
    width: 3.2rem;
    height: 3.2rem;
  }

  .fv__slider-nav--prev {
    left: -1.6rem;
  }

  .fv__slider-nav--next {
    right: -1.6rem;
  }

  .fv__slider-nav svg {
    width: .65rem;
    height: .65rem;
  }

  .fv__slider-content {
    flex-direction: column-reverse;
    padding: 2.4rem;
    align-items: start;
  }

  .fv__slider-title {
    font-size: 1.6rem;
  }

  .fv__slider-author {
    font-size: 1.4rem;
  }

  .fv__slider-tags {
    margin-top: 1.6rem;
  }

  .fv__slider-date-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.6rem;
    row-gap: .8rem;
    width: 100%;
  }

  .fv__slider-date {
    grid-column: 1;
    grid-row: 1;
    font-size: 1rem;
  }

  .fv__slider-date-month-day {
    font-size: 1.8rem;
  }

  .fv__slider-tags {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
    align-items: flex-start;
    font-size: 1.2rem;
  }

  .fv__slider-category {
    grid-column: 1 / 2;
    grid-row: 2;
    margin-top: 0;
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .fv__slider-tag {
    font-size: 1rem;
  }
}

/* ========================================
   Pick up Section
   ======================================== */
.pickup {
  padding: 8rem 0;
}

.pickup__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .pickup {
    padding: 5.556vw 0;
  }

  .section-header__title {
    height: 1.389vw;
  }

  .section-header__subtitle {
    font-size: 2.222vw;
  }

  .pickup__grid {
    gap: 2.083vw;
    margin-top: 2.083vw;
  }

}

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

  .pickup__container {
    gap: 2.4rem;
    padding: 0 2rem;
  }

  .section-header__subtitle {
    font-size: 2.8rem;
  }

  .about .section-header__subtitle {
    font-size: 2.4rem;
  }

  .pickup__grid {
    display: flex;
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .pickup__slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
  }

  .pickup__grid .article-card {
    transform: none;
    flex: 0 0 calc(100vw - 12rem);
    min-width: 0;
    margin: 0 0rem;
  }
}

/* ========================================
   About Section
   ======================================== */
.about {
  background-color: var(--base-color);
  padding: 12rem 0;
  position: relative;
  margin: 16.48rem 0 9.8rem;
}

.about::before {
  backface-visibility: hidden;
  background: url("../img/about/about-bg-01.webp") center center / 100% 100% no-repeat;
  content: "";
  display: block;
  height: 16.48rem;
  left: 0;
  position: absolute;
  top: -16.46rem;
  transform: translateZ(0);
  width: 100%;
  will-change: transform;
  z-index: 1;
}

.about::after {
  backface-visibility: hidden;
  background: url("../img/about/about-bg-02.webp") center center / 100% 100% no-repeat;
  bottom: -9.8rem;
  content: "";
  display: block;
  height: 9.8rem;
  left: 0;
  position: absolute;
  transform: translateZ(0);
  width: 100%;
  will-change: transform;
  z-index: 1;
}

.about__container {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 60rem;
  position: relative;
  z-index: 2;
}

.about__content {
  max-width: 60rem;
  position: relative;
  text-align: center;
  z-index: 2;
}

.about .section-header__subtitle {
  font-size: 3.2rem;
}

.about__text {
  margin-top: 4rem;
}

.about__text p {
  margin-top: 3.2rem;
  font-size: 2rem;
  line-height: 2.4;
}

.about__text p:first-child {
  margin-top: 0;
}

.about__image {
  overflow: hidden;
  position: absolute;
  z-index: 1;
}

.about__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* レスポンシブ対応 */
/* 1440px以上の配置 */
@media (min-width: 1440px) {
  .about__image--1 {
    top: -5.625vw;
    left: -23.194vw;
    width: 16.875vw;
    height: 22.569vw;
    z-index: 2;
  }

  .about__image--2 {
    top: 11.667vw;
    left: -32.361vw;
    width: 22.361vw;
    height: 14.931vw;
  }

  .about__image--3 {
    bottom: -6.944vw;
    left: -18.056vw;
    width: 13.75vw;
    height: 9.167vw;
  }

  .about__image--4 {
    top: -9.306vw;
    right: -19.236vw;
    width: 17.014vw;
    height: 11.667vw;
    z-index: 2;
  }

  .about__image--5 {
    top: -3.819vw;
    right: -27.083vw;
    width: 17.639vw;
    height: 11.736vw;
  }

  .about__image--6 {
    bottom: -0.625vw;
    right: -29.792vw;
    width: 23.681vw;
    height: 15.764vw;
  }
}

/* 768px以上1440px未満の配置 */
@media (min-width: 768px) and (max-width: 1439px) {
  .about {
    padding: 8.333vw 0;
    margin: 11.444vw 0 6.806vw;
  }

  .about::before {
    height: 11.444vw;
    top: -11.444vw;
  }

  .about::after {
    bottom: -6.806vw;
    height: 6.806vw;
  }

  .about__container {
    min-height: 41.667vw;
  }

  .about__content {
    max-width: 41.667vw;
  }

  .about .section-header__subtitle {
    font-size: 2.222vw;
  }

  .about__text {
    margin-top: 2.778vw;
  }

  .about__text p {
    margin-top: 2.222vw;
    font-size: 1.389vw;
    line-height: 2.4;
  }

  .about__image--1 {
    top: -5.625vw;
    left: -23.194vw;
    width: 16.875vw;
    height: 22.569vw;
    z-index: 2;
  }

  .about__image--2 {
    top: 11.667vw;
    left: -32.361vw;
    width: 22.361vw;
    height: 14.931vw;
  }

  .about__image--3 {
    bottom: -6.944vw;
    left: -18.056vw;
    width: 13.75vw;
    height: 9.167vw;
  }

  .about__image--4 {
    top: -9.306vw;
    right: -19.236vw;
    width: 17.014vw;
    height: 11.667vw;
    z-index: 2;
  }

  .about__image--5 {
    top: -3.819vw;
    right: -27.083vw;
    width: 17.639vw;
    height: 11.736vw;
  }

  .about__image--6 {
    bottom: -0.625vw;
    right: -29.792vw;
    width: 23.681vw;
    height: 15.764vw;
  }
}

/* 768px以下のレスポンシブ対応 */
@media (max-width: 768px) {
  .about {
    padding: 7rem 0 2rem;
    margin: 4rem 0;
  }

  .about__container {
    justify-content: start;
  }

  .about::before {
    height: 4rem;
    top: -4rem;
  }

  .about::after {
    bottom: -2.4rem;
    height: 2.4rem;
  }


  .about__text p {
    font-size: 1.6rem;
    text-align: start;
  }

  .about__image-container {
    position: relative;
    width: 100%;
    height: 88vw;
    margin-top: 10.667vw;
  }

  .about__image--1 {
    top: 14.133vw;
    right: 0;
    width: 26.4vw;
    height: 35.2vw;
    z-index: 2;
  }

  .about__image--2 {
    top: 0;
    left: 0;
    width: 28.533vw;
    height: 18.933vw;
  }

  .about__image--3 {
    display: none;
  }

  .about__image--4 {
    top: 8vw;
    left: 10.667vw;
    width: 35.733vw;
    height: 23.733vw;
  }

  .about__image--5 {
    top: 37.333vw;
    right: 8vw;
    width: 27.467vw;
  }

  .about__image--6 {
    bottom: 0;
    left: 8vw;
    width: 52.533vw;
  }
}

/* ========================================
   Featured Section (共通)
   ======================================== */
.section-featured {
  padding: 8rem 0;
  position: relative;
}

.section-featured--rearing {
  background-color: var(--base-color);
  margin: 16.48rem 0 9.8rem;
  padding: 6rem 0 4rem;
}

.section-featured--rearing::before {
  backface-visibility: hidden;
  background: url("../img/rearing/rearing-bg-01.webp") center center / 100% 100% no-repeat;
  content: "";
  display: block;
  height: 9.83rem;
  left: 0;
  position: absolute;
  top: -9.83rem;
  transform: translateZ(0);
  width: 100%;
  will-change: transform;
  z-index: 1;
}

.section-featured--rearing::after {
  backface-visibility: hidden;
  background: url("../img/rearing/rearing-bg-02.webp") center center / 100% 100% no-repeat;
  bottom: -9.8rem;
  content: "";
  display: block;
  height: 9.8rem;
  left: 0;
  position: absolute;
  transform: translateZ(0);
  width: 100%;
  will-change: transform;
  z-index: 1;
}

.section-featured__container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.section-featured__header {
  align-items: flex-end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.section-featured__header-left {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.section-featured__header-right {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 1.4rem;
}

.section-featured__header-right::before {
  background-color: var(--black);
  content: '';
  height: 0.1rem;
  width: 16rem;
}

.section-featured__category {
  color: var(--black);
  font-size: 1.8rem;
}

.section-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.section-featured__footer {
  display: flex;
  justify-content: center;
}

.section-featured--rearing .article-card {
  background-color: #fff;
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .section-featured {
    padding: 5.556vw 0;
  }

  .section-featured--rearing {
    margin: 6.826vw 0 6.806vw;
    padding: 8.333vw 0;
  }

  .section-featured--rearing::before {
    height: 6.826vw;
    top: -6.826vw;
  }

  .section-featured--rearing::after {
    bottom: -6.806vw;
    height: 6.806vw;
  }

  .section-featured__container {
    gap: 2.778vw;
  }

  .section-featured__header {
    gap: 1.389vw;
  }

  .section-featured__header-left {
    gap: 0.556vw;
  }
}

@media (max-width: 768px) {
  .section-featured--rearing {
    margin: 2.4rem 0;
  }

  .section-featured--rearing::before {
    height: 2.4rem;
    top: -2.4rem;

  }

  .section-featured--rearing::after {
    height: 2.4rem;
    bottom: -2.4rem;
  }

}

/* ========================================
   Movie Section
   ======================================== */
.section-movie {
  height: 36rem;
  overflow: hidden;
  position: relative;
}

.section-movie video {
  display: block;
  object-fit: cover;
  height: 100vh;
  width: 100%;
  will-change: transform;
}

.movie-parallax-container {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .section-movie {
    height: 25rem;
  }


  .section-featured--movie video {
    height: auto;
    min-height: 18rem;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .section-featured {
    padding: 6rem 0;
  }

  .section-featured__header {
    flex-direction: column;
    gap: 1.6rem;
    align-items: start;
  }

  .section-featured__header-right {
    width: 100%;
    justify-content: end;
  }

  .section-featured__category {
    font-size: 1.4rem;
  }

  .section-featured__grid {
    display: flex;
    overflow: hidden;
    position: relative;
    margin-top: 4rem;
    margin-left: -2.4rem;
    margin-right: -2.4rem;
    padding-left: 2.4rem;
    padding-right: 2rem;
  }

  .section-featured__slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
  }

  .section-featured__grid .article-card {
    transform: none;
    flex: 0 0 calc(100vw - 10rem);
    min-width: 0;
    margin: 0 0rem;
  }

  .section-featured__footer {
    margin-top: 0;
  }

  .btn-primary {
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    max-width: unset;
  }

  .btn-primary--header {
    margin-top: .8rem;
    padding: .8rem 1.6rem;
  }

  .btn-primary--header span {
    font-size: 1.2rem;
  }
}

/* ========================================
   Latest Stories Section
   ======================================== */
.latest-stories {
  padding: 12rem 0;
}

.latest-stories__container {
  align-items: flex-start;
  display: grid;
  gap: 6rem;
  grid-template-columns: 12rem 1fr;
  padding-right: 0;
}

.section-header--vertical {
  flex-direction: row-reverse;
  gap: 2.4rem;
}

.section-header--vertical .section-header__title {
  height: auto;
  width: 2rem;
}

.section-header__subtitle--vertical {
  text-orientation: upright;
  writing-mode: vertical-rl;
  text-align: start;
}

.latest-stories__main {
  position: relative;
  overflow: hidden;
}

.latest-stories__slider {
  position: relative;
  overflow: hidden;
  padding-right: 4rem;
}

.latest-stories__track {
  display: flex;
  gap: 2rem;
  transition: transform 0.3s ease;
  width: 100%;
}

.latest-stories__track .article-card {
  flex: 0 0 calc((100% - 4rem) / 3);
  min-width: 0;
}

.latest-stories__nav-container {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  align-items: end;
}

.latest-stories__nav {
  display: flex;
  gap: 4rem;
  justify-content: flex-start;
  padding-left: 0;
}

.latest-stories__arrow--prev svg {
  transform: scaleX(-1);
}

.latest-stories__dots {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  padding-right: 1rem;
}

.latest-stories__dot {
  border: 1px solid var(--black);
  border-radius: 50%;
  cursor: pointer;
  height: 0.6rem;
  padding: 0;
  transition: all 0.3s ease;
  width: 0.6rem;
}

.latest-stories__dot.is-active {
  border: 1px solid var(--main-accent-color);
  background-color: var(--main-accent-color);
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .latest-stories {
    padding: 5.556vw 0;
  }

  .latest-stories__container {
    width: 100%;
    max-width: unset;
    padding-right: 0;
    gap: 4.167vw;
  }

  .latest-stories__title-ja {
    margin-bottom: 0.833vw;
  }

  .latest-stories__subtitle {
    font-size: 1.389vw;
  }

  .latest-stories__track {
    gap: 2.083vw;
  }

  .latest-stories__track .article-card {
    gap: 1.111vw;
  }

  .latest-stories__arrow {
    height: 2.431vw;
    width: 2.431vw;
  }


  .latest-stories__dots {
    gap: 0.556vw;
    margin-top: 1.389vw;
  }

  .latest-stories__dot {
    height: 0.556vw;
    width: 0.556vw;
  }

}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .latest-stories {
    padding: 6rem 0;
  }

  .latest-stories__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .latest-stories__sidebar {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    text-align: center;
  }

  .latest-stories__main,
  .latest-stories__slider {
    margin-left: -2.4rem;
    margin-right: -2.4rem;
    padding-left: 2.4rem;
    padding-right: 2rem;
  }


  .latest-stories__title-ja {
    margin-bottom: 0.8rem;
  }

  .latest-stories__track .article-card {
    flex: 0 0 calc(100vw - 10rem);
  }

  .latest-stories__nav-container {
    display: flex;
    margin-top: 2rem;
  }

  .latest-stories__nav {
    display: none;
    /* スマホでは矢印を非表示 */
  }

  .latest-stories__dots {
    display: none;
    /* スマホではドットも非表示 */
  }

  .section-header--vertical {
    justify-content: flex-end;
    gap: 1rem;
  }
}

/* ========================================
   Search by Town Section
   ======================================== */
.search-town {
  padding: 4rem 0 8rem;
}

.search-town__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.search-town__card {
  align-items: center;
  background-color: var(--base-color);
  border-radius: 0.4rem;
  display: flex;
  gap: 2rem;
  padding: 1.6rem;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}

.search-town__card:hover {
  background-color: var(--sub-base-color);
}

.search-town__image {
  border-radius: 0.4rem;
  height: 13.7rem;
  overflow: hidden;
  width: 13.7rem;
}

.search-town__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.search-town__card:hover .search-town__image img {
  transform: scale(1.05);
}

.search-town__name-en {
  display: block;
  height: 2rem;
  width: auto;
}

.search-town__name-en img {
  display: block;
  height: 100%;
  max-width: 100%;
  width: auto;
}

.search-town__name-ja {
  font-size: 1.8rem;
  font-weight: 500;
}

.search-town__arrow {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  height: 2.4rem;
  justify-content: center;
  transition: transform 0.3s ease;
  width: 2.4rem;
  position: absolute;
  right: 1.6rem;
  top: calc(50% - 1.2rem);
}

.search-town__arrow svg {
  height: 1.2rem;
  width: 0.8rem;
}

.search-town__arrow svg path {
  fill: var(--main-accent-color);
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .search-town {
    padding: 2.778vw 0 5.556vw;
  }

  .search-town__grid {
    gap: 1.389vw;
    margin-top: 2.778vw;
  }

  .search-town__card {
    gap: 1.389vw;
    padding: 1.111vw;
  }

  .search-town__image {
    height: 9.514vw;
    width: 9.514vw;
  }

  .search-town__name-en {
    height: 1.389vw;
  }

  .search-town__name-ja {
    font-size: 1.25vw;
  }

  .search-town__arrow {
    height: 1.667vw;
    right: 1.111vw;
    top: calc(50% - 0.833vw);
    width: 1.667vw;
  }

  .search-town__arrow svg {
    height: 0.833vw;
    width: 0.556vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .search-town {
    padding: 4rem 0;
  }

  .search-town__container {
    gap: 2.4rem;
  }

  .search-town__title-ja {
    font-size: 1.8rem;
  }

  .search-town__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .search-town__card {
    flex-direction: column;
    padding: .8rem .8rem 1.6rem;
    gap: 1.4rem;
    align-items: start;
  }

  .search-town__image {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 0.4rem;
  }

  .search-town__name-en {
    height: 1.2rem;
  }

  .search-town__name-ja {
    font-size: 1.4rem;
  }

  .search-town__arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    top: unset;
    width: .7rem;
    height: .7rem;
  }
}

/* ========================================
   Featured Articles Section
   ======================================== */
.featured-articles {
  padding: 12rem 0;
}

.featured-articles__container {
  align-items: flex-start;
  display: grid;
  gap: 6rem;
  grid-template-columns: 12rem 1fr;
}

.featured-articles__sidebar {
  display: flex;
  flex-direction: column;
}

.featured-articles__sidebar .section-header {
  flex-direction: row-reverse;
  gap: 2.4rem;
}

.featured-articles__sidebar .section-header__title {
  width: 2rem;
  height: auto;
}

.featured-articles__sidebar .section-header__subtitle {
  writing-mode: vertical-rl;
}


.featured-articles__title-ja {
  color: var(--black);
  font-size: 1.6rem;
  font-weight: 500;
  text-orientation: upright;
  writing-mode: vertical-rl;
}

.featured-articles__main {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.featured-articles__card {
  position: relative;
}

.featured-articles__card:nth-of-type(2) .featured-articles__link {
  background-color: var(--sub-base-color);
}

.featured-articles__link {
  background-color: var(--base-color);
  border-radius: 0.4rem;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}

.featured-articles__tape {
  position: absolute;
  right: 1rem;
  top: 1rem;
  transform: rotate(15deg);
  width: 4rem;
  z-index: 2;
}

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

.featured-articles__image {
  border-radius: 0.4rem;
  aspect-ratio: 400 / 267;
}

.featured-articles__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.featured-articles__link:hover .featured-articles__image img {
  transform: scale(1.05);
}

.featured-articles__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1.2rem;
  padding-top: 0.4rem;
}

.featured-articles__date {
  color: var(--dark-gray);
  font-size: var(--small);
}

.featured-articles__title {
  color: var(--black);
  font-size: var(--x-large);
  font-weight: 600;
  line-height: 1.6;
}

.featured-articles__title a {
  color: inherit;
  text-decoration: none;
}

.featured-articles__excerpt {
  color: var(--black);
  font-size: var(--regular);
  line-height: 1.8;
}

.featured-articles__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: auto;
}

.featured-articles__tag {
  color: var(--main-accent-color);
  font-size: var(--small);
  text-decoration: none;
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .featured-articles {
    padding: 5.556vw 0;
  }

  .featured-articles__container {
    gap: 4.167vw;
  }

  .featured-articles__main {
    gap: 2.778vw;
  }

  .featured-articles__card {
    gap: 2.083vw;
    padding: 1.389vw;
  }

  .featured-articles__tape {
    right: 0.694vw;
    top: 0.694vw;
    width: 2.778vw;
  }

  .featured-articles__image {
    flex: 0 0 20.833vw;
    height: 13.889vw;
  }

  .featured-articles__content {
    gap: 0.833vw;
    padding-top: 0.278vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .featured-articles {
    padding: 4rem 0;
  }

  .featured-articles__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .featured-articles__sidebar {
    text-align: center;
    text-orientation: mixed;
    writing-mode: horizontal-tb;
  }


  .featured-articles__main {
    gap: 3rem;
  }

  .featured-articles__card {
    flex-direction: column;
    gap: 2rem;
    padding: 1.6rem;
  }

  .featured-articles__image {
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    height: auto;
    width: 100%;
  }

  .featured-articles__content {
    padding-top: 0;
  }

  .featured-articles__title {
    font-size: var(--large);
  }
}

/* ========================================
   Living in Shonan Section
   ======================================== */
.living-shonan {
  background-color: var(--base-color);
  padding: 8rem 0 30rem;
  position: relative;
  margin-top: 10rem;
}

.living-shonan__container {
  position: relative;
  z-index: 100;
}

.living-shonan::before {
  background: url("../img/living-shonan/living-bg-01.webp") center center / 100% 100% no-repeat;
  content: '';
  height: 9.8rem;
  left: 0;
  position: absolute;
  top: -9.8rem;
  width: 100%;
}

.living-shonan::after {
  background: url("../img/living-shonan/living-bg-02.webp") center center / 100% 100% no-repeat;
  bottom: 0;
  content: '';
  height: 30rem;
  left: 0;
  position: absolute;
  width: 100%;
}


.living-shonan__title {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
}

.living-shonan__title span {
  position: relative;
  z-index: 1;
}

.living-shonan__title span::after {
  background-image: url("../img/common/menu_line.svg");
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 100% auto;
  bottom: -1rem;
  content: '';
  height: 3.1rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
  z-index: -1;
  /* 左から右にふんわり出てくるアニメーション */
  clip-path: inset(0 100% 0 0);
  animation: fv-title-line-reveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}


.living-shonan__description {
  font-size: 1.6rem;
  line-height: 2;
  margin-top: 2.4rem;
}

.living-shonan .btn-primary {
  margin-top: 4rem;
}

.living-shonan__collage {
  position: absolute;
  top: -7rem;
  right: 10rem;
  width: 65.2rem;
  z-index: 1;
}

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


/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .living-shonan {
    padding: 5.556vw 0 20.8vw;
  }

  .living-shonan::before {
    height: 1.389vw;
    top: -1.389vw;
  }

  .living-shonan::after {
    height: 20.8vw;
  }

  .living-shonan__top {
    gap: 4.167vw;
    padding: 0 0 2.778vw;
  }

  .living-shonan__text {
    gap: 1.667vw;
  }

  .living-shonan__title {
    font-size: 2.222vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .living-shonan {
    padding: 4rem 0 14rem;
  }

  .living-shonan::before {
    height: 2.4rem;
    top: -2.4rem;
  }

  .living-shonan::after {
    height: 14rem;
    background-size: cover;
    background-position: center bottom;
  }

  .living-shonan__top {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 0 3rem;
  }

  .living-shonan__text {
    gap: 1.6rem;
  }

  .living-shonan__title {
    font-size: 2.4rem;
  }

  .living-shonan__subtitle,
  .living-shonan__description {
    font-size: var(--small);
  }

  .living-shonan__collage {
    position: relative;
    width: 100%;
    top: unset;
    right: unset;
    display: flex;
    margin-top: 4rem;
    align-items: center;
    justify-content: center;
  }

  .living-shonan__collage img {
    width: 120%;
  }
}

/* ========================================
   Video Section
   ======================================== */
.video-section {
  padding: 16rem 0 12rem;
  overflow: hidden;
}

.video-section__container {
  display: grid;
  grid-template-columns: 28rem 1fr;
  gap: 10.4rem;
  align-items: flex-start;
  padding-right: 0;
}

.video-section__sidebar {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.video-section__description {
  font-size: 1.6rem;
  line-height: 2;
  margin-top: 8rem;
}

.video-section__nav {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
}

.video-section__arrow--prev svg {
  transform: scaleX(-1);
}


.video-section__main {
  overflow: hidden;
  padding-right: 4rem;
}

.video-section__carousel {
  overflow: visible;
}

.video-section__track {
  display: flex;
  gap: 2.4rem;
  transition: transform 0.3s ease;
}

.video-section__item {
  cursor: pointer;
  flex: 0 0 calc((100% - 12rem) / 4);
  min-width: 0;
}

.video-section__thumbnail {
  aspect-ratio: 9 / 16;
  border-radius: 0.4rem;
  overflow: hidden;
  position: relative;
}

.video-section__thumbnail img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.video-section__thumbnail::after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-section__item:hover .video-section__thumbnail img {
  transform: scale(1.05);
}

.video-section__play-icon {
  align-items: center;
  border-radius: 50%;
  display: flex;
  height: 6rem;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  z-index: 2;
}

.video-section__play-icon svg {
  height: 4rem;
  margin-left: 0.4rem;
  width: 4rem;
}

.video-section__play-icon svg path {
  fill: #fff;
  transition: fill 0.3s ease;
}

/* Video Popup（表示中は背景スクロール禁止） */
body.video-popup-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.video-popup {
  align-items: center;
  display: none;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 10003;
}

.video-popup.is-active {
  display: flex;
}

.video-popup__overlay {
  background-color: rgb(20 20 20 / 56%);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.video-popup__content {
  align-items: center;
  display: flex;
  max-width: 90vw;
  overflow: visible;
  position: relative;
  z-index: 10004;
}

.video-popup__nav {
  align-items: center;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  color: var(--main-accent-color);
  cursor: pointer;
  display: flex;
  height: 4rem;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  width: 4rem;
  z-index: 10005;
}

.video-popup__nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.video-popup__nav--prev {
  left: -6rem;
}

.video-popup__nav--next {
  right: -6rem;
}

.video-popup__nav svg {
  height: 1rem;
  width: 1rem;
}

.video-popup .btn-nav svg path {
  fill: var(--main-accent-color);
}

.video-popup__nav--prev svg {
  transform: scaleX(-1);
}

.video-popup__player {
  background-color: var(--white);
  border-radius: 0.4rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.video-popup__player iframe,
.video-popup__player blockquote {
  border: none;
  height: auto;
  margin: 0;
  max-width: 100%;
  min-height: 50rem;
  width: 100%;
}

/* Instagram埋め込みのスタイル調整 */
.video-popup__player blockquote {
  background: var(--white);
  border: none;
  border-radius: 0.4rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 0;
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .video-section {
    padding: 5.556vw 0;
  }

  .video-section__container {
    max-width: unset;
    width: 100%;
    gap: 4.167vw;
  }

  .video-section__sidebar {
    gap: 1.111vw;
  }

  .video-section__title-ja {
    font-size: 1.389vw;
  }

  .video-section__title-en {
    font-size: 1.111vw;
  }

  .video-section__description {
    font-size: 0.972vw;
  }

  .video-section__nav {
    gap: 0.556vw;
  }


  .video-section__carousel {
    gap: 1.389vw;
  }

  .video-section__item {
    gap: 0.833vw;
  }

  .video-section__thumbnail {
    margin-bottom: 0.833vw;
  }

  .video-section__play-icon {
    height: 4.167vw;
    width: 4.167vw;
  }

  .video-section__play-icon svg {
    height: 1.667vw;
    width: 1.667vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .video-section {
    padding: 8rem 0;
  }

  .video-section__container {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 0 2.4rem;
  }

  .video-section__sidebar {
    text-orientation: mixed;
    writing-mode: horizontal-tb;
  }

  .video-section__description {
    font-size: 1.6rem;
  }

  .video-section__nav {
    display: none;
    /* スマホでは矢印を非表示 */
  }

  .video-section__item {
    flex: 0 0 calc((100% - -12rem) / 2);
  }


  .video-popup__content {
    max-width: 326px;
    width: 80%;
  }

  .video-popup__nav {
    height: 2.4rem;
    width: 2.4rem;
  }

  .video-popup__nav--prev {
    left: -3.3rem;
  }

  .video-popup__nav--next {
    right: -3.3rem;
  }

  .video-popup__player iframe,
  .video-popup__player blockquote {
    min-height: 40rem;
  }

  .video-section__main,
  .video-section__carousel,
  .video-section__track {
    margin-left: -2.4rem;
    margin-right: -2.4rem;
    padding-left: 2.4rem;
    padding-right: 2rem;
  }
}

/* ========================================
   Our Member Section
   ======================================== */
.our-member {
  padding: 8rem 10rem 4rem;
}

.our-member__container {
  border: 1px solid rgba(34, 100, 113, 0.4);
  outline: 2px solid rgba(34, 100, 113, 0.4);
  outline-offset: 2px;
  width: 100%;
  min-width: unset;
  padding: 8rem 6rem 6rem;
}

.our-member__top {
  position: relative;
}

.our-member__description {
  font-size: 1.6rem;
  line-height: 2;
  margin-top: 4rem;
}

.our-member__images {
  position: absolute;
  bottom: -4.9vw;
  right: -2rem;
  width: 45%;
}

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

.our-member__profiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 8rem;
  position: relative;
}

.our-member__profiles::after {
  content: "";
  display: block;
  height: 3.2rem;
  width: 3.2rem;
  background-color: #fff;
  position: absolute;
  top: calc(50% - 1.6rem);
  right: calc(50% - 1.6rem);
}

.our-member__profile {
  border-bottom: 1px dotted #747474;
  border-right: 1px dotted #747474;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  padding: 4rem 2rem;
  align-items: flex-start;
  grid-template-columns: 16rem auto;
  grid-template-rows: auto 1fr;
}

.our-member__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

.our-member__profile:nth-child(2n) {
  border-right: none;
}

.our-member__profile:nth-child(n+3) {
  border-bottom: none;
}

.our-member__illustration {
  width: 100%;
  max-width: 16rem;
  border-radius: 500px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

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

.our-member__copy {
  font-size: 1.4rem;
  font-weight: 500;
  font-family: "Shippori Mincho", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.our-member__role {
  font-size: 1.2rem;
  margin-top: .4rem;
  font-weight: 400;
}

.our-member__name {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .1em;
  margin-top: 1.2rem;
}

.our-member__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.our-member__bio {
  font-size: 1.4rem;
  line-height: 2;
  margin-top: 0.8rem;
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .our-member {
    padding: 5.556vw 2.222vw 2.778vw;
  }

  .our-member__container {
    padding: 4.167vw 2.222vw 2.778vw;
  }

  .our-member__top {
    gap: 4.167vw;
  }

  .our-member__text {
    gap: 1.667vw;
  }

  .our-member__title-en {
    font-size: 0.972vw;
  }

  .our-member__title-ja {
    font-size: 2.222vw;
  }

  .our-member__description {
    font-size: 1.111vw;
  }

  .our-member__profiles {
    margin-top: 5.555vw;
  }

  .our-member__profile {
    gap: 1.111vw;
    padding: 2.778vw 1.389vw;
  }

  .our-member__copy {
    font-size: 0.972vw;
  }

  .our-member__role {
    font-size: 0.833vw;
    margin-top: 0.4rem;
  }

  .our-member__name {
    font-size: 1.389vw;
  }

  .our-member__bio {
    font-size: 0.972vw;
  }

  .our-member__illustration {
    max-width: 13.889vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .our-member {
    border-left: none;
    border-right: none;
    padding: 2rem 2.4rem 2rem;
  }

  .our-member__container {
    gap: 4rem;
    max-width: unset;
    min-width: unset;
    padding: 0 2.4rem 2.778vw 2.4rem;
  }

  .our-member__top {
    display: flex;
    flex-direction: column;
  }

  .our-member__top .section-header {
    order: 1;
    margin-top: 1.8rem;
  }

  .our-member__description {
    font-size: 1.4rem;
    order: 2;
    margin-top: 1.6rem;
  }

  .our-member__images {
    justify-content: center;
    position: relative;
    width: 100%;
    bottom: unset;
    display: flex;
    right: unset;
    transform: translateY(-20px);
  }

  .our-member__images img {
    width: 125%;
  }

  .our-member__profiles {
    border-left: none;
    border-right: none;
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .our-member__profile {
    border-bottom: 1px dotted #747474;
    border-right: none;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }

  .our-member__profile:last-child {
    border-bottom: none;
  }

  .our-member__profiles::after {
    display: none;
  }

  .our-member__profile:nth-child(3) {
    border-bottom: 1px dotted #747474;
  }

  .our-member__profiles {
    border: unset;
    gap: 0;
    margin-top: 2rem;
    padding: 0;
  }

  .our-member__illustration {
    max-width: 17rem;
    flex-shrink: 0;
  }

  .our-member__content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    text-align: center;
  }

  .our-member__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
  }


  .our-member__copy {
    font-size: 1.6rem;
  }

  .our-member__role {
    font-size: 1.2rem;
    margin-top: 0.4rem;
  }

  .our-member__name {
    font-size: 1.8rem;
    margin-top: 0.8rem;
  }

  .our-member__bio {
    width: 100%;
    margin-top: 0;
  }
}

/* ========================================
   Image Scroll Section
   ======================================== */
.image-scroll {
  overflow: hidden;
  padding: 0 0 4rem 0;
  width: 100%;
}

.image-scroll__container {
  overflow: hidden;
  width: 100%;
}

.image-scroll__track {
  display: flex;
  gap: 2rem;
  width: fit-content;
  animation: scroll-horizontal 40s linear infinite;
}

.image-scroll__item {
  flex-shrink: 0;
  height: 20rem;
  width: 30rem;
}

.image-scroll__item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* スライド画像のフェードインアニメーション */
.image-scroll__item.fade-in-up {
  opacity: 0;
  transform: none;
  /* 上下の動きを無効化 */
  transition-property: opacity;
  transition-duration: 1s;
  transition-timing-function: ease-out;
  transition-delay: 0s;
}

.image-scroll__item.fade-in-up.is-visible {
  opacity: 1;
  transform: none;
  /* 上下の動きを無効化 */
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .image-scroll {
    padding: 0 0 2.778vw 0;
  }

  .image-scroll__track {
    gap: 1.389vw;
  }

  .image-scroll__item {
    height: 13.889vw;
    width: 20.833vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .image-scroll {
    padding: 3rem 0;
  }

  .image-scroll__item {
    height: 15rem;
    width: 22rem;
  }

  .image-scroll__track {
    gap: 1.5rem;
  }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--sub-base-color);
  padding: 8rem 0;
}

.footer__container {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 3rem;
  align-items: end;
}

.footer__left {
  grid-column: 1;
  grid-row: 1;
}

.footer__right {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: flex-end;
}

.footer__copyright {
  font-size: 1.4rem;
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
  margin-top: 10rem;
}

.footer__titlearea {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer__title {
  margin: 0;
}

.footer__logo {
  display: block;
  text-decoration: none;
}

.footer__logo-img {
  height: 6rem;
  max-width: 100%;
  width: auto;
}

.footer__tagline {
  color: var(--black);
  font-size: var(--regular);
  line-height: 1.8;
  margin: 0;
}

.footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 4rem;
}

.footer__tag {
  border: 1px solid #B6B6B6;
  border-radius: 50px;
  color: var(--gray);
  display: inline-block;
  font-size: 1.2rem;
  padding: 0.8rem 2.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer__tag:hover {
  border-color: var(--black);
  color: var(--black);
}



.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.footer__nav-item {
  align-items: center;
  display: flex;
  font-size: 1.6rem;
  font-weight: 600;
  gap: 0.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__nav-item:hover {
  color: var(--main-accent-color);
}

.footer__nav-item svg {
  flex-shrink: 0;
  height: .6rem;
  width: 0.6rem;
}

.footer__nav-item svg:first-child {
  height: 1.6rem;
  width: 1.6rem;
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .footer {
    padding: 5.556vw 0;
  }

  .footer__left {
    gap: 1.667vw;
  }

  .footer__titlearea {
    gap: 1.388vw;
  }

  .footer__tags {
    gap: 0.694vw;
  }

  .footer__tag {
    padding: 0.556vw 1.111vw;
  }

  .footer__nav {
    gap: 1.111vw;
  }

  .footer__nav-item {
    gap: 0.556vw;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .footer {
    padding: 6.4rem 0;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    align-items: flex-start;
  }

  .footer__left {
    width: 100%;
  }

  .footer__titlearea {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }

  .footer__logo-img {
    height: 5rem;
  }

  .footer__tagline {
    font-size: 1.2rem;
    line-height: 1.8;
  }

  .footer__tags {
    gap: 0.8rem;
    margin-top: 2.4rem;
  }

  .footer__tag {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .footer__right {
    width: 100%;
  }

  .footer__nav {
    gap: 2.4rem;
  }

  .footer__nav-item {
    font-size: 1.4rem;
  }

  .footer__copyright {
    font-size: 1.2rem;
    grid-column: unset;
    grid-row: unset;
    width: 100%;
    margin: 0;
  }
}

/* ========================================
   Category Page
   ======================================== */
.category-header {
  margin-top: 4rem;
}

.category-header__container {
  align-items: end;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1.5fr 1fr;
  position: relative;
  padding: 8rem 12rem 8rem 0;
  min-width: 1200px;
  width: 80%;
}

.category-header__container::before {
  background-color: var(--sub-base-color);
  background-image:
    linear-gradient(to bottom, var(--main-accent-color) 0, var(--main-accent-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--main-accent-color) 0, var(--main-accent-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--main-accent-color) 0, var(--main-accent-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--main-accent-color) 0, var(--main-accent-color) 1px, transparent 1px);
  background-size: 100% 1px, 100% 1px, 100% 1px, 100% 1px;
  background-position: 0 0, 0 3px, 0 calc(100% - 1px), 0 calc(100% - 4px);
  background-repeat: no-repeat;
  content: '';
  grid-column: 1;
  height: 100%;
  right: 0;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: -1;
}

.category-header__title img {
  height: 3.7rem;
  max-width: 100%;
  width: auto;
}

.category-header__title-en {
  color: var(--black);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.category-header__title-ja {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.6;
}

.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

.category-header__description {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-top: 4rem;
}

.category-header__filter-label {
  align-items: center;
  color: var(--black);
  display: flex;
  font-size: 1.4rem;
  font-weight: 500;
  gap: 0.8rem;
  padding: 1.2rem 0;
  border-bottom: 1px dotted var(--black);
}

.category-header__filter-label-icon {
  height: 1.2rem;
  width: 1.2rem;
}

.category-header__filter-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin-top: 2.4rem
}

.category-header__filter-button {
  background-color: var(--white);
  border-radius: 50px;
  color: var(--main-accent-color);
  cursor: pointer;
  font-size: 1.4rem;
  padding: 1.2rem 2.4rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-header__filter-button:hover {
  opacity: 0.7;
}

.category-header__filter-button.is-active {
  background-color: var(--main-accent-color);
  color: var(--white);
  cursor: default;
}

.category-header__filter-button.is-active:hover {
  opacity: 1;
}

.page-header {
  margin-top: 4rem;
}

.page-header__container {
  align-items: end;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1.5fr 1fr;
  position: relative;
  padding: 8rem 12rem 8rem 0;
  min-width: 1200px;
  width: 80%;
}

.page-header__container::before {
  background-color: var(--sub-base-color);
  background-image:
    linear-gradient(to bottom, var(--main-accent-color) 0, var(--main-accent-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--main-accent-color) 0, var(--main-accent-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--main-accent-color) 0, var(--main-accent-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--main-accent-color) 0, var(--main-accent-color) 1px, transparent 1px);
  background-size: 100% 1px, 100% 1px, 100% 1px, 100% 1px;
  background-position: 0 0, 0 3px, 0 calc(100% - 1px), 0 calc(100% - 4px);
  background-repeat: no-repeat;
  content: '';
  grid-column: 1;
  height: 100%;
  right: 0;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: -1;
}

.page-header__container--full {
  grid-template-columns: 1fr;
}

.page-header__textarea {
  padding-left: 2.4rem;
  padding-right: 2.4rem;
}

.page-header__title img {
  height: 3.7rem;
  max-width: 100%;
  width: auto;
}

.page-header__title-ja {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.6;
}

.category-posts {
  padding: 8rem 0 12rem;
}

.category-posts__container {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.category-posts__container .category-header__labels {
  margin-bottom: 0;
}

.category-posts__container .category-header__filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  grid-template-columns: none;
}

.category-posts__container .category-header__filter-button {
  padding: .8rem 2.4rem;
  border: 1px solid var(--black);
  color: var(--black);
}

.category-posts__container .category-header__filter-button.is-active {
  color: var(--white);
}

.category-posts__grid {
  display: grid;
  gap: 6rem;
  grid-template-columns: repeat(3, 1fr);
}

.category-posts__empty {
  color: var(--dark-gray);
  font-size: 1.8rem;
  padding: 4rem 0;
  text-align: center;
}

.page-content {
  padding: 8rem 0 12rem;
}

.page-content__container {
  display: flex;
  flex-direction: column;
}

.page-content__content {
  font-size: 1.4rem;
}

.page-content__content>*:first-child {
  margin-top: 0;
}

.page-content__content h2 {
  font-size: 2.4rem;
  margin-top: 6.4rem;
  line-height: 1.6;
  font-weight: 500;
}

.page-content__content p {
  font-size: 1.4rem;
  margin-top: 2.4rem;
  line-height: 2;
}

.page-content__content ol {
  list-style: decimal;
  margin-top: 2.4rem;
  padding-left: 2rem;
}

.page-content__content ul {
  list-style: disc;
  margin-top: 2.4rem;
  padding-left: 2rem;
}

.page-content__content li {
  font-size: 1.4rem;
  line-height: 2;
  margin-top: 0.8rem;
}

.page-content__content li:first-child {
  margin-top: 0;
}

.page-content__content a {
  color: var(--main-accent-color);
  text-decoration: underline;
}

@media (max-width: 769px) {
  .page-content__content h2 {
    font-size: 1.8rem;
  }

  .page-content__content p {
    margin-top: 1.6rem;
  }

  .category-posts__container .category-header__filter-button {
    font-size: 1.2rem;
    padding: .8rem 1.6rem;
  }


}

/* ========================================
   Contact Form
   ======================================== */

.contact-form-wrapper {
  font-size: 1.4rem;
}

.item-form-contact {
  margin-top: 3rem;
}

.item-form-contact:first-child {
  margin-top: 0;
}

.heading-form-contact p {
  align-items: center;
  display: flex;
  font-size: 1.6rem;
  gap: 1.6rem;
}

.contact-label {
  background-color: var(--main-accent-color);
  border-radius: 0.4rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 400;
  padding: 0.2rem 1rem;
}

.detail-form-contact {
  margin-top: 1.6rem;
  position: relative;
  width: 100%;

  @media (max-width: 769px) {
    margin-top: .8rem;
  }
}

.detail-form-contact input[type="text"],
.detail-form-contact input[type="email"],
.detail-form-contact input[type="tel"],
.detail-form-contact select,
.detail-form-contact textarea {
  background-color: var(--white);
  border: 2px solid #D9D9D9;
  border-radius: 0.4rem;
  color: var(--black);
  font-size: 1.4rem;
  padding: 1.6rem;
  transition: all 0.3s ease;
  width: 100%;
}

.detail-form-contact input[type="text"]:focus,
.detail-form-contact input[type="email"]:focus,
.detail-form-contact input[type="tel"]:focus,
.detail-form-contact select:focus,
.detail-form-contact textarea:focus {
  background-color: var(--base-color);
  border-color: var(--main-accent-color);
  outline: none;
}

.detail-form-contact input[type="text"]:-webkit-autofill,
.detail-form-contact input[type="email"]:-webkit-autofill,
.detail-form-contact input[type="tel"]:-webkit-autofill,
.detail-form-contact select:-webkit-autofill,
.detail-form-contact textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--base-color) inset;
  background-color: var(--base-color);
}

.detail-form-contact input[type="text"]:-webkit-autofill:focus,
.detail-form-contact input[type="email"]:-webkit-autofill:focus,
.detail-form-contact input[type="tel"]:-webkit-autofill:focus,
.detail-form-contact select:-webkit-autofill:focus,
.detail-form-contact textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--base-color) inset;
  background-color: var(--base-color);
}

.detail-form-contact input[type="text"]::placeholder,
.detail-form-contact input[type="email"]::placeholder,
.detail-form-contact input[type="tel"]::placeholder,
.detail-form-contact textarea::placeholder {
  color: var(--gray);
}

.detail-form-contact select {
  appearance: none;
  padding-right: 4rem;
}

.detail-form-contact:has(select)::after {
  background-image: url("../img/common/arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  filter: brightness(0);
  height: 1.3rem;
  pointer-events: none;
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 0.9rem;
}

.detail-form-contact textarea {
  min-height: 16rem;
  resize: vertical;
}

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

.contact-form-wrapper .privacy-check {
  margin-top: 4rem;
}

.contact-form-wrapper .privacy-check label {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 1.4rem;
  gap: 0.8rem;
  justify-content: center;

  @media (max-width: 769px) {
    text-align: start;
  }
}

.contact-form-wrapper .privacy-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--white);
  border: 2px solid #676767;
  border-radius: .4rem;
  cursor: pointer;
  height: 2rem;
  position: relative;
  width: 2rem;
  flex-shrink: 0;
}

.contact-form-wrapper .privacy-check input[type="checkbox"]:checked {
  background-color: var(--main-accent-color);
  border-color: var(--main-accent-color);
}

.contact-form-wrapper .privacy-check input[type="checkbox"]:checked::after {
  border-bottom: 2px solid var(--white);
  border-right: 2px solid var(--white);
  content: '';
  height: 0.8rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  width: 0.4rem;
}

.contact-form-wrapper .privacy-check a {
  color: var(--main-accent-color);
  text-decoration: underline;
}

.btn-wrap {
  margin-top: 2.4rem;
  text-align: center;
}

.btn-wrap .wpcf7-submit {
  align-items: center;
  background-color: var(--main-accent-color);
  border: none;
  border-radius: 50px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.8rem;
  gap: 1.2rem;
  justify-content: center;
  padding: 1.6rem 3.2rem;
  transition: opacity 0.3s ease;
  position: relative;
  width: 30rem;
}

.btn-wrap .wpcf7-submit:hover {
  opacity: 0.8;
}

.btn-wrap .wpcf7-submit::after {
  background-image: url("../img/common/arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: '';
  display: block;
  filter: brightness(0) invert(1);
  height: 1.3rem;
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 0.9rem;
}

.wpcf7-spinner,
.wpcf7-form .wpcf7-spinner,
.contact-form-wrapper .wpcf7-spinner {
  display: none !important;
  visibility: hidden !important;
}

.reCAPTCHA {
  font-size: 1.2rem;
  margin-top: 8rem;
  text-align: center;

  @media (max-width: 769px) {
    text-align: start;
  }
}

.reCAPTCHA a {
  color: var(--main-accent-color);
  text-decoration: underline;
}

/* ========================================
   Thanks Page
   ======================================== */

.thanks-content {
  padding: 6.4rem 0;
}

.thanks-content__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
  align-items: center;
}

.thanks-content__text {
  font-size: 1.6rem;
  line-height: 2;
}

.thanks-content__button {
  margin-top: 6.4rem;
  align-items: center;
  background-color: var(--main-accent-color);
  border-radius: 50px;
  color: var(--white);
  display: flex;
  font-size: 1.8rem;
  gap: 1.2rem;
  justify-content: center;
  padding: 1.6rem 3.2rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
  width: 30rem;
}

.thanks-content__button svg {
  transform: scaleX(-1);
  /* SVGを再度反転して元の向きに */
}

.thanks-content__button:hover {
  opacity: 0.8;
}

.thanks-content__right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.thanks-content__image {
  overflow: hidden;
  width: 100%;
}

.thanks-content__image img {
  height: auto;
  object-fit: cover;
  width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .thanks-content {
    padding: 6rem 0;
  }

  .thanks-content__container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .thanks-content__text {
    font-size: 1.4rem;
  }

  .thanks-content__button {
    margin-top: 2.4rem;
    width: 100%;
  }

  .thanks-content__image {
    width: 110%;
    margin-right: -2rem;
    margin-left: -2rem;
  }
}

/* ========================================
   Single Post
   ======================================== */

.single-post__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 8rem 0;
}

.single-post__image {
  position: relative;
  transform: rotate(-2deg);
}

.single-post__image::before {
  content: '';
  width: 100%;
  display: block;
  height: 100%;
  background-color: #E0E8EA;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transform: rotate(-3deg);
  border-radius: 0.4rem;
}

.single-post__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.4rem;
  transform: rotate(3deg);
}

.single-post__date-container {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.single-post__date {
  font-size: 1.6rem;
  font-weight: 500;
}

.single-post__date-month-day {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 .4rem;
}

.single-post__category {
  border-radius: 50px;
  border: 1px solid var(--black);
  display: inline-block;
  font-size: 1.4rem;
  padding: 0.6rem 3.2rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
  width: fit-content;
}

.single-post__title {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 2.4rem;
}

.single-post__person {
  font-size: 1.4rem;
  margin-top: 0.8rem;
  margin-top: 2.4rem;
}

.single-post__tags {
  border-top: 1px dotted var(--black);
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 6.4rem;
  padding-top: 1.6rem;
}

.single-post__tag {
  font-size: 1.4rem;
}

.single-post__content {
  margin: 4rem auto 12rem;
}

.single-post__content-body h2 {
  display: inline-block;
  font-size: 2.4rem;
  margin-top: 9.6rem;
  font-weight: 500;
  position: relative;

  @media (max-width: 768px) {
    font-size: 2rem;
  }
}

.single-post__content-body h2:first-child {
  margin-top: 0;
}

.single-post__content-body h2 .h2-highlight {
  background: linear-gradient(transparent 40%, #e0e8ea85 40%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.2em;
  margin: 0 -0.2em;
  position: relative;
  z-index: -1;
}

.single-post__content-body p {
  font-size: 1.4rem;
  line-height: 2;
  margin-top: 4rem;
}

.single-post__content-body p:first-child {
  margin-top: 0;
}

.single-post__content-body img {
  border-radius: 0.4em;
  margin-top: 4rem;
}

.single-post__content-body figcaption {
  font-size: 1.2rem;
  margin-top: 1.2rem;
}

.single-post__afterword {
  margin-top: 6.4rem;
  padding: 4rem;
  position: relative;
}

.single-post__afterword::before,
.single-post__afterword::after {
  background-image:
    radial-gradient(circle, var(--main-accent-color) 0.4rem, transparent 0.4rem),
    linear-gradient(to right, var(--main-accent-color) 0, var(--main-accent-color) 100%),
    radial-gradient(circle, var(--main-accent-color) 0.4rem, transparent 0.4rem);
  background-position: left center, center, right center;
  background-repeat: no-repeat;
  background-size: 0.8rem 0.8rem, calc(100% - 1.6rem) 1px, 0.8rem 0.8rem;
  content: '';
  height: 0.8rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
}

.single-post__afterword::before {
  top: 0;
}

.single-post__afterword::after {
  bottom: 0;
}

.single-post__afterword-container {
  background-color: var(--base-color);
  padding: 2.4rem;
}

.single-post__afterword-title {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
}

.single-post__afterword-text {
  font-size: 1.4rem;
  line-height: 2;
  font-weight: 400;
  margin-top: 1.6rem;
}

.single-post__afterword-profiles {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.single-post__afterword-profile {
  display: flex;
  gap: .8rem;
  align-items: center;
}

.single-post__afterword-profile-image {
  border-radius: 50%;
  height: 10rem;
  overflow: hidden;
  width: 10rem;
}

.single-post__afterword-profile-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.single-post__afterword-profile-label {
  font-size: 1.2rem;
  font-weight: 400;
}

.single-post__afterword-profile-name {
  font-size: 1.8rem;
  font-weight: 500;
}

.single-post__afterword-profile-social {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.single-post__afterword-profile-icon {
  flex-shrink: 0;
}

.single-post__afterword-profile-social-link {
  font-size: 1.2rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.single-post__afterword-profile-social-link:hover {
  opacity: 0.7;
}

.single-post__share {
  margin-top: 4rem;
}

.single-post__share-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  justify-content: center;
}

.single-post__share-button {
  align-items: center;
  background-color: var(--sub-base-color);
  border: none;
  border-radius: 50px;
  color: var(--main-accent-color);
  cursor: pointer;
  display: flex;
  font-size: 1.2rem;
  gap: 1rem;
  justify-content: center;
  padding: 1.2rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.single-post__share-button:hover {
  opacity: 0.7;
}

.single-post__share-button svg {
  flex-shrink: 0;
  height: 2.4rem;
  width: 2.4rem;
}

.single-post__back {
  display: flex;
  justify-content: center;
  margin-top: 6.4rem;
}

.single-post__back-button {
  align-items: center;
  background-color: var(--main-accent-color);
  border-radius: 50px;
  color: var(--white);
  display: flex;
  font-size: 1.8rem;
  gap: 2.4rem;
  justify-content: center;
  padding: 1.6rem 3.2rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
  width: 38rem;
}

.single-post__back-button:hover {
  opacity: 0.7;
}

.single-post__back-button svg {
  flex-shrink: 0;
  height: 1.3rem;
  transform: rotate(180deg);
  width: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .single-post__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .single-post__header {
    grid-template-columns: 1fr;
    padding: 4rem 0;
  }

  .single-post__image {
    transform: none;
    order: 1;
  }

  .single-post__date {
    font-size: 1.2rem;
  }

  .single-post__date-month-day {
    font-size: 1.8rem;
  }

  .single-post__category {
    font-size: 1.2rem;
    padding: .6rem 1.8rem;
  }

  .single-post__title {
    font-size: 2.4rem;
    margin-top: 1.6rem;
  }

  .single-post__person {
    margin-top: 1.6rem;
  }

  .single-post__tags {
    margin-top: 3.6rem;
    padding-top: 2.4rem;
  }

  .single-post__tag {
    font-size: 1.2rem;
  }

  .single-post__content {
    margin-top: 4rem;
    width: 100%;
    padding: 0;
  }

  .single-post__afterword {
    margin-top: 4rem;
    padding: 4rem 0;
  }

  .single-post__afterword-text {
    line-height: 1.8;
  }

  .single-post__afterword-profiles {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .single-post__afterword-profile-name {
    font-size: 1.6rem;
  }

  .single-post__share {
    margin-top: 4rem;
  }

  .single-post__share-container {
    gap: 2.4rem;
  }

  .single-post__share-buttons {
    gap: 1.4rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .single-post__share-button {
    font-size: 1.2rem;
    padding: 1.2rem 3.4rem;
  }

  .single-post__share-button--copy {
    padding: 1rem 2rem;
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .single-post__share-button svg {
    height: 2.4rem;
    width: 2.4rem;
  }

  .single-post__back-button {
    font-size: 1.4rem;
    gap: 1rem;
    padding: 1.4rem 2.4rem;
  }

  .single-post__back-button svg {
    height: 1.1rem;
    width: 0.8rem;
  }
}

.category-posts__pagination {
  display: flex;
  justify-content: center;
  margin-top: 8rem;
}

.category-posts__pagination .page-numbers {
  align-items: center;
  display: flex;
  gap: 3.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-posts__pagination .page-numbers li {
  margin: 0;
}

.category-posts__pagination .page-numbers a,
.category-posts__pagination .page-numbers span {
  align-items: center;
  display: flex;
  font-size: 1.8rem;
  color: var(--gray);
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-posts__pagination .page-numbers a:hover {
  color: var(--black);
}

.category-posts__pagination .page-numbers .current {
  font-weight: bold;
  color: var(--main-accent-color);
}

.category-posts__pagination .page-numbers .prev,
.category-posts__pagination .page-numbers .next {
  display: block;
  height: 4rem;
  width: 4rem;
}

.category-posts__pagination .page-numbers .prev:hover,
.category-posts__pagination .page-numbers .next:hover {
  opacity: 0.8;
}

.category-posts__pagination .page-numbers .prev .pagination-arrow,
.category-posts__pagination .page-numbers .next .pagination-arrow {
  display: block;
  height: 100%;
  width: 100%;
}

.category-posts__pagination .page-numbers .prev img,
.category-posts__pagination .page-numbers .prev .pagination-arrow--prev {
  transform: scaleX(-1);
}

/* 768px以上1440px未満のレスポンシブ対応 */
@media (min-width: 768px) and (max-width: 1439px) {
  .category-header {
    margin-top: 2.778vw;
  }

  .category-header__container {
    gap: 2.778vw;
    padding: 5.556vw 8.333vw 5.556vw 0;
    min-width: auto;
    width: 80%;
  }

  .category-header__title img {
    height: 2.569vw;
  }

  .category-header__title-en {
    font-size: 1.667vw;
  }

  .category-header__title-ja {
    font-size: 2.778vw;
  }

  .category-header__description {
    font-size: 1.111vw;
    margin-top: 2.778vw;
  }

  .category-header__filter-label {
    font-size: 0.972vw;
    gap: 0.556vw;
    padding: 0.833vw 0;
  }

  .category-header__filter-label-icon {
    height: 0.833vw;
    width: 0.833vw;
  }

  .category-header__filter-buttons {
    gap: 1.111vw;
    margin-top: 1.667vw;
  }

  .category-header__filter-button {
    font-size: 0.972vw;
    padding: 0.833vw 1.667vw;
  }

  .page-header {
    margin-top: 2.778vw;
  }

  .page-header__container {
    gap: 2.778vw;
    padding: 5.556vw 8.333vw 5.556vw 0;
    min-width: auto;
    width: 80%;
  }

  .page-header__textarea {
    padding-left: 1.667vw;
    padding-right: 1.667vw;
  }

  .page-header__title img {
    height: 2.569vw;
  }

  .page-header__title-ja {
    font-size: 2.778vw;
  }

  .category-posts__container {
    gap: 2.778vw;
  }

  .category-posts__grid {
    gap: 4.167vw;
  }

  .category-posts__empty {
    padding: 2.778vw 0;
  }

  .page-content {
    padding: 5.556vw 0 8.333vw;
  }

  .page-content__content {
    font-size: 0.972vw;
  }

  .page-content__content h2 {
    font-size: 1.667vw;
    margin-top: 4.444vw;
  }

  .page-content__content p {
    font-size: 0.972vw;
    margin-top: 1.667vw;
  }

  .page-content__content ol,
  .page-content__content ul {
    margin-top: 1.667vw;
    padding-left: 1.389vw;
  }

  .page-content__content li {
    font-size: 0.972vw;
    margin-top: 0.556vw;
  }

  .contact-form-wrapper {
    font-size: 0.972vw;
  }

  .item-form-contact {
    margin-top: 2.083vw;
  }

  .heading-form-contact p {
    font-size: 0.972vw;
    gap: 1.111vw;
  }

  .contact-label {
    font-size: 0.833vw;
    padding: 0.278vw 0.556vw;
  }

  .detail-form-contact input[type="text"],
  .detail-form-contact input[type="email"],
  .detail-form-contact input[type="tel"],
  .detail-form-contact select,
  .detail-form-contact textarea {
    font-size: 0.972vw;
    padding: 0.833vw 1.111vw;
  }

  .detail-form-contact:has(select)::after {
    height: 0.833vw;
    right: 0.833vw;
    width: 0.556vw;
  }

  .privacy-check {
    margin-top: 2.778vw;
  }

  .privacy-check label {
    font-size: 0.972vw;
    gap: 0.833vw;
  }

  .privacy-check input[type="checkbox"] {
    height: 1.389vw;
    width: 1.389vw;
  }

  .privacy-check input[type="checkbox"]:checked::after {
    height: 0.694vw;
    width: 0.417vw;
  }

  .btn-wrap .wpcf7-submit {
    font-size: 1.25vw;
    padding: 1.111vw 2.083vw;
    gap: 0.694vw;
  }

  .btn-wrap .wpcf7-submit::after {
    height: 0.833vw;
    width: 0.556vw;
  }

  .thanks-content {
    padding: 5.556vw 0;
  }

  .thanks-content__container {
    gap: 4.167vw;
  }

  .thanks-content__text {
    font-size: 1.389vw;
  }

  .thanks-content__button {
    font-size: 1.25vw;
    gap: 1.667vw;
    padding: 1.111vw 2.222vw;
  }

  .thanks-content__button svg {
    height: 0.903vw;
    width: 0.625vw;
  }

  .single-post__header {
    gap: 4.167vw;
    padding: 5.556vw 0;
  }

  .single-post__date-container {
    gap: 0.556vw;
  }

  .single-post__date {
    font-size: 1.111vw;
  }

  .single-post__date-month-day {
    font-size: 1.389vw;
  }

  .single-post__category {
    font-size: 0.972vw;
    padding: 0.417vw 1.111vw;
  }

  .single-post__title {
    font-size: 2.222vw;
    margin-top: 1.111vw;
  }

  .single-post__person {
    font-size: 0.972vw;
    margin-top: 1.111vw;
  }

  .single-post__tags {
    gap: 0.556vw;
    margin-top: 1.111vw;
  }

  .single-post__tag {
    font-size: 0.972vw;
    padding: 0.417vw 0.833vw;
  }

  .single-post__content {
    margin-top: 4.167vw;
  }

  .single-post__content-body h2 {
    font-size: 1.667vw;
    margin-top: 6.667vw;
  }

  .single-post__content-body h2 .h2-highlight {
    padding: 0 0.139vw;
    margin: 0 -0.139vw;
  }

  .single-post__content-body p {
    font-size: 0.972vw;
    margin-top: 2.778vw;
  }

  .single-post__content-body img {
    margin-top: 2.778vw;
  }

  .single-post__content-body figcaption {
    font-size: 0.833vw;
    margin-top: 0.833vw;
  }

  .single-post__afterword {
    margin-top: 4.444vw;
    padding: 2.778vw;
  }

  .single-post__afterword::before,
  .single-post__afterword::after {
    height: 0.556vw;
  }

  .single-post__afterword::before {
    top: -0.556vw;
  }

  .single-post__afterword::after {
    bottom: -0.556vw;
  }

  .single-post__afterword-container {
    gap: 1.111vw;
  }

  .single-post__afterword-title {
    font-size: 1.389vw;
  }

  .single-post__afterword-text {
    font-size: 0.972vw;
    margin-top: 1.111vw;
  }

  .single-post__afterword-profiles {
    gap: 2.083vw;
    margin-top: 2.083vw;
  }

  .single-post__afterword-profile {
    gap: 0.833vw;
  }

  .single-post__afterword-profile-image {
    width: 6.944vw;
    height: 6.944vw;
  }

  .single-post__afterword-profile-label {
    font-size: 0.833vw;
  }

  .single-post__afterword-profile-name {
    font-size: 1.111vw;
  }

  .single-post__afterword-profile-social {
    gap: 0.556vw;
    margin-top: 0.556vw;
  }

  .single-post__afterword-profile-icon {
    height: 0.833vw;
    width: 0.833vw;
  }

  .single-post__afterword-profile-social-link {
    font-size: 0.833vw;
  }

  .single-post__share {
    margin-top: 2.778vw;
  }

  .single-post__share-buttons {
    gap: 1.25vw;
  }

  .single-post__share-button {
    font-size: 0.972vw;
    gap: 0.694vw;
    padding: 0.833vw;
  }

  .single-post__share-button svg {
    height: 1.667vw;
    width: 1.667vw;
  }

  .single-post__back {
    margin-top: 4.444vw;
  }

  .single-post__back-button {
    font-size: 1.25vw;
    gap: 1.667vw;
    padding: 1.111vw 2.222vw;
    width: 26.389vw;
  }

  .single-post__back-button svg {
    height: 0.903vw;
    width: 0.625vw;
  }
}

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

  .category-header__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-width: unset;
    width: 100%;
    padding: 6.4rem 2.4rem;
  }


  .category-header__textarea {
    padding-left: 0;
    padding-right: 0;
  }

  .category-header__labels {
    padding-right: 0;
  }

  .page-header__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-width: auto;
    padding: 6.4rem 2.4rem;
    width: 100%;
  }

  .page-header__title img {
    height: 2.4rem;
  }

  .page-header__title-ja {
    font-size: 2.8rem;
  }


  .page-header__textarea {
    padding-left: 0;
    padding-right: 0;
  }

  .category-header__title img {
    max-width: 100%;
    height: 2.4rem;
  }

  .category-header__title-ja {
    font-size: 2.8rem;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  .category-header__description {
    font-size: 1.4rem;
  }

  .category-header__filter-buttons {
    gap: .8rem;
  }

  .category-header__filter-buttons--grid {
    grid-template-columns: 1fr;
  }

  .category-header__filter-button {
    padding: 1rem 1.6rem;
    font-size: 1.2rem;
  }

  .category-posts {
    padding: 4rem 0 6rem;
  }

  .page-content {
    padding: 4rem 0 12rem;
  }

  .category-posts__grid {
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .category-posts__pagination {
    margin-top: 3rem;
  }

  .category-posts__pagination .page-numbers {
    gap: 1rem;
  }

  .category-posts__pagination .page-numbers a,
  .category-posts__pagination .page-numbers span {
    font-size: var(--small);
    height: 3.5rem;
    width: 3.5rem;
  }
}

/* ========================================
   Page Sidebar (右側の帯)
   ======================================== */
.page-sidebar {
  background-color: var(--main-accent-color);
  bottom: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  justify-content: space-between;
  padding: 2rem 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 3.2rem;
  z-index: 10002;
  align-items: center;
}

.page-sidebar__text {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-orientation: mixed;
  writing-mode: vertical-rl;
}

@media (max-width: 1440px) {
  .page-sidebar {
    padding: 1.39vw 0;
    width: 2.22vw;
  }

  .page-sidebar__text {
    font-size: 0.833vw;
  }
}

@media (max-width: 768px) {
  .page-sidebar {
    padding: 2rem 0;
    width: 2rem;
  }

  .page-sidebar__text {
    font-size: 1rem;
  }

  /* コンテンツのpadding-rightをpage-sidebarの幅に合わせる */
  .container,
  .video-section__main {
    padding-right: 2rem !important;
  }
}

/* ========================================
   Scroll Animation (Slide + Fade In)
   ======================================== */

/* アニメーション対象の要素の初期状態 */
.fade-in-up {
  opacity: 0;
  transform: translateY(16px);
  transition-duration: 1s;
  transition-timing-function: ease-out;
  transition-delay: 0s;
}

/* アニメーションが発動した時の状態 */
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* セクション全体のアニメーション */
section.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition-property: opacity, transform;
  transition-duration: 1s;
  transition-timing-function: ease-out;
  transition-delay: 0s;
}

section.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.our-member__images.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(-20px);
}

/* 遅延を追加できるクラス */
.fade-in-up--delay-1 {
  transition-delay: 0.1s;
}

.fade-in-up--delay-2 {
  transition-delay: 0.2s;
}

.fade-in-up--delay-3 {
  transition-delay: 0.3s;
}

.fade-in-up--delay-4 {
  transition-delay: 0.4s;
}

/* スマホでは遅延を無効化 */
@media (max-width: 768px) {

  .fade-in-up--delay-1,
  .fade-in-up--delay-2,
  .fade-in-up--delay-3,
  .fade-in-up--delay-4 {
    transition-delay: 0s !important;
  }
}

@media (min-width: 768px) {
  .pickup__grid .article-card:nth-child(2).fade-in-up.is-visible {
    transform: translateY(-2.4rem);
  }

  .pickup__grid .article-card:nth-child(3).fade-in-up.is-visible {
    transform: translateY(-3.472vw);
  }
}

/* タッチデバイス以外（マウスなど）でのみhoverを有効化 */
@media (hover: hover) and (pointer: fine) {
  /* 既存のhoverスタイルはそのまま動作 */
}

/* タッチデバイスでhoverを無効化 */
@media (hover: none) and (pointer: coarse) {
  *:hover {
    /* タッチデバイスでは全てのhoverスタイルを無効化 */
  }

  /* 特定の要素のhoverを明示的に無効化 */
  a:hover,
  button:hover,
  .btn-primary:hover,
  .btn-nav:hover,
  .article-card:hover,
  .search-town__card:hover,
  .footer__tag:hover,
  .footer__nav-item:hover,
  .category-header__filter-button:hover,
  .single-post__share-button:hover,
  .single-post__back-button:hover {
    /* hoverスタイルをリセット */
  }
}