/* 下層ページのセクション共通スタイルを上書き */
body.sub-page section {
  margin-top: 0;
  padding: 0;
  background-color: transparent;
}

/* 初期ロード時のセクション非表示 */
body.sub-page:not(.site-loaded) .hajimari-section,
body.sub-page:not(.site-loaded) .junkan-section,
body.sub-page:not(.site-loaded) .fukkou-section {
  opacity: 0;
  visibility: hidden;
}

/* ロード完了後のセクション表示 */
body.sub-page.site-loaded .hajimari-section,
body.sub-page.site-loaded .junkan-section,
body.sub-page.site-loaded .fukkou-section {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 下層ページのページタイトル */
body.sub-page .main-visual .page-title {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: 522px;
  z-index: 10;
}

body.sub-page .main-visual .page-title img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 834px) {
  body.sub-page .main-visual .page-title {
    max-width: 420px;
    width: 420px;
    top: calc(50% - 110px);
    transform: translate(-50%, -50%);
  }
}

@media screen and (max-width: 550px) {
  body.sub-page .main-visual .page-title {
    width: 270px;
  }
}

/* SP（480px以下）でのファーストビュー調整 */
@media screen and (max-width: 480px) {
  body.sub-page .main-visual .image-container {
    position: absolute !important;
    top: 0 !important;
    right: 6.5% !important;
    bottom: 200px !important;
    left: 6.5% !important;
    width: auto !important;
    height: auto !important;
    overflow: hidden !important;
    z-index: 5 !important;
  }
}

/* 下層ページのロゴ位置 */
body.sub-page .logo-container {
  position: absolute;
  top: 83px;
  left: 105px;
  z-index: 20;
}

body.sub-page .logo-lower {
  max-width: 90px;
  width: 90px;
}

@media screen and (max-width: 834px) {
  body.sub-page .logo-container {
    position: static;
    top: auto;
    left: auto;
    z-index: 20;
    margin-top: 22px;
  }

  body.sub-page .logo-lower {
    max-width: 104px;
    width: 104px;
    height: auto;
  }

  body.sub-page .hamburger-menu {
    top: 25px !important;
    right: 5% !important;
    width: 34px !important;
  }
}

/* SP（480px以下）でのヘッダー調整 */
@media screen and (max-width: 480px) {
  body.sub-page .sidebar-inner {
    width: 87% !important;
  }

  body.sub-page .hamburger-menu {
    top: 25px !important;
    right: 6% !important;
    width: 34px !important;
  }
}

/* あみだ湯のはじまりセクション */
body.sub-page .hajimari-section {
  padding: 84px 0 70px;
  position: relative;
  z-index: 1;
  margin-top: 0;
  overflow: hidden;
  background-color: transparent;
}

/* タブレット以下でセクションの位置調整 */
@media screen and (max-width: 834px) {
  body.sub-page section.hajimari-section {
    margin-top: calc(100vh - 82px);
  }
}

.hajimari-container {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

@media screen and (min-width: 1441px) {
  .hajimari-container {
    width: calc(1440px * 0.9);
    margin-left: calc(72px + (100vw - 1440px) / 2);
    margin-right: calc(72px + (100vw - 1440px) / 2);
  }
}

.hajimari-content-wrapper {
  width: 470px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 52px;
}

@media screen and (max-width: 1440px) {
  .hajimari-content-wrapper {
    width: auto;
    flex: 1;
    min-width: 300px;
    flex-shrink: 1;
  }
}

.hajimari-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  color: #474646;
  margin-bottom: 15px;
}

.hajimari-wave {
  margin-bottom: 19px;
}

.hajimari-wave img {
  width: auto;
  height: auto;
  display: block;
}

.hajimari-wave .pc-image {
  display: block;
}

.hajimari-wave .tab-image {
  display: none;
}

.hajimari-wave .sp-image {
  display: none;
}

.hajimari-text {
  margin-bottom: 0;
}

.hajimari-text p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: #474646;
  margin-bottom: 17px;
}

.hajimari-text p:last-child {
  margin-bottom: 0;
}

.hajimari-image {
  flex-shrink: 0;
  width: 790px;
  min-width: 300px;
}

@media screen and (max-width: 1440px) {
  .hajimari-image {
    margin-right: calc((100vw - 90vw) / -2);
  }
}

