/* ==================================================
   出版案内 詳細ページ｜共通デザイン v3
   style.html / textbook.html / translation.html
================================================== */
#common .detail-page {
    max-width: 960px;
    color: #3f3b36;
}
#common .detail-page > h1 { margin-bottom: 1.35rem; }
#common .detail-page__intro {
    max-width: 860px;
    margin: 0 auto 2.9rem;
    text-align: center;
}
#common .detail-page__intro p {
    margin: 0;
    color: #55504b;
    font-size: 1rem;
    line-height: 1.9;
}
#common .detail-section { margin-top: 4.6rem; }
#common .detail-section__title { margin: 0 0 1.8rem; }
#common .detail-section p,
#common .detail-hero p { margin: 0 0 1.05rem; line-height: 2; }
#common .detail-section p:last-child,
#common .detail-hero p:last-child { margin-bottom: 0; }
#common .desktop-only-break { display: inline; }

/* 導入部：文章を主役にし、画像は別段で十分な大きさを確保 */
#common .detail-hero { margin: 0 0 4.2rem; }
#common .detail-hero--stacked .detail-hero__text {
    max-width: 820px;
    margin: 0 auto 2.25rem;
}
#common .detail-cover-gallery {
    display: grid;
    margin: 0 auto;
}
#common .detail-cover-gallery--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 680px;
}
#common .detail-cover-gallery--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    max-width: 900px;
}
#common .detail-cover-gallery__item { margin: 0; }
#common .detail-cover-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* 出版方法の導入画像は本文横の補助図として扱う */
#common .detail-hero--style {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr);
    gap: 2.8rem;
    align-items: center;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
#common .detail-hero--style .detail-hero__image { margin: 0; }
#common .detail-hero--style .detail-hero__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* 出版方法：5つの出版形態を同格で明確に見せる */
#common .publishing-method-list {
    border-top: 0;
    border-bottom: 1px solid #d8d1c9;
}

#common .publishing-method {
    display: grid;
    grid-template-columns: 4rem 13.5rem minmax(0, 1fr);
    gap: 1.15rem 1.5rem;
    align-items: start;
    padding: 1.6rem .35rem;
    border-bottom: 1px solid #ddd7d0;
}

#common .publishing-method:first-child {
    padding-top: 1.15rem;
}

#common .publishing-method:last-child {
    border-bottom: 0;
}

#common .publishing-method__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    border: 1px solid #aa8e70;
    border-radius: 50%;
    color: #76583a;
    font-family: 'Lato', sans-serif;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .03em;
}

#common .publishing-method__heading {
    padding-top: .18rem;
}

#common .publishing-method__title {
    position: relative;
    margin: 0;
    padding-left: .9rem;
    border: 0;
    color: #40362e;
    font-size: 1.25rem;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: .035em;
}

#common .publishing-method__title::before {
    content: '';
    position: absolute;
    top: .2em;
    bottom: .2em;
    left: 0;
    width: 3px;
    background: #a98a68;
}

#common .publishing-method .detail-definition-row__body {
    padding-top: .08rem;
}

#common .publishing-method .detail-definition-row__body p {
    margin: 0;
    line-height: 1.95;
}
#common .detail-text-link {
    display: inline-block;
    margin-top: .72rem;
    color: #76583a;
    font-weight: 700;
    text-decoration: none;
}
#common .detail-text-link::before { content: '›'; margin-right: .45rem; }
#common .detail-mini-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
    max-width: 720px;
    margin: 2rem auto 0;
}
#common .detail-mini-gallery__item { margin: 0; }
#common .detail-mini-gallery__item img {
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:3/2;
    object-fit:cover;
}

/* 教科書ページ：相談例を「自分にも当てはまる」と拾いやすくする */
#common .textbook-needs { margin-top: 4.5rem; }

#common .textbook-needs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 1.65rem 0 0;
    padding: 0;
    list-style: none;
}

