/* リセットとベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: calc(100% - 2rem);
  margin: 0 auto;
}

.main-title {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  color: #1874bb;
  line-height: 1.3;

  span {
    font-size: 1rem;
    font-weight: normal;
    color: #333;
    display: block;
  }
}

ul,
li {
  list-style: none;
}

/* ヘッダー */
.header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
.header-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.logo-main {
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.logo-title {
  font-size: 24px;
  font-weight: bold;
  color: #1e3a5f;
  letter-spacing: 0.02em;
}

.logo-subtitle {
  font-size: 12px;
  color: #999;
  font-weight: normal;
  letter-spacing: 0.05em;
}

.logo-company {
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

/* 連絡先エリア */
.header-contact {
  display: flex;
  align-items: center;
  gap: 30px;
}

.contact-info {
  display: flex;
  align-items: center;
}

.phone-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-icon {
  width: 28px;
  height: 28px;
  color: #555;
  flex-shrink: 0;
}

.phone-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-phone {
  font-size: 26px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.header-phone:hover {
  color: #4a90e2;
}

.business-hours {
  font-size: 12px;
  color: #666;
  line-height: 1.2;
}

.header-btn {
  background-color: #3d9c38;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(80, 200, 120, 0.3);
  white-space: nowrap;
}

.header-btn:hover {
  background-color: #3d9c38;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(80, 200, 120, 0.4);
}

.header-btn:active {
  transform: translateY(0);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

.first-view-container {
  height: 560px;
  background: url("../images/pmark-FV.png") no-repeat center center;
  background-size: cover;
  position: relative;
}

.first-view-left {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
}

.first-view-title {
  color: #fff;
}

.first-view-title-small {
  font-size: 20px;
  font-weight: normal;
  color: #fff;
  display: block;
  line-height: 100%;
  margin: 0 0 10px;
}

.first-view-title-medium {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  display: block;
  line-height: 100%;
  margin: 0 0 10px;
}

.first-view-title-main {
  font-size: 64px;
  font-weight: bold;
  color: #fff;
  display: block;
  line-height: 100%;
}

.features-list {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, max-content);
  margin: 20px 0 0;
}

.feature-item img {
  width: 250px;
}

.feature-item:last-of-type img {
  width: 300px;
}

.first-view-text {
  position: absolute;
  bottom: 10px;
  width: calc(100% - 40px);
  left: 50%;
  transform: translateX(-50%);
  color: #525252;
}

/* お悩みセクション */
.problem-container {
  background: #e3f7ff;
  position: relative;
  padding-bottom: 6vw;
  overflow: hidden;
}

.problem-container:before,
.problem-container:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-bottom: 10vw solid #fff;
}

.problem-container:before {
  left: 0;
  border-right: 50vw solid transparent;
}

.problem-container:after {
  right: 0;
  border-left: 50vw solid transparent;
}
.problem-content {
  padding: 40px 0;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.problem-title {
  text-align: center;
  font-size: 24px;
  background: #ff8800;
  color: #fff;
  padding: 10px;
  border-radius: 50px;
  position: relative;
}

.problem-title:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-top: 15px solid #ff8800;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
}

.problem-list {
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.problem-item {
  display: grid;
  gap: 20px;
  text-align: center;

  p {
    font-size: 19px;
    color: #003366;
    font-weight: bold;
  }
}

.solution-container {
  width: max-content;
  margin: 0 auto;

  p {
    font-size: 24px;
    font-weight: bold;
  }
}

.solution-title {
  font-size: 24px;

  span {
    font-size: 32px;
    color: #1874bb;
  }
}

/* 実績セクション */
#reason {
  margin: 30px 0;
}

.reason-container {
  padding: 70px 0 40px;
  background: url(../images/reason-bg.png) no-repeat center center;
  background-size: cover;
}

.reason-content {
  width: 100%;
  max-width: 1070px;
  margin: 0 auto;
}
.reason-title {
  background: #4387a8;
  color: #fff;
  font-weight: normal;
  text-align: center;
  padding: 8px 24px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  height: 50px;
  width: 100%;
}

.reason-title::before,
.reason-title::after {
  position: absolute;
  top: 0;
  width: 0px;
  height: 0px;
  border-color: #4387a8 transparent;
  border-style: solid;
  content: "";
}

.reason-title::before {
  left: -15px;
  border-width: 25px 0px 25px 15px;
}

.reason-title::after {
  right: -15px;
  border-width: 25px 15px 25px 0px;
}

.reason-list {
  margin: 60px auto 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.reason-item {
  margin: 0 auto;

  img {
    width: 100%;
  }
}

.reason-item-text {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.reason-item-text_medium {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
}

.reason-item-text_large {
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  line-height: 1;

  span {
    font-size: 72px;
    display: inline-block;
  }
}

.reason-note {
  font-size: 16px;
  text-align: center;
  font-weight: bold;
}

/* 基本情報セクション */
.iso-info-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 0 0;
}

.iso-info-content {
  text-align: center;

  p {
    font-size: 20px;
  }
}

.iso-info-title {
  font-size: 40px;
  margin: 0 0 20px;
  color: #1874bb;
}

.iso-info-recommendation {
  margin: 70px 0 0;

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

.iso-info-recommendation-title {
  text-align: center;
  font-size: 32px;
  margin: 0 0 10px;
  color: #1874bb;

  p {
    text-align: center;
  }
}

.iso-info-recommendation-list {
  margin: 40px 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 40px;
}

.iso-info-recommendation-item,
.privacy_mark-item {
  border: 2px solid #0070c9;
  border-radius: 8px;
  text-align: center;

  img {
    margin: 0 auto;
  }
}

.iso-info-recommendation-item-title {
  padding: 16px;
  text-align: center;
  background: #0070c9;
  color: #fff;
  font-size: 24px;
  margin: 0 0 20px;
  border-radius: 5px 5px 0 0;
}

.iso-info-recommendation-item-text {
  margin: 20px auto;
  width: max-content;
  text-align: left;
  font-size: 18px;
}

.reasons-list {
  margin: 60px 0 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.iso-info-reasons-item {
  position: relative;
}

.iso-info-reasons-item::before {
  content: attr(data-num);
  color: #1874bb;
  font-size: 48px;
  line-height: 1;
}

.iso-info-reasons-item-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px;
  position: relative;
}

.iso-info-reasons-item-title::after {
  content: "";
  background-size: cover;
  position: absolute;
  right: 0;
  top: -30px;
  width: 100px;
  height: 80px;
  background-repeat: no-repeat;
  background-position: center center;
}

.iso-info-reasons-item-title[data-img="./assets/images/iso-info-image1.png"]::after {
  background-image: url(../images/iso-info-image1.png);
}

.iso-info-reasons-item-title[data-img="./assets/images/iso-info-image2.png"]::after {
  background-image: url(../images/iso-info-image2.png);
}

.iso-info-reasons-item-title[data-img="./assets/images/iso-info-image3.png"]::after {
  background-image: url(../images/iso-info-image3.png);
}

.iso-info-reasons-item-title[data-img="./assets/images/iso-info-image4.png"]::after {
  background-image: url(../images/iso-info-image4.png);
}

.recommendation-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border: 3px solid #0470d2;
  border-radius: 8px;
  padding: 30px 0;
}

.recommendation-container > p {
  font-weight: bold;
  text-align: center;
}

.recommendation-container > p span {
  font-size: 27px;
  font-weight: bold;
  color: #ff0000;
}

.recommendation-container::before,
.recommendation-container::after {
  position: absolute;
  content: "";
  left: 50%;
  height: 0px;
  width: 0px;
  margin-left: -25px;
  border: 25px solid;
  border-color: #ffffff00;
}

.recommendation-container::before {
  bottom: 100%;
  border-bottom-color: #0470d2;
}

.recommendation-container::after {
  bottom: 98%;
  border-bottom-color: #ffffff;
}

.recommendation-list {
  max-width: 1030px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 0;

  li {
    display: grid;
    gap: 10px;

    p {
      position: relative;
      display: flex;
      align-items: center;
      gap: 8px;

      &::before {
        content: "";
        background: url(../images/check.png) no-repeat center center;
        display: inline-block;
        width: 25px;
        height: 25px;
        background-size: contain;
      }
    }
  }
}

.reason-describe {
  margin: 60px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  &::after {
    content: "";
    background: url(../images/women.png) no-repeat center center;
    background-size: contain;
    display: inline-block;
    width: 230px;
    height: 230px;
  }

  p {
    font-size: 32px;
    font-weight: bold;
  }
}

/* 選ばれる理由セクション */
.reason-choose {
  background: #f6efd4;
}

.reason-choose-container {
  padding: 50px 0;
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
}

.reason-choose-list {
  display: grid;
  gap: 40px;
  margin: 40px 0;
}

.reason-choose-item-title {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
}

.reason-choose-item-title::before {
  content: attr(data-num);
  display: inline-block;
  font-size: 96px;
  font-weight: bold;
  background: linear-gradient(to top, #0f9eda, #0568cd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reason-choose-item {
  display: flex;
  gap: 100px;
  justify-content: center;
  align-items: center;

  .item-left {
    width: 100%;
    max-width: 610px;
  }

  .item-right {
    width: 230px;

    img {
      width: 100%;
    }
  }
}

.merit-left {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.merit-left-title {
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 20px;
  line-height: 1.3;
}

.merit-item {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;

  &::before {
    content: "";
    background: url(../images/check.png) no-repeat center center;
    display: inline-block;
    width: 30px;
    background-size: contain;
    height: 30px;
  }
}

.merit-right {
  display: flex;
  gap: 5px;

  .image-container {
    padding: 20px;
    text-align: center;

    .image-title.blue {
      background: #0070c9;
      color: #fff;
      border-radius: 50px;
      padding: 4px;
    }

    .image-title.gray {
      background: #e9e9e9;
      border-radius: 50px;
      padding: 4px;
      text-align: center;
    }

    img {
      width: 200px;
    }

    p {
      font-weight: bold;
    }
  }

  .image-container:first-child {
    border-right: 2px dotted #000;
  }
}

/* call to actionセクション */
.call-to-action-container {
  background: #f4f4f4;
}
.call-to-action-content {
  padding: 60px 0 30px;
  text-align: center;
}

.call-to-action-title {
  font-size: 22px;
  margin: 0 0 20px;
}

.call-to-action-btn {
  display: inline-block;
  padding: 16px 0;
  width: 280px;
  background: #4667ad;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 16px;
  margin: 0 0 20px;
}

.call-to-action-phone {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .header-container {
    padding: 15px 20px;
  }

  .logo-image {
    height: 50px;
  }

  .logo-title {
    font-size: 20px;
  }

  .logo-subtitle {
    font-size: 11px;
  }

  .logo-company {
    font-size: 13px;
  }

  .header-phone {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 12px 15px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .header-logo {
    flex: 1;
    min-width: 0;
  }

  .logo-image {
    height: 45px;
  }

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

  .logo-subtitle {
    font-size: 10px;
  }

  .logo-company {
    font-size: 12px;
  }

  .header-contact {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }

  .phone-icon {
    width: 24px;
    height: 24px;
  }

  .header-phone {
    font-size: 18px;
  }

  .business-hours {
    font-size: 11px;
  }

  .header-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 10px 12px;
  }

  .header-logo {
    gap: 10px;
  }

  .logo-image {
    height: 40px;
  }

  .logo-main {
    flex-direction: column;
    gap: 2px;
  }

  .logo-title {
    font-size: 16px;
  }

  .logo-subtitle {
    font-size: 9px;
  }

  .logo-company {
    font-size: 11px;
  }

  .header-contact {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  .phone-section {
    gap: 8px;
  }

  .phone-icon {
    width: 20px;
    height: 20px;
  }

  .header-phone {
    font-size: 16px;
  }

  .business-hours {
    font-size: 10px;
  }

  .header-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ISMSメニューテーブル */
.isms-menu {
  margin-top: 60px;
  padding: 0 20px;

  .e-table {
    .plan_even {
      td {
        text-align: center;
      }
    }
  }
}

.isms-menu > p {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 100%;
}

.isms-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.isms-table thead {
  background-color: #1e3a5f;
  color: #fff;
}

.isms-table th {
  padding: 16px 12px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.isms-table th:first-child {
  text-align: left;
  padding-left: 20px;
}

.isms-table th:last-child {
  border-right: none;
}

.isms-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

.isms-table tbody tr:last-child {
  border-bottom: none;
}

.isms-table tbody tr:hover {
  background-color: #f5f5f5;
}

.isms-table td {
  padding: 16px 12px;
  text-align: center;
  font-size: 14px;
  vertical-align: middle;
  border-right: 1px solid #e0e0e0;
}

.isms-table td:first-child {
  text-align: left;
  padding-left: 20px;
  font-weight: 500;
  color: #333;
  background-color: #f9f9f9;
}

.isms-table td:last-child {
  border-right: none;
}

.isms-table .checkmark {
  color: #3d9c38;
  font-size: 18px;
  font-weight: bold;
}

.isms-table .dash {
  color: #999;
  font-size: 16px;
}

.isms-table .free {
  color: #3d9c38;
  font-weight: bold;
  font-size: 14px;
}

.isms-table .price-row {
  background-color: #f0f7ff;
  font-weight: bold;
}

.isms-table .price-row td {
  color: #1e3a5f;
  font-size: 16px;
  padding: 18px 12px;
}

.isms-table .price-row td:first-child {
  background-color: #e6f2ff;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .isms-menu {
    margin-top: 50px;
    padding: 0 15px;
  }

  .isms-menu > p {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .isms-table {
    min-width: 550px;
  }

  .isms-table th,
  .isms-table td {
    padding: 14px 10px;
    font-size: 13px;
  }

  .isms-table th:first-child,
  .isms-table td:first-child {
    padding-left: 15px;
  }
}

@media (max-width: 768px) {
  .isms-menu {
    margin-top: 40px;
    padding: 0 10px;
  }

  .isms-menu > p {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .isms-table {
    min-width: 500px;
  }

  .isms-table th,
  .isms-table td {
    padding: 12px 8px;
    font-size: 12px;
  }

  .isms-table th:first-child,
  .isms-table td:first-child {
    padding-left: 12px;
    font-size: 11px;
  }

  .isms-table .checkmark {
    font-size: 16px;
  }

  .isms-table .dash {
    font-size: 14px;
  }

  .isms-table .price-row td {
    font-size: 14px;
    padding: 14px 8px;
  }
}

@media (max-width: 480px) {
  .isms-menu {
    margin-top: 30px;
    padding: 0 8px;
  }

  .isms-menu > p {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .isms-table {
    min-width: 450px;
  }

  .isms-table th,
  .isms-table td {
    padding: 10px 6px;
    font-size: 11px;
  }

  .isms-table th:first-child,
  .isms-table td:first-child {
    padding-left: 10px;
    font-size: 10px;
    line-height: 1.4;
  }

  .isms-table .checkmark {
    font-size: 14px;
  }

  .isms-table .dash {
    font-size: 12px;
  }

  .isms-table .free {
    font-size: 11px;
  }

  .isms-table .price-row td {
    font-size: 12px;
    padding: 12px 6px;
  }
}

/* 料金比較テーブル */
.price-info {
  padding: 60px 20px;
}

.price-info-container {
  max-width: 1400px;
  margin: 0 auto;
}

.price-info-title {
  margin-bottom: 40px;
}

.price-table {
  margin-top: 30px;
}

.price-comparison-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #e0e0e0;
}

.price-comparison-table thead {
  background-color: #1e3a5f;
  color: #fff;
}

.price-comparison-table th {
  padding: 16px 12px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  vertical-align: middle;
}

.price-comparison-table th.course-header,
.price-comparison-table th.service-header {
  background-color: #1e3a5f;
  text-align: center;
  padding-left: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.price-comparison-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.price-comparison-table tbody tr:last-child {
  border-bottom: none;
}

.price-comparison-table tbody tr:hover {
  background-color: #f5f5f5;
}

.price-comparison-table td {
  padding: 16px 12px;
  text-align: center;
  font-size: 14px;
  vertical-align: middle;
  border-right: 1px solid #e0e0e0;
  line-height: 1.6;
}

.price-comparison-table td:first-child {
  text-align: center;
  padding-left: 20px;
  font-weight: 500;
  color: #333;
  background-color: #f9f9f9;
  border-right: 1px solid #e0e0e0;
  min-width: 150px;
}

.price td:not(:first-child) {
  font-size: 20px;
  color: #002b5c;
  font-weight: bold;
}

.price-comparison-table td:nth-child(2) {
  text-align: center;
  padding-left: 15px;
  border-right: 1px solid #e0e0e0;
}

.price-comparison-table td:nth-child(2):empty {
  background-color: #f9f9f9;
}

.price-comparison-table td:last-child {
  border-right: none;
}

.price-comparison-table .note-cell {
  font-size: 11px;
  color: #999;
  font-style: italic;
}

.price-comparison-table .full-width-cell {
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #fff;
  border-left: 1px solid #e0e0e0;
}

.price-comparison-table .service-header-row {
  background-color: #e6f2ff;
}

.price-comparison-table .service-content-header {
  background-color: #e6f2ff;
  font-weight: bold;
  color: #1e3a5f;
  text-align: left;
  padding-left: 20px;
}

.price-comparison-table .service-header-empty {
  background-color: #e6f2ff;
  border-right: none;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .price-info {
    padding: 50px 15px;
  }

  .price-info-title {
    font-size: 24px;
    margin-bottom: 35px;
  }

  .price-comparison-table {
    min-width: 750px;
  }

  .price-comparison-table th,
  .price-comparison-table td {
    padding: 14px 10px;
    font-size: 13px;
  }

  .price-comparison-table th:first-child,
  .price-comparison-table td:first-child {
    padding-left: 15px;
  }

  .price-comparison-table td:nth-child(2) {
    padding-left: 12px;
  }
  .merit-left {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .price-info {
    padding: 40px 10px;
  }

  .price-info-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .price-comparison-table {
    min-width: 700px;
  }

  .price-comparison-table th,
  .price-comparison-table td {
    padding: 12px 8px;
    font-size: 12px;
  }

  .price-comparison-table th:first-child,
  .price-comparison-table td:first-child {
    padding-left: 12px;
    font-size: 11px;
    min-width: 120px;
  }

  .price-comparison-table td:nth-child(2) {
    padding-left: 10px;
  }

  .price-comparison-table .note-cell {
    font-size: 10px;
  }

  .price-comparison-table .full-width-cell {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .price-info {
    padding: 30px 8px;
  }

  .price-info-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .price-comparison-table {
    min-width: 650px;
  }

  .price-comparison-table th,
  .price-comparison-table td {
    padding: 10px 6px;
    font-size: 11px;
  }

  .price-comparison-table th:first-child,
  .price-comparison-table td:first-child {
    padding-left: 10px;
    font-size: 10px;
    min-width: 100px;
    line-height: 1.4;
  }

  .price-comparison-table .note-cell {
    font-size: 9px;
  }

  .price-comparison-table .full-width-cell {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 10px;
    line-height: 1.5;
  }

  .price-comparison-table .service-header {
    padding-left: 12px;
    font-size: 11px;
  }
}

/* さらに３つの安心セクション */
.three-more-points-container {
  background: #f5f0d5;
  margin: 10px 0 0;
}

.points-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 20px;
}

.points-item {
  width: 350px;
  height: 370px;

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

/* お客様の声セクション */
.customer-reviews-container {
  padding: 100px 0;
  background: #f0f5fb;
}
.customer-reviews-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  max-width: 1000px;
  gap: 40px;
  margin: 60px auto;
  align-items: center;

  p {
    background: #fff;
    padding: 30px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 1px 4px hwb(0deg 0% 100% / 25%);
  }
}

.review-title-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  background: #0177a9;
  border-radius: 16px 16px 0 0;
  padding: 16px;

  img {
    width: 70px;
    position: absolute;
    bottom: 10px;
  }

  h3 {
    color: #fff;
    padding-left: 86px;
  }
}

/* サービスの流れセクション */
.service-flow-container {
  padding: 100px 0;
}

.service-flow-content {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.service-flow-list {
  margin: 40px 0 0;
  display: grid;
  gap: 50px;
}

.service-flow-item {
  display: flex;
  background: #f0f5fb;
  padding: 30px 30px 30px 90px;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.service-flow-item:last-child {
  padding: 30px 30px 30px 125px;
}

.service-flow-item::before {
  content: attr(data-num);
  height: 100%;
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  padding: 0 22px;
  background: #1874bb;
  color: #fff;
  font-size: 48px;
}

.service-flow-content-left {
  h3 {
    font-size: 32px;
    margin: 0 0 20px;
  }

  p {
    font-size: 20px;
  }
}

.service-flow-content-right {
  width: max-content;
}

/* よくある質問セクション */
.faq-content {
  max-width: 980px;
  width: 100%;
  margin: 0 auto 100px;
}

.faq-list {
  margin: 60px auto 0;
}

.faq-item {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.faq-item h3 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-item h3::before {
  content: "Q";
  background: #003b7a;
  color: #fff;
  border-radius: 50%;
  padding: 0px;
  font-size: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  font-weight: normal;
  align-items: center;
  justify-content: center;
}

.faq-item p {
  background: #f0f5fb;
  padding: 16px 14px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 30px 1fr;
}

.faq-item p::before {
  content: "A";
  background: #d10005;
  color: #fff;
  border-radius: 50%;
  padding: 0px;
  font-size: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  font-weight: normal;
  align-items: center;
  justify-content: center;
}

/* マークセクション */
.marks-content {
  margin-bottom: 100px;
}
.marks-content > p {
  text-align: center;
  margin-bottom: 40px;
}

.marks-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;

  .marks-item {
    height: 130px;

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

.other-services-content {
  text-align: center;
}

.other-services-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 20px 0 60px;
}

.footer {
  background: #003377;
}

.footer-content {
  color: #fff;
  padding: 40px 0 50px;
  text-align: center;

  p {
    font-size: 18px;
  }

  a {
    text-decoration: none;
    color: #fff;
    background: #ff8800;
    padding: 8px 24px;
    border-radius: 50px;
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 0 auto;
  }

  .footer-contact-info {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
    align-items: center;

    .footer-contact-info-phone {
      font-size: 40px;
      font-weight: bold;
    }
  }
}

@media screen and (max-width: 980px) {
  .header-contact {
    display: none;
  }
  .first-view-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
  }
  .first-view-left {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 2rem);
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .first-view-text {
    z-index: 1;
    color: #fff;
  }
  .first-view-title-small {
    font-size: 14px;
  }
  .first-view-title-medium {
    font-size: 30px;
  }
  .first-view-title-main {
    font-size: 40px;
  }
  .features-list {
    display: flex;
    align-items: center;
    margin: 20px 0 0;
    flex-direction: column;
    align-items: baseline;
  }
  .first-view-text {
    position: absolute;
    bottom: 10px;
    width: calc(100% - 20px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
  }
  .problem-content {
    padding: 40px 8px;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
  }
  .problem-title {
    text-align: center;
    font-size: 16px;
    background: #ff8800;
    color: #fff;
    padding: 16px 56px;
    border-radius: 50px;
    position: relative;
  }
  .problem-list {
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .problem-item {
    display: grid;
    gap: 20px;
    text-align: center;
  }
  .solution-container {
    /* width: max-content; */
    margin: 0 auto;
    /* text-align: center; */
  }
  .solution-container {
    p {
      font-size: 13px;
      font-weight: bold;
    }
  }
  .solution-title {
    font-size: 16px;
  }
  .solution-title {
    span {
      font-size: 16px;
      color: #1874bb;
    }
  }
  .reason-container {
    padding: 70px 0 10px;
    background: url(../images/reason-bg.png) no-repeat center center;
    background-size: cover;
  }
  .reason-content {
    width: 100%;
    max-width: 1070px;
    margin: 0 auto;
    width: calc(100% - 2rem);
  }
  .reason-title {
    background: #4387a8;
    color: #fff;
    font-weight: normal;
    text-align: center;
    padding: 8px 0;
    font-size: 16px;
    position: relative;
    display: inline-block;
    height: 100%;
    width: 100%;
  }
  .reason-list {
    margin: 60px auto 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .reason-item {
    img {
      width: 100%;
    }
  }
  .reason-item-text {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
  }
  .reason-item-text_medium {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
  }
  .reason-item-text_large {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    line-height: 1;
  }
  .reason-item-text_large {
    font-size: 24px;
    span {
      font-size: 40px;
      display: inline-block;
    }
  }
  .reason-note {
    font-size: 11px;
    text-align: center;
    font-weight: bold;
  }
  .reason-title::before,
  .reason-title::after {
    display: none;
  }
  .iso-info-title {
    font-size: 24px;
    margin: 0 0 20px;
    color: #1874bb;
  }
  .iso-info-content {
    p {
      font-size: 16px;
    }
  }
  .iso-info-recommendation-title {
    text-align: center;
    font-size: 20px;
    margin: 0 0 10px;
    color: #1874bb;
  }
  .iso-info-recommendation-list {
    margin: 40px 0 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
  }
  .iso-info-recommendation-item-title {
    padding: 8px;
    text-align: center;
    background: #0070c9;
    color: #fff;
    font-size: 18px;
    margin: 0 0 20px;
    border-radius: 5px 5px 0 0;
  }
  .iso-info-recommendation-item {
    img {
      width: 150px !important;
    }
  }
  .iso-info-recommendation-item,
  .privacy_mark-item {
    img {
      width: 150px !important;
    }
  }
  .iso-info-recommendation-item-text {
    margin: 20px auto;
    width: calc(100% - 2rem);
    text-align: left;
    font-size: 14px;
  }
  .reasons-list {
    margin: 60px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .iso-info-reasons-item-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px;
    padding-right: 100px;
    position: relative;
  }
  .iso-info-container {
    max-width: 1200px;
    width: calc(100% - 2rem);
    margin: 0 auto;
    padding: 30px 0 0;
  }

  .recommendation-container::after {
    bottom: 99%;
    border-bottom-color: #ffffff;
  }
  .recommendation-container > p span {
    font-size: 18px;
    font-weight: bold;
    color: #ff0000;
  }
  .recommendation-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border: 3px solid #0470d2;
    border-radius: 8px;
    padding: 30px 10px;
  }
  .recommendation-list {
    padding: 20px 0;
    & li {
      p {
        position: relative;
        display: grid;
        align-items: normal;
        gap: 8px;
        grid-template-columns: 20px 1fr;
      }
    }
  }
  .reason-describe {
    margin: 60px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: column;
  }
  .reason-describe {
    p {
      font-size: 24px;
      font-weight: bold;
    }
  }
  .main-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #1874bb;
    line-height: 1.3;
  }
  .reason-choose-list {
    margin: 10px auto;
  }
  .reason-choose-item {
    flex-direction: column;
    gap: 20px;
  }
  .reason-choose-item-title {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.6;
  }

  .reason-choose-item-title::before {
    content: attr(data-num);
    display: inline-block;
    font-size: 56px;
    font-weight: bold;
    background: linear-gradient(to top, #0f9eda, #0568cd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .merit {
    display: flex;
    flex-direction: column;
  }
  .merit-left-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 20px;
    line-height: 1.3;
  }
  .merit-right,
  .points-list {
    flex-direction: column;
  }
  .merit-right {
    .image-container:first-child {
      border-right: unset;
    }
  }
  .merit-right {
    & .image-container {
      img {
        width: 100%;
      }
    }
  }
  .points-item {
    width: 100%;
    height: 100%;
  }
  .customer-reviews-container {
    padding: 60px 0;
    background: #f0f5fb;
  }
  .customer-reviews-list {
    display: flex;
    flex-direction: column;
    margin: 30px auto;
  }
  .service-flow-item,
  .service-flow-item:last-child {
    flex-direction: column;
    padding: 70px 20px 20px;
  }
  .service-flow-item::before {
    content: attr(data-num);
    height: unset;
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 22px;
    background: #1874bb;
    color: #fff;
    font-size: 32px;
  }
  .service-flow-content-left {
    h3 {
      font-size: 28px;
      margin: 0 0 10px;
    }
  }
  .service-flow-content-left {
    p {
      font-size: 16px;
    }
  }
  .faq-item h3 {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }
  .marks-list {
    justify-content: flex-start;
    .marks-item {
      height: 80px;
    }
  }
  .other-services-list {
    flex-direction: column;
  }

  .footer-content {
    .footer-contact-info {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin-bottom: 10px;
      align-items: center;
      flex-direction: column;
    }
  }
}

.viceList {
  padding: 50px 50px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.viceList li {
  width: 49%;
  margin-bottom: 30px;
  padding: 30px;
  color: #000;
  background-color: #fff;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.viceList-block {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}
.viceList-img {
  width: 30%;
}
.viceList-img img {
  border-radius: 50%;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.viceList-inner {
  flex: 1;
  padding-left: 20px;
}
.viceList-title {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 135%;
  font-feature-settings: "pkna";
  color: #063b7c;
  line-height: 1.4;
}

.viceList-summary {
  line-height: 1.8;
  font-size: 88%;
}
.viceList-tags {
  padding-top: 1em;
  display: flex;
  flex-wrap: wrap;
}
.viceList-tags span {
  display: inline-block;
  background-color: #f0f0f0;
  color: #555;
  padding: 0.3em 1em;
  margin: 0 2px 2px 0;
  border-radius: 10vw;
  font-weight: 600;
  font-size: 73%;
  font-feature-settings: "palt";
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

@media screen and (max-width: 834px) {
  .viceList {
    display: block;
  }
  .viceList li {
    width: auto;
    margin-bottom: 20px;
    padding: 25px 20px;
  }

  .viceList-tags span {
    padding: 0.3em 0.5em;
    font-size: 77%;
  }
}

@media screen and (max-width: 520px) {
  .viceList {
    padding: 50px 20px 0;
  }
  .viceList li {
    width: auto;
    margin-bottom: 20px;
    padding: 25px 5% 30px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .viceList-block {
    display: block;
    padding-bottom: 20px;
  }
  .viceList-img {
    width: 40%;
    max-width: 160px;
    margin: 0 auto;
  }
  .viceList-inner {
    padding: 20px 0 0;
  }
  .viceList-title {
    text-align: center;
  }

  .viceList-summary {
    line-height: 1.8;
    margin-top: 0;
  }
  .viceList-tags {
    justify-content: center;
  }
}

.e-table {
  border: 1px solid #ccc;
  height: 594px;
}

.e-table,
.e-table tr,
.e-table th,
.e-table td {
  height: auto !important;
}

.e-table th {
  border: 1px solid #ccc;
  padding: 20px 3%;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
  line-height: 1.8;
  background-color: #e9f0f9;
}

.e-table td {
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 20px 3%;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
  line-height: 1.8;
}

.post .e-table p:not([class]) {
  padding: 0;
  font-size: 1.16rem;
}

/* テーブル行スタイル */
.plan_odd {
  height: 66px;
}

.plan_even {
  height: 66px;
}

.plan_last {
  height: 66px;
}

/* テキスト左寄せ */
.tx_left {
  text-align: left;
}

.e-table th.plan_odd {
  width: 34.4497%;
  height: 66px;
  text-align: left;
}

.e-table th.plan_even {
  width: 34.4497%;
  height: 66px;
  text-align: left;
}

.e-table th.tx_left {
  width: 34.4497%;
  height: 66px;
  text-align: left;
}

/* ケースA列 */
.e-table td:nth-child(2) {
  width: 13.3366%;
  text-align: left;
  height: 66px;
}

/* ケースB列 */
.e-table td:nth-child(3) {
  width: 13.926%;
  text-align: left;
  height: 66px;
}

/* ケースC列 */
.e-table td:nth-child(4) {
  width: 12.6021%;
  text-align: left;
  height: 66px;
}

/* ケースD列 */
.e-table td:nth-child(5) {
  width: 12.956%;
  text-align: left;
  height: 66px;
}

/* ヘッダー行の背景色 */
.e-table .plan_odd th,
.e-table .plan_odd td {
  background-color: #e9e9e9;
}

/* 最終行の背景色 */
.e-table .plan_last td {
  background-color: #dbe7ec;
}

/* 最終行のテキストスタイル */
.e-table .plan_last td.tx_left {
  width: 34.4497%;
  height: 66px;
  text-align: center;
  background-color: #dbe7ec;
}

/* 料金セルのフォントサイズ */
.e-table .plan_last td span {
  font-size: 120%;
}

/* テーブルセル内のstrongタグ */
.e-table th strong,
.e-table td strong {
  font-weight: bold;
}

.e-cell-quarter {
  width: 25%;
}

.e-cell-trisect {
  width: 33.3%;
}

.e-cell-half {
  width: 50%;
}

@media screen and (max-width: 834px) {
  .e-table th {
    font-size: 1rem;
    padding: 8px 8px;
    line-height: 1.7;
  }

  .e-table td {
    font-size: 1rem;
    padding: 8px 8px;
    line-height: 1.7;
  }

  .post .e-table p:not([class]) {
    padding: 0;
    font-size: 1rem;
  }

  /* スマホ時、縦組みになる */
  .e-table-sp,
  .e-table-sp thead,
  .e-table-sp tbody,
  .e-table-sp tr,
  .e-table-sp th,
  .e-table-sp td {
    display: block;
    width: 100% !important;
    border: none;
  }

  .e-table-sp th,
  .e-table-sp td {
    border: none;
    font-size: 1rem;
  }

  .e-table-sp thead th {
    text-align: center;
    padding: 5px 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #ccc;
  }

  .e-table-sp tbody th {
    text-align: left;
    padding: 5px 8px;
    font-weight: bold;
  }

  .e-table-sp tbody td {
    padding: 8px 0px 15px 0;
    font-size: 0.93rem;
  }
  .call-to-action-title {
    font-size: 17px;
    margin: 0 0 20px;
  }
}
