@charset "UTF-8";

html {
    font-size: 62.5%;
    /* 16px * 62.5% = 10px */
    width: 100%;
}

html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    vertical-align: bottom;
}

ul {
    list-style: none;
}

body {
    font-family: "YakuHanJP_Narrow", "Zen Kaku Gothic New", sans-serif;
    color: #37383C;
    background-color: #fcfcfc;
    font-size: 15px;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
    line-height: 1.3em;
    font-weight: 1000;
    letter-spacing: 0.5px;
}

h2 {
    line-height: 1.4em;
}

h3 {
    line-height: 1.5em;
}

h4 {
    line-height: 1.6em;
    font-weight: 500;
}

h5 {
    line-height: 1.6em;
    font-weight: 500;
}

p {
    line-height: 1.8em;
}

sub {
    bottom: -0.5em;
}

/* メイン構成 */
.body_wrapper {
    margin: 20px 5%;
}
#top {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favicon {
    position: fixed;
    top: 5%;
    left: 5%;
    z-index: 1;
    img {
        width: 15%;
    }
}
.blur {
    backdrop-filter: blur(10px);
}

#logo_ex {
    .text_wra {
        padding: 20px 0;
        h1 {
            padding-bottom: 30px;
        }
        p {
            padding: 20px;
        }
    }
}

#about {
    margin: 50px 20px;
    .about_text {
        padding: 20px 0;
        .name {
            padding-bottom: 10px;
        }
    }
}

small {
    display: block;
    text-align: center;
    padding-bottom: 20px;
}

/* 共通項目 */
.cap {
    text-transform: capitalize;
}
.upp {
    text-transform: uppercase;
}

.sec_top {
    margin: 30px 0;
}

.about_pic {
    display: flex;
    justify-content: center;
    img {
        object-fit: cover;
        width: 275px;
        height: 400px;
    }
}
.pic {
    text-align: center;
    img {
        object-fit: cover;
        width: 60%;
        height: 60%;
    }
}


/* ここから可変 */
/* sp共通 */
@media screen and (max-width:768px),(max-height: 768px) {}

/* pc,tab縦画面 */
@media screen and (min-width:768px) and (orientation: portrait) {}

/* pc,tab横画面指定 */
@media screen and (min-height: 768px) and (orientation: landscape) {
    #about {
        .sec_top {
            margin: 50px 0;
        }
        .flex {
            margin: 0 auto;
            max-width: 60%;
            display: flex;
            justify-content: space-around;
            flex-direction: row-reverse;
            .about_text {
                display: flex;
                align-items: center;
            }
        }
    }
    .favicon {
        position: fixed;
        top: 5%;
        left: 5%;
        z-index: 1;
        img {
            width: 7%;
        }
    }
    .pic {
        img {
            width: 35%;
            height: 35%;
        }
    }
}


/* 共通項目 */
/* sp共通項目 */
@media screen and (max-width:768px),(max-height:768px) {
    /* フォントサイズ */
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 18px;
    }
    h5 {
        font-size: 17px;
    }
    p {
        font-size: 16px;
    }
    sub,.sub_name {
        font-size: 13px;
    }
    small {
        font-size: 11px
    }
}

/* tab,pc共通項目 */
@media screen and (min-width:768px) and (min-height:768px) {
    /* フォントサイズ */
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 26px;
    }
    h4 {
        font-size: 24px;
    }
    h5 {
        font-size: 20px;
    }
    p {
        font-size: 17px;
    }
    sub,.sub_name {
        font-size: 14px;
    }
    small {
        font-size: 12px
    }
}