/* Theme Name: himesen
Author: seitaro tanabata
Description: himesenテーマのスタイル
Version: 1.0 */

/* フォント設定 */
body, .wrapper {
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif !important;
    color: #0e1339!important;
}
h1, h2, h3, h4, h5, h6, .title, p, span ,div, a, button {
    font-family: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif !important;
    font-weight: 600;
    color: #000849!important;
}

.title_gr {
    background-image: linear-gradient(113deg, #45d0bd 0%, #44b6e9 100%) !important;
    color: transparent !important;
}

.header_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_item_left {
    width: 30%;
}

.header_item_left img {
    width: 10%;
}

.header_item_right {
    width: 70%;
    display: flex;
    justify-content: end;
}

.header_ct_text {
    margin-top: 4px;
    display: flex;
}

/* hero-style7の背景を動画に変更 */
.hero-style7 {
    position: relative;
    width: 100vw;
    overflow: hidden;
    z-index: 0;
    padding: 100px 0;
    background: none !important; /* もとの背景があれば消す */
}
.hero-style7::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 35%;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.90) 95%, #fff 100%);
}
.hero-style7 img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 2;
    min-width: 100vw;
    min-height: 100vh;
    pointer-events: none;
    opacity: 0.9;
    mix-blend-mode: screen;
}
.hero-style7 .hero-bg-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    min-width: 100vw;
    min-height: 100vh;
    pointer-events: none;
    /* opacity: 0.15; */
}

