/*
Theme Name: タカチュウ カスタムテーマ
Author:
Description: タカチュウ用のカスタムWordPressテーマです。
Version: 1.0
*/

body {
    font-family: 'Yu Gothic', 'Yu Gothic UI', sans-serif;
    overflow-x: hidden;
}

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

li {
    list-style: none;
    font-size: 18px;
}

a {
    text-decoration: none;
}

main {
    margin: 0 auto;
}

h1 {
    font-size: 30px;
    text-align: center;
}

header {position: relative;}

.header {
    margin: 0 auto;
}
.background-nav{
    display: none;
}
.nav-header {
    padding-top: 94px;
}

.fixed-header {
    position: absolute;
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    width: 91.66%;
}
.fixed-header::after {
    position: absolute;
    content: "";
    background: #ed702e;
    top: 0;
    left: -5.17%;
    width: 109.7%;
    height: 100%;
    z-index: -1;
}
.fixed-header img {
    display: block;
    height: 50px;
}

.fixed-header i {
    font-size: 40px;
}

.flex {
    display: flex;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.nav-content {
    /*background-color: #ed702e;*/
    flex: 1;
    justify-content: right;
    /*padding-right: 4.17%;*/
    width: 100%;
    display: none;
    gap: 20px;
}

.nav-mobile {
    background-color: #ed702e;
    flex: 1;
    justify-content: right;
    padding-right: 4.17%;
    align-items: center;
    width: 100%;
    display: flex;
    gap: 20px;
    position: absolute;
    left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    top: calc(-100% - 70px);
    transition: .4s;
}

.nav-mobile uL li a {
    color: black;
}

.nav-mobile img {
    width: 70%;
}
.nav-mobile li:hover {
    background-color: #000;
}

.nav-mobile li:hover a {
    color: #ed702e;
    font-weight: bold;
}

.nav-header img {
    width: 100%;
}
.nav-hover{
    width: 100%;
}

.nav-content li:hover {
    background-color: #000;

}
.nav-content li:hover a {
    color: #ed702e;
    font-weight: bold;
}
.section {
    margin: 30px auto 0;
    padding-inline: 4.17%;
}

.section-full {
    /* margin: 60px auto 0; */
    margin: 60px auto;
}

.section-map {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    /*padding-bottom: 40px;*/
}

.section-map h1 {
    position: absolute;
    top: 30px;
    left: 8%;
    margin: 0;
    padding: 10px 20px;
    color: #211815;
    z-index: 10;
    pointer-events: none;
}

.section-map iframe {
    display: block;
}

.description-contact {
    margin-top: 20px;
}

.description-contact p {
    font-size: 16px;
    font-weight: bold;
}

.flex-wrap {
    flex-wrap: wrap;
}
.section-company{
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom:40px
}
.flex-end {
    text-align: right;
    flex-direction: column;
}

.flex-col {
    flex-direction: column;
}

.slogan-title {
    padding-right: 4.17%;
}

.slogan-title p {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.section-contact {
    background-color: #F0F0F0;
    padding-top: 35px;
    padding-bottom: 34px;
}

.about-section {
    background-color: #F0F0F0;
    padding-top: 40px;
    padding-bottom: 60px;
    margin-top: 0px;
}

.section-input {
    padding-top: 40px;
    padding-bottom: 60px;
}

.service-section {
    background-color: #F0F0F0;
    padding-top: 40px;
    padding-bottom: 60px;
}

.section-slogan {
    background-color: #ed702e;
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 背景全幅表示のためのスタイル設定 */
.about-section,
.service-section,
.section-contact,
.section-slogan {
    position: relative;
    z-index: 1;
}

/* グレー背景（#F0F0F0）を全幅に広げる */
.about-section::before,
.service-section::before,
.section-contact::before {
    content: "";
    background-color: #F0F0F0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
}

/* オレンジ背景（#ed702e）を全幅に広げる */
.section-slogan::before {
    content: "";
    background-color: #ed702e;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
}

.about-item {
    width: 100%;
    max-width: 100%;
}

.description-about {
    margin-top: 20px;
    padding: 0 0 0 4.17%;
}

.footer-nav,
.img-footer {
    width: 100%;
    max-width: 100%;
}

.footer-nav {
    margin-top: 20px;
}

.footer-nav li a {
    display: block;
    color: black;
    font-size: 18px;
    font-weight: 300;
}

.footer-nav li:hover {
    background-color: #000;
}

.footer-nav li:hover a {
    color: #ed702e;
    font-weight: bold;
}

.footer-section {
    margin-top: 0;
    background-color: #ed702e;
    padding-top: 10px;
    padding-bottom: 20px;
}

.copyright-text {
    margin-top: 40px;
    justify-content: end;
}

.copyright-text p {
    font-size: 10px;
    font-weight: bold;
}

.contact-item {
    width: 100%;
    max-width: 100%;
}

.btn-send {
    justify-content: end;
    cursor: pointer;
}

.menu-icon {
    padding: 10px;
}

.menu-icon i {
    display: none;
}

.menu-icon .active {
    display: block;
}

.justify-end {
    justify-content: center;
}

.table-first {
    width: 100%;
    border-collapse: collapse;
}

.table-first tr,
.table-first td {
    border: 1px solid #b3b4c0;
    padding: 4.5px 20px;
    font-size: 20px;
    font-weight: bold;
    word-break: break-word;
    white-space: normal;
}

.table-first td:first-child {
    width: 130px;
    background: #d7d7d7;
    text-align: center;
    font-size: 14px;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
}

.table-custom tr,
.table-custom td {
    border-top: 1px solid #b3b4c0;
    border-right: 1px solid #b3b4c0;
    border-left: 1px solid #b3b4c0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    word-break: break-word;
    white-space: normal;
}

.table-custom .table-title, .table-title td{
    border-bottom: 1px solid #b3b4c0!important;
}
.table-custom td:first-child {
    width: 130px;
    background: #d7d7d7;
    font-size: 14px;
}

.title-section {
    margin-bottom: 40px;
}

.title-section span {
    font-size: 16px;
    font-weight: bold;
}

.img-section {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -0.8rem;
    margin-top: 1rem;
    justify-content: center;
}

.img-wrap {
    padding-inline: 0.9rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
    max-width: 675px;
}

.img-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
}

.img-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.img-wrap:first-child {
    max-width: 675px;
}

.table-wrap {
    display: flex;
    flex-direction: column;
}

.section.header {
    margin: 0;
    width: 100%;
    /*position: relative;*/
    margin-inline: auto;
}

.btn-table {
    text-align: center;
}

.service-img img {
    width: 100%;
}

.image-container {
    position: relative;
    display: inline-block;
    padding-left: 4.17%;
}

.reform-group {
    margin-top: 40px;
}

.content-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.content-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.content-group h5 {
    width: 100%;
    margin: 0;
    padding: 10px 0;
    font-size: 16px;
    padding-inline: 4px;
    margin-bottom: -15px;
}

.content-item {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-after .content-item {
    background-color: #B3B4C2;
}

.content-before .content-item {
    background-color: #B7ADB0;
}

.img-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.background-image {
    width: 100%;
    height: auto;
    display: block;
}

.button-inquiry {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: inline-block;
}

.button-inquiry img {
    width: 70%;
    height: auto;
    transition: 0.3s;
}


/*input*/
.field-list {
    padding: 20px 0;
}

.form-horizontal {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-label {
    display: flex;
    justify-content: normal;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    padding-top: 20px;
}

.form-label span {
    padding: 2px 5px;
    margin-left: 10px;
    color: white;
    background-color: black;
}

.form-control {
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.textarea-container {
    width: 100%;
}

.textarea-container textarea {
    width: 100%;
    height: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    resize: none;
}

.form-control:focus,
.textarea-container textarea:focus {
    border-color: #007bff;
    outline: none;
}

/*end input*/

/*table maps*/
.company-info {
    max-width: 1200px;
    margin: 0 0 0 4.17%;
    border-collapse: collapse;
    font-size: 10px;
    color: #333;
}

.company-info h1 {
    text-align: start;
}
.company-info:first-child{
    margin: 10px 0 0 4.17%;
}

.company-info td {
    padding: 8px 0;
}

.company-info td:first-child {
    font-weight: bold;
    text-align: left;
    white-space: nowrap;
}

.company-info td:last-child {
    font-weight: bold;
    text-align: left;
    padding-left: 60px;
}

.custom-div {
    width: 55px;
}

.nav-mobile.active {
    top: 69px;
}

.section-text {
    font-weight: bold;
}
.mt-20{
    margin-top: 20px!important;
}
.section-item + .section-item,
.section-info + .section-item {
    margin-top: 60px !important;
}
.mt-sp{
    margin-top: 20px;
}
@media (min-width: 768px) {
    .content-group h5{
        margin-bottom: 0px;
    }
    .nav-header {
        padding-top: 150px;
    }
    .content-item{
        padding-inline: 4px;
    }
    .content-group .content-item{
        margin-bottom: 8px;
    }
    .content-group .content-item:last-child{
        margin-bottom: 0;
    }
    .fixed-header::after{
        content: unset;
    }
    .background-nav{
        background-image: url('/wp-content/themes/takacyutheme/assets/images/background.png');
        position: absolute;
        top: 151px;
        left: 0;
        background-position: top left;
        background-size: contain;
        background-repeat: repeat;
        z-index: -1;
        width: 100%;
        height: 100%;
        display: block;
    }

    h1 {
        font-size: 42px;
        text-align: left;
    }
    .mt-sp{
        margin-top: 0;
    }
    .justify-end {
        justify-content: end;
        align-items: end;
        margin-bottom: 35px;
    }

    .contact-item {
        width: 50%;
        max-width: 50%;
    }
    .company-info {
        margin-top: 20px;
    }
    .company-info:first-child{
        margin: 0 0 0 2.5%;
    }
    .section-company{
        max-width: 678px;
        margin: 0 auto;
        padding-bottom: 100px
    }

    .image-container {
        padding-left: 0;
    }
    .description-about {
        padding: 0;
    }
    .nav-mobile {
        display: none;
    }
    .nav-content ul li a {
        display: block;
        color: black;
        font-weight: 300;
        padding-left: calc((768px * 6 / 100));
    }
    .section {
        max-width: 768px;
        padding-left: calc(768px * 8.34 / 100);
        padding-right: calc(768px * 4.17 / 100);
    }
    .section.header {
        padding: 0;
        width: 100%;
    }
    .section-full{
        max-width: 768px;
        padding-left: calc(768px * 8.34 / 100);
    }

    .nav-content {
        width: 244px;
        position: unset;
        padding-top: 50px;
        padding-bottom: 10px;
        display: flex;
    }
    .nav-header img {
        width: 547.84px;
        height: auto;
    }
    .header-mobile {
        display: none;
    }
    .fixed-header {
        width: 50%;
        padding-left: calc(768px * 4.16 / 100);
    }
    .fixed-header img {
        width: 285px;
        height: auto;
        margin-top: 30px;
    }
    .nav-header {
        padding-left: 8.34%;
    }
    .about-item p {
        /*font-weight: bold;*/
    }
    .description-about p {
        /*font-weight: bold;*/
    }
    .description-contact {
        width: 525px;
    }
    .footer-wrap{
        flex-direction: row-reverse;
    }
    .description-contact p{
        font-size: 15px;
    }
    .button-inquiry{
        left: -35px;
    }
    .hover-image{
        width: 70%;
    }
    .btn-send{
        text-align: end;
    }
    .section-map{
        max-width:100%;
        /*padding-bottom: 80px*/
    }
    .section-slogan{
        max-width: 768px;
        padding-left: calc(768px * 8.34 / 100)
    }
    .about-item h1 {
        margin-bottom: 50px;
    }
    /*.section-map h1 {*/
    /*    top: 100px;*/
    /*}*/
    .title-section h1 {
        margin-bottom: 15px;
    }
    .table-wrap {
        flex-direction: row;
    }
    .table-first tr,
    .table-first td {
        /* padding: 4.5px 20px; */
        border-top: 1px solid #b3b4c0;
        border-bottom: 1px solid #b3b4c0;
        border-right: none!important;
        border-left: none!important;
    }

    .table-custom tr,
    .table-custom td {
        border-top: 1px solid #b3b4c0;
        border-bottom: 1px solid #b3b4c0;
        border-right: none!important;
        border-left: none!important;
    }
    .company-info {
        margin: 0 0 0 2.5%;
        font-size: 14px;
    }
    .content-section{
        gap:0;
        margin-inline: -4px;
    }
    .table-custom {
        width: 50%;
        /*border-collapse: collapse;*/
    }
}
/*end table maps*/
@media (min-width: 1200px) {
    /*.section-map{*/
    /*    max-width:1200px*/
    /*}*/
    .w-full {
        width: auto;
        margin-left: auto;
    }
    .background-nav{
        top: 241px;
    }
    .section-company{
        max-width: 1200px;
        margin: 0 auto;
        /*padding-bottom: 40px*/
    }
    .hover-image{
        width: 100%;
    }
    .description-contact p{
        font-size: 16px;
    }
    .nav-content ul li a {
        padding-left: calc((1200px * 8.34 / 100) + 9px);
    }
    .nav-header {
        padding-top: 190px;
    }
    /*.nav-backgound{*/
    /*    background-image: url('/wp-content/themes/takacyutheme/assets/images/background.png');*/
    /*    background-size: 100% auto;*/
    /*    background-repeat: repeat-y;*/
    /*}*/

    .section-item + .section-item,
    .section-info + .section-item {
        margin-top: 100px !important;
    }


    .mt-100 {
        margin-top: 100px!important;
    }

    .table-first {
        width: 1050px;
    }
    .section-btn {
        margin-top: 50px !important;
    }



    .title-section {
        padding-top: 30px
    }

    .section-item {
        margin-top: 45px !important;
    }

    /*.about-item p {*/
    /*    font-weight: bold;*/
    /*}*/



    .about-item {
        margin-top: 80px;
    }

    .about-section {
        margin-top: 0px !important;
        height: 480px;
    }

    .content-section {
        gap: 0;
    }

    .content-group {
        width: 50%;
        gap: 0;
    }

    .content-item {
        width: 100%;
        height: 295px;
        overflow: visible;
    }

    /*img*/
    .img-wrap:nth-last-of-type(-n+2) {
        margin-bottom: 0;
    }
    .img-wrap {
        margin-bottom: 34px;
        width: 50%;
        max-width: 50%;
    }

    .img-wrap:first-child {
        width: 100%;
        max-width: 675px;
    }

    .img-item {
        width: 510px;
        aspect-ratio: 16 / 9;
        height: 286px;
        /*height: 286.875px;*/
    }

    .img-wrap:first-child .img-item {
        height: 377px;
        width: 670px;
    }

    .img-item img {
        object-fit: cover;
        /*object-position: center;*/
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        margin: auto;
    }

    /*end img*/


    .custom-div {
        display: none;
    }

    header {
        padding-top: 50px;
        position: relative;
    }

    .company-info {
        margin: 0 0 0 8.34%;
        font-size: 16px;
    }
    .company-info:first-child{
        margin: 0 0 0 8%;
    }
    .button-inquiry {
        bottom: 20px;
        left: -50px;
    }

    .button-inquiry img {
        width: auto;
        /*height: 50px;*/
    }

    h1 {
        font-size: 52px;
        /*text-align: left;*/
    }

    .description-contact {
        padding: 0;
    }

    .section-contact {
        margin-top: 100px !important;
        height: 253px;
    }





    .section {
        margin-top: 60px;
        padding-left: calc(1200px * 8.34 / 100);
        padding-right: calc(1200px * 4.17 / 100);
        max-width: 1200px;
    }

    .section-full {
        max-width: 1200px;
        padding-left: calc(1200px * 8.34 / 100);
    }

    .section-slogan {
        max-width: 1200px;
        padding-left: calc(1200px * 8.34 / 100);
    }


    .item-bottom {
        padding-top: 60%;
    }

    .btn-send {
        justify-content: end;
    }
    .mt-14{
        margin-top: 14px!important;
    }
    .fixed-header {
        padding-left: calc(1200px * 4.16 / 100);
    }

    .footer-section {
        padding-top: 50px;
        height: 400px;
    }

    .footer-nav {
        order: -1;
    }

    .footer-wrap {
        flex-direction: row;
    }

    .footer-nav,
    .img-footer {
        width: 50%;
        max-width: 50%;
    }

    .footer-nav {
        margin-top: 0;
    }

    /*header */

    .fixed-header img {
        width: 100%;
        height: auto;
        margin-top: 0;
    }

    .fixed-header {
        background: transparent;
    }


    .nav-content img {
        display: none;
    }

    .nav-header img {
        width: 856px;
    }

    .slogan-title p {
        font-size: 60px;
    }

    .form-control {
        width: 420px;
        height: 40px;
    }

    .textarea-container textarea {
        width: 565px;
        height: 210px;
    }
}

@media (max-width: 1199px) {
    .content-group {
        width: 100%;
    }

    .content-item {
        width: 100%;
        max-width: 100%;
        /*height: 295px;*/
    }

    .section-map h1 {
        top: 100px;
        left:-10px;
    }
}

@media (max-width: 767px) {
    .table-first td:first-child {
        width: 78px;
    }
    .table-first tr, .table-first td {
        padding: 4.5px 10px;
    }
    .img-wrap {
        width: 100%;
        max-width: 100%;
        margin-bottom:1rem;
    }
    .section-info{
        margin-top: 20px !important;
    }
    .img-section {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .img-item {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .content-group h5 {
        font-size: 14px;
    }

    .section-map h1 {
        top: 100px;
    }

    .img-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .content-group {
        width: 100%;
        max-width: 100%;
    }

    .content-item {
        width: 100%;
        height: auto;
    }

    .img-content {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media (max-width: 400px) {
    .section-map h1 {
        top: 50px;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {

    .section-item + .section-item,
    .section-info + .section-item {
        margin-top: 100px !important;
    }

    .slogan-title p {
        font-size: 40px;
    }


    .w-full {
        width: 100%;
        /*margin: 0 auto;*/
    }
    .section-map h1 {
        top: 40px;
        left:100px;
    }
    .img-wrap {
        width: 50%;
        max-width: 50%;
    }

    .img-wrap:first-child {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .img-wrap:first-child img{
        width: 560px;
        aspect-ratio: 16 / 9;
        height: 315px;
    }
    .img-item {
        aspect-ratio: 16 / 9;
    }

    .img-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .content-group {
        width: 50%;
        /*max-width: 100%;*/
        gap:0;
    }

    .content-item {
        display: inline-block;
        /* width: 50%; */
        aspect-ratio: 16 / 9;
    }
    .img-content {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

.wpcf7 .wpcf7-submit {
    display: none;
}

.wpcf7 .screen-reader-response {
    display: none;
}

.wpcf7-not-valid-tip {
    display: block;
    color: red;
}