@charset "UTF-8";
body {
    background-color: antiquewhite;
    font-family: 'Noto Sans JP', sans-serif;
}
.inner {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 15px;
}
.inner2 {
    margin: 0 auto;
    max-width: 1040px;
    padding: 0 20px;
}
/*logo*/
header .logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 20px 0 0 0;
}
/*globalnav*/
.hamburger {
    margin: 10px auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hamburger .btn-gNav {
    position: fixed;
    top: 45px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 12;
    opacity: 0.7;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
.hamburger .btn-gNav span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(238, 207, 133, 0.9);
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
.hamburger .btn-gNav span:nth-child(1) {
    top: 0;
}
.hamburger .btn-gNav span:nth-child(2) {
    top: 10px;
}
.hamburger .btn-gNav span:nth-child(3) {
    top: 20px;
}
/***activeクラスが付与されると線が回転して×になる***/
.hamburger .btn-gNav.active span:nth-of-type(1) {
    top: 0px;
    left: 0px;
    transform: translateY(6px) rotate(-135deg);
    width: 100%;
    background: hsl(0, 0%, 100%);
}
.hamburger .btn-gNav.active span:nth-of-type(2) {
    opacity: 0;/*真ん中の線は透過*/
    transform: translateX(50px); /* 右に20px移動 */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    background: hsl(0, 0%, 100%);
}
.hamburger .btn-gNav.active span:nth-of-type(3){
    top: 12px;
    left: 0px;
    transform: translateY(-6px) rotate(135deg);
    width: 100%;
    background: hsl(0, 0%, 100%);
}
/**回転して×ここまで**/
.btn-gNav {
    display: none;
}
.gNav .gNav-menu {
    display: flex;
    justify-content: space-between;
}
.gNav .gNav-menu li {
    margin: 0 auto;
    padding: 0 10px;
    font-weight: 700;
    font-size: 14px;
}
.gNav .gNav-menu li a:hover{
	color: #333;
}

/*動くテキスト*/
.headline {
    width: 100%;
    height: auto;
    text-align: left;
    font-size: clamp(2.5rem, 5vw, 5rem);  
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 50px;
    /*padding-left: 20px;*/
}
.word {
    display: block;
    overflow: hidden;
    opacity: 0;
    animation: slide-in 2s forwards;
}
@keyframes slide-in {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* アニメーションディレイのカスタム */
.word:nth-child(1) { animation-delay: 0.35s; }
.word:nth-child(2) { animation-delay: 0.5s; }
.word:nth-child(3) { animation-delay: 0.65s; }
.word:nth-child(4) { animation-delay: 0.8s; }
.word:nth-child(5) { animation-delay: 0.95s; }

/*concept*/
.concept {
    margin: 250px 0 100px 0;
}
.concept h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.concept-text {
    text-align: justify;
}
.concept-text p {
    line-height: 1.6;
    margin-bottom: 25px;
}
.catch {
    margin-bottom: 20px;
}
/*concept-service*/
.concept-service {
    margin-bottom: 30px;
}
.concept-service h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    border-bottom: 1.5px solid #fff;
    padding-bottom: 10px;
}
.concept-service ul li {
    line-height: 1.6;
    text-align: justify;
}
/*company*/
.company {
    margin: 50px 0 40px 0;
}
.company h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 30px;
}
.row {
    display: flex;
    margin: 15px 0 10px 0;
}
.head {
    font-weight: bold;
    flex: 2;
    line-height: 2;
    border-bottom: 1px solid #ffe730;
}
.body {
    flex: 8;
    line-height: 2;
    padding-bottom: 15px;
    border-bottom: 1px solid #ffffff;
}
.gMap-head {
    font-weight: bold;
    margin: 25px 0 35px
}
.gMap iframe{
    width: 100%;
    height: 600px;
}
/*service*/
.service {
    margin: 50px 0 40px 0;
}
.service h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 30px;
}
.service-body {
    display: flex;
    position: relative;
    /*width: 80%;*/
    margin: 0 auto 100px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.service-body.show {
    opacity: 1;
    transform: translateY(0);
}
.service-text-leftbox, .service-text-rightbox {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 60px;
    width: 52%;
    max-width: 680px;
    z-index: 1;
    position: relative;
    order: 1;
}
.service-text-leftbox {
    margin-right: -10%;
}
.service-text-rightbox {
    margin-right: -90%;
}
.service-number {
    margin: 0 0 7px;
    font-size: 40px;
    font-family: var(--mclogi-font-family-en);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    background: #d3d5d8;
    background: linear-gradient(135deg, #ffae2a 0, #ffd899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 16px;
}
.service-photo {
    width: 50%;
    order: 2;
    z-index: 0;
}
.service-photo img {
    width: 100%;
    height: auto;
    opacity: 0.8;
    border-radius: 12px;
}

/* レスポンシブデザインのためのメディアクエリ */
@media (max-width: 992px) {
    .service-body {
        flex-direction: column; /* 縦並びに変更 */
        width: 90%; /* 全体の幅を調整 */
    }
    .service-text-leftbox,
    .service-text-rightbox {
        width: 100%;
        margin-right: 0;
        margin-top: -25px; /* テキストを画像に少し重なるように追加 */
        order: 2; /* テキストボックスを画像の後に表示 */
    }
    .service-photo {
        width: 100%;
        order: 1; /* 画像をテキストの前に配置 */
        margin-bottom: -20px; /* 画像を少し短くするためにマージンを調整 */
    }
    .service-photo img {
        height: 300px; /* 画像の縦の長さを調整 */
        object-fit: cover; /* 画像を中央に収める */
    }
}

@media (max-width: 768px) {
    .service-text-box {
        padding: 40px;
    }
    .service-number {
        font-size: 30px;
    }
    .service-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .service-text-box {
        padding: 30px;
    }
    .service-number {
        font-size: 25px;
    }
    .service-text {
        font-size: 12px;
    }
    .service-photo img {
        height: 250px; /* さらに小さい画面での画像の縦の長さを調整 */
    }
    .service-text-leftbox, .service-text-rightbox {
        padding: 50px;
    }
}


/*お問い合わせ*/
.contact-page {
    margin-top: 50px;
}
.page-heading {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.contactform {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    width: 100%;
    margin: 20px auto;
}
.contactform h4 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333333;
}
.item {
    margin-bottom: 15px;
}
.label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555555;
}
.form_tit {
    margin: 0;
}
.label-required {
    color: #ff0000;
}
.label-required-any {
    color: #555555;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333333;
}
textarea {
    resize: vertical;
    min-height: 100px;
}
.btn {
    text-align: center;
}
button[type="submit"] {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
    background-color: #faebd7;
    color: #333;
}
.kakunin {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 120px auto;
}
.kakunin h4 {
    margin-bottom: 15px;
}
.sousin-btn {
    text-align: center;
    margin-bottom: 15px;
}
.modoru-btn {
    text-align: center;
    margin-top: 15px;
}
.back-btn {
    background-color: #c0c0c0;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.back-btn:hover {
    background-color: #faebd7;
    color: #333;
}
.back-btn a {
    text-decoration: none;
}
.miss {
    background: #ffffff;
    padding: 80px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 120px auto;
}
.miss-text {
    margin-bottom: 35px;
}
.miss-btn {
    background-color: #c0c0c0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.miss-btn a {
    text-decoration: none;
}
.miss-btn:hover {
    background-color: #faebd7;
    color: #333;
}
.end {
    background: #ffffff;
    padding: 80px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 120px auto;
}
/**submit**/
.end h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.contact-ckecktext p {
    font-size: 0.9rem;
    line-height: 2;
    margin-bottom: 15px;
}
.contact-ckecktext li {
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.contact-ckecktext li strong{
    font-weight: bold;
}

/**topスクロール**/
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: block;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

#back-to-top:hover {
    background-color: #444;
}

/*footer*/
.footer_area {
    margin: 100px 0 50px 0;
    text-align: center;
}
.footer_area p {
    font-size: 12px;
}
.footer-gNav .gNav-menu {
    display: flex;
    justify-content: center;
    margin: 0 0 75px 0;
}
.footer-gNav .gNav-menu li {
    margin: 0 30px;
    padding: 0 10px;
    font-weight: 700;
    font-size: 12px;
}
.footer-gNav .gNav-menu li a:hover{
	color: #333;
}

/**404**/
.error-404 {
    text-align: center;
    background-color: #ffffff;
    margin: 200px 0 150px;
    padding: 60px;
    border-radius: 35px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.error-404 h2 {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
}
.error-404 p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}
.error-404 a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    border: 1px solid #f9dab2;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.error-404 a:hover {
    background-color: #f9dab2;
    color: #ffffff;
}
.footer_area {
    margin-top: 100px;
    text-align: center;
}
.copy {
    color: #666;
}
.top-btn {
    margin-top: 70px;
}