@media screen and (min-width: 1441px) {
  .hajimari-image {
    margin-right: calc((1440px * 0.05) * -1);
  }
}

.hajimari-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 1356px以下のレイアウト変更 */
@media screen and (max-width: 1356px) {
  .hajimari-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 790px;
    margin: 0 auto;
    gap: 0;
  }

  /* JavaScriptで並び替えた後の要素のスタイル */
  .hajimari-container>.hajimari-title {
    order: 1;
    margin-bottom: 19px;
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .hajimari-container>.hajimari-wave {
    order: 2;
    margin-bottom: 26px;
    display: flex;
    justify-content: center;
  }

  .hajimari-container>.hajimari-image {
    order: 3;
    width: 100%;
    max-width: 790px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 27px;
  }

  .hajimari-container>.hajimari-text {
    order: 4;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
  }

  /* content-wrapperは不要になるため非表示 */
  .hajimari-content-wrapper {
    display: contents;
  }
}

/* SP（480px以下）でのコンテナ幅調整 */
@media screen and (max-width: 480px) {
  .hajimari-container {
    width: 87%;
  }
}

/* タブレット（834px以下） */
@media screen and (max-width: 834px) {
  body.sub-page .hajimari-section {
    padding: 45px 0;
  }

  .hajimari-title {
    font-size: 36px;
  }

  .hajimari-container>.hajimari-title {
    margin-bottom: 16px;
  }

  .hajimari-wave .pc-image {
    display: none;
  }

  .hajimari-wave .tab-image {
    display: block;
  }

  .hajimari-wave .sp-image {
    display: none;
  }

  .hajimari-container>.hajimari-wave {
    margin-bottom: 23px;
  }

  .hajimari-container>.hajimari-image {
    margin-bottom: 20px;
  }

  .hajimari-text p {
    font-size: 14px;
    margin-bottom: 10px;
  }
}

/* SP（480px以下） */
@media screen and (max-width: 480px) {

  /* ラップ幅の調整 */
  .wrapper-790,
  .wrapper-1172,
  .wrapper-1272 {
    width: 87%;
  }

  /* あみだ湯のはじまりのコンテナ幅調整 */
  .hajimari-container {
    width: 87%;
  }

  body.sub-page .hajimari-section {
    padding: 35px 0;
  }

  .hajimari-title {
    font-size: clamp(18px, 5.33vw, 22px);
  }

  .hajimari-container>.hajimari-title {
    margin-bottom: 10px;
  }

  .hajimari-container>.hajimari-wave {
    margin-bottom: 15px;
  }

  .hajimari-wave .pc-image {
    display: none;
  }

  .hajimari-wave .tab-image {
    display: none;
  }

  .hajimari-wave .sp-image {
    display: block;
  }
}

/* 地域で循環するセクション */
body.sub-page .junkan-section {
  padding: 70px 0;
  position: relative;
  z-index: 1;
  margin-top: 0;
  overflow: hidden;
  background-color: transparent;
}

.junkan-container {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

@media screen and (min-width: 1441px) {
  .junkan-container {
    width: calc(1440px * 0.9);
    margin-left: calc(72px + (100vw - 1440px) / 2);
    margin-right: calc(72px + (100vw - 1440px) / 2);
  }
}

.junkan-image {
  flex-shrink: 0;
  width: 790px;
  min-width: 300px;
}

@media screen and (max-width: 1440px) {
  .junkan-image {
    margin-left: calc((100vw - 90vw) / -2);
  }
}

@media screen and (min-width: 1441px) {
  .junkan-image {
    margin-left: calc((1440px * 0.05) * -1);
  }
}

.junkan-image img {
  width: 100%;
  height: auto;
  display: block;
}

.junkan-content-wrapper {
  width: 470px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media screen and (max-width: 1440px) {
  .junkan-content-wrapper {
    margin-right: 52px;
  }
}

@media screen and (max-width: 1440px) {
  .junkan-content-wrapper {
    width: auto;
    flex: 1;
    min-width: 300px;
    flex-shrink: 1;
  }
}

.junkan-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  color: #474646;
  margin-bottom: 15px;
}

.junkan-wave {
  margin-bottom: 19px;
}

.junkan-wave img {
  width: auto;
  height: auto;
  display: block;
}

.junkan-wave .pc-image {
  display: block;
}

.junkan-wave .tab-image {
  display: none;
}

.junkan-wave .sp-image {
  display: none;
}

.junkan-text {
  margin-bottom: 0;
}

.junkan-text p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: #474646;
  margin-bottom: 17px;
}

