@charset "utf-8";
/*
Theme Name: smuto
Author: smuto
*/

@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

/* ホバーで広がるピンクの円（ボタン類で共通）。.btn1 以外の円・入力欄は、背景の大きさで広げる */
:root {
    --pink: #D49DCB;
    --pink-circle: radial-gradient(circle at 50% 50%, #D49DCB 0, #D49DCB 70%, transparent 71%);
}
@font-face {
    font-family: 'outfit-l';
    src: url('font/outfit-l.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'outfit-m';
    src: url('font/outfit-m.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del,
dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup,
tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form,
label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section, summary, time, mark,
audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-style: normal;
    font-weight: normal;
    line-height: 1.8;
    font-size: 100%;
    letter-spacing: 0.06em;
    vertical-align: baseline;
    font-family: Lato, "Noto Sans JP","Yu Gothic Medium",
YuGothic,"Hiragino Kaku Gothic ProN", Meiryo,"MS PGothic", sans-serif;
}

body {
    background: #Fff;
}

body.home {
    background: #FEFBFD;
}

article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section {
    display: block;
}

html {
    overflow-y: scroll;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

input, textarea {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    border: #ccc 1px solid;
    border-radius: 3px;
    background: #fafafa;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th {
    text-align: left;
}

a:focus {
    outline: none;
}

.clear:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

* html .clear {
    height: 1px;
}

.both {
    clear: both;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.in {
    max-width: 1140px;
    margin: 0 auto;
    width: 92%;
}

main {
    background: url(https://sccl.jp/wp-content/uploads/2024/03/n2.png)
no-repeat right 0vw top
213vw/100%,url(https://sccl.jp/wp-content/uploads/2024/03/n1.png)
no-repeat right 1vw top
79vw/100%,url(https://sccl.jp/wp-content/uploads/2024/03/n3.png)
no-repeat right 1vw top 343vw/90%;
}

/* 下層の長いページ: 螺旋を下まで続ける（WebGL が動かないとき用の背景。動くときは js/spiral-webgl.js が同じ間隔で繰り返す）。
   もとの 3 本は 482vw までしか届かないので、同じ並びを 396vw ずつずらして 3 回ぶん置く。
   トップ（.home）とお知らせ一覧（.archive）は、もとのまま。
   html:not(.spiral-gl) を付けるのは、WebGL が描き始めたら背景を外す指定（html.spiral-gl main）より強くならないようにするため
   （付けないと、CSS の螺旋と WebGL の螺旋が二重に出る） */
@media (min-width: 768px) {
    html:not(.spiral-gl) body:not(.home):not(.archive) main {
        background: url(https://sccl.jp/wp-content/uploads/2024/03/n2.png) no-repeat right 0vw top 213vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n1.png) no-repeat right 1vw top 79vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n3.png) no-repeat right 1vw top 343vw/90%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n2.png) no-repeat right 0vw top 609vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n1.png) no-repeat right 1vw top 475vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n3.png) no-repeat right 1vw top 739vw/90%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n2.png) no-repeat right 0vw top 1005vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n1.png) no-repeat right 1vw top 871vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n3.png) no-repeat right 1vw top 1135vw/90%;
    }
}

@media (max-width: 767px) {
    html:not(.spiral-gl) body:not(.home):not(.archive) main {
        background: url(https://sccl.jp/wp-content/uploads/2024/03/n2.png) no-repeat right 0vw top 213vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n1.png) no-repeat right 1vw top 79vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n3.png) no-repeat right 1vw top 343vw/90%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n2.png) no-repeat right 0vw top 609vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n1.png) no-repeat right 1vw top 475vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n3.png) no-repeat right 1vw top 739vw/90%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n2.png) no-repeat right 0vw top 1005vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n1.png) no-repeat right 1vw top 871vw/100%,
            url(https://sccl.jp/wp-content/uploads/2024/03/n3.png) no-repeat right 1vw top 1135vw/90%;
    }
}

/*js周り*/
.effect-fade {
    opacity : 0;
    transform : translate(0, 45px);
    transition : all 800ms;
}

.effect-fade.effect-scroll {
    opacity : 1;
    transform : translate(0, 0);
}

/* 動きを減らす設定の人には、動かさずに最初から表示する（トップの effect-fade も同じ） */
@media (prefers-reduced-motion: reduce) {
    .effect-fade,
    .effect-fade.effect-scroll,
    .effect-soft,
    .effect-soft.effect-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.about-content {
    display: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    padding: 30px 40px;
    z-index: 0;
    position: relative;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.about-content.display-block {
    display: block;
    opacity: 1;
}

.about-titles {
    display: flex;
    flex-direction: column;
    width: 46%;
    cursor: pointer;
}

.about-title {
    padding: 10px 10px 19px;
    font-size: 23px;
    border-bottom: 1px dotted #dcdcdc;
    margin-bottom: 17px;
}

.about-title:hover {
    background-color: #eee;
}

ul.home-link-li li:nth-child(1) a:hover {
    background: radial-gradient(at 0% 0%, hsl(315deg 100% 87% / 12%)
0px, white 50%), radial-gradient(at 0% 0%, hsl(274.15deg 100% 87% /
65%) 0px, transparent 50%);
}

ul.home-link-li li:nth-child(2) a:hover {
    background: radial-gradient(at 100% 100%, hsl(304.24deg 100% 87% /
44%) 0px, transparent 50%), radial-gradient(at 100% 98%, hsl(315deg
100% 87% / 0%) 0px, transparent 50%);
}

p.contact-link a:hover {
    background: #fff;
}

ul.ppr-panel-li li h3:hover {
    background: #f1f1f1;
}

ul.effect-panel-li h3:hover {
    color: #d49dcb;
}

.effect-panel-txt, .ppr-panel-txt, .medicine-li-txt {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out;
}

.effect-panel-li h3, .ppr-panel-li h3 , .medicine-li h3 {
    cursor: pointer;
}

/*header*/
header {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    align-content: center;
    align-items: center;
    padding: 18px 0 15px;
    justify-content: space-between;
}

ul.menu {
    display: flex;
    align-items: center;
}

header h1 {
    flex: 0 0 150px;
    width: 150px;
}

ul.menu li a {
    color: #222;
    vertical-align: text-top;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* ヘッダーのメニューが 9 項目になったので、1001〜1200px では余白と字を詰めて 1 行に収める（1000px 以下はハンバーガー） */
@media (min-width: 1001px) and (max-width: 1200px) {
    header {
        width: 96%;
    }

    ul.menu li {
        margin: 0 5px;
    }

    ul.menu li a {
        font-size: 11px;
        letter-spacing: 0;
    }

    ul.menu li:last-child a {
        padding: 10px 12px;
    }
}

/* 9 項目（2026-11-06 に「培養士・顧問」「研究・解析レポート」を足した）を 1 行に収める余白 */
ul.menu li {
    margin: 0 12px;
}

ul.menu li:last-child a {
    background-color: #E1A4D4;
    background-image: radial-gradient(at 55% 88%, #EABDE0 0px, transparent 50%);
    display: block;
    padding: 10px 30px;
    border-radius: 50px;
    color: #fff;
}

header h1 a {
    vertical-align: text-top;
}

ul.menu li:last-child {
    margin-right: 0;
}

/*topics*/
p.topics-title {
    background: #000;
    text-align: center;
    padding: 11px;
}

p.topics-title a {
    color: #fff;
    font-size: 15px;
}

p.topics-title a:before {
    content: "NEWS：";
    font-family: 'alata';
    margin-right: 25px;
}

/*mv*/
section.mv-section h2 {
    /* 行の途中で折り返さない（「の」「製造」だけが次の行に落ちるのを防ぐ） */
    white-space: nowrap;
    color: #fffffff0;
    font-size: 4vw;
    font-weight: 500;
    text-shadow: 0px 1px 5px #000000b5;
}

section.mv-section {
    background:
url(https://sccl.jp/wp-content/uploads/2024/03/image-6.jpg) no-repeat
center 30%/cover;
    /* 画面に収まる高さに（以前は 41vw ぶんの余白で、大きすぎた） */
    padding: 20vw 0 5vw;
    margin-bottom: 100px;
}

/* 「国内最多種の…」: スプラッシュが消えてから、1 文字ずつ、パラパラと出す。
   文字への分割と遅延は footer.php（.mv-char を作る）。header.php が mv-wait、footer.php が mv-go を付ける。
   JS が動かなければ .mv-char は無いので、文字はそのまま見える */
.mv-char {
    display: inline-block;
    transition: opacity 600ms ease, transform 600ms ease;
}

html.mv-wait .mv-char {
    opacity: 0;
    transform: translate(0, 16px);
}

html.mv-wait.mv-go .mv-char {
    opacity: 1;
    transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
    html.mv-wait .mv-char {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/*news*/
.news-section .in {
    border: 1px solid #DCDCDC;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.news-header h2 span {
    font-size: 41px;
    display: block;
    color: #222;
    letter-spacing: 0;
    font-weight: 400;
    font-family: "alata";
}

.news-header h2 {
    font-size: 16px;
    color: #777;
    margin-bottom: 35px;
}

p.news-btn a {
    padding-left: 30px;
    color: #333;
    font-size: 13px;
    letter-spacing: 0.05em;
    position: relative;
    display: flex;
}

p.news-btn a:before {
    content: "→";
    position: absolute;
    left: 6px;
    top: 2px;
    font-size: 10px;
    color: #6d6d6d;
}

p.news-btn a:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #6d6d6d40;
    border-radius: 30px;
    position: absolute;
    left: 0;
    top: 0px;
}

p.news-title a:hover {
    color: var(--pink);
}

p.news-btn a:hover {
    color: var(--pink);
}

p.news-btn a:hover:before {
    color: #474747;
}

ul.news-content li {
    display: flex;
    border-top: 1px solid #DCDCDC;
    padding: 15px 0;
}

.news-header {
    margin-right: 6%;
}

p.news-title a {
    color: #222;
    display: block;
    width: 100%;
}

p.news-time {
    margin-right: 25px;
    font-size: 15px;
}

ul.news-content {
    padding: 40px 0;
    width: 68%;
}

ul.news-content li:last-child {
    border-bottom: 1px solid #DCDCDC;
}

p.news-title {
    font-size: 15px;
    width: 81%;
}

section.news-section {
    margin-bottom: 90px;
}

/*greeting*/
section.greeting-section h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.6;
}

section.greeting-section .in {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

p.btn1 a {
    display: inline-block;
    border: 1px solid #44444461;
    color: #222;
    display: block;
    line-height: 1;
    padding: 15px 60px 15px 40px;
    border-radius: 30px;
    font-size: 14px;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    background: inherit;
    text-align: center;
}

p.btn1 a:after {
    content: "→";
    position: absolute;
    right: 20px;
}

p.btn1 a::before {
    background: var(--pink);
    border-radius: 50%;
    content: "";
    display: block;
    margin: auto;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: 100%;
    height: 0;
    z-index: -1;
    transform: translateY(-50%) scale(0.1);
    transition: opacity .5s, transform 0s;
    transition-delay: 0s, .4s;
}

.btn1 a:hover {
    color: #fff;
}

.btn1 a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    transition-delay: 0s;
    transition: opacity .8s, transform .6s ease-in-out;
}

.greeting-contents {
    margin-top: 50px;
    border: 1px solid #DCDCDC;
    background: #fff;
    border-radius: 5px;
    padding: 30px 50px;
}

.greeting-contents h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

/*feature*/
section.greeting-section {
    margin-bottom: 90px;
}

section.feature-section h2 {
    font-size: 45px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
}

section.feature-section h2 + p {
    font-size: 22px;
}

ul.feature-contents-li {
    margin-top: 50px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    align-content: flex-start;
}

ul.feature-contents-li li {
    width: 38%;
    margin: 0;
    border: 1px solid #dcdcdc;
    background: #fff;
    padding: 50px 40px 10px;
    box-sizing: border-box;
    border-radius: 5px;
    margin: 0 2%;
}

ul.feature-contents-li p {
    margin-bottom: 30px;
}

ul.feature-contents-li li h3 {
    color: #A77185;
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
}

ul.feature-contents-li li p {
    line-height: 2;
}

section.feature-section {
    margin-bottom: 90px;
}

/*development*/
section.development-section h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
}

section.development-section h2 + p {
    font-size: 22px;
}

ul.develop-li li {
    color: #BE4F9F;
    width: 47%;
    text-align: center;
    border: 1px solid;
    background: #fff;
    margin-bottom: 20px;
    border-radius: 5px;
    padding: 20px 0;
    box-sizing: border-box;
    margin: 0 1% 20px;
    font-size: 17px;
}

ul.develop-li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 50px;
}

section.development-section {
    margin-bottom: 90px;
}

/*about*/
.about-container {
    display: flex;
    flex-wrap: wrap;
}

/*effect*/
section.about-section h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 60px;
}

section.about-section h2 span {
    font-family: "alata";
    display: block;
    font-size: 15px;
    color: #222;
    letter-spacing: 0.1em;
}

ul.about-content-li {
    width: 50%;
    background: #fff;
    border: 1px solid #dcdcdc59;
}

ul.about-content-li li h3 {
    font-size: 25px;
    margin-bottom: 20px;
}

.about-title span {
    display: block;
    font-size: 14px;
    opacity: 0.5;
    font-family: "alata";
}

li.about-title:last-child {
    margin-bottom: 0;
}

.about-title:hover {
    background: none;
    color: #BE4F9F;
}

ul.about-content-li li h3 + p {
    margin-bottom: 30px;
}

section.about-section {
    margin-bottom: 90px;
}

/*ascs*/
section.about-stem-scell-supernatant h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 60px;
}

section.about-stem-scell-supernatant h2 span {
    display: block;
    font-size: 15px;
    color: #222;
    letter-spacing: 0.1em;
    font-family: "alata";
}

section.about-stem-scell-supernatant .in {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

p.ascs-img {
    width: 40%;
    order: 2;
    box-sizing: border-box;
    padding-left: 48px;
}

/* 写真の白い地の縁をぼかして、背景になじませる（文章の枠にも、ぴったり付けない） */
p.ascs-img img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(ellipse 72% 78% at center, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 72% 78% at center, #000 55%, transparent 100%);
}

.ascs-contents {
    width: 60%;
}

.ascs-content {
    background: #fff;
    border: 1px solid #dcdcdc59;
    padding: 50px 40px;
    position: relative;
    z-index: 0;
}

.ascs-content h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

p.btn1 {
    display: inline-block;
    position: relative;
    z-index: 10;
}

.ascs-content h3 + p {
    margin-bottom: 30px;
}

section.about-stem-scell-supernatant {
    margin-bottom: 90px;
}

/*lineup*/
section.lineup-section h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 60px;
}

section.lineup-section h2 span {
    display: block;
    font-size: 15px;
    color: #222;
    letter-spacing: 0.1em;
    font-family: "alata";
}

.lineup-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

p.lineup-txt {
    width: 70%;
}

.liup-btn .btn1 {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

section.lineup-section .slick-li {
    max-width: 1200px;
    margin: 0 auto;
    width: 92%;
}

.slick-prev:before, .slick-next:before {
    color: #000;
    font-size: 25px;
}

.lineup-section .slick-slide {
    background: #fff;
    border: 1px solid #dcdcdc;
    margin: 0 10px;
    height: unset;
    padding: 30px 30px 100px;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.slick-track {
    display: flex;
    align-items: stretch;
}

.lineup-section .slick-slide h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

li p.lineup-txt {
    width: 100%;
    margin-bottom: 20px;
    font-size: 15px;
}

.lineup-section .slick-slide h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 11px;
}

.lineup-section .slick-slide h4:after {
    content: "";
    width: 68px;
    height: 1px;
    background: #222;
    display: block;
}

ul.lineup-effect-li li {
    display: inline-block;
    font-size: 12px;
    border: 2px dotted #dcdcdc;
    border-radius: 50px;
    padding: 2px 12px;
    margin-right: 5px;
    margin-bottom: 6px;
}

.lineup-section .slick-slide .btn {
    text-align: center;
}

.lineup-section .slick-slide .btn1 {
    margin: 0 auto;
    display: block;
    max-width: 70%;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
}

.lineup-section .slick-slide .btn1 a {
    border-color: #d7d7d7;
}

.slick-track {
    display: flex!important;
    align-items: stretch;
}

ul.lineup-effect-li {
    margin-bottom: 0px;
}

section.lineup-section {
    margin-bottom: 90px;
}

section.effect-section h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 60px;
}

section.effect-section h2 span {
    display: block;
    font-size: 15px;
    color: #222;
    letter-spacing: 0.1em;
    font-family: "alata";
}

.effect-panel {
    display: flex;
    background: #fff;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 0 0px;
}

ul.effect-panel-li {
    width: 43%;
    margin: 0 2% 50px;
}

/* 奇数件のとき、最後の 1 件は左の列の位置にそろえる（親が flex の center なので、そのままだと中央に出る）。
   2 列ぶんの余り 6% の半分 3% ＋ 左余白 2% ＝ 5% */
ul.effect-panel-li:last-child:nth-child(odd) {
    margin-left: 5%;
    margin-right: auto;
    /* 上の列の下余白 50px を打ち消す（そのままだと、この 1 件だけ上の行から離れて見える） */
    margin-top: -50px;
}

section.effect-section h2 + p {
    font-size: 20px;
    margin-bottom: 60px;
}

ul.effect-panel-li h3 {
    font-size: 22px;
    border-bottom: 1px dotted #dcdcdc;
    line-height: 3;
}

.effect-panel-txt {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 1, 1), padding
0.5s ease-out;
    padding: 0;
}

.effect-panel-txt.open {
    padding: 20px 30px 40px;
    border: #f0f0f0 1px solid;
    background: #fafafa;
    margin-top: -1px;
}

.effect-panel-txt.open h4 {
    display: inline-block;
    font-size: 14px;
    border: 2px dotted #dcdcdc;
    border-radius: 50px;
    padding: 2px 12px;
    background: #fff;
}

.effect-panel-txt.open h4 + p {
    margin-bottom: 10px;
}

.effect-panel-txt.open h4 + p:last-child {
    margin-bottom: 0;
}

ul.effect-panel-li li {
    position: relative;
}

.effect-panel-txt.open:before {
    content: "▲";
    position: absolute;
    right: 0;
    top: 20px;
    right: 0px;
}

.effect-panel-txt:before {
    content: "▼";
    right: 0px;
    top: 20px;
    position: absolute;
    color: var(--pink);
}

section.effect-section {
    margin-bottom: 90px;
}

section.ppr-section h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 60px;
}

section.ppr-section h2 span {
    display: block;
    font-size: 15px;
    color: #222;
    letter-spacing: 0.1em;
    font-family: "alata";
}

ul.ppr-panel-li li h3 {
    background: #F3F5F7;
    font-size: 20px;
    padding: 10px 30px;
}

.ppr-panel-txt.open {
    background: #fff;
    border: 1px solid #dcdcdc;
    padding: 30px;
}

.ppr-panel-txt:before {
    position: absolute;
    right: 20px;
    top: 18px;
    content: "▼";
    display: block;
    color: #fff;
    font-size: 13px;
}

.ppr-panel-txt.open:before {
    position: absolute;
    right: 20px;
    top: 20px;
    content: "▲";
    display: block;
    color: #fff;
}

ul.ppr-panel-li li {
    position: relative;
    margin-bottom: 10px;
    border-radius: 5px 5px 0 0;
}

ul.ppr-panel-li li h3:after {
    position: absolute;
    content: "";
    display: block;
    width: 56px;
    height: 56px;
    right: 0;
    top: 0;
    background: var(--pink)
}

.page-content .ppr-panel-txt p {
    margin-bottom: 0;
}

/*footerlink*/
ul.home-link-li li:nth-child(1) a {
    background-color: #f3f3f3;
    background-image: radial-gradient(at 0% 0%, hsl(315deg 100% 87% /
12%) 0px, transparent 50%), radial-gradient(at 0% 0%, hsl(315deg 100%
87% / 65%) 0px, transparent 50%);
}

ul.home-link-li li:nth-child(2) a {
    background-color: #F3F5F7;
    background-image: radial-gradient(at 100% 100%, hsl(315deg 100%
87% / 44%) 0px, transparent 50%), radial-gradient(at 100% 98%,
hsl(315deg 100% 87% / 0%) 0px, transparent 50%);
}

background-image: .bg-top-footer {
    background: #FEFBFD;
    padding: 30px;
}

section.ppr-section {
    margin-bottom: 70px;
    background: #fff;
    padding: 60px;
}

ul.home-link-li {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 60px;
    width: 92%;
    justify-content: center;
}

ul.home-link-li li {
    width: 42%;
    margin: 0px 2%;
}

ul.home-link-li li a span {
    display: block;
    color: #333;
    font-size: 16px;
    font-family: "alata";
}

ul.home-link-li li a {
    width: 97%;
    display: block;
    padding: 60px 40px;
    color: #333;
    font-size: 27px;
    border-radius: 10px;
    box-sizing: border-box;
    letter-spacing: 0.2em;
    box-shadow: 0 0 9px #33333333;
    margin: 10px;
    position: relative;
}

ul.home-link-li li a:before {
    content: "→";
    position: absolute;
    right: 26px;
    bottom: 23px;
    font-weight: 200;
    font-size: 19px;
}

ul.home-link-li li a:after {
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid #858585;
}

p.contact-link {
    max-width: 1060px;
    margin: 0 auto;
}

p.contact-link a {
    display: block;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    padding: 30px;
    color: #BE4F9F;
    font-weight: 500;
    font-size: 19px;
    position: relative;
}

/*footer*/
p.contact-link a strong {
    display: block;
    color: #333;
    font-size: 27px;
}

p.contact-link a span {
    color: #333;
    font-size: 16px;
    font-family: "alata";
}

p.contact-link a:before {
    content: "→";
    position: absolute;
    right: 28px;
    bottom: 73px;
    font-weight: 200;
    font-size: 19px;
    color: #333;
}

p.contact-link a:after {
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    bottom: 70px;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid #858585;
}

.bg-top-footer {
    padding-bottom: 80px;
}

footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(51, 51, 51, 0.07);
    box-shadow: 0 -10px 28px rgba(51, 51, 51, 0.025);
    background: #fff;
    padding-top: 60px;
    background:
url(https://sccl.jp/wp-content/uploads/2024/03/bg3.jpg) no-repeat
right bottom #fff;
}

p.footer-logolink {
    text-align: center;
    width: 50px;
    margin: 0 auto 20px;
}

footer .in {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-bottom: 0px;
    padding-bottom: 15px;
}

table.footer-table {
    width: 40%;
    border-spacing: 0 14px;
    border-collapse: separate;
    font-size: 15px;
}

ul.footer-nav {
    width: 50%;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

ul.footer-nav li a {
    font-size: 17px;
    color: #333;
}

ul.footer-nav li .footer-nav-child a {
    font-size: 13px;
}

table.footer-table th {
    font-weight: 500;
    padding-top: 10px;
}

/* フッターの住所: 見出しと住所を 2 列にして、折り返した行も住所の頭にそろえる。
   全角スペースで字下げすると、見出しの長さが違う行（本店所在地／大阪CPC）でずれる。
   見出しの幅は、いちばん長い「本店所在地：」(6 字) に全行そろえる */
.footer-addr {
    display: flex;
    margin: 0;
}

.footer-addr__label {
    flex: 0 0 6em;
    white-space: nowrap;
}

.footer-addr__body {
    flex: 1;
    min-width: 0;
}

.footer-addr + .footer-addr {
    margin-top: 0;
}

/* 拠点ごとに罫線と余白で区切る（本店・大阪ラボ・東京ラボ が 1 つの塊に見えないように） */
.footer-info1 {
    margin-bottom: 12px;
}

.footer-info2.footer-addr,
.footer-info3 .footer-addr {
    padding: 16px 0;
    border-top: 1px solid rgba(51, 51, 51, 0.1);
}

.footer-info3 .footer-addr:last-child {
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
}

.footer-addr__label {
    font-weight: 500;
}

/* 会社概要「ラボ」欄の住所: 見出し（大阪ラボ／東京ラボ）と住所を 2 列にして、折り返した行も住所の頭にそろえる */
.lab-addr {
    display: flex;
}

.lab-addr__label {
    flex: 0 0 5em;
    white-space: nowrap;
}

.lab-addr__body {
    flex: 1;
    min-width: 0;
}

ul.footer-nav-child {
    margin-top: 10px;
}

ul.footer-end-logo {
    display: flex;
    justify-content: center;
    padding: 13px 0px;
    align-items: center;
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 25px;
}

ul.footer-copyright {
    display: flex;
    justify-content: center;
    padding: 25px 0px;
    align-items: center;
    border-bottom: 1px solid #dcdcdc;
}

/*page*/
.page article h1.in {
    font-size: 40px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.page article h1 span {
    display: block;
    font-family: "alata";
    font-size: 19px;
    color: #666;
}

.page-content h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.page-content * {
    color: #222;
    font-size: 14px;
}

.page-content p {
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 2;
}

/*cell*/
p.cimg {
    position: relative;
    left: -2%;
    width: 104%;
    margin: 50px 0;
}

p.cimg img {
    width: 100%;
}

ul.cell-li {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

ul.cell-li li {
    margin: 0 2%;
    width: 34%;
    text-align: center;
    border: 1px solid #dcdcdc;
    padding: 60px 30px 50px;
    border-radius: 10px;
}

ul.cell-li li h3 {
    font-size: 25px;
    margin-bottom: 40px;
}

ul.cell-li li img {
    margin: 10px 0 30px;
}

ul.cell-li li p {
    line-height: 2;
}

p.cell-li-txt {
    text-align: left;
}

.page-content .in {
    max-width: 1140px;
}

p.wb2 {
    margin: -5vw 0 -18vw;
    position: relative;
    z-index: -2;
}

ul.medicine-li {
    margin: 60px 0 100px;
    border-bottom: 1px solid #B7B7B7;
    margin-left: -1%;
    width: 102%;
}

ul.medicine-li li h3 {
    padding: 45px 30px 30px;
    font-size: 25px;
    position: relative;
}

ul.medicine-li li {
    border-top: 1px solid #B7B7B7;
    position: relative;
}

ul.medicine-li li h3 span {
    display: block;
    font-size: 12px;
    font-family: "alata";
    color: #666;
}

ul.medicine-li li h3:before {
    content: "01";
    display: block;
    font-family: serif;
    color: #BE4F9F;
    font-size: 17px;
    position: absolute;
    top: 20px;
}

ul.medicine-li li:nth-child(2) h3:before {
    content: "02";
}

ul.medicine-li li:nth-child(3) h3:before {
    content: "03";
}

/* 円と矢印を別々の要素で位置指定していたので、中心がずれていた。円（border）の中に矢印を、flex で上下左右の中央に置く 1 つの要素にする */
ul.medicine-li li:after {
    content: none;
}

ul.medicine-li li h3:after,
ul.medicine-li li h3.open:after {
    content: "↓";
    position: absolute;
    right: 30px;
    top: 52px;
    width: 41px;
    height: 41px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b7b7b7;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    color: #666666d1;
    /* ほかの円ボタンと同じ、ホバーで広がるピンク */
    background-image: var(--pink-circle);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0% 0%;
    transition: background-size 0.6s ease-in-out, border-color 0.4s ease, color 0.4s ease;
}

ul.medicine-li li h3.open:after {
    content: "↑";
}

ul.medicine-li li h3:hover:after {
    background-size: 300% 300%;
    border-color: var(--pink);
    color: #fff;
}

.medicine-li-txt h4 {
    font-size: 21px;
    margin-left: 30px;
}

.medicine-li-txt.open p {
    margin-left: 30px;
    margin-bottom: 60px;
}

.cytokine {
    border: 1px solid #b7b7b7;
    padding: 50px 50px 30px;
    border-radius: 10px;
    margin-bottom: 120px;
}

.difference {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

p.dif-img {
    width: 37%;
    margin-right: 7%;
    margin-bottom: 0;
}

.dif-content {
    width: 60%;
}

.dif-content h2 {
    margin-bottom: 40px;
}

ul.kinds-li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

ul.kinds-li li {
    width: 31%;
    text-align: center;
    border: 1px solid #b7b7b7;
    padding: 30px 30px 70px;
    box-sizing: border-box;
    border-radius: 10px;
    position: relative;
    margin-bottom: 40px;
}

ul.kinds-li li p + p {
    text-align: left;
}

ul.kinds-li li h3 {
    text-align: left;
    font-size: 21px;
    margin-bottom: 30px;
}

ul.kinds-li li .btn1 {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 200px;
    bottom: 30px;
    background: #F3F5F7;
    border-radius: 30px;
}

/* 背景色は <a> ではなく、外側の p.btn1 に付ける。<a> に付けると、ホバーで広がるピンクの円（::before。
   p.btn1 の中の一番下の層）が背景の下に隠れて見えない。ホバーで白に上書きしていた指定も外した */
ul.kinds-li li .btn1 a {
    background: transparent;
}

.kinds {
    margin-bottom: 100px;
}

.effect-contents {
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    max-height: 0;
    padding-left: 23%;
}

ul.effect-li {
    border-top: 1px solid #b7b7b7;
    width: 91%;
    margin: 50px auto;
}

.effect-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.effect-header h3 {
    font-size: 25px;
    padding: 10px 0;
}

ul.effect-li li {
    border-bottom: 1px solid #b7b7b7;
}

p.effect-header-txt {
    margin-bottom: 0;
    width: 58%;
    margin-right: 9%;
    padding: 30px 0;
}

.effect-contents.open h4:first-child {
    border-top: 1px solid #b7b7b7;
}

.effect-contents.open h4 {
    padding-top: 20px;
    padding-bottom: 5px;
    font-size: 20px;
    color: #BE4F9F;
}

.effect-contents.open p {
    margin-bottom: 10px;
}

.effect-contents.open p:last-child {
    padding-bottom: 30px;
}

.effect-header.open:after {
    position: absolute;
    content: "";
    width: 25px;
    height: 2px;
    background: #222;
    right: 13px;
    top: 49px;
}

.effect-header:after {
    content: "+";
    height: 1px;
    font-size: 50px;
    right: 10px;
    font-weight: 100;
    position: absolute;
    top: 10%;
    transform: translateY(-50%);
}

ul.footer-end-logo li a img {
    max-height: 55px;
}

ul.footer-end-logo li {
    margin: 0 15px;
}

table.company-table th,table.company-table td {
    padding: 40px;
    line-height: 2.3;
}

table.company-table th {
    width: 26%;
    font-weight: 500;
}

table.company-table tr {
    border-top: 1px solid #b7b7b7;
}

table.company-table td iframe {
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

ul.director-li li {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 10px;
}

p.director-pic {
    width: 40%;
}

.director-box {
    width: 51%;
}

table.company-table td p.director-name {
    font-size: 19px;
    margin-bottom: 0;
    font-weight: 500;
}

ul.director-career li:before {
    content: "";
    width: 5px;
    height: 5px;
    display: inline-block;
    background: #222;
    border-radius: 50%;
    top: 11px;
    position: absolute;
    left: 5px;
}

p.director-profile {
    margin-bottom: 20px;
}

table.company-table td {
    width: 40%;
}

table.company-table {
    max-width: 1000px;
    margin: 0 auto;
    border-bottom: 1px solid #b7b7b7;
}

ul.director-career {
}

ul.director-career li {
    padding-left: 22px;
    font-size: 15px;
}

table.company-table td p.lab-pic {
    margin: 30px 0 10px;
}

table.company-table td p {
    margin-bottom: 20px;
}

table.company-table td p.lab-pic + p {
    margin-bottom: 10px;
}

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

.jis p {
    line-height: 1.4;
}

.jis img {
    max-height: 55px;
}

p.cultivator-name {
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*facility*/
.facility-pic {
    background: #f6f6f6;
    text-align: center;
    padding: 70px 100px 30px;
    border-radius: 10px;
    margin: 60px auto 80px;
    box-sizing: border-box;
}

.facility-pic h3 {
    text-align: left;
    font-size: 31px;
    border-top: 1px solid #b7b7b7;
    padding-top: 30px;
}

.facility-pic p {
    text-align: left;
}

.facility-pic img {
    width: 70%;
    margin: 0 auto 80px;
    display: block;
}

ul.factor-li {
    list-style: disc;
    margin-left: 30px;
}

/*contact*/
table.contact-table {
    margin: 0 auto;
    width: 750px;
    border-top: 1px solid #b7b7b75e;
}

span.wpcf7-list-item-label {
}

input[type="radio"] {
    width: unset;
}

span.wpcf7-list-item {
    margin-right: 10px;
}

table.contact-table td {
}

/* お問い合わせフォームの送信ボタン: 「詳しく見る」(.btn1) と同じ見た目・同じ動き。
   input は ::before / ::after を持てないので、functions.php（wpcf7_form_elements）が <span class="submit-btn"> で包み、
   外側の枠に、.btn1 a と同じ「ピンクの円が中心から広がる」::before と、矢印の ::after を付ける */
.submit-btn {
    display: block;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    max-width: 256px;
    margin: 0 auto;
    border: 1px solid #44444461;
    border-radius: 30px;
    background: #F3F5F7;
    color: #222;
    transition: color 0.4s ease;
}

.submit-btn::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    padding-top: 100%;
    height: 0;
    border-radius: 50%;
    background: var(--pink);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transform: translateY(-50%) scale(0.1);
    transition: opacity 0.5s, transform 0s;
    transition-delay: 0s, 0.4s;
}

.submit-btn::after {
    content: "→";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
}

.submit-btn:hover {
    color: #fff;
}

.submit-btn:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    transition: opacity 0.8s, transform 0.6s ease-in-out;
    transition-delay: 0s;
}

.submit-btn input.wpcf7-form-control.wpcf7-submit.has-spinner,
.submit-btn input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 15px 60px 15px 40px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

/* 送信中のくるくる（CF7 が JS で入力欄の後ろに足す）は、枠の高さを増やさないよう、左に重ねて置く */
.submit-btn .wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: 8px;
    margin: -12px 0 0 0;
}

table.contact-table th,table.contact-table td {
    border-bottom: 1px solid #b7b7b75e;
    padding: 40px 0px 10px 0px;
}

table.contact-table tr:last-child th,table.contact-table tr:last-child td {
    border: none;
}

table.contact-table th {
    vertical-align: top;
    padding-right: 50px;
}

.wpcf7-not-valid-tip {
    color: #e20000;
    position: absolute;
    font-size: 13px;
    top: 42px;
}

.wpcf7 form .wpcf7-response-output {
    width: 800px;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding: 20px;
}

/*archive*/
.archive .in {
    display: flex;
}

.archive .in h1 {
    width: 21%;
    font-size: 35px;
}

.archive .in h1 span {
    display: block;
    font-family: "alata";
    font-size: 20px;
    color: #666;
    line-height: 1;
}

ul.news-archive-li li a {
    color: #222;
    position: relative;
    display: block;
    padding: 20px 160px 26px 0;
}

ul.news-archive-li li {
    border-top: 1px solid #b7b7b7;
}

ul.news-archive-li {
    border-bottom: 1px solid #b7b7b7;
}

p.news-archive-time {
    color: #666;
    font-size: 14px;
}

ul.news-archive-li li a:before {
    top: 36px;
    content: "→";
    position: absolute;
    right: 20px;
    font-size: 12px;
}

ul.news-archive-li li a:after {
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #b7b7b7;
    position: absolute;
    right: 13px;
    top: 31px;
}

.archive main,.single main {
    margin: 80px 0;
}

/* お知らせ一覧は、記事が少なくても 1 画面ぶんの高さを持たせる（main と footer のあいだに空きができ、少しスクロールできる） */
.archive main {
    min-height: 100vh;
}

/* お知らせ一覧のページ送り（11 件以上で出る）。h1 の右の列いっぱいに、リストの下で中央寄せ */
.news-archive {
    flex: 1;
}

.news-archive .navigation.pagination {
    margin-top: 40px;
}

.news-archive .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.news-archive .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b7b7b7;
    border-radius: 50%;
    color: #222;
    font-size: 14px;
}

.news-archive a.page-numbers:hover,
.news-archive .page-numbers.current {
    background: #222;
    border-color: #222;
    color: #fff;
}

.news-archive .page-numbers.dots {
    border: 0;
}

/* お知らせ一覧: main の下余白 80px と footer の上余白 60px が重なって、リストの下が空きすぎていた。
   下余白だけ 20px に詰める（一覧の合計は 80px）。記事ページ（.single）は触らない */
.archive main {
    margin-bottom: 20px;
}

/*single*/
h1.single-title {
    font-size: 25px;
    margin-bottom: 20px;
    border-bottom: 1px dotted #b7b7b7;
    padding-bottom: 20px;
}

.single article.in {
    max-width: 1000px;
}

p.single-time {
    font-size: 14px;
    font-family: "alata";
    margin-bottom: 20px;
}

.single-content * {
    line-height: 2.2;
}

.single-content + .btn1 {
    margin: 70px auto 0;
    display: block;
    width: 250px;
}

/*product*/
/* 小瓶の写真は白い地なので、灰色の台ではなく、白に細い枠で見せる */
p.product-img {
    background: #fff;
    border: 1px solid #e3e3e3;
    max-width: 450px;
    margin: 0 auto 80px;
    text-align: center;
    padding: 24px;
}

.page-content h2 span {
    font-family: "alata";
    display: block;
    font-size: 18px;
    color: #666;
}

p.product-img + h2 {
    border-top: 1px solid #b7b7b7;
    margin-top: 60px;
    padding-top: 40px;
}

.product-line-up {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid #b7b7b7;
    padding: 70px 80px;
    margin: 0 auto;
}

.product-line-up-content {
    margin-left: 5%;
    width: 82%;
}

.product-line-up h2 {
    margin-top: -10px;
    width: 200px;
}

.product-line-up-content h3 {
    color: #BE4F9F;
    font-size: 20px;
    margin-bottom: 10px;
}

button.slick-arrow:before {
    color: #000;
}

p.lineup-img {
    margin: 30px 0;
    text-align: center;
    display: block;
}

p.lineup-img img {
    display: inline-block;
}

p.cimg2 {
    text-align: center;
    margin: 100px 0;
}

ul.menu li:last-child a:hover {
    background: radial-gradient(at 55% 88%, #ffd7f6 0px, #ffa4dd 50%);
}

ul.menu li a:hover {
    color: var(--pink);
}

a img:hover {
    opacity: 0.85;
}

li#content1 {
    display: block;
}

ul.product-under-li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

ul.product-under-li li {
    width: 32%;
    max-width: 450px;
    background: #fff;
    border-radius: 10px;
    padding: 40px 20px 90px;
    box-sizing: border-box;
    border: 1px solid #b7b7b7;
    margin-bottom: 30px;
    position: relative;
}

.product-under-box {
    background: #fafafa;
    padding: 60px 30px 30px;
}

ul.product-under-li h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 11px;
}

ul.product-under-li h4:after {
    content: "";
    width: 68px;
    height: 1px;
    background: #222;
    display: block;
}

ul.product-under-li li li {
    display: inline-block;
    font-size: 12px;
    border: 2px dotted #dcdcdc;
    border-radius: 50px;
    padding: 2px 12px;
    margin-right: 5px;
    margin-bottom: 6px;
    width: unset;
    max-width: unset;
}

ul.product-under-li li .btn1 {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 200px;
    bottom: 30px;
}

ul.product-under-li li h3 {
    text-align: center;
    font-size: 23px;
}

.product-under-box h2 {
    text-align: center;
    margin-bottom: 40px;
}

/*loading*/
/* スプラッシュ: 文字が浮かぶ → 文字が出そろってから線がのびる → 1 文字ずつ消える → 幕が上がってヒーローへ（初回だけ） */
#splash {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 38%, #ffffff 0%, #f7ecf3 70%, #f2e1ec 100%);
    opacity: 1;
    transition: opacity 1.2s ease;
}

#splash.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.splash__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.splash__tag {
    opacity: 0;
    font-family: 'outfit-m', sans-serif;
    font-size: 11px;
    letter-spacing: 0.6em;
    text-indent: 0.6em;
    color: #a98aa0;
}

.splash__word {
    opacity: 0;
    display: inline-flex;
    font-family: 'outfit-l', sans-serif;
    font-size: 96px;
    line-height: 1.1;
    letter-spacing: 0.32em;
    text-indent: 0.32em;
}

/* 外枠だけの文字（中は透明）。1 文字ずつ、ピンクから青緑へ移る色の線にする */
.splash__word span {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1.5px currentColor;
}

.splash__word span:nth-child(1) { -webkit-text-stroke-color: #e0699f; }
.splash__word span:nth-child(2) { -webkit-text-stroke-color: #b36fc4; }
.splash__word span:nth-child(3) { -webkit-text-stroke-color: #6a8fd8; }
.splash__word span:nth-child(4) { -webkit-text-stroke-color: #3ec7b0; }

.splash__line {
    width: 280px;
    height: 1px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, rgba(224, 105, 159, 0) 0%, #e0699f 20%, #8a7fd6 50%, #3ec7b0 80%, rgba(62, 199, 176, 0) 100%);
}

#splash.is-playing .splash__tag {
    animation: splash-fade-up 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

#splash.is-playing .splash__word {
    animation: splash-fade-up 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

#splash.is-playing .splash__line {
    animation:
        splash-line-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 2.2s both,
        splash-line-out 0.6s ease 4.1s forwards;
}

#splash.is-playing .splash__word span {
    animation: splash-letter-out 0.65s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

#splash.is-playing .splash__word span:nth-child(1) { animation-delay: 3.4s; }
#splash.is-playing .splash__word span:nth-child(2) { animation-delay: 3.6s; }
#splash.is-playing .splash__word span:nth-child(3) { animation-delay: 3.8s; }
#splash.is-playing .splash__word span:nth-child(4) { animation-delay: 4.0s; }

@keyframes splash-fade-up {
    from { opacity: 0; transform: translateY(18px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes splash-line-in {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

@keyframes splash-line-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes splash-letter-out {
    from { opacity: 1; transform: translateY(0); filter: blur(0); }
    to { opacity: 0; transform: translateY(-14px); filter: blur(2px); }
}

@media (max-width: 1000px) {
    .splash__word {
        font-size: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #splash.is-playing .splash__tag,
    #splash.is-playing .splash__word,
    #splash.is-playing .splash__word span,
    #splash.is-playing .splash__line {
        animation: none;
    }

    .splash__tag,
    .splash__word {
        opacity: 1;
    }

    .splash__line {
        transform: scaleX(1);
    }
}

.sp {
    display: none;
}

@media screen and (max-width: 1000px) {
    .sp {
        display:block;
    }

    header {
        display: block;
    }

    header .menu {
        display: none;
    }

    p.topics-title a:before {
        display: block;
        content: "NEWS";
        background: #fff;
        color: #222;
        width: 80px;
    }

    p.topics-title {
        display: none;
    }

    .news-section .in {
        display: block;
        padding: 20px 4% 0;
        box-sizing: border-box;
    }

    ul.news-content {
        width: 100%;
    }

    .news-header {
        text-align: center;
        margin: 0;
    }

    .news-header h2 span {
        line-height: 2;
    }

    p.news-btn {
        text-align: center;
    }

    p.news-btn a {
        display: inline-block;
    }

    .news-header h2 {
        margin-bottom: 19px;
        font-size: 16px;
    }

    ul.news-content li {
        display: block;
    }

    p.news-time {
        font-size: 13px;
        color: #666;
        margin: 0;
    }

    p.news-title a {
        line-height: 1.6;
        width: 100%;
        display: block;
    }

    section.news-section {
        margin-bottom: 50px;
    }

    section.greeting-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: left;
        order: 1;
    }

    section.greeting-section h2 br {
        display: none;
    }

    p.btn1 {
        margin: 0 auto;
        display: block;
    }

    .greeting-contents {
        padding: 28px 25px;
        order: 2;
        margin: 0 0 40px;
    }

    .greeting-contents h3 {
        font-size: 22px;
        text-align: center;
    }

    .greeting-contents p {
        font-size: 15px;
    }

    p.greeting-img {
        display: none;
    }

    section.feature-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }

    section.feature-section h2 + p {
        font-size: 16px;
    }

    section.feature-section h2 + p br {
        display: none;
    }

    ul.feature-contents-li {
        display: block;
    }

    ul.feature-contents-li li {
        width: 100%;
        margin: 0 0 20px;
        padding: 40px 5% 30px;
    }

    section.development-section h2 {
        font-size: 22px;
        text-align: center;
    }

    section.development-section h2 + p {
        font-size: 16px;
    }

    section.development-section h2 + p br {
        display: none;
    }

    ul.develop-li li {
        width: 100%;
        font-size: 12px;
        padding: 10px;
        text-align: center;
        letter-spacing: 0;
    }

    section.about-section h2 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 30px;
    }

    .news-header h2 span {
        font-size: 30px;
    }

    span {
    }

    ul.about-content-li {
        order: 2;
        width: 100%;
    }

    ul.about-titles {
        order: 1;
        width: 100%;
        margin-bottom: 30px;
    }

    .about-title {
        font-size: 17px;
        padding: 10px;
        margin-bottom: 6px;
        border: 1px solid #b7b7b7;
        border-radius: 10px;
        text-align: center;
        background: #fff;
    }

    .about-title span {
        font-size: 11px;
    }

    .about-content {
        padding: 30px 4%;
    }

    ul.about-content-li li h3 {
        font-size: 21px;
        text-align: center;
        margin-bottom: 10px;
    }

    section.about-stem-scell-supernatant .in {
        display: flex;
        flex-wrap: wrap;
    }

    .ascs-contents {
        display: contents;
    }

    section.about-stem-scell-supernatant h2 {
        order: 1;
        font-size: 26px;
        text-align: center;
        width: 100%;
    }

    .ascs-content h3 {
        font-size: 21px;
        order: 4;
        text-align: center;
        width: 100%;
    }

    .ascs-content {
        display: contents;
    }

    .ascs-content h3 + p {
        order: 5;
    }

    p.btn1.effect-fade.effect-scroll {
    }

    section.about-stem-scell-supernatant .btn1 {
        order: 5;
    }

    p.ascs-img {
        margin: 0 auto 30px;
    }

    section.lineup-section h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 30px;
    }

    .lineup-contents {
        display: block;
        text-align: center;
    }

    p.lineup-txt {
        width: 100%;
        margin-bottom: 30px;
        text-align: left;
    }

    .liup-btn {
        display: inline-block;
    }

    ul.feature-contents-li li h3 {
        font-size: 22px;
    }

    section.greeting-section .btn1 {
        order: 3;
    }

    .lineup-section .slick-slide {
        width: 80%!important;
        padding-bottom: 90px;
    }

    .slick-list.draggable {
        padding: 0!important;
    }

    .slick-next {
        right: 0!important;
    }

    .slick-prev {
        left: 0!important;
        z-index: 2
    }

    section.effect-section h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 30px;
    }

    section.effect-section h2 + p {
        font-size: 16px;
    }

    section.effect-section h2 + p br {
        display: none;
    }

    ul.effect-panel-li {
        width: 100%;
        margin-bottom: 0;
    }

    /* 1 列に積む幅では、左寄せの余白を戻す */
    ul.effect-panel-li:last-child:nth-child(odd) {
        margin-left: 2%;
        margin-right: 2%;
        margin-top: 0;
    }

    ul.effect-panel-li h3 {
        font-size: 18px;
    }

    .effect-panel-txt.open {
        padding: 20px 3%;
    }

    .effect-panel-txt.open h4 + p:last-child {
    }

    .effect-panel-txt.open h4 {
        margin-bottom: 9px;
    }

    .effect-panel-txt.open h4 + p {
        font-size: 14px;
    }

    section.ppr-section {
        padding: 0;
    }

    section.ppr-section h2 {
        font-size: 24px;
        text-align: center;
    }

    ul.ppr-panel-li li h3 {
        font-size: 14px;
        padding: 10px 60px 10px 20px;
        position: relative;
    }

    ul.ppr-panel-li li h3:after {
        width: 44px;
        height: 100%;
    }

    .ppr-panel-txt.open:before {
        right: 14px;
        top: 11px;
        font-size: 12px;
    }

    .ppr-panel-txt:before {
        right: 14px;
        top: 13px;
    }

    ul.home-link-li {
        display: block;
    }

    ul.home-link-li li {
        width: 100%;
    }

    ul.home-link-li li a {
        padding: 30px;
        margin: 0 0 22px;
        font-size: 20px;
    }

    ul.home-link-li li a span {
        font-size: 14px;
    }

    ul.home-link-li li a:after {
        width: 25px;
        height: 25px;
    }

    ul.home-link-li li a:before {
        right: 23px;
        bottom: 21px;
        font-size: 13px;
    }

    p.contact-link a {
        text-align: center;
        padding-bottom: 70px;
    }

    p.contact-link a:after {
        bottom: 20px;
        right: 0;
        left: 0;
        margin: auto;
    }

    p.contact-link a strong {
        line-height: 1;
        margin: 10px 0 3px;
    }

    p.contact-link a span {
        font-size: 16px;
        line-height: 3;
        display: block;
        color: #666;
    }

    p.contact-link a:before {
        bottom: 23px;
        right: 0;
        left: 0;
    }

    footer .in {
        display: block;
    }

    table.footer-table {
        width: 100%;
    }

    table.footer-table th,table.footer-table td {
        border: none;
        font-size: 13px;
    }

    table.footer-table td {
        line-height: 1.5;
    }

    ul.footer-nav {
        display: none;
    }

    ul.feature-contents-li li p {
        font-size: 15px;
    }

    /*company*/
    .page article h1.in {
        text-align: center;
        font-size: 32px;
    }

    table.company-table th, table.company-table td {
        width: 100%;
        display: block;
        padding: 0px 0;
    }

    table.company-table th {
        padding-top: 7px;
        text-align: center;
        border-bottom: 1px dotted #aaaaaaa3;
        padding-bottom: 7px;
    }

    table.company-table td {
        padding-bottom: 20px;
        padding-top: 25px;
    }

    ul.director-li li {
        display: block;
        margin-bottom: 20px;
    }

    .director-box {
        width: 100%;
    }

    table.company-table td p.director-pic {
        margin: 0 auto 5px;
        width: 60%;
    }

    p.director-name {
        text-align: center;
    }

    table.company-table td p.director-profile {
        text-align: center;
        margin-bottom: 10px;
    }

    ul.director-career li {
        margin-bottom: 3px;
    }

    .facility-pic {
        padding: 40px 5% 40px;
    }

    .facility-pic img {
        width: 100%;
        margin-bottom: 20px;
    }

    .facility-pic h3 {
        text-align: center;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .facility-pic p {
        font-size: 15px;
        margin-bottom: 0;
    }

    .page-content h2 {
        text-align: center;
        font-size: 25px;
        margin-bottom: 30px;
    }

    table.contact-table th, table.contact-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    table.contact-table {
        width: 100%;
    }

    table.contact-table th {
        padding: 15px 0 0;
        text-align: center;
        border-bottom: none;
    }

    table.contact-table th p {
        margin: 0;
    }

    table.contact-table td {
        padding: 15px 0 0;
    }

    .archive main, .single main {
        margin: 40px 0;
    }

    /* SP も同じ理由で、一覧の下余白だけ 0（footer の上余白 60px が残る） */
    .archive main {
        margin-bottom: 0;
    }

    h1.single-title {
        font-size: 20px;
    }

    .archive .in {
        display: block;
    }

    .archive .in h1 {
        text-align: center;
        width: 100%;
        margin-bottom: 40px;
    }

    ul.news-archive-li li a {
        padding: 20px 61px 20px 0;
        font-size: 15px;
    }

    ul.cell-li {
        display: block;
    }

    ul.cell-li li {
        width: 80%;
        margin: 0 auto 30px;
        padding: 50px 3% 0;
    }

    .cytokine {
        padding: 30px 4% 0;
        margin-bottom: 60px;
    }

    .cytokine p {
        font-size: 15px;
    }

    .difference {
        display: block;
    }

    .kinds {
    }

    p.dif-img {
        width: 80%;
        margin: 0px auto 40px;
    }

    .dif-content {
        width: 100%;
    }

    ul.kinds-li li {
        width: 88%;
        padding: 30px 4% 70px;
        margin: 0 auto 50px;
    }

    p.effect-header-txt {
        width: 100%;
        padding: 0 0 30px;
        margin: 0;
        font-size: 15px;
    }

    .effect-contents.open {
        padding: 0px 20px;
        background: #f9f9f9;
    }

    .effect-contents.open h4:first-child {
        border: none;
    }

    .effect-header:after {
        top: -15px;
    }

    .effect-header.open:after {
        top: 32px;
    }

    .effect-header h3 {
        font-size: 22px;
    }

    .effect-contents.open h4 {
        font-size: 16px;
    }

    .effect-contents.open p {
        font-size: 14px;
        margin-bottom: 0;
    }

    table.footer-table tr {
        border-bottom: 1px solid #aaa;
    }

    table.footer-table th {
        width: 24%;
    }

    footer {
        border-top: 1px dotted #ccc;
    }

    #hamburger .btn-gNav {
        position: fixed;
        top: 24px;
        right: 20px;
        width: 28px;
        height: 27px;
        z-index: 9999;
        box-sizing: border-box;
        cursor: pointer;
        -webkit-transition: all 400ms;
        transition: all 400ms;
    }

    #hamburger .btn-gNav span {
        position: absolute;
        width: 100%;
        height: 2px;
        background: #666;
        border-radius: 10px;
        -webkit-transition: all 400ms;
        transition: all 400ms;
    }

    #hamburger .btn-gNav span:nth-child(1) {
        top: 0px;
        left: 0px;
    }

    #hamburger .btn-gNav span:nth-child(2) {
        top: 9px;
        left: 0;
    }

    #hamburger .btn-gNav span:nth-child(3) {
        top: 18px;
        left: 0;
    }

    #hamburger .btn-gNav.open span:nth-child(1) {
        background: #ffffff;
        top: 9px;
        -webkit-transform: rotate(-45deg);
        -moz-transform : rotate(-45deg);
        transform : rotate(-45deg);
    }

    #hamburger .btn-gNav.open span:nth-child(2),#hamburger
.btn-gNav.open span:nth-child(3) {
        top: 9px;
        background : #fff;
        -webkit-transform: rotate(45deg);
        -moz-transform : rotate(45deg);
        transform : rotate(45deg);
    }

    #gNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background:
url(https://sccl.jp/wp-content/uploads/2024/03/bg2-scaled.jpg);
        font-size: 16px;
        box-sizing: border-box;
        z-index: 999;
        padding-top: 70px;
        transition: .3s;
    }

    #gNav.open {
        right: 0px;
    }

    #gNav .gNav-menu {
        width: 100%;
        height: 100%;
        text-align: left;
        flex-direction: column;
        border-top: 1px dotted #0000009e;
    }

    #gNav .gNav-menu li {
        display: block;
        padding: 0px 0;
    }

    #gNav .gNav-menu li a {
        color: #000;
        text-decoration: none;
        display: block;
        padding: 15px 10px;
        border-bottom: 1px dotted #0000009e;
    }

    .page article h1.in span {
        font-size: 17px;
    }

    section.mv-section {
        background:
url(https://sccl.jp/wp-content/uploads/2024/03/topimg.jpg) no-repeat
center/cover;
        height: 50vh;
        padding: 0 5%;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
    }

    section.mv-section h2 {
        /* 「ヒト幹細胞培養上清液の製造」を 1 行に収める（「製造」だけが落ちない） */
        font-size: 5.4vw;
        text-align: center;
        padding-top: 8vw;
    }

    section.mv-section h2 br.sp {
        display: none;
    }

    .product-line-up {
        padding: 50px 0%;
        display: flex;
        flex-direction: column;
    }

    .product-line-up h2 {
        width: 100%;
        text-align: center;
    }

    ul.product-under-li {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    ul.product-under-li li {
        width: 100%;
        display: block;
    }

    ul.product-under-li h4 {
        text-align: center;
    }

    ul.product-under-li h4:after {
        margin: 10px auto 20px;
    }

    ul.lineup-effect-li {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        text-align: center;
    }

    ul.product-under-li li .lineup-effect-li li {
        width: 100%;
        display: block;
    }

    .product-under-box {
        padding: 60px 5% 30px;
    }
}

/* ==========================================================
   全体のアニメーション（控えめ版）
   ・スクロールで、少し下からふわっと出る（.effect-soft。24px・900ms）。トップの .effect-fade（45px・800ms）より移動が小さい
   ・ボタンは「News一覧へ戻る」(.btn1) と同じ言葉: ピンクの円が中心から広がり、文字・矢印が白になる
   ・動きを減らす設定の人には、上の prefers-reduced-motion で動かさない
   付与は footer.php（ページの種類ごと）
   ========================================================== */

/* スクロールで出る（控えめ）。遅延は footer.php が要素ごとに入れる */
.effect-soft {
    opacity: 0;
    transform: translate(0, 24px);
    transition: opacity 900ms ease, transform 900ms ease;
}

.effect-soft.effect-scroll {
    opacity: 1;
    transform: translate(0, 0);
}

/* リンクの色・画像の濃さの変化をなめらかに */
a {
    transition: color 0.3s ease;
}

a img {
    transition: opacity 0.3s ease;
}

/* ---- 矢印つきの円ボタン（お知らせ一覧の行・お知らせをもっと見る・下部のリンク2種）----
   円（:after）の中で、ピンクが中心から広がる。矢印（:before）は円の上に出して、白にする。
   背景を円形グラデーションの大きさで動かす（疑似要素の ::before を使えない円のため） */
ul.news-archive-li li a:after,
p.news-btn a:after,
ul.home-link-li li a:after,
p.contact-link a:after {
    background-image: var(--pink-circle);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0% 0%;
    transition: background-size 0.6s ease-in-out, border-color 0.4s ease;
}

ul.news-archive-li li a:before,
p.news-btn a:before,
ul.home-link-li li a:before,
p.contact-link a:before {
    z-index: 1;
    transition: color 0.4s ease, transform 0.4s ease;
}

ul.news-archive-li li a:hover:after,
p.news-btn a:hover:after,
ul.home-link-li li a:hover:after,
p.contact-link a:hover:after {
    background-size: 300% 300%;
    border-color: var(--pink);
}

ul.news-archive-li li a:hover:before,
p.news-btn a:hover:before,
ul.home-link-li li a:hover:before,
p.contact-link a:hover:before {
    color: #fff;
}

/* お知らせ一覧の行: タイトルの色も変えて、どの行にカーソルがあるか分かるようにする */
p.news-archive-title {
    transition: color 0.3s ease;
}

ul.news-archive-li li a:hover p.news-archive-title {
    color: var(--pink);
}

/* ヘッダーの Contact / お問合せ: 地はピンクのまま、ホバーで「詳しく見る」(.btn1) と同じく円が中心から広がり、文字は白。
   地がすでにピンクなので、円は一段濃いピンク（#BE4F9F。サイトの強調色）にして、広がるのが見えるようにする */
ul.menu li:last-child a {
    position: relative;
    z-index: 0;
    overflow: hidden;
    border: 1px solid #E1A4D4;
    transition: color 0.4s ease;
}

ul.menu li:last-child a::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    padding-top: 100%;
    height: 0;
    border-radius: 50%;
    background: #BE4F9F;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transform: translateY(-50%) scale(0.1);
    transition: opacity 0.5s, transform 0s;
    transition-delay: 0s, 0.4s;
}

/* 既存の hover（わずかなグラデーション変化）は、広がる円に置き換える */
ul.menu li:last-child a:hover {
    background: #E1A4D4;
    background-image: radial-gradient(at 55% 88%, #EABDE0 0px, transparent 50%);
    color: #fff;
    border-color: #BE4F9F;
}

ul.menu li:last-child a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    transition: opacity 0.8s, transform 0.6s ease-in-out;
    transition-delay: 0s;
}

/* スライダーの前へ・次へ: 色がピンクに変わり、少し大きくなる（円の形の記号なので、広がる円の代わり） */
.slick-prev:before,
.slick-next:before {
    transition: color 0.4s ease, transform 0.4s ease;
}

.slick-prev:hover:before,
.slick-next:hover:before {
    color: var(--pink);
    transform: scale(1.15);
}

/* ==========================================================
   背景の螺旋（WebGL 版。全ページの main）。付与は js/spiral-webgl.js
   ・canvas は main の中で、画面に貼り付く（sticky）。main の背景より上、中身より下
   ・描き始めたら html に .spiral-gl が付き、元の CSS の背景を外す（入れ替えは 1 フレームで行う）
   ・動きを減らす設定・WebGL が使えない場合は、JS が何もしないので、元の背景のまま
   ========================================================== */
.spiral-gl-host {
    position: relative;
    isolation: isolate;
}

.spiral-gl-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.spiral-gl-canvas {
    display: block;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
}

html.spiral-gl main {
    background: none;
}

/* ページが短いとき（お知らせ一覧など）、フッターの下に白い余りが出ていた。
   body を縦に並べて main を伸ばし、フッターをいつも画面の下に置く（余りはリストとフッターの間に回る） */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* 404 ページ: お知らせ一覧と同じ main の余白・見出し（35px ＋ 英字 20px）。文と戻るボタンは中央に置く */
.error404 main {
    margin: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found {
    width: 100%;
    text-align: center;
}

.not-found h1 {
    font-size: 35px;
    margin-bottom: 40px;
}

.not-found h1 span {
    display: block;
    font-family: "alata";
    font-size: 20px;
    color: #666;
    line-height: 1;
    margin-top: 12px;
}

.not-found p {
    margin-bottom: 16px;
    line-height: 1.9;
}

.not-found .btn1 {
    width: 280px;
    margin: 40px auto 0;
}

@media screen and (max-width: 767px) {
    .error404 main {
        margin: 40px 0;
    }

    .not-found h1 {
        font-size: 28px;
    }
}

/* 培養施設（/facility）: 大阪ラボ・東京ラボの説明 */
.facility-img1 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.facility-gallery {
    display: flex;
    gap: 16px;
    margin: 0 0 40px;
}

.facility-gallery li {
    width: calc((100% - 16px) / 2);
}

.facility-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 所在地・認証の表（会社概要の表より小さく、行の区切りだけで見せる） */
table.facility-info {
    width: 100%;
    margin: 0 0 40px;
    border-collapse: collapse;
}

table.facility-info th,
table.facility-info td {
    padding: 16px 24px 16px 0;
    text-align: left;
    vertical-align: middle;
    line-height: 1.9;
    border-top: 1px solid #dcdcdc;
}

table.facility-info tr:last-child th,
table.facility-info tr:last-child td {
    border-bottom: 1px solid #dcdcdc;
}

table.facility-info th {
    width: 120px;
    font-weight: 500;
    color: #BE4F9F;
}

.page-content h3.facility-sub {
    font-size: 24px;
    margin: 0 0 24px;
    padding-top: 40px;
    border-top: 1px solid #b7b7b7;
}

/* 施設の特長: 2 列のカード（番号・見出し・説明） */
ul.facility-feature-li {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 0 56px;
}

ul.facility-feature-li > li {
    width: calc((100% - 24px) / 2);
    box-sizing: border-box;
    padding: 32px 32px 24px;
    background: #f6f6f6;
    border-radius: 10px;
}

.facility-feature-num {
    display: block;
    margin: 0 0 8px;
    font-family: "alata";
    font-size: 24px;
    color: #BE4F9F;
}

.page-content ul.facility-feature-li h4 {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.6;
}

.page-content ul.facility-feature-li p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
}

/* 区域ごとの清浄度の表 */
table.facility-class-table {
    width: 100%;
    margin: 40px 0 40px;
    border-collapse: collapse;
    background: #ffffff;
}

table.facility-class-table th,
table.facility-class-table td {
    padding: 16px 24px;
    text-align: center;
    border: 1px solid #dcdcdc;
}

table.facility-class-table th {
    font-weight: 500;
    background: #F3F5F7;
}

@media screen and (max-width: 767px) {
    .facility-gallery {
        flex-direction: column;
        margin-bottom: 24px;
    }

    .facility-gallery li {
        width: 100%;
    }

    table.facility-info th,
    table.facility-info td {
        display: block;
        width: 100%;
        padding: 8px 0;
        border: 0;
    }

    table.facility-info th {
        padding-top: 16px;
        border-top: 1px solid #dcdcdc;
    }

    table.facility-info tr:last-child td {
        border-bottom: 1px solid #dcdcdc;
    }

    .page-content h3.facility-sub {
        font-size: 20px;
        text-align: center;
    }

    ul.facility-feature-li {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
    }

    ul.facility-feature-li > li {
        width: 100%;
        padding: 24px 16px 16px;
    }

    table.facility-class-table th,
    table.facility-class-table td {
        padding: 8px;
    }
}

/* 培養施設: ページ内リンク（大阪ラボ・東京ラボ・主任培養士）と、3 列の表 */
ul.facility-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 0 56px;
}

ul.facility-nav a {
    display: block;
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding: 8px 32px;
    border: 1px solid #44444461;
    border-radius: 24px;
    color: #222;
    text-decoration: none;
    transition: color 0.4s ease;
}

/* 「詳しく見る」(.btn1) と同じ、ピンクの円が中心から広がるホバー */
ul.facility-nav a::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    padding-top: 100%;
    height: 0;
    border-radius: 50%;
    background: var(--pink);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transform: translateY(-50%) scale(0.1);
    transition: opacity 0.5s, transform 0s;
    transition-delay: 0s, 0.4s;
}

ul.facility-nav a:hover {
    color: #ffffff;
}

ul.facility-nav a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    transition: opacity 0.8s, transform 0.6s ease-in-out;
    transition-delay: 0s;
}