#common .textbook-needs-list__item {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    min-height: 4.6rem;
    padding: .95rem 1.05rem;
    background: #faf8f5;
    color: #4f4a45;
    line-height: 1.75;
}

#common .textbook-needs-list__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid #a98a68;
    border-radius: 50%;
    color: #7b5d3f;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

/* 注意案内：下線を重ねず、左アクセントと余白で区別 */
#common .detail-note {
    margin: 2rem 0 0;
    padding: 1.45rem 1.6rem 1.5rem;
    border: 0;
    border-left: 4px solid #9a7957;
    background: #faf8f5;
}


#common .detail-note__lead {
    margin: 0 0 .85rem;
    color: #5e4732;
    font-size: 1.04rem;
    line-height: 1.8;
}

#common .detail-note__lead strong {
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-color: #a98a68;
    text-decoration-thickness: 1px;
    text-underline-offset: .3em;
}

/* 工程：番号を視線の起点にし、見出し内の下線は使わない */
#common .detail-process-list {
    margin: 1.7rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: process;
    border-top: 1px solid #cfc8c0;
}
#common .detail-process-list__item {
    counter-increment: process;
    display: grid;
    grid-template-columns: 4.2rem 14.5rem minmax(0,1fr);
    gap: 1.25rem;
    align-items: start;
    padding: 1.55rem .2rem;
    border-bottom: 1px solid #ddd7d0;
}
#common .detail-process-list__item::before {
    content: counter(process, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid #9b7f61;
    border-radius: 50%;
    color: #76583a;
    font-family: 'Lato', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}
#common .detail-process-list__item h3 {
    margin: .15rem 0 0;
    padding: 0;
    border: 0;
    color: #5e4732;
    font-size: .98rem;
    line-height: 1.65;
    font-weight: 700;
    word-break: keep-all;
}
#common .detail-process-list__item p {
    margin: 0;
    line-height: 1.95;
}


@media screen and (max-width: 900px) {
    #common .detail-hero--style {
        grid-template-columns: minmax(0,1fr) minmax(240px,.72fr);
        gap: 2rem;
    }
    #common .publishing-method {
        grid-template-columns: 4rem 9.5rem minmax(0,1fr);
        gap: 1rem;
    }
    #common .detail-process-list__item {
        grid-template-columns: 3.7rem 12rem minmax(0,1fr);
        gap: 1rem;
    }
}

@media screen and (max-width: 767px) {
    #common .detail-page__intro { margin-bottom: 2.1rem; text-align: left; }
    #common .desktop-only-break { display: none; }
    #common .detail-section { margin-top: 3.4rem; }
    #common .detail-hero { margin-bottom: 3.25rem; }
    #common .detail-hero--stacked .detail-hero__text { margin-bottom: 1.55rem; }
    #common .detail-cover-gallery--two,
    #common .detail-cover-gallery--four {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: .75rem;
    }
    #common .detail-hero--style {
        grid-template-columns: 1fr;
        gap: 1.45rem;
    }
    #common .detail-hero--style .detail-hero__image {
        max-width: 520px;
        margin: 0 auto;
    }
    #common .publishing-method {
        grid-template-columns: 2.8rem minmax(0,1fr);
        gap: .45rem .8rem;
        padding: 1.25rem 0;
    }
    #common .publishing-method__number {
        width: 2.2rem;
        height: 2.2rem;
        font-size: .88rem;
    }
    #common .publishing-method__heading { padding-top: .05rem; }
    #common .publishing-method__title {
        padding-left: .75rem;
        font-size: 1.12rem;
    }
    #common .publishing-method .detail-definition-row__body {
        grid-column: 2;
        padding-top: .15rem;
    }
    #common .detail-mini-gallery { grid-template-columns: 1fr; }
    #common .textbook-needs-list { grid-template-columns: 1fr; gap: .65rem; }
    #common .textbook-needs-list__item { min-height: 0; padding: .85rem .9rem; }
    #common .detail-note { padding: 1.2rem 1.1rem 1.25rem; }
    #common .detail-process-list__item {
        grid-template-columns: 3.15rem minmax(0,1fr);
        gap: .2rem .8rem;
        padding: 1.3rem 0;
    }
    #common .detail-process-list__item::before {
        width: 2.4rem;
        height: 2.4rem;
        font-size: .92rem;
    }
    #common .detail-process-list__item h3 {
        grid-column: 2;
        margin-top: .15rem;
        font-size: 1rem;
    }
    #common .detail-process-list__item p {
        grid-column: 2;
        margin-top: .45rem;
    }
}