.junkan-text p:last-child {
  margin-bottom: 0;
}

/* 1356px以下のレイアウト変更 */
@media screen and (max-width: 1356px) {
  .junkan-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 790px;
    margin: 0 auto;
    gap: 0;
  }

  /* JavaScriptで並び替えた後の要素のスタイル */
  .junkan-container>.junkan-title {
    order: 1;
    margin-bottom: 19px;
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .junkan-container>.junkan-wave {
    order: 2;
    margin-bottom: 26px;
    display: flex;
    justify-content: center;
  }

  .junkan-container>.junkan-image {
    order: 3;
    width: 100%;
    max-width: 790px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 27px;
  }

  .junkan-container>.junkan-text {
    order: 4;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
  }

  /* content-wrapperは不要になるため非表示 */
  .junkan-content-wrapper {
    display: contents;
  }
}

/* SP（480px以下）でのコンテナ幅調整 */
@media screen and (max-width: 480px) {
  .junkan-container {
    width: 87%;
  }
}

/* タブレット（834px以下） */
@media screen and (max-width: 834px) {
  body.sub-page .junkan-section {
    padding: 45px 0;
  }

  .junkan-title {
    font-size: 36px;
  }

  .junkan-container>.junkan-title {
    margin-bottom: 16px;
  }

  .junkan-wave .pc-image {
    display: none;
  }

  .junkan-wave .tab-image {
    display: block;
  }

  .junkan-wave .sp-image {
    display: none;
  }

  .junkan-container>.junkan-wave {
    margin-bottom: 23px;
  }

  .junkan-container>.junkan-image {
    margin-bottom: 20px;
  }

  .junkan-text p {
    font-size: 14px;
    margin-bottom: 10px;
  }
}

/* SP（480px以下） */
@media screen and (max-width: 480px) {

  /* 地域で循環するのコンテナ幅調整 */
  .junkan-container {
    width: 87%;
  }

  body.sub-page .junkan-section {
    padding: 35px 0;
  }

  .junkan-title {
    font-size: clamp(18px, 5.33vw, 22px);
  }

  .junkan-container>.junkan-title {
    margin-bottom: 10px;
  }

  .junkan-container>.junkan-wave {
    margin-bottom: 15px;
  }

  .junkan-wave .pc-image {
    display: none;
  }

  .junkan-wave .tab-image {
    display: none;
  }

  .junkan-wave .sp-image {
    display: block;
  }
}

/* 能登半島地震からの復興セクション */
body.sub-page .fukkou-section {
  padding: 70px 0 100px;
  position: relative;
  z-index: 1;
  margin-top: 0;
  overflow: hidden;
  background-color: transparent;
}

.fukkou-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  color: #474646;
  text-align: center;
  margin-bottom: 6px;
}

.fukkou-wave {
  text-align: center;
  margin-bottom: 26px;
}

.fukkou-wave img {
  width: auto;
  height: auto;
  display: inline-block;
}

.fukkou-wave .pc-image {
  display: inline-block;
}

.fukkou-wave .tab-image {
  display: none;
}

.fukkou-wave .sp-image {
  display: none;
}

.fukkou-image-1,
.fukkou-image-2 {
  margin-bottom: 35px;
  text-align: center;
}

.fukkou-image-1 img,
.fukkou-image-2 img {
  width: 100%;
  height: auto;
  display: block;
}

.fukkou-text-1,
.fukkou-text-2 {
  margin-bottom: 35px;
}

.fukkou-text-2 {
  margin-bottom: 0;
}

.fukkou-text-1 p,
.fukkou-text-2 p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: #474646;
  text-align: left;
  margin-bottom: 17px;
}

.fukkou-text-1 p:last-child,
.fukkou-text-2 p:last-child {
  margin-bottom: 0;
}