.page-content h2[id] {
    scroll-margin-top: 120px;
}

table.facility-class-table--wide {
    margin-top: 24px;
}

table.facility-class-table--wide td:first-child {
    text-align: left;
}

@media screen and (max-width: 767px) {
    ul.facility-nav {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 40px;
    }

    ul.facility-nav a {
        padding: 8px 16px;
    }
}

/* 培養士・顧問（/staff と /company の表）: 写真つきの人物カード */

/* 培養士の一覧: 写真・肩書・名前を横に並べる（5 列。端数の行は中央に寄せる） */
ul.staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 0 0 80px;
}

ul.staff-grid > li {
    width: calc((100% - 96px) / 5);
    text-align: center;
}

.page-content .staff-grid__img {
    margin: 0 0 16px;
}

/* 写真は丸（正円）。縦長の元写真を正方形に切るので、顔が上に寄るぶん 20% の位置で切る（2026-11-06 判断ページで「丸」を採用） */
.staff-grid__img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
    border-radius: 50%;
}

.page-content .staff-grid__role {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.6;
    color: #BE4F9F;
}

.page-content .staff-grid__name {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

/* 会社概要の表の中では 3 列にして、顧問の行には培養施設ページへの案内を付ける */
table.company-table ul.staff-grid {
    gap: 16px;
    margin: 0;
}

table.company-table ul.staff-grid > li {
    width: calc((100% - 32px) / 3);
}

table.company-table td p.staff-grid__img {
    margin: 0 0 8px;
}

table.company-table td p.staff-grid__role {
    margin: 0 0 4px;
    line-height: 1.6;
}

table.company-table td p.staff-grid__name {
    margin: 0;
    line-height: 1.6;
}

table.company-table td p.staff-more {
    margin: 24px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

/* 字のリンク（smuto-web §16-5）: ふだんは薄い線、ホバーで濃い線が左から引かれ、離すと右へ抜ける。
   高さ 1px の背景の幅を伸ばす（折り返しても行ごとに引ける） */
table.company-table td p.staff-more a {
    padding: 0 0 2px;
    color: #BE4F9F;
    text-decoration: none;
    background:
        linear-gradient(currentColor, currentColor) no-repeat right bottom / 0% 1px,
        linear-gradient(rgba(190, 79, 159, 0.3), rgba(190, 79, 159, 0.3)) no-repeat left bottom / 100% 1px;
    transition: background-size 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

table.company-table td p.staff-more a:hover,
table.company-table td p.staff-more a:focus-visible {
    background-position: left bottom, left bottom;
    background-size: 100% 1px, 100% 1px;
}

table.company-table td p.staff-more a:focus {
    outline: none;
}

table.company-table td p.staff-more a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    table.company-table td p.staff-more a {
        transition: none;
    }
}

/* 顧問: 写真（左）と肩書・名前・紹介文（右）のカードを縦に並べる */
ul.advisor-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 0 80px;
}

ul.advisor-list > li {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    box-sizing: border-box;
    padding: 32px 40px;
    background: #f6f6f6;
    border-radius: 10px;
}

/* 2 人目・4 人目… は写真を右に（左右交互。2026-11-06 判断ページで採用） */
ul.advisor-list > li:nth-child(even) {
    flex-direction: row-reverse;
}

.page-content .advisor-card__img {
    flex: 0 0 200px;
    margin: 0;
}

.advisor-card__img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
    border-radius: 50%;
}

