/* --- 基本設定 --- */
:root {
    --docomo-red: #da291c; /* ドコモ風レッド */
    --text-black: #333333;
    --text-gray: #666666;
    --bg-light-gray: #f4f4f4;
    --accent-yellow: #ffcc00;
    --font-base: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

body {
    font-family: var(--font-base);
    line-height: 1.6;
    color: var(--text-black);
    margin: 0;
    padding: 0;
    background-color: #fff;
}

a {
    color: var(--docomo-red);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ユーティリティ --- */
.text-center { text-align: center; }
.text-red { color: var(--docomo-red); }
.bold { font-weight: bold; }
.hidden-sp { display: block; }
.hidden-pc { display: none; }

@media (max-width: 800px) {
    .hidden-sp { display: none; }
    .hidden-pc { display: block; }
}

/* --- ヘッダー --- */
header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.header-inner {
    display: flex;
    align-items: center;
}
.header-inner img {
    width: 100px;
}


/* --- メインビジュアル (Hero) --- */
div.main_kv {
    background-color: #efefef;
}

h1{
    margin: 0;
    padding: 0;
}
img.kv_pc {
    margin: 0 auto;
    max-width: 100%;
    max-height: 400px;
}
img.kv_sp {
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

/* --- 共通セクションスタイル --- */
section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--docomo-red);
}

/* --- キャンペーン内容 --- */
.overview-section {
    background-color: #fff;
}
.overview-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.overview-text {
    flex: 1;
    max-width: 600px;
}
.overview-image img {
    max-width: 250px;
}
@media (max-width: 768px) {
    .overview-block {
        flex-direction: column;
    }
    .img-placeholder {
        text-align: center;
    }
    .overview-image img {
        max-width: 40%;
    }
}

/* --- 対象者・特典チェック --- */
.targets-section {
    background-color: #f9f9f9;
}
.targets-container {
    display: flex;
    gap: 30px;
}
.target-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.target-box-title {
    text-align: left;
}
.target-plan-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px 0;
    border-bottom: solid 3px #ddd;
    padding: 5px 15px;
}
.target-plan-name:nth-child(2) {
    font-size: 14px;
    font-weight: bold;
    margin: 20px 0 0 0;
    border-bottom: none;
    padding: 0 15px;
}

.target-box-in {
    display: flex;
    flex-direction: initial;
    flex: 1;
    align-items: end;
    justify-content: center;
    margin-top: 10px;
}
.target-box-content .target-box-title {
    text-align: left;
}
.target-box-content .target-box-text {
    text-align: left;
    margin-left: 1rem;
}
.target-box-content .target-box-text p {
    text-indent: -1rem;
}
.target-box .target-box-gb img {
    width: 60%;
}

span.target-box-text-red {
    color: #da291c;
    font-weight: bold;
}
p.target-box-text-small {
    font-size: 12px;
}

@media (max-width: 768px) {
    .targets-container {
        flex-direction: column;
    }
    .target-plan-name {
        min-height: auto;
    }
    .target-box {
        width: 80%;
        margin: 0 auto;
    }
}

/* --- 3ステップ --- */
.steps-section {
    background-color: #fff;
}
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.step-icon {
    display: flex;
    flex-direction: column;
}
.step-box {
    flex: 1;
    background: var(--bg-light-gray);
    padding: 0 0 20px 0;
    border-radius: 8px;
    text-align: center;
    margin: 0 15px;
    position: relative;
}
.steps-container .step-box:nth-child(1) {
    margin: 0 15px 0 0;
}
.steps-container .step-box:nth-child(3) {
    margin: 0 0 0 15px;
}

.step-header {
    background-color: var(--text-gray);
    color: white;
    padding: 10px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
}
.step-icon img {
    /*width: 80px;*/
    height: 80px;
    margin-bottom: 15px;
}
.step-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.step-desc {
    font-size: 0.9rem;
    padding: 0 15px;
    text-align: left;
}

/* 矢印（PCのみ） */
.step-box::after {
    content: "▶";
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--text-gray);
}
.step-box:last-child::after {
    content: none;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
    }
    .step-box {
        margin: 0 0 30px 0;
    }
    .step-box::after {
        content: "▼";
        right: 50%;
        top: auto;
        bottom: -42px;
        transform: translateX(50%);
    }
    .steps-container .step-box:nth-child(1) {
        margin: 0 0 30px 0;
    }
    .steps-container .step-box:nth-child(3) {
        margin: 0;
    }
}

/* --- 概要 --- */
.accordion_title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
    position: relative;
    display: block;
    border: none;
    list-style: none;
}
.accordion_title:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--docomo-red);
}
.accordion_contents {
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 30px;
}
.accordion_contents > *:first-of-type {
  margin-top: 0;
}
.accordion_contents > *:last-of-type {
  margin-bottom: 0;
}
.accordion_contents dl dt {
    padding: 15px 20px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}
.accordion_contents dl dd {
    padding: 15px 20px;
    margin-inline: 0;
    margin-inline: 0;
}
/*.accordion  {
  margin-inline: 0;
}
.accordion summary:focus {
    outline: none;
    box-shadow: none;
    cursor: pointer;
}
summary.accordion_title::-webkit-details-marker {
  display: none !important;
}
.accordion_title:after {
  content: "+";
  position: absolute;
  top: calc(50% - 50%);
  right: 30px;
  line-height: 1;
  padding: 0;
  pointer-events: none;
  font-size: 35px;
}
.accordion::details-contents {
  opacity: 0;
  block-size: 0;
  transition: .3s;
  transition-property: display, opacity, block-size, padding;
  transition-behavior: allow-discrete;
  line-height: 1.6em;
}
.accordion[open]::details-contents {
  opacity: 1;
  block-size: auto;
  block-size: calc-size(auto, size);
}
.accordion[open] .accordion_title:after {
  content: "－";
}
@media (max-width: 768px) {
    .accordion_title:after {
        top: calc(50% - 46%);
        right: 15px;
    }
}*/

/* --- FAQ --- */
.faq-section {
    background-color: var(--bg-light-gray);
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-q {
    padding: 15px 20px;
    font-weight: bold;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
}
.faq-q::before {
    content: "Q.";
    color: var(--docomo-red);
    font-size: 1.2rem;
    margin-right: 10px;
}
.faq-a {
    padding: 15px 20px 15px 50px;
    display: flex;
    align-items: flex-start;
}
.faq-a::before {
    content: "A.";
    color: var(--text-gray);
    font-weight: bold;
    margin-right: 10px;
    margin-left: -30px;
}
.faq-a ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

/* --- ご注意事項 --- */
.notes-section {
    background-color: #fff;
    padding: 40px 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}
.notes-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.notes-list {
    padding-left: 20px;
}
.notes-list li {
    margin-bottom: 10px;
}

/* --- フッター --- */
footer {
    background-color: #222;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer-links {
    margin-bottom: 20px;
}
.footer-links a {
    color: #fff;
    margin: 0 10px;
}
.copyright {
    color: #999;
}