@charset "UTF-8";

/* =========================
   症状リンクセクション
========================= */
.symptom-links{
    padding: 40px 0 0;
}

.symptom-links__grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media screen and (max-width: 1024px){
    .symptom-links__grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* =========================
   ホバー（カード上部）
========================= */

.symptom-card__head{
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* =========================
   カード
========================= */

.symptom-card{
    display: flex;
    flex-direction: column;
    position: relative;
}

.symptom-card__img img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: .3s;
    aspect-ratio: 242/140;
}
.symptom-card__head:hover .symptom-card__img img{
    scale: 1.2;
    transition: .3s;
}

/* タイトルバー */
.symptom-card__titlebar{
    background: #069753;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 20px;
    transition: .3s;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.symptom-card__head:hover .symptom-card__titlebar{
    background: #118545;
    transition: .3s;
}


.symptom-card__title{
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: #fff;
}

.symptom-card__arrow{
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: relative;
}

.symptom-card__arrow::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #069753;
    border-right: 0;
    border-radius: 1px;
    transform: translate(-32%, -50%)
}

/* =========================
   リスト
========================= */

.symptom-card__list{
    list-style: none;
    padding: 36px 0 0;
    margin: 0;
}

.symptom-card__list li{
    margin-bottom: 16px;
    position: relative;
    width: fit-content;
    padding-left: 14px;
}

.symptom-card__list li::before{
    content: "";
    width: 6px;
    height: 6px;
    background: #069753;
    position: absolute;
    left: 0;
    top: 10px;
}
/* リンク */
.symptom-card__list a{
    color: #333;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.2s ease;
    position: relative;
    display: block;
    width: fit-content;
    padding-right: 24px;
}

.symptom-card__list li a::after{
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    transform: translateY(-50%);
    right: 8px;
    top: 50%;
    background-image: url(../img/symptom/link-icon-green.svg);
}

.symptom-card__list a:hover{
    color: #069753;
}

@media screen and (max-width: 768px){
    .symptom-links{
        padding: 24px 0 0;
    }

    .symptom-links__grid{
        display: grid;
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .symptom-card__img img{
        aspect-ratio: 343/152;
    }

    .symptom-card__titlebar{
        padding: 8px 24px;
    }

    .symptom-card__arrow{
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 50%;
        position: relative;
    }

    .symptom-card__arrow::before{
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-style: solid;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 6px solid #069753;
        border-right: 0;
        border-radius: 1px;
        transform: translate(-32%, -50%)
    }

    .symptom-card__list{
        padding: 12px 6px 0;
    }

    .symptom-card__list li{
        margin-bottom: 8px;
    }
}

/* ==================================================
   症状個別ページ
================================================== */
/*============================
#symptom-head
============================*/
#symptom-head {
    background-color: #E6F6ED;
    padding: 80px 0;
}
#symptom-head .l-inner ,
#symptom-nav .l-inner ,
#symptom-contents .l-inner {
    max-width: 1232px;
    width: 100%;
    padding: 0 16px;
}
.symptom-head__title {
    padding: 4px 48px;
    background-color: #fff;
    color: #069753;
    border: #069753 1px solid;
    border-radius: 100px;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: .3em;
    display: block;
    margin: 0 auto;
    width: fit-content;
    font-weight: bold;
}
.symptom-head__wrap {
    margin-top: 48px;
    display: flex;
    gap: 40px;
}
.symptom-head__img {
    width: 480px;
}
.symptom-head__img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    aspect-ratio: 512/341;
    object-fit: cover;
}
.symptom-head__text {
    width: calc( 100% - calc( 480px + 40px ));
    font-size: 16px;
    line-height: 1.8;
}
@media screen and (max-width: 768px){
    #symptom-head {
        padding: 60px 0;
    }
    .symptom-head__title {
        padding: 4px 48px;
        font-size: 28px;
    }
    .symptom-head__wrap {
        margin-top: 32px;
        flex-wrap: wrap;
        gap: 24px;
    }
    .symptom-head__img {
        width: 100%;
    }
    .symptom-head__text {
        width: 100%;
    }
}