.advisor-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.page-content .advisor-card__role {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #BE4F9F;
}

.page-content .advisor-card__name {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.4;
}

.page-content .advisor-card__name span {
    display: block;
    margin: 4px 0 0;
    font-size: 13px;
    color: #666;
}

.advisor-card__txt {
    padding-top: 16px;
    border-top: 1px solid #dcdcdc;
}

.page-content .advisor-card__txt p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
}

/* 顧問の略歴・専門領域（紹介文の下） */
.page-content .advisor-card__label {
    margin: 24px 0 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.page-content .advisor-card__lead {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.9;
}

/* 略歴の 1 行（年＋内容）を 1 つの箱にして、画面に入ったとき上から 1 つずつ出す（functions.php の順に出す要素に入れてある） */
dl.advisor-card__career {
    margin: 0;
}

.advisor-card__row {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
    margin: 0 0 8px;
}

/* 行の多い略歴（髙戸先生・11 行）は 2 列に流す。上から下へ埋めてから右の列へ（パンフレットと同じ並び） */
.advisor-card__career--2col {
    columns: 2;
    column-gap: 32px;
}

.advisor-card__career--2col .advisor-card__row {
    break-inside: avoid;
}

dl.advisor-card__career dt {
    font-size: 14px;
    line-height: 1.9;
    color: #BE4F9F;
}

dl.advisor-card__career dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
}

