@charset "UTF-8";

/* ========================
common
======================== */

:root {
    --primary--white: #FDFDFD;
    --primary--whiteLow: #F5F0E8;
    --primary--black: #333333;
    --primary--lightGray:#808080; 
    --primary--pink: #F38299;
    --primary--blue: #19BAE9;
    --primary--yellow: #F9BE00;
    --contentWidth: 91.4%;
    --contentPadding: 4.2%;
}

html {
    /* font-size 10px = 1rem */
    font-size: 62.5%;
}

body {
    font-family: 'Noto Sans JP', Arial, sans-serif;
    font-style: normal;
    color: var(--primary--black, #333333);
    background-color: var(--primary--white, #FDFDFD);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    font-family: sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: justify;
}

.topic {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.0;
    text-align: center; 
}

/* common pc */
@media screen and (min-width: 769px) {
    .topic {
        font-size: 3.2rem;
        line-height: 1;
        text-align: center;
    }

}/* pc 769px */

/* ========================
header
======================== */
.header {
    width: 100%;
    padding: 0 var(--contentPadding);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* position: fixed; */
    background-color: var(--primary--white);
}

.header__topic, .nav__topic {
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 700;
/*     text-shadow: 1px 0px #ffffff,
                -1px  1px 0px #ffffff,
                1px -1px 0px #ffffff,
                -1px -1px 0px #ffffff,
                1px  0px 0px #ffffff,
                0px  1px 0px #ffffff,
                -1px  0px 0px #ffffff,
                0px -1px 0px #ffffff;*/
} 

.header__topic a, .nav__topic a {
    display: flex;
    align-items: center;
}

.header__topic .logo {
    width: 90px;
    height: auto;
    margin-top: 4px;
    margin-right: 16px;
}

.nav__topic .logo {
    width: 90px;
    height: auto;
    margin-top: 8px;
    margin-right: 16px;
}

/* nav初期表示 */
.nav {
    background-color: rgb(253 253 253 / 95%);
    width: 100%;
    height: 1000vh;
    position: fixed;
    top: 0;
    left: 0;
    transform: translatey(-100%);
}

.nav__header {
    padding-left: 4.2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__list {
    margin-top: 36px;
}

.nav__item a {
    color: var(--primary--black);
    font-weight: 700;
    padding: 1rem 1rem;
}

.nav__item:not(:last-child) {
    color: var(--primary--white);
    font-size: 1.6rem;
    line-height: 1;
    margin-top: 48px;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 54px;
}

.nav__item:not(:last-child)::before {
    display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 16px;
	width: 0;
	height: 0;
	margin-top: -5px;
	border: 7px solid transparent; 
	border-left: 7px solid var(--primary--black);
    margin-right: 16px;
    margin-left: 16px;
}

.nav__btnContact {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 16px 32px 18px;
    margin: 48px auto 0;
    background-color: var(--primary--white);
    color: var(--primary--blue);
    border: 2px solid var(--primary--blue);
    font-weight: 700;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1;
    transition: 0.4s;
}

.nav__btnContact:hover {
    opacity: 0.5;
}

.nav__item:last-of-type {
    display: none;
}

.nav__item a:hover {
    border-bottom: 2px solid var(--primary--blue);
}

/* nav.active表示 */
.nav.active {
    transform: translateY(0);
    margin-top: 64px;
    z-index: 100;
}

.nav__item:last-of-type {
    display: block;
}

/* nav btn */
.menu__btn {
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin: 0 0;
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--primary--yellow);
}
.menu__line {
    display: block;
    margin: 0;
    border: none;
    width: 50%;
    height: 3px;
    background-color: var(--primary--yellow);
    transform-origin:0% 50%;
    position: absolute;
    top: 12px;
    left: 25%;
    transition: .3s;
}

.menu__line:nth-of-type(2){
    top: 22.5px;
}

.menu__line:nth-of-type(3){
    top: 35px;
}

.close .menu__line{
    left: 30%;        
}   

.close .menu__line:nth-of-type(1){
    transform: rotate(45deg);
    width: 52%;
}

.close .menu__line:nth-of-type(2){
    opacity: 0;
}

.close .menu__line:nth-of-type(3){
    top: 30px;
    transform: rotate(-45deg);
    width: 52%;
}

.close {
    background-color: var(--primary--yellow);
    transition: .3s;
}

.close .menu__line {
    background-color: var(--primary--white);
}

@media screen and (min-width: 769px) {
    .header {
        height: 80px;
        margin: 0 auto;
        max-width: 1160px;
    }

    .header__topic {
        font-size: 1.6rem;
    }

    .header__topic span {
        font-size: 1.2rem;
        line-height: 1.3;
        letter-spacing: 0.2em;
        margin: 0 0 0 28px;
    }

    .nav__header {
        display: none;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0 0;
        position: static;
        transform: translateX(0);
        max-width: 1160px;
    }

    .nav__list {
        display: flex;
        align-items: center;
        margin-top: 0;
    }

    .nav__item:not(:last-child) {
        color: var(--primary--Blue);
        text-align: center;
        font-weight: 700;
        font-size: 1.6rem;
        line-height: 1.3;
        margin: 0 0 0 0;
    }

    .nav__item:not(:last-child)::before {
	    border-left: 7px solid var(--primary--blue);
    }
    .nav__item:not(:last-child)::before {
        display: none;	
    }

    .nav__item:last-of-type {
        display: block;    
    }

    .nav__item:not(:last-child) {
        padding-left: 24px;
    }

    .header__btn {
        display: none;
    }

    .nav__btnContact {
        display: none;
    } 
}/* pc 769px */

@media screen and (min-width: 1160px) {
    .header {
        padding: 0 0;
    }
}/* pc 1160px */


/* ========================
Article header
======================== */
.article__header {
    width: 100%;
    height: 400px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
}

.contact_btn {
    display: none;
}

/* article header pc */
@media screen and (min-width: 769px) {
    .article__header {
        height: 600px;
    }
    .article__txt {
        font-size: 4.8rem;
    }
    .contact_btn {
        position: absolute;
        display: block;
        bottom: 5%;
        right: 10%;
        border-radius: 16px;
        z-index: 0;
        box-shadow: 0px 0px 15px -5px var(--primary--black);
    }
    
}/* pc 769px */

/* ========================
Article footer
======================== */
.footerNav {
    margin-top: 48px;
}

.footerNav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.footerNav__item {
    width: 47.85%;
}

.footerNav__item a {
    display: block;
    color: var(--primary--darkBlue);
    font-size: 1.6rem;
    line-height: 1;
    position: relative;
    padding: 16px 0 16px 16px;
}

.footerNav__item a:before {
    display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 0px;
	width: 0;
	height: 0;
	margin-top: -7px;
	border: 7px solid transparent; 
	border-left: 7px solid var(--primary--darkBlue);
    margin-right: 16px;
}

/* article__footer pc */
@media screen and (min-width: 769px) {
    .article__footer {
        padding: 64px 8.3%;
    }
    
    .footerNav {
        margin-top: 16px;
    }
    .footerNav__list {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0 32px;
    }
    .footerNav__item {
        width: auto;
    }

    .footerNav__item a {
    line-height: 1.3;
    }

}/* pc 769px */

/* ========================
section
======================== */
.section{
     padding: 48px var(--contentPadding);
}

/* article__footer pc */
@media screen and (min-width: 769px) {
    .section{
        padding: 96px var(--contentPadding);
    }
}/* pc 769px */

/* ========================
table
======================== */
table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse; 
    border: 0;
    font-size: 1.6rem;
    margin: 24px auto 0;
}

caption {
    font-size: 2.4rem;
    text-align: center;
    padding: 16px 0;
    text-shadow: 1px 0px #ffffff,
                -1px 1px 0px #ffffff,
                 1px -1px 0px #ffffff,
                -1px -1px 0px #ffffff,
                 1px  0px 0px #ffffff,
                0px  1px 0px #ffffff,
                -1px  0px 0px #ffffff,
                0px -1px 0px #ffffff;
}

th {
    padding: 16px;
}

td {
    padding: 16px;
}

/* ========================
footer
======================== */
.footer {
    background-image: url(../img/sp-footer-bg.webp);
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    padding-top: 48px;
}

.footer__group{
    width: 100%;
    padding: 0 var(--contentPadding);
}
.contact__topic {
    color: var(--primary--white);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.0;
    text-align: center;
}

.btn--tell, .btn--mail {
    display: block;
    color: var(--primary--white);
    background-color: var(--primary--blue);
    border: 2px solid var(--primary--white);
    width: 280px;  
    padding: 16px 32px;
    margin: 16px auto 0;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    position: relative;
    transition: 0.3s;
}

.contact--mail {
    margin-top: 36px;
}

.btn--tell span{
    font-size: 1.2rem;
    margin-top: 16px;
}

.btn--mail:hover, .btn--tell:hover {
    border: 2px solid var(--primary--yellow);
    background-color: var(--primary--white);
    color: var(--primary--blue);
}

.copy {
    text-align: center;
    background-color: var(--primary--darkBlue);
    padding: 48px 0 16px;
}

.copy small {
    color: var(--primary--white);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* .footer pc */
@media screen and (min-width: 769px) {
    .footer {
        width: 100%;
        padding-top: 48px;
        background-image: url(../img/pc-footer-bg.webp);
    }

    .contact__group {
        display: flex;
        justify-content:center;       
        width: 100%;
        gap: 0 36px;
    }
    
    .contact--mail {
    margin-top: 0px;
}

    .copy {
        padding: 30px 0;
        margin-top: 64px;
    }
    .copy small {
        font-size: 1.6rem;
    }
}/* pc 769px */

/* css animation */
.puru--anim {
    animation: poyopoyo 2s ease-out infinite;
}

@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}

/*==========================
scrollTop
==========================*/
.topBtn {
    display: inline-block;
    width: 70px;
    height: 70px;
    background-color: var(--primary--blue);
    border-radius: 50%;
    color: var(--primary--white);
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 70px;
    box-shadow: 2px 2px 4px 2px rgba(29, 101, 101, 0.2);
    border: 1px solid var(--primary--white);
    position: fixed;
    bottom: 10%;
    right: 10%;
}

@media screen and (min-width:769px) {
    .menu__btn {
        display: none;
    }
}