/*
 * ===========================================
 * style.css | レスポンシブLP最終版
 * ===========================================
 */

/* -------------------------------------------
 * 基本設定
 * ------------------------------------------- */
html {
    /* 1rem = 10px に設定 */
    font-size: 62.5%;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.8rem;
    line-height: 1.6;
    color: #5c4e42;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%; /* 画像が親要素を超えないように */
    height: auto;    /* 高さを自動調整 */
    vertical-align: bottom; /* 画像下の余白防止 */
}

/* リンクの基本スタイル */
a {
    color: #5c4e42;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* -------------------------------------------
 * 共通レイアウト
 * ------------------------------------------- */

/* PC用: コンテンツ幅 880px */
.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* スマホ用: コンテンツ幅 88% */
@media screen and (max-width: 800px) {
    .container {
        width: 88%;
        margin: 0 auto;
        padding: 0;
    }
}

/* -------------------------------------------
 * 共通パーツ（セクションタイトル）
 * ------------------------------------------- */
 
/* PC用 */
.section-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* -------------------------------------------
 * ヘッダー (header)
 * ------------------------------------------- */

/* PC用 */
.header {
    padding: 10px 0; 
}

.header-inner {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.header-logo {
    width: 200px; 
}

.header-tel {
    width: 250px; 
}

.header-logo img,
.header-tel img {
    width: 100%;
}

/* スマホ用 */
@media screen and (max-width: 800px) {
    .header {
        padding: 0; 
    }

    .header-logo {
        width: 30%;
    }

    .header-tel {
        width: 45%;
    }
}

/* -------------------------------------------
 * トップビジュアル (top-visual)
 * ------------------------------------------- */

/* PC用 */
.top-visual {
    width: 100%;
    line-height: 0; 
}
.top-visual img {
    width: 100%; 
    height: auto;
}

.top-visual-sp {
    display: none;
}
.top-visual-pc {
    display: block;
}

/* スマホ用 */
@media screen and (max-width: 800px) {
    .top-visual-sp {
        display: block;
    }
    .top-visual-pc {
        display: none;
    }
}

/* -------------------------------------------
 * 01. 目次 (toc)
 * ------------------------------------------- */

/* PC用 */
.toc {
    padding: 8.0rem 0;
    background: linear-gradient(#fcfaf5, #fcf4e0);
}

.toc-note {
    margin-bottom: 4.0rem;
    max-width: 900px;
    font-size: 1.8rem; /* (統一ルール) */
    line-height: 1.8;
}

.toc-box {
    background-color: #FFFFFF;
    padding: 4.0rem;
    max-width: 600px;
}

.toc-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 3.0rem;
}

.toc-list li {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    line-height: 1;
}
.toc-list li:last-child {
    margin-bottom: 0;
}

.toc-list-indent {
    padding-left: 2.5rem;
}

.toc-list a {
    text-decoration: none;
}

/* スマホ用 */
@media screen and (max-width: 800px) {
    .toc {
        padding: 4.0rem 0;
    }

    .toc-note {
        margin-bottom: 3.0rem;
        max-width: 100%;
        font-size: 1.5rem;
    }

    .toc-box {
        padding: 2.0rem;
        max-width: 100%;
    }

    .toc-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .toc-list li {
		margin-bottom: 0.5rem;
        font-size: 1.5rem;
		line-height: 2rem;
    }

    .toc-list-indent {
        padding-left: 2.0rem;
    }
}

/* -------------------------------------------
 * 02. はじめに (intro)
 * ------------------------------------------- */

/* PC用 */
.intro {
    padding: 8.0rem 0;
}

.intro-title {
    font-size: 3.5rem; /* (統一ルール) */
    text-align: center;
    margin-bottom: 4.0rem;
}

.intro-text {
    margin-bottom: 4.0rem;
}

.intro-text p {
    font-size: 1.8rem; /* (統一ルール) */
    line-height: 1.8; /* (統一ルール) */
    text-align: justify;
    margin-bottom: 2.0rem;
}
.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-buttons {
    margin-bottom: 5.0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-button {
    max-width: 500px; /* (統一ルール) */
    width: 100%; 
}
.intro-button:first-child {
    margin-bottom: 2.0rem;
}
.intro-button a {
    display: block;
    line-height: 0;
}
.intro-button img {
    width: 100%;
}

.intro-note {
    font-size: 1.8rem; /* (統一ルール) */
    line-height: 1.6; /* (統一ルール) */
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* スマホ用 */
@media screen and (max-width: 800px) {
    .intro {
        padding: 4.0rem 0;
    }

    .intro-title {
        font-size: 2.5rem; /* (統一ルール) */
        margin-bottom: 3.0rem;
    }

    .intro-text {
        margin-bottom: 3.0rem;
    }

    .intro-text p {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    .intro-buttons {
        margin-bottom: 3.0rem;
    }

    .intro-button {
        max-width: 100%;
    }
    .intro-button:first-child {
        margin-bottom: 1.5rem;
    }

    .intro-note {
        font-size: 1.4rem;
        line-height: 1.6;
        max-width: 100%;
    }
}

/* -------------------------------------------
 * 03. ラブドイド腫瘍とは？ (about)
 * ------------------------------------------- */

/* PC用 */
.about {
    padding: 8.0rem 0;
    background-color: #fcf4e0;
    background-image: url('../images/03-bg-pc.jpg');
    background-size: cover; 
    background-position: center center;
    background-repeat: no-repeat;
}

.about-title {
    font-size: 3.51rem; /* (統一ルール) */
    text-align: center;
    margin-bottom: 4.0rem;
}

.about-text {
    margin-bottom: 4.0rem;
}
.about-text p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: justify;
}

.about-box {
    background-color: #FFFFFF;
    padding: 6.0rem; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-box-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: #5c4e42;
    margin-bottom: 3.0rem;
}

.about-box-image {
    text-align: center;
    margin-bottom: 4.0rem;
}
.about-box-image .about-img-sp {
    display: none;
}
.about-box-image .about-img-pc {
    display: inline-block;
    width: 100%;
    max-width: 600px;
}

.about-box-text p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1.8rem;
}
.about-box-text p:last-child {
    margin-bottom: 0;
}

/* スマホ用 */
@media screen and (max-width: 800px) {
    .about {
        padding: 4.0rem 0;
        background-image: url('../images/03-bg-sp.jpg');
    }

    .about-title {
        font-size: 2.5rem; /* (統一ルール) */
        margin-bottom: 3.0rem;
    }

    .about-text {
        margin-bottom: 3.0rem;
    }
    .about-text p {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    .about-box {
        padding: 2.0rem;
        border-radius: 6px;
    }

    .about-box-title {
        font-size: 1.5rem; 
        margin-bottom: 2.5rem;
    }

    .about-box-image {
        margin-bottom: 2.5rem;
    }
    .about-box-image .about-img-sp {
        display: inline-block;
        width: 100%;
    }
    .about-box-image .about-img-pc {
        display: none;
    }

    .about-box-text p {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 1.7rem;
    }
}

/* -------------------------------------------
 * 04. 治験（臨床試験）とは？ (trial)
 * ------------------------------------------- */

/* PC用 */
.trial {
    padding: 8.0rem 0;
    background-color: #FFFFFF;
}

.trial-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4.0rem;
}

.trial-text {
    margin-bottom: 4.0rem;
}
.trial-text p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1.8rem;
}
.trial-text p:last-child {
    margin-bottom: 0;
}

.trial-image {
    text-align: center;
    margin-bottom: 4.0rem;
}
.trial-image .trial-img-sp {
    display: none;
}
.trial-image .trial-img-pc {
    display: inline-block;
    width: 100%;
}

.trial-button-lead {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.0rem;
}

.trial-button {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 4.0rem;
}
.trial-button a {
    display: block;
    line-height: 0;
}
.trial-button img {
    width: 100%;
}

.trial-note {
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: left;
}
.trial-note a {
    font-weight: 700;
}

/* スマホ用 */
@media screen and (max-width: 800px) {
    .trial {
        padding: 4.0rem 0;
    }

    .trial-title {
        font-size: 2.5rem;
        margin-bottom: 3.0rem;
    }

    .trial-text {
        margin-bottom: 3.0rem;
    }
    .trial-text p {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 1.7rem;
    }

    .trial-image {
        margin-bottom: 3.0rem;
    }
    .trial-image .trial-img-sp {
        display: inline-block;
        width: 100%;
    }
    .trial-image .trial-img-pc {
        display: none;
    }
    
    .trial-button-lead {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .trial-button {
        margin-bottom: 3.0rem;
    }

    .trial-note {
        font-size: 1.4rem;
        line-height: 1.6;
    }
}

/* -------------------------------------------
 * 05. 治験薬について (drug)
 * ------------------------------------------- */

/* PC用 */
.drug {
    padding: 8.0rem 0;
    background-color: #fcf4e0;
    background-image: url('../images/05-bg-pc.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.drug-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4.0rem;
}

.drug-box {
    background-color: #FFFFFF;
    padding: 6.0rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.drug-text p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: justify;
}

.drug-box .drug-text:first-of-type {
    margin-bottom: 3.0rem;
}

.drug-image {
    text-align: center;
    margin-bottom: 3.0rem;
}
.drug-image .drug-img-sp {
    display: none;
}
.drug-image .drug-img-pc {
    display: inline-block;
    width: 100%;
    max-width: 500px;
}

.drug-button {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    margin-top: 4.0rem;
}
.drug-button a {
    display: block;
    line-height: 0;
}
.drug-button img {
    width: 100%;
}

/* スマホ用 */
@media screen and (max-width: 800px) {
    .drug {
        padding: 4.0rem 0;
        background-image: url('../images/05-bg-sp.jpg');
    }

    .drug-title {
        font-size: 2.5rem;
        margin-bottom: 3.0rem;
    }

    .drug-box {
        padding: 2.0rem;
    }

    .drug-text p {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    .drug-box .drug-text:first-of-type {
        margin-bottom: 2.5rem;
    }

    .drug-image {
        margin-bottom: 2.5rem;
    }
    .drug-image .drug-img-sp {
        display: inline-block;
        width: 100%;
    }
    .drug-image .drug-img-pc {
        display: none;
    }

    .drug-button {
        margin-top: 3.0rem;
    }
}

/* -------------------------------------------
 * 06. 本治験の参加条件 (condition)
 * ------------------------------------------- */

/* PC用 */
.condition {
    padding: 8.0rem 0;
    background-color: #FFFFFF;
}

.condition-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4.0rem;
}

.condition-box {
    background-color: #FFFFFF;
    border: 1.5px solid #5c4e42;
    box-shadow: 5px 5px 0 #ffd76b;
    padding: 6.0rem;
    margin-bottom: 4.0rem;
}

.condition-box-text {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: justify;
}

.condition-list {
    margin: 2.0rem 0;
}

.condition-list li {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 2.0rem;
}
.condition-list li:last-child {
    margin-bottom: 0;
}

.condition-list li::before {
    content: '';
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    background-color: #ffd76b;
    position: absolute;
    left: 0.5rem;
    top: 0.6em;
}

.condition-lead-text {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 700;
    text-align: left;
    margin-bottom: 4.0rem;
}

.condition-button {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}
.condition-button a {
    display: block;
    line-height: 0;
}
.condition-button img {
    width: 100%;
}

/* スマホ用 */
@media screen and (max-width: 800px) {
    .condition {
        padding: 4.0rem 0;
    }

    .condition-title {
        font-size: 2.5rem;
        margin-bottom: 3.0rem;
    }

    .condition-box {
        padding: 1.7rem;
        margin-bottom: 3.0rem;
        box-shadow: 5px 5px 0 #ffd76b;
    }

    .condition-box-text {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    .condition-list {
        margin: 2.5rem 0;
    }

    .condition-list li {
        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 0.6rem;
        padding-left: 1.8rem;
    }

    .condition-list li::before {
        width: 0.7rem;
        height: 0.7rem;
        left: 0.4rem;
        top: 0.5em;
    }

    .condition-lead-text {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 3.0rem;
    }
}

/* -------------------------------------------
 * 07. 治験の流れ (flow)
 * ------------------------------------------- */

/* PC用 */
.flow {
    padding: 8.0rem 0;
    background-color: #e5f6ff;
    background-image: url('../images/07-bg-pc.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.flow-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4.0rem;
}

.flow-step-box {
    background-color: #FFFFFF;
    border: 1.5px solid #5c4e42;
    position: relative;
    padding: 6.0rem;
    margin-top: 4.0rem;
    margin-bottom: 4.0rem;
}

.flow-step-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.9rem; 
    font-weight: 700;
    color: #FFFFFF;
    background-color: #5c4e42;
    position: absolute;
    top: -2.0rem;
    left: 0;
    height: 4.0rem;
    padding: 0 2.0rem;
    line-height: 4.0rem;
}

.flow-steps .flow-step-box:first-child {
    margin-top: 2.0rem;
}
.flow-steps .flow-step-box:last-child {
    margin-bottom: 0;
}

.flow-steps {
    margin-bottom: 4.0rem;
}

.flow-step-image {
    text-align: center;
    margin-bottom: 3.0rem;
}
.flow-step-image img {
    max-width: 300px;
    width: 100%;
}

.flow-step-text p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: left;
}
.flow-step-text p:not(:last-child) {
    margin-bottom: 1.8rem;
}


.flow-button {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}
.flow-button a {
    display: block;
    line-height: 0;
}
.flow-button img {
    width: 100%;
}

/* スマホ用 */
@media screen and (max-width: 800px) {
    .flow {
        padding: 4.0rem 0;
        background-image: url('../images/07-bg-sp.jpg');
    }

    .flow-title {
        font-size: 2.5rem;
        margin-bottom: 3.0rem;
    }

    .flow-step-box {
        padding: 4.0rem 2.0rem 2.0rem 2.0rem; 
        margin-bottom: 3.0rem;
        margin-top: 3.0rem;
    }

    .flow-step-title {
        font-size: 1.5rem;
        position: absolute;
        top: -1.7rem;
        left: 0;
        height: auto;
        line-height: 1.4;
        padding: 0.7rem 1.5rem; 
        width: auto; 
        max-width: 100%; 
        box-sizing: border-box; 
    }

    .flow-steps .flow-step-box:first-child {
        margin-top: 1.7rem;
    }

    .flow-steps {
        margin-bottom: 3.0rem;
    }
    
    .flow-step-image {
        margin-bottom: 2.5rem;
    }
    .flow-step-image img {
        max-width: 250px;
    }
    
    .flow-step-text p {
        font-size: 1.5rem;
        line-height: 1.7;
    }
}

/* -------------------------------------------
 * 08. Q&A (qa)
 * ------------------------------------------- */

/* PC用 */
.qa {
    padding: 8.0rem 0;
    background-color: #003f73;
}

.qa-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4.0rem;
    color: #FFFFFF;
}

.qa-list {
    margin-bottom: 4.0rem;
}

.qa-item {
    margin-bottom: 2.0rem;
}
.qa-item:last-child {
    margin-bottom: 0;
}

.qa-question {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 5.0rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4.0rem;
    
    cursor: pointer;
    transition: border-radius 0.3s ease-out;
}

.qa-q-icon {
    flex-shrink: 0;
    width: 40px;
}

.qa-q-text {
    flex-grow: 1;
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 700;
    text-align: left;
}

.qa-toggle-icon {
    flex-shrink: 0;
    width: 30px;
}
.qa-icon-minus {
    display: none;
}

/* 回答（A）の領域 */
.qa-answer {
    background-color: #f9f4e5;
    border-radius: 0 0 10px 10px; 
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.qa-answer-inner {
    padding: 6.0rem;
}
.qa-answer-inner p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1.8rem;
}
.qa-answer-inner p:last-child {
    margin-bottom: 0;
}

/* --- 開いた状態 (is-open) --- */
.qa-item.is-open .qa-question {
    border-radius: 10px 10px 0 0; 
}
.qa-item.is-open .qa-answer {
    max-height: 150rem; 
}
.qa-item.is-open .qa-icon-plus {
    display: none;
}
.qa-item.is-open .qa-icon-minus {
    display: block;
}

.qa-button {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}
.qa-button a {
    display: block;
    line-height: 0;
}
.qa-button img {
    width: 100%;
}


/* スマホ用 */
@media screen and (max-width: 800px) {
    .qa {
        padding: 4.0rem 0;
    }

    .qa-title {
        font-size: 2.5rem;
        margin-bottom: 3.0rem;
    }
    
    .qa-list {
        margin-bottom: 3.0rem;
    }

    .qa-question {
        padding: 1.5rem 2.0rem;
        gap: 1.5rem;
    }

    .qa-q-icon {
        width: 30px;
    }
    .qa-q-text {
        font-size: 1.5rem;
        line-height: 1.7;
    }
    .qa-toggle-icon {
        width: 25px;
    }
    
    .qa-answer-inner {
        padding: 2.0rem;
    }
    .qa-answer-inner p {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 1.7rem;
    }
}

/* -------------------------------------------
 * 09. 実施医療機関所在地 (location)
 * ------------------------------------------- */

/* PC用 */
.location {
    padding: 8.0rem 0;
    background: linear-gradient(#fcfaf5, #edddb2);
}

.location-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1.0rem;
}

.location-update {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 4.0rem;
}

.location-text {
    margin-bottom: 3.0rem;
}
.location-text p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: left;
}

/* 白ボックス */
.location-box {
    background-color: #FFFFFF;
    padding: 5.0rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 3.0rem;
}

/* 画像エリア */
.location-box-image {
    flex: 1;
    text-align: center;
}
.location-box-image img {
    max-width: 250px;
    width: 100%;
}

/* リストエリア (2列) */
.location-box-lists {
    flex: 1.5;
    display: flex;
    justify-content: space-around;
    gap: 2.0rem;
}

.location-list {
    list-style: none;
}
.location-list li {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 1.0rem;
}
.location-list li:last-child {
    margin-bottom: 0;
}


/* スマホ用 */
@media screen and (max-width: 800px) {
    .location {
        padding: 4.0rem 0;
    }

    .location-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .location-update {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 3.0rem;
    }

    .location-text {
        margin-bottom: 3.0rem;
    }
    .location-text p {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    /* 白ボックス */
    .location-box {
        padding: 1.5rem;
        flex-direction: column;
    }

    /* 画像エリア */
    .location-box-image {
        width: 100%;
        text-align: center;
        margin-bottom: 0rem;
    }
    .location-box-image img {
        max-width: 200px;
    }

    /* リストエリア (2列) */
    .location-box-lists {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    .location-list {
        padding: 0 0.2rem;
    }
    .location-list li {
        font-size: 1.5rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }
}

/* -------------------------------------------
 * 10. お問い合わせ・お申込み (contact)
 * ------------------------------------------- */

/* PC用 */
.contact {
    padding: 8.0rem 0;
    background-color: #fcf4e0;
    background-image: url('../images/03-bg-pc.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.contact-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4.0rem;
}

.contact-intro {
    margin-bottom: 4.0rem;
}
.contact-intro p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: justify;
}

/* コンテンツエリア (PCのみ幅を狭める) */
.contact-body {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.contact-block {
    margin-bottom: 4.0rem;
}
.contact-block:last-child {
    margin-bottom: 0;
}

.contact-block-title {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 700;
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-button {
    width: 100%;
    margin-bottom: 1.5rem;
}
.contact-button a {
    display: block;
    line-height: 0;
    transition: opacity 0.3s;
}
.contact-button a:hover {
    opacity: 0.7;
}
.contact-button img {
    width: 100%;
}

/* 通常の注釈 */
.contact-note {
    font-size: 1.6rem; /* 注釈ルール(1.1rem)ではなく、本文-2ptルール(1.0rem)を適用 */
    line-height: 1.6;
    text-align: left;
    margin-bottom: 1.0rem;
}



/* スマホ用 */
@media screen and (max-width: 800px) {
    .contact {
        padding: 4.0rem 0;
        background-image: url('../images/03-bg-sp.jpg');
    }

    .contact-title {
        font-size: 2.5rem;
        margin-bottom: 3.0rem;
    }

    .contact-intro {
        margin-bottom: 3.0rem;
    }
    .contact-intro p {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    /* コンテンツエリア (スマホでは制限解除) */
    .contact-body {
        max-width: 100%;
    }

    .contact-block {
        margin-bottom: 3.0rem;
    }

    .contact-block-title {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }

    .contact-button {
        margin-bottom: 1.2rem;
    }

    .contact-note {
        font-size: 1.4rem; /* 注釈ルールを適用 */
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    

    .contact-small {
        font-size: 1.4rem;
        line-height: 1.3;
    }
}

/* -------------------------------------------
 * 11. お申し込みから治験参加までの流れ (flow-chart)
 * ------------------------------------------- */

/* PC用 */
.flow-chart {
    padding: 8.0rem 0;
    background-color: #FFFFFF;
}

/* .flow-chart セクションのコンテナのみを 550px に制限 */
.flow-chart .container {
    max-width: 600px;
}

.flowchart-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4.0rem;
	line-height: 1.4;
}

.flowchart-image {
    text-align: center;
    margin-bottom: 4.0rem;
}

.flowchart-img-sp {
    display: none;
}
.flowchart-img-pc {
    display: inline-block;
    width: 100%;
    height: auto;
}

.flowchart-note {
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: left;
}


/* スマホ用 */
@media screen and (max-width: 800px) {
    .flow-chart {
        padding: 4.0rem 0;
    }

    .flowchart-title {
        font-size:2.5rem;
        margin-bottom: 3.0rem;
		line-height: 1.4;
    }

    .flowchart-image {
        margin-bottom: 3.0rem;
    }

    .flowchart-img-sp {
        display: inline-block;
        width: 100%;
        height: auto;
    }
    .flowchart-img-pc {
        display: none;
    }

    .flowchart-note {
        font-size: 1.5rem;
        line-height: 1.6;
    }
}

/* -------------------------------------------
 * 12. 主治医向けページ (doctor)
 * ------------------------------------------- */

/* PC用 */
.doctor {
    padding: 8.0rem 0;
    background: linear-gradient(#edddb2, #f9f3e4);
}

.doctor-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4.0rem;
}

.doctor-text {
    margin-bottom: 2.0rem;
    text-align: center;
}
.doctor-text p {
    font-size: 1.8rem;
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}


.doctor-button {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}
.doctor-button a {
    display: block;
    line-height: 0;
}
.doctor-button img {
    width: 100%;
}


/* スマホ用 */
@media screen and (max-width: 800px) {
    .doctor {
        padding: 4.0rem 0;
    }

    .doctor-title {
        font-size: 2.5rem;
        margin-bottom: 3.0rem;
    }

    .doctor-text {
        margin-bottom: 1.5rem;
    }
    .doctor-text p {
        font-size: 1.5rem;
        line-height: 1.7;
        max-width: 100%;
        text-align: left;
    }
}

/* -------------------------------------------
 * 13. 個人情報の取扱いについて (privacy)
 * ------------------------------------------- */

/* PC用 */
.privacy {
    padding: 8.0rem 0;
    background-color: #FFFFFF;
}

.privacy-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4.0rem;
}

.privacy-text {
    margin-bottom: 4.0rem;
}
.privacy-text p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: justify;
    max-width: 100%;
    margin: 0 auto;
}

.privacy-link-lead {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.9rem;
    font-weight: 700;
    text-align: center;
}

.privacy-link-lead a {
    color: #c40018;
    text-decoration: none;
    transition: opacity 0.3s;
}
.privacy-link-lead a:hover {
    opacity: 0.7;
}


/* スマホ用 */
@media screen and (max-width: 800px) {
    .privacy {
        padding: 4.0rem 0;
    }

    .privacy-title {
        font-size: 2.5rem;
        margin-bottom: 3.0rem;
    }

    .privacy-text {
        margin-bottom: 3.0rem;
    }
    .privacy-text p {
        font-size: 1.5rem;
        line-height: 1.7;
        max-width: 100%;
    }

    .privacy-link-lead {
        font-size: 1.6rem;
    }
}

/* -------------------------------------------
 * 14. フッター (footer)
 * ------------------------------------------- */

/* PC用 */
.footer {
    background-color: #FFFFFF;
}

.footer-note {
    background-color: #dbdbdb; 
    padding: 2.0rem 0; 
}
.footer-note-container p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: left;
}

.footer-main {
    padding: 4.0rem 0 6.0rem;
}

.footer-img-sp {
    display: none;
}
.footer-img-pc {
    display: block;
    width: 100%;
    height: auto;
}


/* スマホ用 */
@media screen and (max-width: 800px) {
    .footer-note {
        padding: 1.5rem 0;
    }
    .footer-note-container p {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    .footer-main {
        padding: 3.0rem 0 4.0rem;
    }

    .footer-img-sp {
        display: block;
        width: 100%;
        height: auto;
    }
    .footer-img-pc {
        display: none;
    }
}


/* -------------------------------------------
 * モーダルウィンドウ (doctor-modal)
 * ------------------------------------------- */

/* PC・スマホ共通 */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    
    display: flex; 
    justify-content: center;
    align-items: center;

    background-color: rgba(0, 0, 0, 0.7); 
}
.modal-wrapper.is-active {
    opacity: 1;
    visibility: visible;
}

/* モーダルコンテンツ本体 */
.modal-content {
    background-color: #FFFFFF;
    color: #5c4e42;
    max-width: 90%;
    width: 450px;
    text-align: center;
    border-radius: 8px;
    padding: 0; 
    overflow: hidden;
}

/* タイトル部 (上部の濃いベージュ色部分) */
.modal-header {
    background-color: #e8d8b4; 
    padding: 2.0rem 4.0rem;
    font-family: 'Noto Serif JP', serif;
}

.modal-message {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* 質問部 */
.modal-question {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 3.0rem 4.0rem;
    padding: 0;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 3.0rem; 
    padding: 0 4.0rem 4.0rem 4.0rem; 
}

.modal-btn {
    width: 120px;
    padding: 1.0rem 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 700;
    transition: opacity 0.3s;
    
    background-color: #f2e9d0; 
    color: #5c4e42;
}
.modal-btn:hover {
    opacity: 0.8;
}

/* スマホ調整 */
@media screen and (max-width: 800px) {
    .modal-content {
        width: 90%;
    }
    .modal-header {
        padding: 1.5rem 2.0rem;
    }
    .modal-message {
        font-size: 1.6rem;
    }
    .modal-question {
        font-size: 1.5rem;
        margin: 2.5rem 2.0rem;
    }
    .modal-actions {
        gap: 2.0rem;
        padding: 0 2.0rem 2.5rem 2.0rem;
    }
    .modal-btn {
        width: 100px;
        font-size: 1.5rem;
    }
}