/* タブレット（834px以下） */
@media screen and (max-width: 834px) {
  body.sub-page .fukkou-section {
    padding: 45px 0 70px;
  }

  .fukkou-title {
    font-size: 36px;
    margin-bottom: 1px;
  }

  .fukkou-wave {
    margin-bottom: 23px;
  }

  .fukkou-wave .pc-image {
    display: none;
  }

  .fukkou-wave .tab-image {
    display: inline-block;
  }

  .fukkou-wave .sp-image {
    display: none;
  }

  .fukkou-image-1,
  .fukkou-image-2 {
    margin-bottom: 20px;
  }

  .fukkou-text-1,
  .fukkou-text-2 {
    margin-bottom: 20px;
  }

  .fukkou-text-1 p,
  .fukkou-text-2 p {
    font-size: 14px;
    margin-bottom: 10px;
  }
}

/* SP（480px以下） */
@media screen and (max-width: 480px) {
  body.sub-page .fukkou-section {
    padding: 35px 0 50px;
  }

  .fukkou-title {
    font-size: clamp(18px, 5.33vw, 22px);
    margin-bottom: 10px;
  }

  .fukkou-wave {
    margin-bottom: 15px;
  }

  .fukkou-wave .pc-image {
    display: none;
  }

  .fukkou-wave .tab-image {
    display: none;
  }

  .fukkou-wave .sp-image {
    display: block;
    margin: 0 auto;
  }
}

/* 外部リンクセクション */
body.sub-page .external-links-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  margin-top: 0;
  background-image: url("../../image/background-gray.jpg");
  background-size: 70%;
  background-repeat: repeat;
  background-position: center;
}

.links-group {
  margin-bottom: 70px;
}

.links-group:last-child {
  margin-bottom: 0;
}

.links-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  color: #474646;
  margin-bottom: 11px;
}

.links-wave {
  margin-bottom: 21px;
}

.links-wave img {
  width: auto;
  height: auto;
  display: block;
}

.links-wave .sp-image {
  display: none;
}

.links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 26.5px;
  row-gap: 50px;
}

.links-group:last-child .links-container {
  margin-bottom: 0;
}

.link-item {
  width: 373px;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 835px) {
  .link-item:hover {
    opacity: 0.8;
  }
}

.link-image {
  margin-bottom: 8px;
  overflow: hidden;
}

.link-image img {
  width: 100%;
  height: auto;
  display: block;
}

.link-text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  color: #474646;
  text-align: left;
}

/* 外部リンクセクション - レスポンシブ対応 */
@media screen and (max-width: 1302px) {
  body.sub-page .external-links-section .wrapper-1172 {
    width: 90%;
    max-width: 790px;
    margin: auto;
  }

  .links-container {
    gap: 20px;
    row-gap: 45px;
  }

  .link-item {
    width: calc((100% - 20px) / 2);
  }
}

/* SP（480px以下）での外部リンクセクション調整 */
@media screen and (max-width: 480px) {
  body.sub-page .external-links-section .wrapper-1172 {
    width: 87%;
  }
}

/* タブレット（834px以下） */
@media screen and (max-width: 834px) {
  body.sub-page .external-links-section {
    padding: 70px 0;
  }

  .link-text {
    font-size: 14px;
  }
}

/* SP用スライダー表示制御 */
.sp-links-swiper {
  display: none;
}

/* SP（480px以下） */
@media screen and (max-width: 480px) {
  body.sub-page .external-links-section {
    padding: 50px 0;
  }

  .links-group {
    margin-bottom: 50px;
  }

  /* タイトルと波線を中央揃え */
  .links-title {
    font-size: clamp(18px, 5.33vw, 22px);
    margin-bottom: 10px;
    text-align: center;
  }

  .links-wave {
    margin-bottom: 15px;
    text-align: center;
    line-height: 0;
  }

  .links-wave .pc-image {
    display: none;
  }

  .links-wave .sp-image {
    display: inline-block;
  }

  /* PC用コンテナを非表示 */
  .pc-links {
    display: none !important;
  }

  /* SP用スライダーを表示 */
  .sp-links-swiper {
    display: block !important;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 25px;
  }

  /* Swiperコンテナの設定 */
  .sp-links-swiper .swiper-wrapper {
    display: flex;
    width: 100%;
    padding-bottom: 0;
  }

  /* スライドの設定 */
  .sp-links-swiper .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
  }

  /* リンクアイテムのスタイル */
  .sp-links-swiper .link-item {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .sp-links-swiper .link-image {
    margin-bottom: 8px;
  }

  .sp-links-swiper .link-text {
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
  }

  /* ページネーション */
  .sp-links-pagination {
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: center;
    line-height: 1;
    z-index: 10;
  }

  .sp-links-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #CDCDCD;
    opacity: 1;
    margin: 0 7px !important;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .sp-links-pagination .swiper-pagination-bullet-active {
    background: #3D98C7;
  }
}