.hero-content7 {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 不要になるかもしれないが、一応高さ維持 */
.hero-style7::before {
    content: "";
    display: none;
}

/* feature-sec15の背景を動画に変更 */

.feature-sec15::before {
    content: none;
}

/* himesen固有のhero内容部分 */
.hero-content7 .title {
    font-size: 3vw;
    line-height: 110px;
    font-weight: 500;
    letter-spacing: 1.5px;
}

.hero-content7 .title span {
    font-size: 4vw;
    font-weight: bold;
}

.hero-content7 p {
    font-size: 1rem;
    font-weight: bold;
}

.hero_after{
    position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
    width: 90%;
    z-index: 3;
    margin: 30px auto 0;
    font-size: 3vw;
    color: #000!important;
    opacity: 0.1;
}

.sec-title {
    overflow: inherit;
}

.sec-title .title {
    font-size: 38px;
}

.choose-block4 p {
    width: 90%;
}

.title-area2 .sec-title .title {
    font-size: 42px;
}

.faq-sec .sec-title {
    max-width: 90%;
}

.header-logo img {
    width: 6%;
}

.logo-text {
    font-size: 1.3vw;
    letter-spacing: 1.8px;
}

.header_logo {
    width: 100%;
}

.contact-banner3 {
    margin-top: 100px;
}

.testimonial-sec2 {
    background: #fff;
}

.feature-card15 p {
    color: var(--color-heading);
}

.project-sec3 {
    overflow: hidden;
    margin-top: -80px;
    position: relative;
}

.project-sec3 .project-track {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.project-block3 {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.project-block3 img {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.choose-us-sec .choose-img {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.choose-us-sec .choose-img img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-block3 img {
    height: 400px;
    width: 90%;
    object-fit: cover;
    border-radius: 100px 5px 5px 5px;
}

.project-block3:nth-of-type(odd) img {
    margin-top: 80px;
    border-radius: 5px 5px 5px 100px;
}

.choose-us-sec .choose-img img {
    width: 85%;
    border-radius: 100px;
    margin-top: 15px;
    height: 35vw;
    max-height: 430px;
    min-height: 200px;
}

/* タブレット向け調整 */
@media (max-width: 991px) {
    .choose-us-sec .choose-img img {
        width: 95%;
        height: 45vw;
        max-height: 360px;
        border-radius: 60px;
        margin-top: 8vw;
    }
}

/* スマホ向け調整 */
@media (max-width: 599px) {
    .choose-us-sec .choose-img img {
        width: 100%;
        height: 60vw;
        max-height: 220px;
        border-radius: 30px;
        margin-top: 20px;
    }
}

.choose-us-sec {
    padding: 5vw;
}

/* メインカラーを中心にしたサイト全体のカラー調整 */
:root {
    /* メイングラデーション */
    --gradient-3: linear-gradient(113deg, #45d0bd 0%, #44b6e9 100%) !important;
    
    /* メインカラーに調和するグラデーション（明るいバリエーション） */
    --gradient-1: linear-gradient(159deg, #45d0bd 0%, #44b6e9 50%, #6bc5d6 100%) !important;
    
    /* ボタン用グラデーション（メインカラーに調和） */
    --gradient-btn-1: linear-gradient(102deg, #45d0bd 0%, #44b6e9 50%, #4ab3d8 100%) !important;
}

/* ser-card11のグラデーション背景（メインカラー中心、統一感のあるデザイン、白テキスト可読性を考慮） */
.ser-card11::before {
    background-image: none !important;
    background: linear-gradient(113deg, #2a9d8c 0%, #2d91c0 100%) !important;
}

.ser-card11.v2::before {
    background-image: none !important;
    background: linear-gradient(113deg, #45d0bd 0%, #44b6e9 100%) !important;
}

.ser-card11.v3::before {
    background-image: none !important;
    background: linear-gradient(113deg, #38a896 0%, #3a9ecb 100%) !important;
}

.feature-block9 .sub-title {
    font-size: 60px;
    line-height: 60px;
}

.contact-banner-content3 .title {
    font-size: 3vw;
    color: #fff!important;
}

/*ContactForm7カスタマイズ*/
table.CF7_table{
	margin:0 auto;
	/* border: 3px solid #e5e5e5; */
    /* background-color:#fff ; */
}

table.CF7_table tr{
    width: 100%;
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
	/* border-top: 1px solid #e5e5e5; */
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background-image: none !important;
    background: linear-gradient(113deg, #45d0bd 0%, #44b6e9 100%) !important;
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: linear-gradient(113deg, #e0e0e0 0%, #bdbdbd 100%); /*グレーグラデーション*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	/* background-color:#ebedf5;ブルーグレー */
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
    flex-wrap: wrap;
	}
	.CF7_table input, .CF7_table textarea{
        margin-top: 10px;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background: linear-gradient(113deg, #45d0bd 0%, #44b6e9 100%) !important;
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

td, .wp-block-calendar tfoot td {
    border: none;
    padding: 0;
}

.CF7_table textarea {
    height: 200px;
    padding: 10px;
}

.ser-content12 .title,.ser-content12 p,.marquee-sec2 .marquee-inner span,.btn-box4 .contact-btn .text,.CF7_req,.btn-box4 .contact-btn .text,.CF7_unreq {
    color: #fff!important;
}

@media (max-width: 1201px) {
    .btn-box .ibt-btn {
        display: block;
    }
}

@media screen and (max-width: 1200px){
    .header_item_left img {
        width: 15%;
    }

    .logo-text {
        font-size: 1.8vw;
    }
}

@media screen and (max-width: 768px){
    
    .header_item_left img {
        width: 12%;
    }

    .header_item_left {
        width: 100%;
    }

    .header_item_right {
        display: none;
    }

    .logo-text {
        font-size: 16px;
        margin: 2px 0 0 8px;
    }

    .header_ct_text {
        margin-top: 0;
    }

    .hero-style7 {
        height: 75vh;
        min-height: initial;
    }

    .hero-content7, .hero-style7 > .container2, .hero-style7 .container2 {
        position: static;
    }
    .hero-content7 {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto;
        flex-direction: column;
    }

    .hero-content7 .title{
        font-size: 5vw;
        line-height: 40px;
    }

    .hero-content7 .title span {
        font-size: 5vw;
    }

    .hero-content7 p {
        font-size: 14px;
    }

    .header-logo img {
        width: 20%;
    }

    .title.animated-heading .word {
        white-space: normal;
        line-height: 45px;
    }

    .contact-banner3 {
        display: none;
    }

    .col-auto {
        width: 50%;
    }

    .ibt-btn.ibt-btn-rounded {
        padding: 17px 32px;
    }

    .btn-box {
        justify-content: flex-end;
    }

    .call-center2 {
        margin-bottom: 20px;
    }

    .call-center2 .title {
        margin-bottom: 0px;
    }
}