@charset "utf-8";
/* ==============
about
================= */

.section--about{
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 88px var(--contentpadding__sp) 0;
    height: auto;
}


.sectiontitle--about{
    position: relative;
}

.sectiontitle--about::after{    
    content: '';
    display: inline-block;
    background-image: url(../image/decoration.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 54px;
    height: 49px;
    z-index: 3;
    top: 22px;
    left: 140px;
}

.maintitle--red{
    color: var(--main,#E81C1C);
}

.profile__area{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--sub2, #F0B00C);
    padding: 40px 11% 51px ;
    border-radius: 36px;
    gap: 16px;
    margin-bottom: 72px;
}

.profileimg__sp{
    width: 100%;
    border-radius: 24px;
    box-shadow: 10px 10px 0 rgba(125, 19, 19, 0.75);
}

.profileimg__pc{
    display: none;
}

.prof__textarea{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.prof__name{
    font-weight: 500;
}

.kanji__name{
    font-size: 4.8rem;
}

.ruby{
    font-size: 2rem;
    text-align: center;
}

.intro{
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
}

.navsns--prof{
    display: flex;
    padding: 0 24px;
    gap: 16px;
}

.snslink--prof{
    display: flex;
    align-items: center;
    transition: 0.5s;
}

.snstext--prof{
    color: var(--text, #332F28);
    font-size: 2.4rem;
    font-weight: 600;
}

.contact__mail{
    text-align: center;
}

.contact__title{
    font-size: 2.4rem;
    font-weight: 600;
}

.contact__address{
    font-size: 2rem;
    font-weight: 600;
}

.contact__address a{
    position: relative;
}

.contact__address a::after{
    background-color: var(--text,#332F28); /* 下線の色 */
    bottom: -8px; /* 要素の下端からの距離 */
    content: ""; /* 要素に内容を追加 */
    border-radius: 10px;
    height: 3px; /* 下線の高さ */
    left: 0; /* 要素の左端からの距離 */
    position: absolute; /* 絶対位置指定 */
    transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
    transform-origin: left top; /* 変形の原点を左上に指定 */
    transition: transform .3s; /* 変形をアニメーション化 */
    width: 100%;
}

.subtitle{
    font-size: 2.4rem;
    color: var(--sub1,#7D1313);
    font-weight: 600;
}

.banner__area figure{
    width: 100%;
    height: 140px;
    border-radius: 30px;    
    border: 3px solid #E81C1C;
    overflow: hidden;
}

.banner__area figure:first-of-type{
    margin-bottom: 24px;
}

.banner{
    display: block;
    width: 100%;
    height: 140px;
}

.banner img{
    width: 100%;
    height: 140px;
    object-fit: cover;
}


/* about tub  */
@media screen and (min-width: 769px) {
    .section--about{
        padding: 0 var(--contentpadding__sp) 0;
    }

    .sectiontitle--about::after{    
        content: '';
        display: inline-block;
        background-image: url(../image/decoration.png);
        background-size: cover;
        background-repeat: no-repeat;
        position: absolute;
        width: 113px;
        height: 102px;
        z-index: 3;
        top: 19px;
        left: 195px;
    }
    .profile__area{
        padding: 56px 11% 64px ;
        gap: 48px;
    }


    .profileimg__sp{
        display: none;
    }

    .profileimg__pc{
        display: block;
        width: 100%;
        border-radius: 32px;
        box-shadow: 20px 20px 0 rgba(125, 19, 19, 0.75);
    }
    .prof__textarea{
        gap: 24px;
    }

    .prof__name{
        font-weight: 500;
    }

    .kanji__name{
        font-size: 6.4rem;
    }

    .ruby{
        font-size: 1.6rem;
        text-align: center;
    }

    .intro{
        font-size: 3.2rem;
    }

    .navsns--prof{
        display: flex;
        padding: 0 24px;
        gap: 16px;
    }

    .snslink--prof{
        display: flex;
        align-items: center;
    }

    .snstext--prof{
        color: var(--text, #332F28);
        font-size: 3.2rem;
        font-weight: 600;
    }

    .contact__mail{
        text-align: center;
    }

    .contact__title{
        font-size: 3.2rem;
    }

    .contact__address{
        font-size: 2.8rem;
    }

    .subtitle{
        font-size: 4rem;
        margin-bottom: 15px;
    }

    .banner__area{
        display: flex;
        justify-content: space-between;
    }

    .banner__area figure{
        width: 48%;
    }

    .banner__area figure:first-of-type{
        margin-bottom: 0;
    }

    .banner--cl{
        margin: 0 ;
        transition: 0.5s;
    }

}

/* about pc  */
@media screen and (min-width: 1279px) {
    .section--about{
        padding: 48px var(--contentpadding__pc) 0;
        margin: 0 auto;
        max-width: 1920px;
    }


    .sectiontitle--news::after{
        content: '';
        display: inline-block;
        background-image: url(../image/decoration_fixed.png);
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        width: 54px;
        height: 49px;
        z-index: 3;
        top: 22px;
        left: 124px;
        image-orientation: from-image; /* Safari対策 */
    }

    .profile__area{
        height: auto;
        flex-direction: row;
        padding: 64px 6.6%;
        gap: 16%;
        align-items: center;
    }


    .profileimg__sp{
        display: none;
    }

    .profileimg__pc{
        display: block;
        border-radius: 20px;
        box-shadow: 20px 20px 0 rgba(125, 19, 19, 0.75);
        width: 40%;
    }

    .prof__textarea{
        display: block;
        width: 50%;
    }

    .prof__name{
        display: flex;
        align-items: center;
        width: 100%;
        margin-bottom: 8px;
        gap: 10%;
    }

    .kanji__name{
        font-size: 5.6rem;
    }

    .intro{
        font-size: 2.8rem;
        margin-bottom: 32px;
        text-align: initial;
    }

    .navsns--prof{
        padding: 0;
        margin-bottom: 18px;
        gap: 32px;
    }

    .snstext--prof{
        font-size: 3.5rem;
    }

    .contact__mail{
        text-align: start;
    }

    .contact__title{
        font-size: 4rem;
        
    }


    .subtitle{
        font-size: 4.8rem;
    }

    .banner__area{
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .banner__area figure{
        height: 278px;
    }

    .banner{
        height: 278px;
    }

    .banner img{
        height: 278px;
        transition: 0.3s;
    }

    .banner--cl{
        margin: 0 ;
    }
}

@media (hover: hover){
    .snslink--prof:hover{
    transform: scale(1.1,1.1);
    }

    /* リンクにホバーした際の下線の表示 */
    .contact__address a:hover::after {
        transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
    }
    .banner img:hover {
        transform: scale(1.1);
    }
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
    .snslink--prof:active{
        transform: scale(1.1,1.1);
    }

    .contact__address a:active::after {
        transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
    }


    .banner img:active {
        transform: scale(1.1);
    }
}