/* ==================================================
   詳細ページ 第2グループ
   装幀・本づくりの工程・本の仕様
================================================== */

#common .detail-intro--binding {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 2.5rem;
    align-items: center;
    margin: 1.5rem 0 4.8rem;
}

#common .binding-intro-visual {
    margin: 0;
    text-align: center;
}

#common .binding-intro-visual img {
    width: 100%;
    max-width: 340px;
    height: auto;
    box-shadow: 0 12px 28px rgba(52, 42, 32, .12);
}

#common .binding-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem 1.1rem;
    margin: 1.7rem 0 0;
    padding: 0;
    list-style: none;
}

#common .binding-feature-list li {
    display: grid;
    grid-template-columns: 2.45rem minmax(0, 1fr);
    gap: .8rem;
    align-items: start;
    padding: 1.15rem 1.2rem;
    background: #faf8f5;
}

#common .binding-feature-list span {
    color: #9a7a59;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
}

#common .binding-feature-list p {
    margin: 0;
    line-height: 1.85;
}

#common .binding-example {
    margin-top: 5rem;
}


#common .binding-gallery {
    display: grid;
    gap: 1.1rem;
}

#common .binding-gallery--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#common .binding-gallery figure {
    margin: 0;
    background: #f7f4f0;
    overflow: hidden;
}

#common .binding-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

/* 工程 */
#common .flow-timeline {
    position: relative;
    margin-top: 3.8rem;
}

#common .flow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 3rem;
    width: 1px;
    background: #d9d1c8;
}

#common .flow-step {
    position: relative;
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) 190px;
    gap: 1.6rem;
    align-items: center;
    padding: 0 0 2.6rem;
}

#common .flow-step:last-child {
    padding-bottom: 0;
}

#common .flow-step__number {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 4.8rem;
    height: 4.8rem;
    margin-left: .6rem;
    border: 1px solid #a98a68;
    border-radius: 50%;
    background: #fff;
    color: #74583c;
    line-height: 1;
}

#common .flow-step__number span {
    margin-bottom: .25rem;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
}

#common .flow-step__number strong {
    font-size: 1.35rem;
    font-weight: 700;
}

#common .flow-step__content {
    padding: 1.55rem 0;
}

#common .flow-step__content h2 {
    margin: 0 0 .65rem;
    padding: 0;
    border: 0;
    color: #40362e;
    font-size: 1.25rem;
    line-height: 1.55;
    font-weight: 700;
}

#common .flow-step__content p {
    margin: 0;
    line-height: 1.95;
}

#common .flow-step__image {
    margin: 0;
}

#common .flow-step__image img {
    display: block;
    width: 100%;
    height: 128px;
    object-fit: cover;
}

/* 仕様 */


#common .spec-section {
    scroll-margin-top: 100px;
    margin-top: 5rem;
}


#common .spec-size-visual {
    margin: 0;
    padding: 1.4rem;
    background: #faf8f5;
}

#common .spec-size-visual img {
    display: block;
    width: 100%;
    height: auto;
}

#common .spec-table-wrap {
    overflow-x: auto;
}

#common .spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .94rem;
}

#common .spec-table th,
#common .spec-table td {
    padding: .8rem .9rem;
    border-bottom: 1px solid #ddd7d0;
    text-align: left;
    vertical-align: top;
}