ul.advisor-card__list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.9;
}

ul.advisor-card__list li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #BE4F9F;
}

@media screen and (max-width: 767px) {
    ul.staff-grid {
        gap: 16px;
        margin-bottom: 56px;
    }

    ul.staff-grid > li {
        width: calc((100% - 16px) / 2);
    }

    table.company-table ul.staff-grid > li {
        width: calc((100% - 16px) / 2);
    }

    ul.advisor-list {
        gap: 16px;
        margin-bottom: 56px;
    }

    ul.advisor-list > li {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    ul.advisor-list > li:nth-child(even) {
        flex-direction: column;
    }

    .page-content .advisor-card__img {
        flex: none;
        width: 60%;
        margin: 0 auto;
    }

    .page-content .advisor-card__role {
        text-align: center;
    }

    .page-content .advisor-card__name {
        font-size: 22px;
        text-align: center;
    }

    .advisor-card__row {
        grid-template-columns: 56px 1fr;
        column-gap: 12px;
    }

    .advisor-card__career--2col {
        columns: 1;
    }

    dl.advisor-card__career dt,
    dl.advisor-card__career dd,
    ul.advisor-card__list li {
        font-size: 13px;
    }

}

/* 研究・解析レポート（/research）: 報告書の概要・公開データ・閲覧の方法・利用規約・申請フォーム */

/* 報告書の題名の札 */
.research-head {
    margin: 0 0 40px;
    padding: 40px;
    background: #f6f6f6;
    border-radius: 10px;
}

.page-content .research-head__label {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #BE4F9F;
}

.page-content .research-head__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
}