/*SP設定*/
@media screen and (max-width: 820px) {
    .item {
        display: block;
    }
    .label {
        display: block;
        margin-bottom: 5px;
    }
}
@media screen and (max-width: 767px) {
    /*nav*/
    .btn-gNav {
        display: block;
    }
    .gNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(238, 207, 133, 0.9);
        font-size: 16px;
        box-sizing: border-box;
        z-index: 1;
        padding-top: 50px;
        transition: .3s;
    }
    .gNav.open {
        right: 0;
        height: 80vh;
        z-index: 2;
    }
    .gNav .gNav-menu {
        padding: 0;
        width: 100%;
        height: 100%;
        display: block;
        flex-direction: column;
        text-align: center;
        /*justify-content: center;*/
    }
    .gNav .gNav-menu li {
        width: 86%;
        padding: 15px;
        font-size: 16px;
        letter-spacing: 2px;
        border-bottom: #ffffff 1px solid;
        color: #ffffff;
    }
    /*動くテキスト*/
    .headline {
        margin-top: 30px;
    }
    .concept {
        margin: 30px 0 50px 0;
    }
    .concept-service {
        margin-bottom: 20px;
    }
    /*footer-nav*/
    .footer-gNav .gNav-menu li {
        margin: 0 auto;
    }

    #back-to-top {
        bottom: 15px;
        right: 15px;
        font-size: 20px;
        padding: 8px;
    }
}
@media (max-width: 600px) {
    .contactform {
        padding: 15px 20px;
    }

    .contactform h4 {
        font-size: 1.3em;
    }

    input[type="text"], input[type="email"], input[type="tel"], textarea {
        font-size: 0.9em;
    }

    button[type="submit"] {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}
@media (max-width: 480px) {
    header .logo {
        margin: 20px 0 0 0;
    }
    .headline {
        font-size: 10vw;
        padding-left: 0;
    }
    #back-to-top {
        bottom: 10px;
        right: 10px;
        font-size: 18px;
        padding: 7px;
    }
}