/*============================
#symptom-nav
============================*/
#symptom-nav {
    padding: 80px 0 100px;
    background-image: url(../img/symptom/symptom-img-pc.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.symptom-nav__title {
    text-align: center;
    color: #222;
    font-size: 24px;
    line-height: 1.5;
    font-weight: bold;
}
.symptom-nav__list {
    margin: 64px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
}
.symptom-nav__list li {
    display: block;
    width: fit-content;
    height: fit-content;
}
.symptom-nav__list li a {
    display: table;
    background-color: #069753;
    border-radius: 100px;
    padding: 5px 20px;
    gap: 10px;
    color: #fff;
    width: 285px;
    height: 50px;
    transition: .3s;
    opacity: 1;
}
.symptom-nav__list li a:hover {
    transition: .3s;
    opacity: .7;
}
.symptom-nav__list li a span {
    color: #fff;
    display: table-cell;
    font-size: 16px;
    line-height: 20px;
    min-width: 209px;
    text-align: center;
    vertical-align: middle;
}
.symptom-nav__list li a::after {
    position: relative;
    content: '';
    margin-top: 8px;
    width: 24px;
    height: 24px;
    display: block;
    background-image: url(../img/symptom/down-icon-white.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

@media screen and (max-width: 768px){
    #symptom-nav {
        padding: 60px 0 60px;
        background-image: url(../img/symptom/symptom-img-sp.webp);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
    .symptom-nav__list {
        margin: 32px;
        gap: 10px;
    }
}

/*============================
#symptom-contents
============================*/
#symptom-contents {
    padding-top: 20px;
    padding-bottom: 80px;
}
.symptom-contents__wrap {

}
.symptom__content {
    padding-top: 64px;
}
.symptom__content:nth-child(n+2) {
    margin-top: 64px;
    border-top: 2px dashed #069753;
}
.symptom__wrap {
    display: flex;
    gap: 48px;
}
.symptom__img {
    width: 300px;
}
.symptom__img.is-pc {
    display: block;
}
.symptom__img.is-sp {
    display: none;
}
.symptom__img img {
    display: block;
    width: 100%;
    height: auto;
}
.symptom__texts {
    width: calc( 100% - calc( 300px + 48px ));
}
.symptom__name {
    padding-left: 48px;
    position: relative;
    color: #069753;
    font-size: 20px;
    line-height: 1.6;
    font-weight: bold;
}
.symptom__name::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    background-color: #069753;
    width: 32px;
    height: 1px;
    transform: translateY(-50%);
}
.symptom__desc {
    color: #222;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.8;
}
.symptom__box {
    padding: 18px;
    margin-top: 24px;
    background-color: #E6F6ED;
}
.symptom__box-title {
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    line-height: 2;
    color: #069753;
}
.symptom__box-title::before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    background-color: #069753;
    border-radius: 50%;
    transform: translateY(-50%);
    top: 50%;
    left: 0;
}
.symptom__btns {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.symptom__btns li {
    display: block;
    width: fit-content;
    height: fit-content;
}
.symptom__btns li a {
    display: table;
    background-color: #fff;
    border-radius: 100px;
    padding: 5px 20px;
    gap: 10px;
    color: #069753;
    border: #069753 1px solid;
    min-width: 192px;
    height: 48px;
    transition: .3s;
    opacity: 1;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(6, 151, 83, .25);
}
.symptom__btns li a span {
    color: #069753;
    display: table-cell;
    font-size: 15px;
    line-height: 18px;
    min-width: 96px;
    text-align: center;
    vertical-align: middle;
}
.symptom__btns li a::after {
    position: relative;
    content: '';
    margin-top: 6px;
    width: 24px;
    height: 24px;
    display: block;
    background-image: url(../img/symptom/down-icon-green.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.symptom__btns li a:hover {
    opacity: .7;
    transition: .3s;
}
.symptom__btns li .symptom-no-link{
    display: table;
    padding: 5px 20px;
    gap: 10px;
    color: #069753;
    height: 48px;
    font-weight: bold;
    padding-left: 10px;
}
.symptom__btns li .symptom-no-link span{
    color: #069753;
    display: table-cell;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    vertical-align: middle;
}
.symptom__tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.symptom__tags li {
    display: block;
    padding: 5px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #222;
    background-color: #E9E9E9;
    border-radius: 8px;
}

@media screen and (max-width: 768px){
    /*============================
    #symptom-contents
    ============================*/
    #symptom-contents {
        padding: 16px;
        padding-bottom: 40px;
    }
    .symptom-contents__wrap {

    }
    .symptom__content {
        padding-top: 32px;
    }
    .symptom__content:nth-child(n+2) {
        margin-top: 32px;
    }
    .symptom__wrap {
        display: block;
    }
    .symptom__img {
        width: 100%;
        max-width: 258px;
        margin: 24px auto 0;
    }
    .symptom__img.is-pc {
        display: none;
    }
    .symptom__img.is-sp {
        display: block;
    }
    .symptom__texts {
        width: 100%;
    }
    .symptom__name {
    }
    .symptom__name::before {
    }
    .symptom__desc {
        color: #222;
        margin-top: 24px;
    }
    .symptom__box {
        margin-top: 24px;
    }
    .symptom__box-title {
    }
    .symptom__box-title::before {
    }
    .symptom__btns li .symptom-no-link{
        margin: 0 auto;
        padding-left: 20px;
    }
    .symptom__btns {
        margin-top: 12px;
        gap: 8px;
        justify-content: center;
    }
    .symptom__btns li {
        width: 100%;
    }
    .symptom__btns li a {
        width: 100%;
        height: 48px;
    }
    .symptom__btns li a span {
        width: 100%;
    }
    .symptom__btns li a::after {
        margin-left: auto;
    }
    .symptom__btns li a:hover {
        opacity: .7;
        transition: .3s;
    }
    .symptom__tags {
        margin-top: 20px;
    }
    .symptom__tags li {

    }
}

#nose-blocked,
#runny-nose,
#sneeze,
#nosebleed,
#bad-smell,
#smell-loss,
#postnasal,
#stuffy-nose,
#runny-nose,
#sneeze,
#nosebleed,
#smell,
#unknown-smell,
#postnasal-drip,
#ear-pain,
#ear-itchy,
#hard-to-hear,
#ear-ringing,
#ear-discharge,
#throat-pain,
#swallowing-difficulty,
#hoarse-voice,
#throat-discomfort,
#cough,
#snore,
#dizzy,
#snoring,
#dizziness,
#a01,
#a02,
#a03,
#a04,
#a05,
#a06,
#a07,
#a08,
#a09{
  scroll-margin-top: 150px;
}