#common .spec-table th {
    background: #f6f3ef;
    color: #4b4036;
    font-weight: 700;
}

#common .spec-table td:first-child {
    font-weight: 700;
    white-space: nowrap;
}


#common .spec-material-grid figure,
#common .spec-paper-grid figure,
#common .spec-font-grid figure {
    margin: 0;
}

#common .spec-material-grid img,
#common .spec-paper-grid img {
    display: block;
    width: 100%;
    height: auto;
}

#common .spec-material-grid figcaption {
    padding-top: .55rem;
    color: #625a53;
    font-size: .84rem;
    line-height: 1.6;
}

#common .spec-material-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    margin-top: 1.8rem;
}

#common .spec-paper-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 700px;
    margin-top: 1.4rem;
}

#common .spec-note {
    color: #777068;
    font-size: .86rem;
}

#common .spec-font-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.7rem;
}

#common .spec-font-grid figure {
    padding: 1rem;
    border: 1px solid #e0dad3;
    background: #fff;
}

#common .spec-font-grid figcaption {
    margin-bottom: .7rem;
    color: #5a4c40;
    font-size: .84rem;
    font-weight: 700;
}

#common .spec-font-grid img {
    display: block;
    width: 100%;
    height: auto;
}


@media screen and (max-width: 900px) {
    #common .binding-gallery--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #common .binding-gallery img {
        min-height: 300px;
    }

    #common .flow-step {
        grid-template-columns: 5.2rem minmax(0, 1fr) 150px;
        gap: 1rem;
    }

    

    
}

@media screen and (max-width: 767px) {
    #common .detail-intro--binding {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3.5rem;
    }

    #common .binding-intro-visual img {
        max-width: 300px;
    }

    #common .binding-feature-list {
        grid-template-columns: 1fr;
    }

    #common .binding-example {
        margin-top: 3.8rem;
    }

    #common .binding-gallery {
        gap: .75rem;
    }

    #common .binding-gallery img {
        min-height: 220px;
    }

    #common .flow-timeline::before {
        left: 1.35rem;
    }

    #common .flow-step {
        grid-template-columns: 2.8rem minmax(0, 1fr);
        gap: .8rem;
        align-items: start;
        padding-bottom: 2rem;
    }

    #common .flow-step__number {
        width: 2.7rem;
        height: 2.7rem;
        margin: 0;
    }

    #common .flow-step__number span {
        display: none;
    }

    #common .flow-step__number strong {
        font-size: .9rem;
    }

    #common .flow-step__content {
        padding: .15rem 0 0;
    }

    #common .flow-step__content h2 {
        font-size: 1.1rem;
    }

    #common .flow-step__image {
        grid-column: 2;
    }

    #common .flow-step__image img {
        height: 150px;
    }

    

    

    

    #common .spec-material-grid,
    #common .spec-font-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #common .spec-paper-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    #common .binding-gallery--four {
        grid-template-columns: 1fr;
    }

    #common .binding-gallery img {
        min-height: 0;
        height: auto;
        object-fit: contain;
    }

    #common .spec-material-grid,
    #common .spec-font-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   装幀ページ｜実例見出し調整
================================================== */

#common .binding-example__heading {
    max-width: none;
    margin-bottom: 1.7rem;
    width: 100%;
}

#common .binding-example__heading .detail-section__title {
    display: block;
    width: 100%;
    margin-bottom: .8rem;
}

#common .binding-example__heading .detail-section__title::after {
    width: 100%;
    max-width: none;
}

/* 英語ラベル削除後の余白調整 */
#common .binding-example__heading > .detail-section__title:first-child {
    margin-top: 0;
}

/* ==================================================
   本の仕様ページ｜レイアウト再調整 v3
================================================== */

/* ページ内メニュー */
#common .spec-index {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .55rem;
    margin: 3rem 0 4.5rem;
    background: none;
    border: 0;
}

