@charset "UTF-8";

/* reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: 1;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: #665252;
}

img {
    vertical-align: bottom;
    max-width: 100%;
}
/* //reset */

body {
    color: #665252;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

/* header */
.header {
    position: relative;
    display: flex;
}

.header img {
    position: absolute;
    width: 65px;
    margin: 1rem 4rem;
}

h1 {
    font-size: 30px;
    padding: 2rem 0 3rem;
    text-align: center;
    color: #665252;
    background-color: #fffbf2;
}

nav {
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 24px;
}

nav li {
    padding-left: 15px;
}

nav li a {
    color: #665252;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 20px 25px;
    transition: 0.3s ease-in-out;
    font-weight: 600;
}

nav li a:hover {
    opacity: 0.6;
}

nav li a:before {
    position: absolute;
    bottom: 0px;
    left: 50%;
    content: '';
    width: 100%;
    height: 2px;
    background: rgba(0,0,0,.1);
    transform: translateX(-50%);
}

nav li a::after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #665252;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

nav li a:hover {
    opacity: 0.7;
}

nav li a:hover::after {
    transform: scale(1, 1);
}

/* mv */
.mv {
    text-align: center;
    position: relative;
    padding: 0 3rem 3rem;
    background-color: #fffbf2;
    margin: -1rem 0 -1rem;
}

.mv p.mv_txt {
    position: absolute;
    top: 11rem;
    left: 17rem;
    text-align: left;
    font-size: 40px;
    line-height: 1.8;
    color: #fff;
}

.mv img {
    border-radius: 50px;
    width: 1500px;
    margin-top: 1rem;
}

/* main */

section {
    padding-top: 2rem;
}

h2 {
    padding: 2rem 0 5rem;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
}

h2 span.mini_txt {
    font-size: 18px;
    display: inline-block;
    padding-bottom: 1rem;
}

h3 {
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-size: 25px;
    text-align: center;
}

main {
    background-color: #fffbf2;
}

.main-w {
    max-width: 1300px;
    margin: 0 auto;
}

.fl-box {
    display: flex;
    justify-content: center;
    padding-bottom: 5rem;
    gap: 5rem;
}

.fl-box img {   
    border-radius: 50px;
}

.w50 {
    width: 50%;
}

.content01 {
    text-align: center;
}

.content01 img {
    width: 450px;
}

.txt_box01 {
    margin: 0 3.5rem;
}

.txt_box02 {
    margin: 0 3rem;
}

.txt_box03 {
    margin: 0 3rem;
}

.bgc {
    background-color: #fff;
    width: 99vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.content01 p,
.content02 p,
.content03 p {
    font-size: 18px;
    line-height: 1.8;
}

.fd_row {
    flex-direction: row-reverse;
}

 .img_ct{
    margin-bottom: 300px;
} 
 .img_ct::after{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg_img.webp);
    background-position: center;
    background-size: cover;
    z-index: -1;
 }

.ct03_img {
    width: 400px;
    padding: 1rem;
 }

 .ttl_03 {
    text-align: center;
 }

/* footer */

footer {
    background-color: #665252;
    color: #fff;
    display: flex;
    justify-content: center;
}

footer p{
    text-align: center;
}

.footer {
    padding: 5rem 2rem 2rem;
    font-size: 15px;
    text-align: center;
}

.footer .copyright {
padding-right: 3rem;
}

footer img {
    width: 50px;
    padding-bottom: 1rem;
}

.footer a:hover {
    opacity: 0.7;
}

.md-flex {
    display: flex;
    gap: 30px;
    align-items: end;
}

.md-flex li a {
    color: #fff;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 1280px) {
.mv p.mv_txt {
    top: 7rem;
    left: 7rem;
}
}

@media(width < 480px) {

.pc-only {
    display: none;
}

.sp-only {
    display: block;
}

/* mv */
.mv {
    padding: 1rem;
}

.mv img {
    border-radius: 25px;
    max-width: 100%;
    }

.mv p.mv_txt {
    top: 85px;
    left: 35px;
    font-size: 24px;
    line-height: 1.6;
}

.header img {
    top: 15px;
    right: 0;
    left: 0;
    margin: auto;
    width: 47px;
}

h1 {
    padding: 5rem 0 1rem;
}

/* nav */
nav ul {
    display: flex;
    justify-content: center;
    gap: 24px;
}

nav li {
    padding: 10px;
    padding-left: inherit;
}

nav li a {
    padding: 18px 0 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* main */
.main-w {
    max-width: 100%;
}

h2 {
    padding: 0 0 2rem;
    font-size: 24px;
}

.fl-box {
    display: block;
}

.content01 img {
    width: 100%;
}

.txt_box01 {
    margin: 0 2rem;
}

.txt_box02 {
    margin: inherit;
}

.txt_box03 {
    margin: 0 1rem;
}

.w50 {
    width: 100%;
    padding: 1rem;
}

.ct03_img {
    width: 100%;
}

/* footer */
  .footer {
    display: flex;
    flex-wrap: wrap-reverse;
    padding: 3rem 0rem 2rem;
  }

  .footer .copyright {
    padding-right: inherit;
}

 .md-flex {
    gap: 16px;
 }

  .footer .copyright {
        padding-right: inherit;
        padding-top: 2rem;
    }

}