/* **************************
Common
************************** */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --color-primary: #413E3D;
    --color-secondary: #00BB13;
    --color-tertiary: #f36a2e;
    --color-border: #dcdcdc;
    --color-background: #f9f9f9;
    --color-white: #ffffff;
}
html {
  font-size: 62.5%; /* 1rem = 10px */
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-white);
}
a {
    transition: color 0.3s ease;
}
a:hover {
    color: var(--color-tertiary);
}
img{
    width: 100%;
    height: auto;
}
P{
	font-size: 1.6rem;
}
br.pc{
	display:none;
}
br.sp{
	display:block;
}
em{
	font-style: normal;
	display: block;
}
::selection {
    background-color: #413E3D;
    color: #fff;
}
main .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 9.6rem 0;
}
.white-icon {
  filter: invert(100%);
}
.button{
    transition: background-color 0.3s ease;
    text-align: center;
    width: 270px;
    height: 72px;
    margin: auto;
}
.button a{
    font-size: 1.6rem;
    display: block;
    padding: 2.4rem 8rem;
    justify-content: center;
    align-items: center;
    background: var(--color-white);
    border: solid 1px var(--color-border);
}
.button a:hover{
    background: var(--color-tertiary);
    color: var(--color-white)
}

.t-logo{
    height: 12px;
    width: auto;
    vertical-align: middle;
    margin: 0 2px;
    padding: 0;
    display: inline-block;
}

/* **************************
Header
************************** */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header .container {
    max-width: inherit;
    padding: 0.8rem;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-content .logo{
    margin-right: 2rem;
}
.header-content .logo a {
    display: flex;
}
.header-content .logo img {
	width: 180px;
}
.header-content nav{
	width: 100%;
}
.nav-list {
    display: flex;
    height: 32px;
    align-items: center;
    color: var(--color-white);
}
.nav-list li.home {
	display: none;
}
.nav-list li:nth-last-child(2) {
	margin-left: auto;
}
.nav-list a {
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    font-size: 1.4rem;
}
.nav-list a.btn-contact {
	margin-left: 0;
}
.nav-list a.tel{
    background: url(../img/common/icon_contact.svg) no-repeat left center;
    background-size: 22px;
    width: fit-content;
    text-align: left;
    padding-left: 24px;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2em;
}
.nav-list a.tel:hover{
	color: inherit;
}
.btn-contact {
    background: #0d9f1c;
    color:  white !important;
    margin-left: 1.6rem;
    transition: background-color 0.3s ease;
}
.btn-contact:hover {
    background: var(--color-tertiary);
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 1px;
    background: var(--color-white);
    margin: 4px 0;
    transition: 0.3s;
}

/* **************************
main
************************** */
.section-title{
    text-align: center;
    font-size: 4rem;
    margin-bottom: 4.8rem;
}  

/* **************************
Contact
************************** */
.contact {
    background: var(--color-primary);
    color:  var(--color-white);
    text-align: center;
    position: relative;
}
.contact h2{
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 4rem;
}
.contact h2:after{
    content: "";
    display: block;
    margin: 4rem auto 0;
    width: 80px;
    height: 1px;
    background: var(--color-white);
}
.contact .button-group{
    display: inline-flex;
    gap: 1.6em;
    margin: 2.4rem auto 6.4rem;
    color: var(--color-primary);
    font-size: 1.8rem;
}
.contact .button-group a{
    width: 270px;
    /* height: 76px; */
    display: block;
    padding: 2.4rem 9.6rem;
    justify-content: center;
    background: var(--color-white);
    box-shadow: 0 6px 4px 0 rgba(0, 0, 0, 0.25);
}
.contact .button-group a:hover{
    background: var(--color-tertiary);
    color: var(--color-white);
}
.contact .tel{
    background: url(../img/common/icon_contact.svg) no-repeat left bottom;
    background-size: 56px;
    width: fit-content;
    margin: auto;
    text-align: left;
    padding-left: 64px;
    font-size: 4rem;
    letter-spacing: 4px;
    font-weight: 600;
    line-height: 1.2em;
}
.contact .tel a{
    color: var(--color-white);
    text-decoration: none;
}
.contact .tel em{
    display: block;
    font-style: normal;
    font-size: 1.4rem;
    line-height: 2em;
    letter-spacing: initial;
}

/* **************************
Footer
************************** */
.footer {
    padding: 1.6rem;
	position: relative;
}
.footer-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}
.footer-logo {
    width: fit-content;
    display: inline-block;
}
.footer-logo img {
    height: 28px;
}
.footer-links {
    display: flex;
    gap: 4rem;
    font-size: 1.4rem;
}
.footer-links a{
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-copyright{
    font-size: 1.4rem;
    color: #afafaf;
}

/* **************************
 pageTopBtn
************************** */
.pageTopBtn {
	width:50px;
	height:50px;
	border-radius:5px;
	position:absolute;
	bottom: 24px;
	right: 24px;
}

.pageTopBtn a {
	width:50px;
	height:50px;
	border-radius:5px;
	background-image:url("../img/common/icn_arw_up_wt.png");
	background-repeat:no-repeat;
	background-position:center center;
	background-size:21px 12px;
	background-color:rgba(0,0,0,0.5);
	display:block;
}
.pageTopBtn .clrdisp {
	width:0;
	height:0;
	margin:0;
	padding:0;
	font-size:0;
	line-height:0;
	border:0;
	overflow:hidden;
}

/* **************************
404 error
************************** */
.not-found {
    padding: 100px 0 150px;
    text-align: center;
}
.not-found .container {
    max-width: 800px;
    padding-left: 0;
    padding-right: 0;
}
.not-found h1 {
    font-size: 8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}
.not-found h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    font-family: 'BIZ UDPGothic', sans-serif;
}
.not-found p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    line-height: 1.8;
}
.not-found .btn-home {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-secondary);
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.not-found .btn-home:hover {
    background-color: var(--color-tertiary);
}
.contact-links {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.contact-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #333;
}
.contact-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.contact-links ul li a {
    color: #0d47a1;
    text-decoration: none;
    font-weight: 500;
}
.contact-links ul li a:hover {
    text-decoration: underline;
}