#common .spec-index a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.8rem;
    padding: .8rem .5rem;
    background: #fff;
    color: #51463d;
    font-size: .9rem;
    text-decoration: none;
    border: 1px solid #d8d1c9;
    font-weight: 700;
}

#common .spec-index a:hover {
    background: #faf8f5;
    border-color: #b69a7e;
}

/* 本のサイズ */
#common .spec-size-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    width: 100%;
    margin: 1.7rem 0 1.8rem;
}

#common .spec-size-gallery__item {
    min-width: 0;
    margin: 0;
}

#common .spec-size-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
}

#common .spec-table-wrap--below {
    width: 100%;
    margin-top: 0;
}

/* 製本：上製・並製を各1段 */


/* 表紙・カバー：2列×3段 */
#common .spec-material-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

#common .spec-material-grid--two img {
    width: 100%;
    height: auto;
}

/* 本文用紙：横幅をしっかり使う */
#common .spec-paper-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: none;
    width: 100%;
}

#common .spec-paper-grid--wide img {
    width: 100%;
    height: auto;
}

/* 書体：2列×3段 */
#common .spec-font-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

#common .spec-font-grid--two figure {
    padding: 1.2rem;
}

#common .spec-font-grid--two img {
    width: 100%;
    height: auto;
}

/* 印刷：製本と同様に各1段 */


@media screen and (max-width: 900px) {
    #common .spec-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media screen and (max-width: 767px) {
    #common .spec-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 2.4rem 0 3.5rem;
    gap: .45rem;
}

    #common .spec-size-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #common .spec-material-grid--two,
#common .spec-paper-grid--wide,
#common .spec-font-grid--two {
        grid-template-columns: 1fr;
    }

    
}

/* ==================================================
   本の仕様ページ｜印刷方法 再設計 v4
================================================== */


@media screen and (max-width: 767px) {
    

    
}

/* ==================================================
   本の仕様ページ｜製本・印刷 共通項目デザイン v5
================================================== */

#common .spec-method-list {
    margin-top: 1.9rem;
    border-top: 1px solid #d8d1c9;
    border-bottom: 1px solid #d8d1c9;
}

#common .spec-method {
    display: grid;
    grid-template-columns: minmax(210px, 14rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    padding: 1.8rem 0;
    border-bottom: 1px solid #e1dbd4;
}

#common .spec-method:last-child {
    border-bottom: 0;
}

#common .spec-method__head {
    position: relative;
    padding: .15rem 0 .15rem 1rem;
}

#common .spec-method__head::before {
    content: '';
    position: absolute;
    top: .2rem;
    bottom: .2rem;
    left: 0;
    width: 3px;
    background: #a98a68;
}

#common .spec-method__label {
    display: block;
    margin-bottom: .35rem;
    color: #9a7a59;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .11em;
}

#common .spec-method__head h3 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #40362e;
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

#common .spec-method__body {
    min-width: 0;
    padding-top: .05rem;
}

#common .spec-method__body > p {
    margin: 0;
    line-height: 1.95;
}

#common .spec-method__photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.35rem;
}

#common .spec-method__photos figure {
    margin: 0;
}

#common .spec-method__photos img {
    display: block;
    width: 100%;
    height: auto;
}

#common .spec-method__photos figcaption {
    margin-top: .55rem;
    color: #625a53;
    font-size: .9rem;
    line-height: 1.7;
}

@media screen and (max-width: 767px) {
    #common .spec-method {
        grid-template-columns: 1fr;
        gap: .85rem;
        padding: 1.4rem 0;
    }

    #common .spec-method__head h3 {
        font-size: 1.12rem;
    }

    #common .spec-method__photos {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ==================================================
   詳細ページ 第3グループ
   サポート・直販・出版実績
================================================== */


