body {
  font-family: "Noto Sans JP", sans-serif;
  color: white;
  margin: 0 auto !important; /* 基本的に!importantは避けるべきですが、Tailwindとの兼ね合いで残しています */
  padding: 0;
  max-width: 1366px;
}

.body_wrap {
  background: linear-gradient(to right, #f08291, #0a4682);
}

/* 汎用的なセクションパディング */
.section-padding {
  padding: 80px 0px 20px 50px;
  margin: 0 auto;
  width: 100%;
}

/* About Section */
.about {
  position: relative;
  color: #fff;
}

.about__inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 auto;
}

.about__title {
  margin-right: 40px;
}

.about__title img {
  width: 50px;
  height: 240px;
  margin-right: 40px;
}

.about__heading {
  font-size: 2.3rem;
  line-height: 55px;
  font-weight: bold;
  margin: 0;
}

.about__text {
  margin-top: 24px;
  font-size: 1rem;
  line-height: 40px;
  font-weight: 500;
}

.about__text--highlight {
  margin-top: 40px;
  font-size: 30px;
  line-height: 45px;
  font-weight: 500;
}

/* Concept Section */
.concept {
  position: relative;
  color: #0a4682;
}

.concept__inner {
  display: flex;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}

.concept__inner__inner {
  display: flex;
  background-color: #fff;
  clip-path: polygon(13% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.9;
  padding-top: 48px;
  padding-bottom: 36px;
  padding-left: 108px;
  align-items: center;
  justify-content: center;
}

.concept__title {
  margin-right: -40px;
}

.concept__title img {
  width: 50px;
  height: 240px;
  margin-right: 40px;
}

.concept__img {
  width: 40%;
  height: auto;
  flex-shrink: 0;
}

.concept__img img {
  width: 100%;
  height: auto;
  display: block;
}

.concept__content {
  width: auto;
}

.concept__heading {
  font-size: 2.3rem;
  line-height: 55px;
  font-weight: 700;
  margin: 0;
  display: inline-block;
}

.concept__text {
  margin-top: 24px;
  font-size: 1rem;
  line-height: 40px;
  font-weight: 500;
}

.concept__text--highlight {
  margin-top: 40px;
  font-size: 20px;
  line-height: 45px;
  font-weight: 500;
}

/* Contents Section */
.contents {
  position: relative;
  color: #0a4682;
  /* display: block !important; Tailwindのクラスで制御推奨 */
}

.contents__inner {
  display: flex;
  width: 100%;
  margin: 0 auto;
}

.contents__inner__inner {
  opacity: 0.9;
  padding-top: 48px;
  padding-bottom: 36px;
  padding-left: 108px;
}

.contents__title {
  margin-right: -40px;
  /* padding-left: px; 記述ミス？ */
}

.contents__title img {
  width: 50px;
  height: 240px;
  margin-right: 40px;
}

.contents__img {
  width: 500px;
}

.contents__img img {
  width: 548px;
  height: 470px;
  padding-right: 40px;
}

.contents__content {
  width: 100%;
  padding-left: 64px;
  padding-bottom: 24px;
}

.contents_img_box {
  display: flex;
}

.contents__heading {
  font-size: 2.3rem;
  line-height: 55px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.contents__text {
  color: #fff;
  font-size: 1rem;
  line-height: 40px;
  font-weight: 500;
}

.contents__text--highlight {
  margin-top: 40px;
  font-size: 20px;
  line-height: 45px;
  font-weight: 500;
}

/* Profile & Message Section (Styles are very similar) */
.profile,
.message {
  /* messageセクションもprofileのスタイルを共有 */
  position: relative;
  color: #0a4682;
}

.profile__inner,
.message__inner {
  /* messageセクションもprofileのスタイルを共有 */
  display: flex;
  width: 100%;
  margin: 0 auto;
}

.profile__inner__inner,
.message__inner__inner {
  /* messageセクションもprofileのスタイルを共有 */
  display: flex;
  background-color: #fff;
  clip-path: polygon(13% 0%, 100% 0%, 87% 100%, 0% 100%);
  opacity: 0.9;
  padding-top: 48px;
  padding-bottom: 36px;
  padding-left: 160px;
  padding-right: 160px;
  align-items: stretch;
  flex-grow: 1;
  justify-content: center;
}

.profile__title,
.message__title {
  /* messageセクションもprofileのスタイルを共有 */
  margin-right: -40px;
}

.profile__title img,
.message__title img {
  /* messageセクションもprofileのスタイルを共有 */
  width: 50px;
  height: 240px;
  margin-right: 40px;
}

.profile__img {
  /* messageセクションには画像がないため、profile専用 */
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.profile__img img {
  width: 100%;
  height: auto;
  display: block;
}

.profile__content,
.message__content {
  /* messageセクションもprofileのスタイルを共有 */
  width: auto;
  margin-right: 40px; /* messageセクションでは調整が必要な場合あり */
}

.profile__heading,
.message__heading {
  /* messageセクションもprofileのスタイルを共有 */
  font-size: 2.3rem;
  line-height: 55px;
  font-weight: 700;
  margin: 0;
}

.profile__heading span {
  font-size: 20px;
}

.profile__text {
  /* messageセクションでは異なる可能性あり */
  margin-top: 24px;
  font-size: 1rem;
  line-height: 40px;
  font-weight: 500;
  /* display: block !important; Tailwindのクラスで制御推奨 */
}

.profile__text--highlight {
  /* messageセクションでは異なる可能性あり */
  margin-top: 40px;
  font-size: 20px;
  line-height: 45px;
  font-weight: 500;
  width: 50%;
}

/* CTA Upper Section */
.cta_upper {
  position: relative;
  padding: 80px 50px; /* section-paddingとは異なるため個別指定 */
  color: #0a4682;
  margin: 0 auto;
  width: 100%;
}

.cta_upper__inner {
  display: flex;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}

.cta_upper__inner__inner {
  width: 90%;
  height: auto;
  background-color: rgba(255, 255, 255, 0.4);
  clip-path: polygon(13% 0%, 100% 0%, 87% 100%, 0% 100%);
  padding-top: 48px;
  padding-bottom: 36px;
  padding-left: 0;
  padding-right: 0;
}

.cta_upper__title {
  margin-right: -40px;
}

.cta_upper__title img {
  width: 50px;
  height: 240px;
  margin-right: 40px;
}

.cta_upper__img {
  width: 50%;
  height: auto;
}

.cta_upper__img img {
  width: 548px;
  height: 470px;
  padding-right: 40px;
}

.cta_upper__content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta_upper__heading {
  font-size: 2.3rem;
  line-height: 55px;
  font-weight: 700;
  margin: 0;
}

.cta_upper__text {
  margin-top: 24px;
  font-size: 1rem;
  line-height: 40px;
  font-weight: 500;
}

.cta_upper__text--highlight {
  margin-top: 40px;
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 45px;
  font-weight: 500;
  color: white;
  text-align: center;
}

/* SP Specific Styles */
.concept__sp_imgs {
  display: none;
}
.sp-only-img {
  display: none;
}
.concept__sp_content {
  display: none !important;
  background-color: white;
  padding: 20px;
  margin: 0px;
  opacity: 0.9;
}
p.leading-relaxed {
  /* Tailwindのクラスなので通常CSSでの再定義は不要な場合が多い */
  display: block;
}
.pc-mv-img {
  display: block;
}
.sp-mv-img {
  display: none;
}

/* Media Queries */
@media (min-width: 1200px) {
  .hidden-on-large {
    display: none;
  }
}

@media (max-width: 899px) {
  body {
    max-width: 450px;
  }

  header nav,
  header img.absolute {
    display: none;
  }

  /* SP用共通パディング調整 */
  .section-padding {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 20px;
  }
  .about,
  .concept,
  .contents,
  .profile,
  .message {
    padding-left: 0px; /* section-paddingでカバーされるが念のため */
    padding-right: 0px; /* section-paddingでカバーされるが念のため */
    padding-bottom: 75px;
  }

  .about__title img,
  .concept__title img,
  .contents__title img,
  .profile__title img,
  .message__title img {
    width: 30px;
    height: auto;
    margin-right: 40px;
  }

  .about__heading,
  .concept__heading,
  .contents__heading,
  .profile__heading,
  .message__heading,
  .cta_upper__heading {
    line-height: normal;
  }

  .about__text,
  .concept__text,
  .contents__text,
  .profile__text,
  /* .message__text, */ /* messageセクションのテキストスタイルは別途確認 */
  .cta_upper__text {
    line-height: normal;
  }

  .about__text--highlight,
  .concept__text--highlight,
  .contents__text--highlight,
  .profile__text--highlight,
  /* .message__text--highlight, */ /* messageセクションのテキストスタイルは別途確認 */
  .cta_upper__text--highlight {
    line-height: normal;
  }

  .about__text--highlight {
    font-size: 1rem;
  }

  .concept__img {
    display: none;
  }

  .profile__inner__inner,
  .message__inner__inner {
    /* messageセクションもSPでは同様のレイアウト変更 */
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .profile__content,
  .message__content {
    /* messageセクションもSPでは同様のレイアウト変更 */
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .profile__img {
    display: none;
  }

  #mobile-menu {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
  }

  #mobile-nav {
    width: 100%;
    background: linear-gradient(to right, #0a4682, #f08291);
  }

  #mobile-nav.translate-x-full {
    transform: translate(100%, 0);
  }

  #mobile-nav:not(.translate-x-full) {
    transform: translate(0, 0);
  }

  #mobile-nav.hidden,
  #mobile-menu.hidden {
    display: none;
  }
  #mobile-nav:not(.hidden),
  #mobile-menu:not(.hidden) {
    display: flex !important;
  }

  .cta_upper {
    padding-left: 0px;
    padding-right: 0px;
  }
  .cta_upper__inner__inner {
    width: 100%;
    clip-path: polygon(13% 0%, 100% 0%, 87% 100%, 0% 100%); /* SPでも維持 */
  }
  .cta_upper__heading {
    text-align: right !important;
  }

  .contents__content {
    padding-left: 0%;
  }

  .contents_img_box {
    flex-direction: column;
    align-items: center;
  }

  .sp-only-img {
    display: block;
    margin-bottom: 50px;
    width: 100%;
    height: auto;
  }

  .contents_img {
    display: none;
  }

  h2 {
    /* 全体的なh2のSP調整は注意が必要。他への影響を考慮 */
    font-size: 25px !important;
    line-height: normal !important;
  }
  p {
    /* 全体的なpのSP調整は注意が必要。他への影響を考慮 */
    font-size: 14px !important;
    line-height: normal !important;
  }

  .concept__inner__inner {
    padding-left: 30px !important;
    padding-top: 30px;
    padding-bottom: 0;
    clip-path: polygon(35% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  .concept__content {
    margin-left: auto;
    margin-right: 0;
  }

  .concept__sp_content {
    display: block !important;
    background-color: white;
    padding: 20px;
    margin: 0px;
  }

  #hamburger-icon {
    background: linear-gradient(to right, #0a4682, #f08291);
    padding: 12px;
    border-radius: 0px;
    right: 0;
  }

  .pc-mv-img {
    display: none;
  }
  .sp-mv-img {
    display: block;
  }

  header > div:first-child {
    padding-left: 5%;
    padding-right: 0;
  }

  .sp-hidden {
    display: none;
  }

  .title-font {
    /* JavaScriptで制御されているため、CSSでのline-height指定は影響しない可能性 */
    line-height: 0.99;
  }

  #hero .text-mv {
    bottom: auto;
    top: 10%;
    left: 5%;
  }

  .content-title {
    margin-left: 40%;
  }

  .concept__title {
    margin-right: -70px;
    padding-left: 30px;
  }
  /* ユーザーの要望に基づき、他の__titleクラスにもSP用スタイルを適用 */
  .about__title,
  .contents__title,
  .profile__title,
  .message__title,
  .cta_upper__title {
    margin-right: -70px;
    padding-left: 30px;
  }

  /* SP表示時のcontents__inner__innerのスタイルを追加 */
  .contents__inner__inner {
    padding-top: 0px;
    padding-left: 18%;
  }
}