@media (max-width: 1280px) {
	main .container {
	    padding-left: 0.8rem;
	    padding-right: 0.8rem;
	}
}

@media (max-width: 980px) {
	.header-content .logo{
		margin: auto;
		padding-left: 36px;
	}
	.header-content .logo a {
	    display: flex;
	}
	.header-content .logo img {
		width: 140px;
	}
    .nav {
        display: none;
    }
    .nav-list a {
        color: var(--color-primary);
        width: 100%;
        display: block;
        padding: 1.2rem;
        font-size: 1.6rem;
    }
    .hamburger {
        display: flex;
    }
	.nav.active {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		height: 100svh;
		background:  white;
		flex-direction: column;
		padding: 2rem;
		box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	}
	.nav.active .nav-list {
		flex-direction: column;
		gap: 1.6rem;
		height: fit-content;
	}
	.nav.active .nav-list li{
		width: 100%;
		text-align: center;
	}
	.nav-list li.home {
	display: block;
	}
	.nav.active .nav-list li:nth-last-child(2){
		order: 4;
		margin-top: 40px;
		font-size: 1.6rem;
	}
	.nav.active .nav-list li:nth-last-child(2)::before{
		content: "お電話でのお問い合わせ";
		color:  #000;
	}
	.nav.active .nav-list li:nth-last-child(2)::after{
		content: "（受付時間：平日 10:00-18:00）";
		color:  #000;
	}
	.nav-list a.tel{
	    background: url(../img/common/icon_contact.svg) no-repeat left center;
	    background-size: 28px;
	    width: inherit;
	    text-align: inherit;
	    padding: 0;
	}
	.btn-contact {
	    margin-left: 0;
	    transition: background-color 0.3s ease;
	}
	.hamburger.active span:nth-child(1) {
		transform: rotate(45deg) translate(7px, 6px);
	}
	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}
	.hamburger.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}
}

@media (max-width: 768px) {
	P{
		font-size: 1.4rem;
	}
	br.pc{
		display:block;
	}
	br.sp{
		display:none;
	}
	.button a{
	    font-size: 1.4rem;
	}
    main .container{
        padding: 8rem 2.4rem;
    }
    .section-title{
        font-size: 2.8rem;
        margin-bottom: 3.2rem;
    }  
	.form-group.focused label {
		color:  #007bff;
		transform: translateY(-2px);
	}
	
	/* **************************
	Contact
	************************** */
	.contact h2{
	    font-size: 2.4rem;
	    margin-bottom: 2.4rem;
	}	
	.contact h2:after{
	    margin-top: 2.4rem;
	}
	.contact .button-group{
	    flex-flow: column;
	    font-size: 1.4rem;
	}
	.contact .button-group a:hover{
	    background: var(--color-tertiary);
	}
	.contact .tel{
	    background-size: 8%;
	    padding-left: 10%;
	    font-size: 7.6svw;
	}
	.contact .tel em{
	    font-size: 2.8svw;
	}

	.footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        grid-template-columns: 1fr;
        font-size: 1.4rem;
    }
    
	/* **************************
	 pageTopBtn
	************************** */
	.pageTopBtn {
		bottom: 12px;
		right: 12px;
	}
    
    /* **************************
    404 error
    ************************** */
    .not-found {
        padding: 50px 20px 100px;
    }
    .not-found h2 {
        font-size: 1.8rem;
    }
    .not-found p {
        text-align: left;
    }
    .contact-links ul {
        flex-direction: column;
        gap: 10px;
    }
}