:root {
    --main-color-black: #000000;
    --main-color-darkgray:#565657;
    --main-color-red:#9E2C26;
    --main-color-gold:#AF935B;
    --main-color-lightgold:#D8CFB5;
    --main-color-cream:#F8F7F4;
    --main-color-text:#565657;
    --main-color-bk:#FFFEFB;

    --header-height: 60px;
}

/* common */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    margin:0 !important;
}

body {
    font-family: "Commissioner",'Noto Sans JP', sans-serif;
    color: var(--main-color-black);
    background: #FCFCFC;
    letter-spacing: 0.012em;
}
@media only screen and (max-width: 767px){
    body{
        overflow-x: hidden;
    }
}
img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    image-rendering: -webkit-optimize-contrast;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

section {
    width: 100%;
}
.sp-only {
    display: none;
}
.pc-only{
    display: block;
}
@media only screen and (max-width: 1400px) and (min-width: 768px) {
    html {
        font-size: calc(10 * (100vw / 1400));
    }
}

@media only screen and (max-width: 767px) {

    html {
        font-size: calc(10 * (100vw / 767));
    }
    main{
        width: 76.7rem;
    }
    .pc-only{
        display: none !important;
    }
    .sp-only{
        display: block !important;
    }
}



/* flex */
.fl {
    display: flex;
    flex-wrap: wrap;
}

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

/* link hover*/
a,.btn-m {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease, transform 0.3s ease; /* transition 应放在初始状态 */
}

.btn-m:hover,a:hover {
    opacity: 0.6;
    transform: translateY(-2px); /* translateY(5px) 表示下沉，而非负数 */
}



/* text */
.main-txt {
    font-size: 1.6rem;
    color: var(--main-color-text);
    line-height: 2;
    font-weight: 400;
}
@media screen and (max-width: 767px){
    .main-txt{
        font-size: 2.4rem;
    }  
}



/* title */
h2 {
    font-size: 3.6rem;
    font-weight: 600;
    line-height: calc(56/32);
}

h3{
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 1.75;
}
h4{
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.75;
}
h5{
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.75;
}
@media only screen and (max-width: 767px){
    h2{
        font-size: 4rem;
    }
    h3{
        font-size: 3.8rem;
    }
    h4{
        font-size: 3.6rem;
    }
    h5{
        font-size: 2.8rem;
    }
}

.red-o{
    color: var(--main-color-red);
}
.main-ttl{
    display: flex;
    align-items: center;
    gap: 3rem;
}
.main-ttl img:nth-of-type(1){
    width: 3.62rem;
}
.main-ttl img:nth-of-type(2){
    width: 2.6rem;
}
.main-ttl .en-ttl{
    font-weight: 700;
    font-size: 4rem;
}
.main-ttl .jp-ttl{
    font-size: 2.4rem;
    font-weight: 500;
}


/* input */
::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: var(--main-color-text);
}

::-moz-placeholder {
    /* Firefox 19+ */
    color:  var(--main-color-text);
}

:-ms-input-placeholder {
    /* IE 10+ */
    color:  var(--main-color-text);
}

:-moz-placeholder {
    /* Firefox 18- */
    color:  var(--main-color-text);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}
select{
    padding-right: 20px;
}
.contact-style input,textarea,select{
    background: var(--main-color-cream);
    border-radius: 10px;
    border: 0;
    padding: 2rem 2.5rem;
    font-family: Commissioner, 'Noto Sans JP';
    font-size: 1.6rem;
    font-weight: 400;
    max-width: 100%;
    width: 100%;
    margin: 1rem 0 0;
    resize: vertical;
    color: var(--main-color-text);
}
@media only screen and (max-width: 767px){
    .contact-style input,textarea,select{
        border-radius: 6px;
        font-size: 2.4rem;
        padding: 3rem 2.5rem;
        margin: 1.5rem 0 0;
    }
}
.policy-style{
    font-size: 1.4rem;
    color: var(--main-color-text);
    margin: 2.5rem 0 0;
    text-align: center;
}
.policy-style a{
    color: var(--main-color-gold);
    text-decoration: underline;
}
.mv-inner-contact-form-1-btn{
    display: flex;
    justify-content: center;
    margin: 4.2rem 0 5.2rem;
}
@media only screen and (max-width: 767px){
    .mv-inner-contact-form-1-btn{
        margin: 6.2rem 0 8.2rem;
    }
    .policy-style{
        font-size: 2.4rem;
    }
}
.wpcf7-response-output{
    display: none !important;
}
/* button */
.btn-m{
    background:var(--main-color-gold) !important;
    color: #fff !important;
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    border-radius: 99px !important;
    margin: 0 !important;
    padding: 1.5rem 4rem !important;
    cursor: pointer;
}
.btn-g{
    background: #134E4A;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 99px;
    margin: 0;
    padding: 1.5rem 4rem;
    text-align: center;
}
@media only screen and (max-width: 767px){
    .btn-m{
        font-size: 2.4rem !important;
        padding: 2.5rem 6rem !important;
    }
    .btn-g{
        font-size: 2.6rem;
        padding: 3rem 4rem;
    }
}

/* background */
section,
body {
    position: relative;
}

section::before,
body::before,
section::after {
    content: "";
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    z-index: -99;
}


/* animation */
/* fade */
.fade_up{
	transform: translateY(50px);
    opacity: 0;
}
.fade_up.active{
    transition: transform 1.5s, opacity 1.5s;
    transform: translateY(0);
    opacity: 1;
}

.breathing-img {
    animation: breathing 4s ease-in-out infinite;
    position: relative;
}

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* 轻微放大 */
    }
}