#common .support-process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    margin: 1.8rem 0 0;
    padding: 0;
    border: 1px solid #ddd6ce;
    background: #ddd6ce;
    list-style: none;
}

#common .support-process li {
    min-height: 6.3rem;
    padding: 1rem .75rem;
    background: #fff;
}

#common .support-process span {
    display: block;
    margin-bottom: .55rem;
    color: #9a7a59;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
}

#common .support-process strong {
    color: #443a31;
    font-size: 1rem;
}

#common .support-continuity {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    background: #f7f4f0;
}

#common .support-continuity span {
    color: #6f5135;
    font-weight: 700;
}

#common .support-continuity p {
    margin: 0;
}


/* 直販 */


/* 出版実績 */


#common .university-list-section__heading {
    margin-bottom: 1.5rem;
}

#common .university-list-section__heading p {
    margin-top: .6rem;
    color: #736b64;
    font-size: .9rem;
}

#common .university-regions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid #ddd6ce;
    background: #ddd6ce;
}

#common .university-region {
    padding: 1.35rem 1.5rem;
    background: #fff;
}

#common .university-region h3 {
    position: relative;
    margin: 0 0 .8rem;
    padding: 0 0 0 .8rem;
    border: 0;
    color: #443a31;
    font-size: 1.08rem;
}

#common .university-region h3::before {
    content: '';
    position: absolute;
    top: .15em;
    bottom: .15em;
    left: 0;
    width: 3px;
    background: #a98a68;
}

#common .university-region p {
    margin: 0;
    line-height: 1.95;
}

@media screen and (max-width: 900px) {
    #common .support-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    

    
}

@media screen and (max-width: 767px) {
    

    

    

    

    

    #common .support-continuity {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    #common .university-regions {
        grid-template-columns: 1fr;
    }

    

    

    

    

    

    
}

/* ==================================================
   専任サポート体制｜構成再調整 v2
================================================== */


/* 専門スタッフ説明 */


#common .support-specialists__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 1.5rem;
    border: 1px solid #ddd6ce;
    background: #ddd6ce;
}

#common .support-specialists__grid article {
    position: relative;
    padding: 1.5rem 1.6rem 1.45rem;
    background: #fff;
    text-align: left;
}

#common .support-specialists__grid h3 {
    display: block;
    width: 100%;
    margin: 0 0 1rem;
    padding: 0 0 .75rem;
    border: 0;
    color: #443a31;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .06em;
    text-align: center;
}

#common .support-specialists__grid h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    margin: .65rem auto 0;
    background: #a98a68;
    opacity: .75;
}

#common .support-specialists__grid p {
    width: 100%;
    margin: 0;
    color: #4f4a45;
    font-size: .94rem;
    line-height: 1.9;
    letter-spacing: .02em;
    text-align: left;
}


/* スマートフォンでは工程を縦一列に */
@media screen and (max-width: 767px) {
    

    

    

    

    

    #common .support-process {
    grid-template-columns: 1fr;
}

    #common .support-process li {
    min-height: 0;
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
    padding: .9rem 1rem;
}

    #common .support-process span {
        margin: 0;
    }

    #common .support-specialists__grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   大学生協・書店への直販／大学の先生の出版実績 v3
================================================== */

/* 直販ページ上部：出版方法ページと同じく説明左・写真右 */


/* 直販図：線と矢印をCSSで明確に描く */


/* 大学実績：PCでは日本全体を見やすい高さを確保 */
#common .university-map iframe {
    display: block;
    width: 100%;
    height: 760px;
    border: 0;
}

/* 地図をページ幅に合わせ、周囲の余白を抑える */
#common .university-map {
    margin-top: 1.5rem;
    border: 1px solid #ddd6ce;
    background: #f7f4f0;
    overflow: hidden;
}

@media screen and (max-width: 900px) {
    

    

    #common .university-map iframe {
        height: 680px;
    }
}

