@charset "utf-8";

html {
    font-feature-settings: 'palt';
}

img {
    vertical-align: bottom;
}

/* font-familyの設定 */
.font_noto_serif {
    font-family: YakuHanMP, 'Noto Serif JP', serif;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.font_zen_old {
    font-family: YakuHanMP, 'Zen Old Mincho', serif;
    font-weight: 400;
    letter-spacing: 0em;
}
.font_bold {
    /* font-weight: 700; */
}
.fw_300 {
    font-weight: 300;
}
.fw_500 {
    font-weight: 500;
}

/* remの設定 */
@media (min-width: 1441px) {
    html {
        font-size: 100px;
    }
}
@media (max-width: 1440px) and (min-width: 751px) {
    html {
        font-size: calc(100/1440 * 100vw);
    }
}
@media (min-width: 751px) {
    body {
        font-size: 0.14rem;
        line-height: 1.4;
    }
}
@media (max-width: 750px) {
    html {
        font-size: 10px;
        font-size: calc(10/750 * 100vw);
    }
    body {
        /* font-size: 1.4rem;
        line-height: 1.4; */
    }
}

/* PC,SPの出し分け */
@media (min-width: 751px) {
    .sp_only {
        display: none !important;
    }
}
@media (max-width: 750px) {
    .pc_only {
        display: none !important;
    }
}

/* リサイズ時のアニメーションを制限 */
body.stop_animation *,
body.stop_animation *::before,
body.stop_animation *::after {
    transition: none !important;
}

.fixed_bg {
    /*https://codepen.io/smpnjn/pen/yLPdEPQ*/
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../images/common/bg_fixed.jpg) no-repeat center center;
    background-size: cover;
}

/* control_set */
.control_set {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
}
.logo {
    position: absolute;
    height: auto;
}
.menu_btn {
    position: absolute;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 12;
}
.menu_btn_line > li:nth-child(n) {
    position: absolute;
    transition: transform 0.2s 0s;
}
.menu_wrap {
    position: absolute;
    background-color: #fff;
    overflow: hidden;
    z-index: 11;
    transition: width 0.4s 0.3s, height 0.4s 0.3s, border-radius 0.4s 0.3s;
}
.menu_wrap,
.menu {
    scrollbar-width: none;
}
.menu_wrap::-webkit-scrollbar,
.menu::-webkit-scrollbar {
    display:none;
}
.is_menu_open .menu_wrap {
    overflow: auto;
    transition: width 0.3s 0s, height 0.5s 0.3s, border-radius 0.3s 0s;
}
.menu {
    width: 100%;
    height: 100%;
    overflow: auto;
}
.menu_inner {
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s 0.1s;
}
.is_menu_open .menu_inner {
    opacity: 1;
    transition: opacity 0.6s 0.8s;
}
.menu_list {
    display: block;
}
.menu_list > li a {
    color: #00a33e;
    text-decoration: none;
    line-height: 1;
    position: relative;
    display: block;
    opacity: 0.4;
}
.menu_list > li a[href] {
    opacity: 1;
}
.menu_item_inner {
    position: relative;
    display: flex;
}
.menu_list > li a[href]::before,
.menu_list > li a[href]:after {
    content: '';
    position: absolute;
    right: 0;
}
.menu_list > li a[href]::before {
    transform: translateY(-50%) rotate(45deg);
    border-top: solid #00a33e;
    border-right: solid #00a33e;
    top: 50%;
}
.menu_list > li a[href]:after {
    transform-origin: 0 0;
    background-color: #00a33e;
    top: 0;
    bottom: 0;
    margin: auto;
}
.menu_bnr_link img {
    width: 100%;
    height: auto;
}
.menu_sns_list {
    display: flex;
}
.animation_ready .logo,
.animation_ready .btn_whats_towaquality {
    opacity: 0;
}
.animation_loaded .logo,
.animation_loaded .btn_whats_towaquality {
    opacity: 1;
    transition: 0.8s 0.2s;
}

.btn_whats_towaquality {
    position: absolute;
    bottom: -50%;
    right: 0;
    display: block;
    z-index: 10;
    transform: translateY(50%); 
}
.btn_whats_towaquality .on {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity .3s;
    opacity: 0;
}
  