/* メッセージセクション */
body.sub-page .message-section {
  padding: 140px 0 70px;
  position: relative;
  z-index: 1;
  margin-top: 0;
  background-color: transparent;
}

.message-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  color: #474646;
  text-align: center;
  margin-bottom: 6px;
}

.message-wave {
  text-align: center;
  margin-bottom: 26px;
}

.message-wave img {
  width: auto;
  height: auto;
  display: inline-block;
}

.message-wave .pc-image {
  display: inline-block;
}

.message-wave .tab-image {
  display: none;
}

.message-wave .sp-image {
  display: none;
}

/* メッセージコンテンツ */
.message-content {
  display: flex;
  align-items: center;
  gap: 37.5px;
  margin-bottom: 110px;
}

.message-image {
  flex-shrink: 0;
  width: 341px;
}

.message-image img {
  width: 100%;
  height: auto;
  display: block;
}

.message-text-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.message-subtitle {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: #474646;
  margin-bottom: 24px;
}

.message-text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: #474646;
  margin-bottom: 16px;
}

.message-name {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: auto;
  margin-left: auto;
}

.message-role {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #474646;
  line-height: 1.4;
}

.message-person {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #474646;
  line-height: 1.4;
}

/* メッセージスライダー */
.message-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.message-swiper {
  width: 100%;
  padding-bottom: 30px;
}

.message-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* メッセージページネーション */
.message-pagination {
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  text-align: center;
  line-height: 1;
  z-index: 10;
}

.message-pagination .swiper-pagination-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #CDCDCD;
  opacity: 1;
  margin: 0 7px !important;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.message-pagination .swiper-pagination-bullet-active {
  background: #3D98C7;
}

/* メッセージセクション - タブレット（834px以下） */
@media screen and (max-width: 834px) {
  body.sub-page .message-section {
    padding: 70px 0 45px;
  }

  .message-title {
    font-size: 36px;
    margin-bottom: 0px;
  }

  .message-wave {
    margin-bottom: 23px;
  }

  .message-wave .pc-image {
    display: none;
  }

  .message-wave .tab-image {
    display: inline-block;
  }

  .message-wave .sp-image {
    display: none;
  }

  .message-content {
    margin-bottom: 90px;
    gap: 27px;
  }

  .message-image {
    flex-shrink: 0;
    width: 327px;
  }

  .message-subtitle {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .message-person {
    font-size: 18px;
  }

  .message-text,
  .message-role {
    font-size: 14px;
  }
}

/* メッセージセクション - SP（480px以下） */
@media screen and (max-width: 480px) {
  body.sub-page .message-section {
    padding: 70px 0 35px;
  }

  .message-title {
    font-size: clamp(18px, 5.33vw, 22px);
    margin-bottom: 10px;
  }

  .message-wave {
    margin-bottom: 15px;
    line-height: 0;
  }

  .message-wave img {
    width: 30px;
    height: 8px;
  }

  .message-wave .pc-image {
    display: none;
  }

  .message-wave .tab-image {
    display: none;
  }

  .message-wave .sp-image {
    display: inline-block;
  }

  /* コンテンツを縦並びに */
  .message-content {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 70px;
  }

  .message-image {
    width: 100%;
    max-width: none;
    margin-bottom: 35px;
  }

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

  .message-text-wrapper {
    width: 100%;
  }

  .message-subtitle {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .message-text {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .message-name {
    margin-left: auto;
    justify-content: flex-end;
    gap: 15px;
  }

  .message-role {
    font-size: 14px;
  }

  .message-person {
    font-size: 16px;
  }

  .message-swiper {
    padding-bottom: 25px;
  }
}