.page-content .research-head__sub {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

table.facility-info.research-head__meta {
    margin: 0;
    background: #ffffff;
    border-radius: 8px;
}

table.facility-info.research-head__meta th,
table.facility-info.research-head__meta td {
    box-sizing: border-box;
    padding: 12px 16px;
}

table.facility-info.research-head__meta tr:first-child th,
table.facility-info.research-head__meta tr:first-child td {
    border-top: 0;
}

table.facility-info.research-head__meta tr:last-child th,
table.facility-info.research-head__meta tr:last-child td {
    border-bottom: 0;
}

/* 報告書の図。字が小さいので幅いっぱいに出し、押すと大きく表示（js/image-modal.js） */
.research-figure {
    margin: 0 0 48px;
}

.research-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #ffffff;
}

.page-content .research-figure figcaption {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

/* 由来細胞・公開データの表 */
table.facility-info.research-origin th,
table.facility-info.research-data th {
    width: 160px;
    vertical-align: top;
}

/* 箇条書き（限界） */
ul.research-list {
    margin: 0 0 24px;
}

ul.research-list > li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 16px;
    font-size: 15px;
    line-height: 1.9;
}

ul.research-list > li::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #BE4F9F;
}

/* ボタン・フォームの下の注記（ボタンと同じく中央に。2026-11-06 ユーザー「真ん中でいいのでは」） */
.page-content .research-note {
    margin: -24px 0 56px;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
    color: #666;
}

