/* ------------------------------
 下層ページ
------------------------------ */
/* ------------------------------
 common
------------------------------ */
.gr-block {
background: var(--bg-light);
padding: 1.5rem;
border-radius: 15px;
margin-bottom: 2rem;
}
/* ------------------------------
 breadcrumb
------------------------------ */
.breadcrumbs {
  font-size: 14px;
  margin-bottom: 2.3em;
}

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

.breadcrumbs a:hover span {
  color: var(--primary);
}

.breadcrumbs span.post.post-page.current-item {
  color: var(--primary) !important;
}
/* ------------------------------
 page header
------------------------------ */
section.page-header {
    background: linear-gradient(120deg, #FFF3EE 77%, #FE4A26 60%);
    padding: 130px 0 70px;
}
.page-title-main {
  display: block;
  font-size: 1em;
  margin-top: 8px;
}
.page-title-en {
  display: block;
  font-size: 3.7rem;
  font-weight: 700;
  color: var(--primary);
  font-family: Poppins, 'Noto Sans JP';
}
.page-description {
  margin-top: 1em;
}

.page-section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--navy);
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: solid 5px #e6edf2;
    position: relative;
}
.page-section-title:before {
    content: "";
    display: inline-block;
    width: 37px;
    height: 37px;
    margin-right: 10px;
    margin-left: 10px;
    background-image: url(images/sub_pagetxt.png);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.page-section-title::after {
    content: "";
    position: absolute;
    bottom: -5px;;
    right: 0;
    height: 5px;
    width: 3%;
    background: var(--primary);
}
.page-section-subtitle {
    font-size: 1.7rem;
    position: relative;
    margin: 2.3rem 0 2rem;
}

/* SP */
@media (max-width: 767px) {
.breadcrumbs {
    margin-bottom: 1em;
}
.page-section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}
.page-section-subtitle {
    font-size: 1.2rem;
}
.page-title-en {
  display: block;
  font-size: 3rem;
}
section.page-header {
    padding: 100px 0 40px;
}
.page-section-title::after {
    width: 7%;
}
}


/* 2culum */
.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-header-left {
  flex: 1;
}

.page-header-right {
  flex: 2;
  text-align: right;
}
.page-header-image {
  max-height: 320px;
  border-radius:10px;
  overflow: hidden;
}
.page-header-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 767px) {
.page-header-inner {
    flex-direction: column;
    gap: 0px;
}
}
/* 画像がない時 */
.page-header-inner:not(:has(.page-header-right)) {
  justify-content: center;
}

/* SP */
@media (max-width: 767px) {
  .page-header-inner {
    flex-direction: column;
    text-align: center;
  }

  .page-header-right {
    margin-top: 24px;
  }
}

/* Pricing Page Styles */

.price-table-container {
    overflow-x: auto;
    margin-top: 3rem;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.price-table th,
.price-table td {
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #eee;
}

.price-table th {
    background: #333;
    font-weight: 700;
    color: #FFF;
}

.price-table .highlight-col {
    background: var(--primary);
}

.price-table .locaop-cell {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    background: var(--primary-light);
}

.advantage-tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.sim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sim-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.sim-card.locaop {
    border: 2px solid var(--primary);
    position: relative;
    background: var(--primary-light);
}

.sim-card.locaop::before {
    content: "安くてお得！";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
}

.sim-total {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 1.5rem 0;
}

.sim-total span {
    color: var(--primary);
    font-size: 2.5rem;
}

.highlight-text {
    background: linear-gradient(transparent 70%, #FFDCB5 70%);
    font-weight: 700;
}

.benefit-block {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.reason-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* 2カラム */
.benefit-block.flex-row {
    display: flex;
    align-items: center;    gap: 40px;
    text-align: left;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

/* 理由②左右反転 */
.benefit-block.flex-row.reverse {
    flex-direction: row-reverse;
}

.benefit-image {
    flex: 1;
}

.benefit-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.benefit-content {
    flex: 1.2;
}

.benefit-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--navy);
}
.reason-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff; 
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(254, 74, 38, 0.2);
}

@media (max-width: 767px) {
    .benefit-block.flex-row,
    .benefit-block.flex-row.reverse {
        flex-direction: column; /* 縦並び */
        padding: 2rem 1.5rem;
        gap: 20px;
    }
    
    .benefit-image {
        width: 100%;
        order: 1; /* 画像を上 */
    }
    
    .benefit-content {
        width: 100%;
        order: 2; /* テキストを下 */
    }

    .benefit-content h3 {
        font-size: 1.4rem;
    }
    .price-table {
        font-size: 0.75rem;
    }

    .price-table th,
    .price-table td {
        padding: 0.8rem 0.5rem;
    }
.price-table .locaop-cell {
    font-size: 1rem;
}
}