@media (min-width: 751px) {
    .logo {
        top: calc(100% + 0.1rem);
        left: 0rem;
        width: 2.3rem;
    }
    .menu_btn {
        top: calc(100% + 0.24rem);
        right: 0.24rem;
        width: 0.72rem;
        height: 0.72rem;
    }
    .menu_btn_line > li:nth-child(n) {
        left: 0.2rem;
        width: 0.32rem;
        border-top: 1px solid #00a33e;
    }
    .menu_btn_line > li:nth-child(1) {
        top: 0.31rem;
    }
    .menu_btn_line > li:nth-child(2) {
        top: 0.4rem;
    }
    .menu_wrap {
        top: calc(100% + 0.24rem);
        right: 0.24rem;
        width: 0.72rem;
        height: 0.72rem;
        border-radius: 0.36rem;
        box-shadow: 0 0 0.12rem 0 rgba(0, 163, 62, 0.2);
    }
    .is_menu_open .menu_wrap {
        width: 3.91rem;
        height: 6.88rem;
        border-radius: 0.24rem;
    }
    .menu {
        padding-left: 0.64rem;
        padding-right: 0.47rem;
    }
    .menu_inner {
        min-height: 6.88rem;
    }
    .menu_list > li + li {
        margin-top: 0.16rem;
    }
    .menu_list > li a {
        font-size: 0.18rem;
        line-height: 1.55;
    }
    .menu_item_inner {
        gap: 0.17rem;
        transition: opacity 0.4s;
    }
    .menu_list > li a::before {
        transition: right 0.2s;
        width: 0.1rem;
        height: 0.1rem;
    }
    .menu_list > li a[href]::before {
        border-top-width: 1px;
        border-right-width: 1px;
    }
    .menu_list > li a[href]:hover:before {
        right: -0.16rem;
    }
    .menu_list > li a[href]:hover .menu_item_inner {
        opacity: .7;
    }
    .menu_list > li a:after {
        height: 1px;
        width: 0.14rem;
        transition: width 0.2s,right 0.2s;
    }
    .menu_list > li a[href]:hover:after {
        width: 0.3rem;
        right: -0.16rem;
    }

    .menu_bnr {
        margin-top: 0.2rem;
    }
    .menu_sns_list {
        margin-top: 0.32rem;
    }
    .menu_sns_list > li {
        margin-right: 0.32rem;
    }
    .menu_sns_x {
        width: 0.47rem;
        height: auto;
    }
    .menu_sns_youtube {
        width: 0.64rem;
        height: auto;
    }
    .menu_btn_line {
        transition: opacity 0.4s 0s;
    }
    .is_menu_open .menu_btn_line {
        /* opacity: 0; */
        /* transition: top 0s 0s, transform 0.2s 0.2s; */
    }
    .is_menu_open .menu_btn_line > li:nth-child(1) {
        transform: rotate(25deg);
        top: 0.35rem;
    }
    .is_menu_open .menu_btn_line > li:nth-child(2) {
        transform: rotate(-25deg);
        top: 0.35rem;
    }
    .btn_whats_towaquality {
        width: 1.28rem;
        border-radius:  0.16rem 0 0 0.16rem;
        box-shadow: 0.06rem 0.06rem 0.16rem 0px rgba(0, 0, 0, 0.3);
    }

    .btn_whats_towaquality:hover .on {
        opacity: 1;
    }
}
@media (max-width: 750px) {
    .logo {
        top: calc(100% + 1.2rem);
        left: 0rem;
        width: 30.3rem;
    }
    .menu_btn {
        top: calc(100% + 1.2rem);
        right: 1.2rem;
        width: 11.2rem;
        height: 11.2rem;
    }
    .menu_btn_line > li:nth-child(n) {
        left: 2.8rem;
        width: 5.6rem;
        border-top: 1px solid #00a33e;
    }
    .menu_btn_line > li:nth-child(1) {
        top: 4.6rem;
    }
    .menu_btn_line > li:nth-child(2) {
        top: 6.4rem;
    }
    .is_menu_open .menu_btn_line > li:nth-child(n) {
        top: 5.5rem;
        transition: top 0.2s 0s, transform 0.2s 0.2s;
    }
    .is_menu_open .menu_btn_line > li:nth-child(1) {
        transform: rotate(30deg);
    }
    .is_menu_open .menu_btn_line > li:nth-child(2) {
        transform: rotate(-30deg);
    }
    .menu_overlay {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }
    .is_menu_open .menu_overlay {
        opacity: 1;
        pointer-events: all;
    }
    .menu_wrap {
        top: calc(100% + 1.2rem);
        right: 1.2rem;
        width: 11.2rem;
        height: 11.2rem;
        border-radius: 5.6rem;
        box-shadow: 0 0 1.6rem 0 rgba(0, 163, 62, 0.2);
    }
    .is_menu_open .menu_wrap {
        width: 48rem;
        height: 102.3rem;
        border-radius: 4rem;
    }
    .menu {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    .menu_inner {
        min-height: 102.3rem;
        /* padding-top: 4.5rem; */
    }
    .menu_list > li + li {
        margin-top: 3.2rem;
    }
    .menu_list > li a {
        font-size: 2.8rem;
        line-height: 1.35;
    }
    .menu_item_inner {
        gap: 2rem;
    }
    .menu_list > li a::before {
        width: 1.2rem;
        height: 1.2rem;
    }
    .menu_list > li a[href]::before {
        border-top-width: 0.2rem;
        border-right-width: 0.2rem;
    }
    .menu_list > li a:after {    
        height: 0.2rem;
        width: 2rem;
        right: 0.45rem;
    }
    .menu_bnr {
        margin-top: 3.2rem;
    }
    .menu_sns_list {
        margin-top: 4rem;
        align-items: center;
    }
    .menu_sns_list > li {
        margin-right: 4rem;
    }
    .menu_sns_x {
        width: 7.8rem;
        height: auto;
    }
    .menu_sns_youtube {
        width: 9.6rem;
        height: auto;
    }
    .btn_whats_towaquality {
        width: 13rem;
        height: 14.2rem;
        border-radius: 0 0 1.6rem 1.6rem;
        box-shadow: 0.6rem 0.6rem 1.6rem 0px rgba(0, 0, 0, 0.3);
    }

    .wrap {
        padding-top: 10.4rem;
    }
}


/* profile */
.profile_inner {
    margin-inline: auto;
}
.profile_img {
    position: relative;
}
.profile_line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #333;
    -webkit-mask-image: url(../images/common/bar.svg);
    mask-image: url(../images/common/bar.svg);
} 
.profile_line::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    background: url(../images/common/gradation.png) no-repeat 0 0;
    animation: flashing 8s linear infinite;
    background-size: contain;
}
@keyframes flashing {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (min-width: 751px) {
    .profile {
        background-color: #fff;
        margin-top: 1.6rem;
    }
    .profile_inner {
        width: 12rem;
        display: flex;
        align-items: center;
    }
    .profile_img {
        width: 3.36rem;
        padding-left: 0.16rem;
    }
    .profile_line {
        width: 0.16rem;
    }
    .profile_line::before {
        width: 23.8em;
        height: 23.8em;
        left: -2.3rem;
        top: -1.3rem;
    }
    .profile_ttl {
        font-size: 0.16rem;
    }
    .profile_ttl_name {
        font-size: 0.24rem;
        padding-right: 0.05rem;
    }
    .profile_txt_wrap{ 
        padding-left: 0.4rem;
        flex: 1;
        letter-spacing: 0.08em;
    }
    .profile_txt {
        line-height: 1.8;
        font-size: 0.2rem;
        margin-top: 0.15rem;
    }
}
@media (max-width: 750px) {
    .profile {
        margin-top: 16rem;
    }
    .profile_img {
        width: 33.6rem;
        padding-left: 1.6rem;
        margin: auto;
    }
    .profile_line {
        width: 1.6rem;
    }
    .profile_line::before {
        width: 23.8em;
        height: 23.8em;
        left: -14rem;
        top: -4.5rem;
    }
    .profile_ttl {
        font-size: 2.8rem;
    }
    .profile_ttl_name {
        font-size: 3.2rem;
        padding-right: 1rem;
    }
    .profile_txt_wrap {
        background-color: #fff;
        padding: 5.5rem 4rem;
        margin-top: 4rem;
    }
    .profile_txt {
        font-size: 2.8rem;
        line-height: 1.71;
        margin-top: 1.2rem;
        text-align: justify;
        letter-spacing: 0em;
    }
}

/* bnr */
.bnr_inner {
    margin: 0 auto;
}
.bnr_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.bnr_x {
    display: block;
    height: auto;
}
.bnr_special {
    display: block;
    margin-inline: auto;
}
.bnr_special img,
.profile_img img,
.btn_whats_towaquality img {
    width: 100%;
    height: auto;
}
@media (min-width: 751px) {
    .bnr_inner {
        width: 14.4rem;
    }
    .bnr_special {
        margin-top: 1.6rem;
    }
    .bnr_list {
        gap: 0.4rem;
        margin-top: 1.6rem;
    }
    .bnr_special {
        width: 10rem;
    }
    .bnr_x {
        width: 4.8rem;
    }
}
@media (max-width: 750px) {
    .bnr_inner {
        padding: 15.8rem 0 9rem;
    }
    .bnr_list {
        gap: 3.9rem 0;
        margin-top: 16rem;
    }
    .bnr_special {
        width: 67rem;
    }
    .bnr_x {
        width: 57.2rem;
    }
}

/* sns */
.sns_inner {
    margin: 0 auto;
}
.sns_ttl {
    text-align: center;
    color: #333;
}
.sns_list {
    display: flex;
    justify-content: center;
}
.sns_x,
.sns_youtube {
    height: auto;
}
@media (min-width: 751px) {
    .sns {
        position: relative;
        padding: 1.16rem 0 0.4rem;
    }
    .sns_inner {
        width: 10rem;
    }
    .sns_ttl {
        font-weight: 400;
        font-size: 0.2rem;
        line-height: 1;
        letter-spacing: 0.1em;
    }
    .sns_list {
        margin-top: 0.24rem;
        gap: 0 0.4rem;
    }
    .sns_x {
        width: 0.47rem;
    }
    .sns_youtube {
        width: 0.64rem;
    }
}
@media (max-width: 750px) {
    .sns_inner {
        padding: 6.5rem 0 8rem;
    }
    .sns_ttl {
        font-weight: 400;
        font-size: 3rem;
        line-height: 1;
        letter-spacing: 0.1em;
    }
    .sns_list {
        margin-top: 2.5rem;
        gap: 0 8rem;
    }
    .sns_x {
        width: 7.8rem;
    }
    .sns_youtube {
        width: 9.6rem;
    }
}


/* footer */
.footer {
    position: relative;
    background-color: #fff;
    font-feature-settings: normal;
}
.footer_nav {
    display: flex;
}
.footer_nav > li a {
    color: #333;
    text-decoration: none;
}
.footer_copy {
    text-align: center;
    color: #808080;
}
.footer_pagetop {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    height: auto;
}
@media (min-width: 751px) {
    .footer_nav {
        padding-top: 0.55rem;
        justify-content: center;
    }
    .footer_nav > li a {
        font-size: 0.16rem;
        line-height: 2;
        letter-spacing: 0.1em;
    }
    .footer_nav > li a:hover,
    .footer_nav > li a:focus {
        text-decoration: underline;
    }
    .footer_nav > li + li {
        margin-left: 0.52rem;
    }
    .footer_copy {
        font-size: 0.14rem;
        line-height: 2;
        letter-spacing: 0.1em;
        padding-top: 0.22rem;
        padding-bottom: 0.8rem;
    }
    .footer_pagetop {
        width: 0.64rem;
        display: block;
    }
}
@media (max-width: 750px) {
    .footer {
        padding: 4.8rem 0 3.4rem;
    }
    .footer_nav {
        flex-wrap: wrap;
        width: 60rem;
        margin-left: 4.5rem;
    }
    .footer_nav > li a {
        font-size: 2.4rem;
        line-height: 2;
        letter-spacing: 0.1em;
    }
    .footer_nav > li + li:not(:nth-child(3)) {
        margin-left: 5.5rem;
    }
    .footer_nav > li:nth-child(n + 3) {
        margin-top: 0.8rem;
    }
    .footer_copy {
        font-size: 2rem;
        line-height: 2;
        margin-top: 2.4rem;
    }
    .footer_pagetop {
        width: 9.6rem;
        display: block;
    }
}

/* animation */
.animation_ready .anim_fade_up {
    opacity: 0;
}
.animation_loaded .anim_fade_up {
    transition: opacity 0.6s, transform 0.6s;
}
@media screen and (min-width: 751px) {
    .animation_ready .anim_fade_up {
        transform: translateY(0.6rem);
    }
    .anim_fade_up.is_animated {
        transform: translateY(0rem);
    }
    /* hover */
    .anim_fade_hover {
        display: block;
        transition: opacity 0.4s;
    }
    .anim_fade_hover:hover,
    .anim_fade_hover:focus {
        opacity: 0.7;
    }
}
@media screen and (max-width: 750px) {
    .animation_ready .anim_fade_up {
        transform: translateY(6rem);
    }
    .anim_fade_up.is_animated {
        transform: translateY(0rem);
    }
}
.anim_fade_up.is_animated {
    opacity: 1;
}