/* 注記が 2 文のとき（「。」で p を分けた）は、文と文の間を空けない */
.page-content .research-note.txt-split {
    margin-bottom: 0;
}

.page-content .research-note.txt-split + .research-note {
    margin-top: 0;
}

.page-content .research-note a {
    color: #BE4F9F;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 閲覧の方法: 3 つの要点 */
ul.research-point-li {
    display: flex;
    gap: 24px;
    margin: 0 0 40px;
}

ul.research-point-li > li {
    width: calc((100% - 48px) / 3);
    box-sizing: border-box;
    padding: 24px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    text-align: center;
}

ul.research-point-li > li strong {
    display: block;
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    color: #BE4F9F;
}

ul.research-point-li > li span {
    font-size: 14px;
    line-height: 1.8;
}

/* 閲覧の方法: 3 段の流れ */
ol.research-flow {
    display: flex;
    gap: 24px;
    margin: 0 0 80px;
}

ol.research-flow > li {
    position: relative;
    width: calc((100% - 48px) / 3);
    box-sizing: border-box;
    padding: 32px 24px 24px;
    background: #f6f6f6;
    border-radius: 10px;
}

.research-flow__num {
    display: block;
    margin: 0 0 8px;
    font-family: "alata";
    font-size: 24px;
    line-height: 1;
    color: #BE4F9F;
}

ol.research-flow > li strong {
    display: block;
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
}

ol.research-flow > li span:not(.research-flow__num) {
    font-size: 14px;
    line-height: 1.9;
}

/* 利用規約: 条ごとの箱 */
.research-terms {
    margin: 0 0 80px;
    padding: 40px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
}

.research-terms > section {
    margin: 0 0 24px;
    padding: 0 0 24px;
    border-bottom: 1px solid #dcdcdc;
}

.research-terms > section:last-of-type {
    margin-bottom: 0;
    border-bottom: 0;
}

.page-content .research-terms h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.page-content .research-terms p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.9;
}