@media screen and (max-width: 767px) {
    

    

    

    

    

    

    

    /* スマホでも地図を潰さず、日本全体を確認しやすい高さを残す */
    #common .university-map iframe {
    height: 600px;
}
}

@media screen and (max-width: 480px) {
    #common .university-map iframe {
        height: 540px;
    }
}

/* ==================================================
   詳細ページ 第3グループ 再調整 v4
================================================== */

/* support / cooperation 上部は出版方法と同一構造 */


/* サポート工程：PC 5列×2段、スマホ1列 */
#common .support-process--ten {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media screen and (max-width: 767px) {
    #common .support-process--ten {
        grid-template-columns: 1fr;
    }
}

/* 直販図：矢印形状をやめ、ずれにくいカード構成 */
#common .direct-route-card {
    display: grid;
    grid-template-columns: 180px minmax(260px, 1fr) 180px;
    gap: 2rem;
    align-items: center;
    margin-top: 1.8rem;
    padding: 2rem 2.2rem;
    background: #faf8f5;
}

#common .direct-route-card__party {
    margin: 0;
    text-align: center;
}

#common .direct-route-card__party img {
    display: block;
    width: 145px;
    height: 205px;
    margin: 0 auto;
    object-fit: contain;
}

#common .direct-route-card__center {
    position: relative;
    min-width: 0;
    padding: 1rem 0;
    text-align: center;
}

#common .direct-route-card__label {
    position: relative;
    z-index: 2;
    display: inline-block;
    min-width: 9rem;
    padding: .8rem 1.5rem;
    background: #8f6f50;
    color: #fff;
    font-weight: 700;
}

#common .direct-route-card__connector {
    position: absolute;
    z-index: 1;
    top: 2.45rem;
    right: 0;
    left: 0;
    height: 2px;
    background: #8f6f50;
}

#common .direct-route-card__center strong {
    display: block;
    margin-top: 1.25rem;
    color: #6f5135;
    font-size: 1.03rem;
}

#common .cooperation-sales {
    margin-top: 4.8rem;
}

/* 大学一覧は1列。地域ごとの余白差が目立たない構成 */
#common .university-regions--single {
    display: block;
    border: 1px solid #ddd6ce;
    background: #fff;
}

#common .university-region--row {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1.4rem;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid #ddd6ce;
}

#common .university-region--row:last-child {
    border-bottom: 0;
}

#common .university-region--row h3 {
    margin: 0;
    padding: .1rem 0 0 .8rem;
}

#common .university-region--row p {
    margin: 0;
}

@media screen and (max-width: 900px) {
    #common .direct-route-card {
        grid-template-columns: 145px minmax(220px, 1fr) 145px;
        gap: 1.2rem;
        padding: 1.6rem;
    }

    #common .direct-route-card__party img {
        width: 125px;
        height: 180px;
    }
}

@media screen and (max-width: 767px) {
    

    #common .direct-route-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.35rem;
    }

    #common .direct-route-card__center {
        padding: 1.4rem 0;
    }

    #common .direct-route-card__connector {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        height: auto;
        transform: translateX(-50%);
    }

    #common .direct-route-card__label,
    #common .direct-route-card__center strong {
        position: relative;
        z-index: 2;
        background: #faf8f5;
    }

    #common .direct-route-card__label {
        background: #8f6f50;
    }

    #common .direct-route-card__center strong {
        display: inline-block;
        padding: .2rem .7rem;
    }

    #common .university-region--row {
        grid-template-columns: 1fr;
        gap: .65rem;
        padding: 1.15rem 1.2rem;
    }
}

/* ==================================================
   詳細ページ 第3グループ 再調整 v5
================================================== */

/*
 support / cooperation の上部は HTML 側で detail-hero--style を使用。
 出版方法ページと同一のCSSをそのまま継承させる。
*/

#common .route-section--direct > .detail-section__title {
    margin-bottom: 1.8rem;
}


@media screen and (max-width: 767px) {
    
}
