﻿@charset "utf-8";

body {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-top: 30px solid #c40018;
}
.clear {
	clear: both;
}
.container-contact {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background-color: #28334b;
    margin: 70px 0 0;
    padding: 60px 5% 50px;
    position: relative;
    background-image: url("../img/contact-line.png");
    background-repeat: no-repeat;
	background-position: top center;
	background-size: auto 60px;
}
.container-contact__h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: clamp(30px,3.5vw,50px);
    line-height: 1.2em;
    letter-spacing: 1px;
    color: #fff;
    display: block;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 10px;
}
.container-contact__p {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
    line-height: 1.8em;
    color: #fff;
}
.btn-area {
    display: flex;
    justify-content: center;
    gap: 10%;
    margin: 35px 0 0;
}
.container-contact__tel {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1em;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 20px 15px 50px;
    text-decoration: none;
    background-image: url("../img/tel-icon.webp");
    background-repeat: no-repeat;
	background-position:15px center;
	background-size: auto 60%;
    transition: 0.3s;
}
.container-contact__form {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1em;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 30px;
    text-decoration: none;
    transition: 0.3s;
}
.container-contact__tel:hover, .container-contact__form:hover {
    color: #fff000;
    border: 2px solid #fff000;
    transition: 0.3s;
}

.container-contact-entry {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background-color: #c40018;
    margin: 70px 0 0;
    padding: 60px 5% 50px;
    position: relative;
    background-image: url("../img/contact-line.png");
    background-repeat: no-repeat;
	background-position: top center;
	background-size: auto 60px;
}
.container-contact-entry__h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: clamp(30px,3.5vw,50px);
    line-height: 1.2em;
    letter-spacing: 1px;
    color: #fff;
    display: block;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 10px;
}
.container-contact-entry__form {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 25px;
    line-height: 1em;
    color: #000;
    border: 2px solid #fff000;
    background-color: #fff000;
    padding: 15px 30px;
    text-decoration: none;
    transition: 0.3s;
}
.container-contact-entry__form:hover {
    color: #fff;
    border: 2px solid #fff;
    background-color: #c40018;
    transition: 0.3s;
}

footer {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 -10px;
    padding: 70px 0;
    position: relative;
    display: inline-block;
    border-top: 1px solid #28334b;
}
.footer-logo {
    width: 250px;
    margin: 0 0 20px;
    padding: 0;
    display: block;
}
.f-info {
    width: 40%;
    box-sizing: border-box;
    float: left;
    margin: 0px 5% 70px;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1.6em;
    letter-spacing: 1px;
}
.insta {
    width: 30px;
    display: inline-block;
    margin: 10px 0;
}
.p-top {
    width: 70px;
    position: absolute;
    top: 0;
    right: 5%;
    z-index: 100;
}
.copy {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 11px;
    line-height: 1.2em;
    letter-spacing: 0.1em;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    padding: 18px 2% 0 70%;
    position: absolute;
    bottom: 50px;
    left: 0;
    background-image: url("../img/copy-line.webp");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 68% 100%;
}
.footer-nav {
    position: absolute;
    top: 120px;
    right: 8%;
    display: flex;
    gap: 70px;
    align-items: flex-start;
}
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    white-space: nowrap;
}
.footer-nav-list li {
    margin-bottom: 8px;
}
.footer-nav-list a {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 1.5em;
    color: #000;
    text-decoration: none;
}
.footer-nav-list a:hover {
    color: #c40018;
    text-decoration: underline;
}


@media only screen and (max-width: 899px) {
.container-contact__h2 {
    font-size: clamp(40px,10vw,60px);
    line-height: 1.2em;
    letter-spacing: 1px;
    color: #fff;
    display: block;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 10px;
}
.btn-area {
        flex-direction: column;  /* 縦並びに変更 */
        align-items: center;     /* 中央寄せ */
        gap: 20px;               /* 縦の余白 */
    }

    /* ボタン幅を揃える場合 */
    .container-contact__tel,
    .container-contact__form {
        width: fit-content; /* 中身に応じて幅が変わる */
        text-align: center;
    }  

footer {
    width: 100%;
    box-sizing: border-box;
}
.footer-logo {
    width: 60%;
    min-width: 220px;
    margin: 0 0 20px;
    padding: 0;
    display: block;
}
.f-info {
    width: 90%;
    box-sizing: border-box;
    float: inherit;
    margin: 0px 5% 30px;
    padding: 0;
    font-size: 13px;
}
.footer-nav {
    width: 90%;
    position: relative;
    top:inherit;
    right: inherit;
    gap: 50px;
    align-items: flex-start;
    margin: 0 auto 50px;
}
.footer-nav-list {
}
.footer-nav-list li {
    margin-bottom: 8px;
}
.footer-nav-list a {
    font-size: 13px;
    line-height: 1.5em;
}
.copy {
    font-size: 9px;
    font-weight: 600;
    padding: 16px 1% 0 57%;
    position: absolute;
    bottom: 40px;
    left: 0;
    background-image: url("../img/copy-line.webp");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 55% 100%;
}
    

.container-contact-entry__h2 {
    font-size: clamp(40px,10vw,60px);
    line-height: 1.2em;
    letter-spacing: 1px;
    display: block;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 10px;
}
.container-contact-entry__form {
    width: 80%;
    font-size: 20px;
    padding: 15px 30px;
    text-decoration: none;
    transition: 0.3s;
}

}