.page-content .research-terms p:last-child {
    margin-bottom: 0;
}

.research-terms ul {
    margin: 0 0 8px;
}

.research-terms ul > li {
    position: relative;
    margin: 0 0 4px;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.9;
}

.research-terms ul > li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #BE4F9F;
}

.page-content .research-terms__example {
    padding: 12px 16px;
    background: #f6f6f6;
    border-radius: 8px;
}

.page-content .research-terms__date {
    margin: 24px 0 0;
    font-size: 13px;
    text-align: right;
    color: #666;
}

/* 申請フォーム: お問い合わせと同じ表。同意の欄は箱と字を横に並べ、入力欄は枠からはみ出さない */
.contact-table .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    font-size: 14px;
}

.contact-table .wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-table .wpcf7-acceptance input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 4px 0 0;
}

/* 利用目的: プルダウンではなく、選択肢を 1 行ずつ並べる（2026-11-06 ユーザー「プルダウンのレイアウトを変えて 1 つずつ」） */
.contact-table .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-table .wpcf7-radio .wpcf7-list-item {
    margin: 0;
    font-size: 15px;
}

.contact-table .wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.contact-table .wpcf7-radio input[type="radio"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #BE4F9F;
}

.contact-table input[type="text"],
.contact-table input[type="email"],
.contact-table select,
.contact-table textarea {
    max-width: 100%;
    box-sizing: border-box;
}

/* お知らせの記事の中のフォーム（研究・解析レポート公開のお知らせ）: 見出しと注記 */
.single-content > h2 {
    margin: 48px 0 16px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}

.single-content .research-note {
    margin: 24px 0 0;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
    color: #666;
}

.single-content .research-note a {
    color: #BE4F9F;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 報告書の目次: 部ごとの箱を 2 列に */
.research-toc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin: 0 0 48px;
}

.research-toc > section {
    box-sizing: border-box;
    padding: 24px;
    background: #f6f6f6;
    border-radius: 10px;
}

.research-toc > section.research-toc__appendix {
    grid-column: 1 / -1;
}

.page-content .research-toc h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: #BE4F9F;
}

.research-toc li {
    display: flex;
    gap: 8px;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.8;
}

.research-toc li > span {
    flex: 0 0 56px;
    color: #666;
}

.research-toc__appendix li > span {
    flex-basis: 64px;
}

/* 試料と方法・注目される経路・用語解説の表: 見出しの列を広めに */
table.facility-info.research-samples th,
table.facility-info.research-function th,
table.facility-info.research-glossary th {
    width: 200px;
    vertical-align: top;
}

@media screen and (max-width: 767px) {
    /* 題「研究・解析レポート」は 9 字あり、40px だと 360px の画面からはみ出す */
    .page-slug-research article h1.in {
        font-size: 32px;
    }

    .research-head {
        margin-bottom: 32px;
        padding: 24px 16px;
    }

    .page-content .research-head__title {
        font-size: 20px;
    }

    table.facility-info.research-head__meta th,
    table.facility-info.research-head__meta td {
        padding: 6px 12px;
    }

    table.facility-info.research-head__meta th {
        padding-top: 12px;
        border-top: 1px solid #dcdcdc;
    }

    table.facility-info.research-head__meta tr:first-child th {
        border-top: 0;
    }

    .research-figure {
        margin-bottom: 32px;
    }

    table.facility-info.research-origin th,
    table.facility-info.research-data th,
    table.facility-info.research-samples th,
    table.facility-info.research-function th,
    table.facility-info.research-glossary th {
        width: 100%;
    }

    .research-toc {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 32px;
    }

    .research-toc > section {
        padding: 16px;
    }

    .research-toc li {
        font-size: 13px;
    }

    .single-content > h2 {
        margin-top: 32px;
        font-size: 18px;
        text-align: center;
    }

    .page-content .research-note {
        margin: -16px 0 40px;
    }

    ul.research-point-li {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }

    ul.research-point-li > li {
        width: 100%;
        padding: 16px;
    }

    ol.research-flow {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 56px;
    }

    ol.research-flow > li {
        width: 100%;
        padding: 24px 16px 16px;
    }

    .research-terms {
        margin-bottom: 56px;
        padding: 24px 16px;
    }
}

/* 日本語の改行: 文節の途中（「認定／医」「しま／す」など）で折れないようにする。
   word-break: auto-phrase は文節の切れ目で折り返す指定（Chrome 119 以降）。未対応のブラウザでは従来どおり折れるだけで、崩れはしない。
   text-wrap: pretty は、最後の行に 1〜2 字だけ残るのを避ける */
main p,
main li,
main td,
main th,
main h1,
main h2,
main h3,
main h4,
footer p {
    word-break: auto-phrase;
    text-wrap: pretty;
}

/* SP の改行制御（smuto-website §11-2）。このペアだけは汎用クラスとして許可されている */
@media (min-width: 768px) {
    .u-sp-on {
        display: none;
    }

    .u-tab-off {
        display: inline;
    }
}

@media (max-width: 767px) {
    .u-sp-on {
        display: block;
    }

    .u-tab-off {
        display: none;
    }
}

/* 「。」で p を分けた文（scripts/linebreaks.py）。同じ段落の文と文の間に、p の下余白が入らないようにする */
p.txt-split {
    margin-bottom: 0;
}

/* フッターの住所（SP）: 字を少し詰めて、「コムズスクエア守口本町-B 302号」「THE CLASS 2階」が途中で折れないようにする。
   <br class="u-sp-on"> で決めた位置以外では折らない */
