@charset "utf-8";

/* 全体 */
*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* background-color: #fffef9; */
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.subtitle {
    text-align: center;
    margin: 40px 0 20px 0;
    text-decoration: underline #abd6d1;
    text-decoration-thickness: 3px;
    text-underline-offset: 10px;
    font-size: 30px;
    border-radius: 10px;
}


/* header */

.header {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100vw;
    background-color: #fffef9;
}

.header-inner {
    width: 90%;
    height: 90px;
    display: flex;
    margin: 0 auto;
    padding-left: 20px;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: block;
    height: 70px;
}

.site-menu ul {
    display: flex;
}

.site-menu ul li {
    margin: auto 20px;
    font-size: 20px;
}

.site-menu ul li:active {
    color: #666666;
}


.site-menu ul li img {
    display: block;
    height: 60px;
}

.site-menu ul li a::after {
    content: "";
    display: block;
    width: 0%;
    height: 8px;
    background-color: #abd6d1;
    transition: all 0.5s;
    border-radius: 4px;
}

.site-menu ul li a:hover::after {
    width: 100%;
}

/* main */

.main {
    padding-top: 90px;
    background-color: #fffef9;
    width: 100vw;
}

html {
    scroll-behavior: smooth;
}

.pagetop {
    height: 70px;
    width: 70px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

/* first-view */

.first-view {
    height: 70vh;
    max-width: 100%;
    object-fit: cover;
    background-image: url(./img/first-view.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.contents-btn {
    display: flex;
    justify-content: space-around;
    height: 120px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.link-btn {
    font-size: 27px;
    font-weight: bold;
    background-color: #abd6d1;
    display: block;
    width: 320px;
    padding: 35px 0px;
    text-align: center;
    border-radius: 20px;
    height: 120px;
    box-shadow: 5px 5px #666666aa;
    
}

.link-btn {
    transition: all  0.2s ease;
}

.link-btn:hover {
    font-size: 32px;
}

.link-btn:active {
    background: #666666aa;
    color: #FFF;
}


.create {
    color: white;
    background-color: #e7674c;
    width: 380px;
    transition: all  0.2s ease;
}

.create:hover {
    font-size: 34px;
}

/* news */

.news-list {
    display: grid;
    justify-content: center;
    padding: 20px 0;
}


.news-list-date {
    margin-right: 30px;
    display: flex;
    align-items: center;
}

.news ul li a {
    display: flex;
    padding-left: 20px;
    font-size: 18px;
    transition: all  0.2s ease;
}

.news ul li a:hover {
    font-weight: bold;
}


.news ul li a:active {
    color: #666666aa;
}

.news-list-item {
    padding: 25px 0;
    border-bottom: 3px dotted #c4c4c0;
    width: 750px;
}


/* feature */

.feature-flame {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-flame img {
    width: 500px;
    margin: 5px 30px;
}

.feature-text {
    margin: 40px;
}

.point {
    font-size: 25px;
    text-align: center;
    font-weight: normal;
}

.point::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: #000;
    margin: 20px auto 0;
}

.feature-text p {
    font-size: 18px;
    line-height: 35px;
    margin-top: 25px;
}

.reverse {
    flex-direction: row-reverse;
}

/* method */

.method {
    text-align: center;
}

.method-detail {
    text-align: center;
}

.method-text {
    margin: 40px 0 20px ;
}


.method-text p {
    font-size: 17px;
    line-height: 35px;
    margin-top: 20px;
}

.method img {
    margin-top: 20px;
}


.method-detail {
    margin: 40px;
}

.wave-text {
    animation: wave 2s infinite;
}

@keyframes wave {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-40%);
    }
}

.method-detail a {
    margin: 30px 20px;
}

.method-detail p {
    text-align: center;
}


.ps {
    padding-top: 10px;
}

/* other */

.banner {
    text-align: center;
    padding: 30px 0;
}

.banner li {
    margin: 10px;
    padding: 15px;
}

.others a {
    color: #e7674c;
    font-size: 20px;
    transition: all  0.3s ease;
}

.others a:hover {
    color: #e7674c;
    font-weight: bold;
    font-size: 22px;
}

.others a:active {
    color: #666666aa;
}


/* footer */

.footer {
    background-color: #abd6d1;
    display: flex;
    color: #777;
}


.footer-com-info {
    text-align: center;
    width: 650px;
    margin: 30px 0;
}


.footer-logo img {
    width: 250px;
    
}

.sns-btn {
    display: flex;
    justify-content: center;
}

.sns-btn img {
    display: block;
    aspect-ratio: 1/1;
    width: 50px;
    margin: 0 5px 10px;
}

.sns-btn li:first-of-type {
    display: block;
    width: 40px;
    margin-top: 5px;
    margin-right: 8px;
}

.sns-btn li:last-of-type {
    display: block;
    width: 45px;
    margin-top: 3px;
    margin-right: 5px;
}

.under-line {
    text-decoration: underline;
}

.contact {
    font-size: 15px;
    line-height: 25px;
    margin: 25px 0;
}

.contact a {
    color: #444;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.copyright {
    font-size: 20px;
    margin-top: 30px;
    font-weight: bold;
}

.v-line {
    border-left: 6px solid #fffef9;
    height: 300px;
    left: 40%;
    margin-top: 50px;
    position: absolute;
}

.footer-site-menu {
    display: flex;
    width: 650px;
}

.footer-menu-link {
    display: grid;
}

.footer-site-menu ul {
    margin: 50px 60px;
    text-align: center;
}

.footer-menu-title {
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: 20px;
}

.footer-menu-link {
    line-height: 30px;
}

.footer-com-info {
    flex-grow: 2;
}

.footer-site-menu {
    flex-grow: 3;
}

.footer a{
    transition: all  0.3s ease;
}

.footer a:hover {
    color: #000;
}