

/* ======================
=== about-ichiiba ====== */

#about-ichiiba ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    margin-top: 2.5em;
    gap: 0.5em;
}

#about-ichiiba .yokobtn {
    width: 100%;
}

@media (min-width: 700px) {
    #about-ichiiba ul {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    #about-ichiiba li {
        flex: 1;
    }
}

@media (min-width: 520px) and (max-width: 699px) {
    #about-ichiiba br {
        display: none;
    }
}



/* ======================
=== taisetsu ======== */

#taisetsu ul {    
    padding: 1em 0;
}

#taisetsu ul li {
    position: relative;
    padding: 0;
    padding-left: 1.8em;
    margin-bottom: 0.3em;
    height: 1.6;
}

#taisetsu ul li::before {
    font-family: 'Material Symbols Outlined';
    content: "\e86c";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.4em;
    color: #aebebb;
    display: flex;
    align-items: center;
    height: 1.6;
}

#taisetsu ul li span {
    margin-left: -0.5em;
}


/* ======================
=== About ibasyo ======== */

#about-ibasyo section {
    margin-top: 6em;
}


/* ======================
=== annai ======== */

.txt-illust-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding-top: 1em;
}

.txt-illust-area picture {
    width: 60%;
    max-width: 250px;
    margin-inline: auto;
}

.txt-illust-area div a {
    margin-top: 1.5em;
}

/* PCサイズ（768px以上）の設定 */
@media (min-width: 768px) {
    .txt-illust-area {
        flex-direction: row-reverse;
        align-items: flex-start;
    }

    .txt-illust-area picture {
        width: 40%;
        flex-shrink: 0;
    }
}

#annai-4 dd:first-of-type{
    margin-bottom: 1em;
}

#annai-4 .midashi-box {
    margin-bottom: 6em;
}


/* ======================
=== circletext link  ===== */

.circletext-link {
    display: inline-block;
    position: relative;
    color: #5C7D76;
    padding: 1.5rem 2.5rem 1.5rem 5rem;
    transition: all 0.3s;
}

.circletext-link::before,
.circletext-link::after {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
}

.circletext-link::before {
    width: 0.6rem;
    height: 0.6rem;
    left: 1.6rem;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    z-index: 2;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s;
}

.circletext-link::after {
    left: 0;
    background-color: #5C7D76;
    background-image: linear-gradient(to top, rgba(212, 228, 217, 0.3), rgba(217, 228, 212, 0.5));
    z-index: 1;
    width: 4rem;
    height: 4rem;
    border-radius: 4rem;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.circletext-link span {
    position: relative;
    transition: all 0.3s;
    z-index: 3;
    padding: 0 1em 0 1em;
    display: inline-block;
    vertical-align: middle;
    border-bottom: 0;
}

.circletext-link span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #5C7D76;
    transition: all 0.3s;
    bottom: -1em;
}

.circletext-link:hover {
    padding: 1.5rem 2.5rem 1.5rem 4.5rem;
}

.circletext-link:hover span {
    color: #fff;
    border: 0;
    transition: all 0.5s;
}

.circletext-link:hover::before {
    left: 2.5rem;
}

.circletext-link:hover::after {
    right: 0;
    width: 100%;
}

.circletext-link:hover span::after {
    opacity: 0;
}

@media (max-width: 420px){
    .circletext-link {
        padding-right: 0;
        padding-left: 4rem;
    }
}


/* ======================
=== siteriyo  ===== */

#site-riyou ul {
    display: flex;
    gap: 1.5em;
    margin-top: 2em;
}

#site-riyou ul li a {
    display: inline-block;
    position: relative;
    padding: 0em 0.3em 0em 1.3em;
    border-bottom: #5C7D76 solid 1px;
    text-decoration-color: #5C7D76;

    transition: all 0.2s ease;
}

#site-riyou ul li a::before {
    position:absolute;
    content:'';
    top: 0.5em;
    left: 0.2em;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent #5C7D76;
    clip-path: polygon(
        0% 15%, 15% 5%,      /* 左上 */
        75% 35%,             /* より左へ、より中心へ */
        90% 45%,             /* 先端の丸みを作る点1 */
        90% 55%,             /* 先端の丸みを作る点2 */
        75% 65%,             /* より左へ、より中心へ */
        15% 95%, 0% 85%,     /* 左下 */
        0% 50%               /* 左中央 */
    );
    transition: all 0.2s ease;
}

#site-riyou ul li a:hover{
    border-color: #aebebb;
    color: #aebebb;
}

#site-riyou ul li a:hover::before {
    border-color: transparent transparent transparent #aebebb;
    left: 0.5em;
}

@media (max-width: 600px){
    #site-riyou ul {
        flex-direction: column;
        gap: 0.8em;
    }
}