@media (max-width: 767px) {
    .footer-addr__body,
    .footer-info1 {
        font-size: 14px;
        letter-spacing: 0em;
    }

    .footer-addr__body {
        white-space: nowrap;
    }

    .footer-info1 {
        white-space: nowrap;
    }
}

/* トップ「取り扱うヒト幹細胞の種類」: 文章を左に縦に積み、ボタンは右上に置く（文を分けた p が横に並ばないよう、まとめて 1 つの箱に入れた） */
@media (min-width: 768px) {
    .lineup-contents {
        align-items: flex-start;
    }

    .lineup-contents__txt {
        width: 70%;
    }

    .lineup-contents__txt p.lineup-txt {
        width: 100%;
    }

    .lineup-contents__txt p.lineup-txt:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .lineup-contents__txt p.lineup-txt {
        width: 100%;
    }
}

/* 施設の指標（大阪ラボ）: 4 つの数値・規格を横に並べる（SP は 2 列） */
ul.facility-stat-li {
    display: flex;
    gap: 16px;
    margin: 0 0 56px;
}

ul.facility-stat-li > li {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    padding: 24px 8px 24px;
    text-align: center;
    background: #f6f6f6;
    border-radius: 10px;
}

.facility-stat-li__value {
    display: block;
    margin: 0 0 8px;
    font-family: "alata";
    font-size: 32px;
    line-height: 1.4;
    color: #BE4F9F;
}

.facility-stat-li__label {
    display: block;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 767px) {
    ul.facility-stat-li {
        flex-wrap: wrap;
    }

    ul.facility-stat-li > li {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .facility-stat-li__value {
        font-size: 28px;
    }
}

/* 各ラボの「培養施設ページ」への外部リンク（「詳しく見る」と同じボタン）。字が長いので、幅を広げて 1 行に収める */
p.btn1.facility-link {
    width: 400px;
    margin: 0 0 56px;
}

/* ページ末尾の案内（培養施設 ⇄ 培養士・顧問）は、ほかの「詳しく見る」と同じく中央に置く */
p.btn1.facility-link--center {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

/* 薄い灰の地のボタン（ページの途中の「申請する」・解析データへの「こちら」）。送信ボタンと同じ見た目。
   地は a ではなく p に敷く ―― a に敷くと、ホバーで広がるピンクの円（a::before・z-index -1）が地の後ろに隠れ、白い字だけが残って読めない。
   p は position: relative + z-index で積み重ねの土台になるので、p の地 → 円 → 字の順に描かれる */
p.btn1.btn1--fill {
    margin-bottom: 64px;
    border-radius: 30px;
    background: #F3F5F7;
}

p.btn1.btn1--fill a {
    background: transparent;
}

p.btn1.btn1--fill.btn1--apply {
    width: 280px;
}

@media (max-width: 767px) {
    p.btn1.btn1--fill {
        margin-bottom: 48px;
    }

    p.btn1.btn1--fill.btn1--apply {
        width: 100%;
    }
}

@media (max-width: 767px) {
    p.btn1.facility-link {
        width: 100%;
        margin: 0 0 40px;
    }
}

/* 資料の図（清浄度のクラス分けの表・培養方法の比較）: パンフレットの図を、そのまま画像で載せる。
   SP は画面の幅に縮めると表の字が読めなくなるので、図の幅を保ったまま横に送って見る */
@media (min-width: 768px) {
    .facility-figure {
        max-width: 880px;
        margin: 0px auto 56px auto;
    }

    .facility-figure__img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* 横に送る案内は SP だけ */
    .page-content .facility-figure__note {
        display: none;
    }
}

@media (max-width: 767px) {
    .facility-figure {
        margin: 0px 0px 40px 0px;
    }

    .facility-figure__scroll {
        margin: 0px 0px 8px 0px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .facility-figure__img {
        display: block;
        width: 640px; /* 表の字が 11px 前後で読める幅 */
        max-width: none; /* 全体の img { max-width: 100% } を外す（縮めない） */
        height: auto;
        border-radius: 8px;
    }

    /* 字の細かい比較の表は、さらに広げる */
    .facility-figure__img--wide {
        width: 800px;
    }

    .page-content .facility-figure__note {
        margin: 0px 0px 0px 0px;
        font-size: 12px;
        line-height: 1.6;
        text-align: right;
    }
}

/* 細胞の写真の下に付ける題と説明（状態の良い細胞・劣化が見られる細胞）。
   .page-content p の下余白 40px が写真ごとに入らないよう、ここで 0 にする。
   写真を div（__photo）で包むのは、WordPress の自動整形が img と見出しの間に <br> を入れて、すき間が広がるのを防ぐため */
@media (min-width: 768px) {
    .facility-gallery__photo {
        margin: 0px 0px 16px 0px;
    }

    .page-content .facility-gallery__title {
        margin: 0px 0px 8px 0px;
        font-size: 20px;
        line-height: 1.6;
    }

    .page-content .facility-gallery__text {
        margin: 0px 0px 0px 0px;
        font-size: 14px;
        line-height: 1.9;
    }
}

@media (max-width: 767px) {
    /* 縦に積んだとき、説明と次の写真の間をあける */
    .facility-gallery__item {
        padding: 0px 0px 16px 0px;
    }

    .facility-gallery__photo {
        margin: 0px 0px 16px 0px;
    }

    .page-content .facility-gallery__title {
        margin: 0px 0px 8px 0px;
        font-size: 20px;
        line-height: 1.6;
    }

    .page-content .facility-gallery__text {
        margin: 0px 0px 0px 0px;
        font-size: 14px;
        line-height: 1.9;
    }
}

/* 間取り図の大きさ: 大阪（平面図＋空調系統図の 2 枚組）は枠の幅いっぱい、東京（平面図 1 枚）はその半分。
   1 枚あたりの縮尺がそろい、線の太さと字の大きさが同じに見える（東京の図は scripts/gen-tokyo-floor-plan.py で大阪の描き方に合わせてある）。
   SP は 1 枚ずつ読める大きさが要るので、どちらも幅いっぱい */
@media (min-width: 768px) {
    .facility-pic .facility-pic__img--wide {
        width: 100%;
    }

    .facility-pic .facility-pic__img--half {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .facility-pic .facility-pic__img--wide {
        width: 100%;
    }

    .facility-pic .facility-pic__img--half {
        width: 100%;
    }
}

/* ============================================================
   画像の拡大表示（培養施設ページ。箱は js/image-modal.js が組み立てる）
============================================================ */

/* 図・写真を選ぶと、画面に重ねて大きく見せる。間取り図や表は、ページの幅では字が小さくて読めないため。
   暗幕は単色（ぼかしは使わない）。開閉は modifier（image-modal--open）で切り替える */
@media (min-width: 768px) {
    /* 拡大できる画像（JS が付ける）: カーソルで分かるようにする */
    .image-zoom {
        cursor: zoom-in;
    }

    .image-zoom:focus-visible {
        outline: 2px solid #BE4F9F;
        outline-offset: 4px;
    }

    /* 開いている間は、後ろのページを動かさない */
    .page--image-modal-open {
        overflow: hidden;
    }

    .image-modal {
        position: fixed;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        z-index: 10000; /* スプラッシュ（9999）より上 */
        display: flex;
        background: rgba(0, 0, 0, 0.88);
        visibility: hidden;
        opacity: 0;
        pointer-events: none; /* 閉じる動きの途中でも、後ろのページを押せるようにする */
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }

    .image-modal--open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition: opacity 0.2s ease, visibility 0s linear 0s;
    }

    /* 画像を置く面。原寸にしたときは、ここを縦横に送って見る */
    .image-modal__stage {
        display: flex;
        flex: 1 1 0%;
        min-width: 0px;
        box-sizing: border-box;
        padding: 64px 40px 56px 40px;
        overflow: auto;
    }

    /* margin: auto で中央に置く（flex の中央寄せだと、はみ出したとき左上が送れなくなる）。幅は JS が px で入れる */
    .image-modal__img {
        display: block;
        flex: 0 0 auto;
        max-width: none;
        height: auto;
        margin: auto auto auto auto;
        background: #ffffff;
        border-radius: 8px;
    }

    .image-modal__img--zoomable {
        cursor: zoom-in;
    }

    .image-modal--zoom .image-modal__img--zoomable {
        cursor: zoom-out;
    }

    .image-modal__close {
        position: absolute;
        top: 8px;
        right: 16px;
        width: 48px;
        height: 48px;
        padding: 0px 0px 0px 0px;
        border: 0px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.16);
        cursor: pointer;
    }

    .image-modal__close:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }

    /* ×印（2 本の線） */
    .image-modal__close::before,
    .image-modal__close::after {
        content: "";
        position: absolute;
        top: 23px;
        left: 12px;
        width: 24px;
        height: 2px;
        background: #ffffff;
    }

    .image-modal__close::before {
        transform: rotate(45deg);
    }

    .image-modal__close::after {
        transform: rotate(-45deg);
    }

    /* 案内の文。大きくした図の上に重なっても読めるよう、暗い地を敷く（文が無いときは箱ごと消す） */
    .image-modal__hint {
        position: absolute;
        right: 0px;
        bottom: 16px;
        left: 0px;
        width: fit-content;
        margin: 0px auto 0px auto;
        padding: 4px 16px 4px 16px;
        font-size: 14px;
        line-height: 1.6;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.72);
        border-radius: 8px;
        pointer-events: none;
    }

    .image-modal__hint:empty {
        display: none;
    }
}

@media (max-width: 767px) {
    .image-zoom:focus-visible {
        outline: 2px solid #BE4F9F;
        outline-offset: 4px;
    }

    .page--image-modal-open {
        overflow: hidden;
    }

    .image-modal {
        position: fixed;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        z-index: 10000;
        display: flex;
        background: rgba(0, 0, 0, 0.88);
        visibility: hidden;
        opacity: 0;
        pointer-events: none; /* 閉じる動きの途中でも、後ろのページを押せるようにする */
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }

    .image-modal--open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition: opacity 0.2s ease, visibility 0s linear 0s;
    }

    .image-modal__stage {
        display: flex;
        flex: 1 1 0%;
        min-width: 0px;
        box-sizing: border-box;
        padding: 64px 16px 56px 16px;
        overflow: auto;
    }

    .image-modal__img {
        display: block;
        flex: 0 0 auto;
        max-width: none;
        height: auto;
        margin: auto auto auto auto;
        background: #ffffff;
        border-radius: 8px;
    }

    .image-modal__close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 48px;
        height: 48px;
        padding: 0px 0px 0px 0px;
        border: 0px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.16);
    }

    .image-modal__close:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }

    .image-modal__close::before,
    .image-modal__close::after {
        content: "";
        position: absolute;
        top: 23px;
        left: 12px;
        width: 24px;
        height: 2px;
        background: #ffffff;
    }

    .image-modal__close::before {
        transform: rotate(45deg);
    }

    .image-modal__close::after {
        transform: rotate(-45deg);
    }

    /* 案内の文。大きくした図の上に重なっても読めるよう、暗い地を敷く（文が無いときは箱ごと消す） */
    .image-modal__hint {
        position: absolute;
        right: 0px;
        bottom: 16px;
        left: 0px;
        width: fit-content;
        margin: 0px auto 0px auto;
        padding: 4px 16px 4px 16px;
        font-size: 12px;
        line-height: 1.6;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.72);
        border-radius: 8px;
        pointer-events: none;
    }

    .image-modal__hint:empty {
        display: none;
    }
}

/* 動きを減らす設定の人には、暗幕をすぐ出す */
@media (prefers-reduced-motion: reduce) {
    .image-modal,
    .image-modal--open {
        transition: none;
    }
}
