/*
Theme Name:story_tcd041_child
Template:story_tcd041
Version:2.1.5
*/


/* TCDテーマ修正 */
.breadcrumb-wrapper {
    position: relative;
}


body.page-template-default .flex_layout {
    gap: 0px;
}
/* TCDテーマ修正 */


/* ▼ 大見出し */
.post-content h2.midashi_l {
    font-size: 24px;
    font-weight: bold;
    color: #222222;
    background: linear-gradient(90deg, #f4f7fa 0%, rgba(244, 247, 250, 0) 100%);
    padding: 16px 20px;
    border-left: 6px solid #0056b3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    margin-top: 40px;
    margin-bottom: 24px;
    letter-spacing: 0.05em; 
}

/* ▼ 中見出し */
.post-content h3.midashi_m {
    font-size: 20px;
    font-weight: bold;
    color: #222222;
    padding-bottom: 10px;
    position: relative;
    margin-top: 32px;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}
.post-content h3.midashi_m::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb; 
}
.post-content h3.midashi_m::before {
    content: "";
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 50px; 
    height: 4px; 
    background-color: #0056b3; 
    z-index: 1;
    border-radius: 2px;
}

/* ▼ 小見出し */
.midashi_s {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    padding-left: 22px;
    position: relative;
    margin-top: 24px;
    margin-bottom: 16px;
}
.midashi_s::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg); /* ひし形に回転 */
    width: 8px;
    height: 8px;
    background-color: #0056b3;
}

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

@media screen and (max-width: 780px) {
	.mt_100{
    margin-top: 50px!important;
	}
}

.mt80{
    margin-top: 80px;
}

.pt80{
    padding-top: 80px;
}

.mb80{
    margin-bottom: 80px;
}

.pb80{
    padding-bottom: 80px;
}


.box01 {
    padding: 0.5em 1em;
    margin: 2em 0;
    border: solid 2px #dddddd;
}


/*/////////////////////お問い合わせフォームのcssはじまり////////////////////////*/

/* 同意ボタンにチェックが入ったら色が変わる */
div.wpcf7 .wpcf7-submit:disabled {
    background: #aaa;
    border-color: #aaa;
    color: #ddd;
}

.wpcf7-form input[type=button],
.wpcf7-form input[type=submit] {
    font-size: 20px;
    height: 60px;
    width: 60%;
    background: #00884f;
    transition: all 0.3s;
    margin: 0px auto;
    color: #fff;
    display: inline-block;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #ddd;
}

.wpcf7 input.wpcf7-submit:hover {
    background-color: #015501;
}

/*全体*/
.wpcf7 {
    border: none !important;
    background: none !important;
    max-width: 1200px;
    margin: auto !important;
}

#page_content .wpcf7 {
    width: auto;
    margin: 0 auto !important;
    padding: 0;
}

/*見出し欄*/
.inquiry th {
    font-size: 18px;
    text-align: left !important;
    color: #333 !important;
    font-weight: bold;
    width: 30%;
    background: #fff !important;
    border: solid 2px #fff !important;
    vertical-align: middle !important;
    padding: 10px 15px 7px !important;
    line-height: 2.2 !important;
}

/*通常欄*/
.inquiry td {
    font-size: 16px;
    color: #111;
    border: solid 2px #fff !important;
    padding: 20px !important;
    line-height: 2.2 !important;
    background-color: #fff;
}

/*入力欄*/
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
    width: 95% !important;
    padding: 8px 15px;
    margin-right: 10px !important;
    border: 1px solid #d7d7d7;
    border-radius: 10px !important;
}

/* 必須 */
.hissu {
    font-size: 0.8em;
    color: #fff;
    display: block;
    float: right;
    margin-right: 18px;
    background-color: #ca2a2a;
    padding: 0px 10px;
    border-radius: 10px;
}

/* チェックボックスラジオボタン */
span.wpcf7-list-item {
    margin: 0 20px 0 0;
}

.wpcf7-list-item-label {
	font-size: 18px!important;
}

/* 記入例の文字色 */
::placeholder {
    color: #ccc !important;
}

:-ms-input-placeholder {
    color: #ccc !important;
}

::-ms-input-placeholder {
    color: #ccc !important;
}

.p-entry__body table {
    width: 100%;
}

.wpcf7 .wpcf7-list-item {
    display: inline-block;
}

.wpcf7-validates-as-date {
    margin-bottom: 10px;
}

/*スマホContact Form 7カスタマイズ*/
@media(max-width:767px) {
    .inquiry tr th {
        background: #eee !important;
        padding: 15px !important;
    }

    .inquiry th,
    .inquiry td {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important;
    }

    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important !important;
    }

    .wpcf7 form {
        margin: 1.5em 0;
    }

    .wpcf7-form input[type=button],
    .wpcf7-form input[type=submit] {
        width: 100%;
    }

    .inquiry th {
        padding: 0 !important;
        line-height: 1 !important;
    }

    .wpcf7 p {
        margin-bottom: 0em;
    }

    .inquiry td {
		padding: 0px 15px !important;
        margin: 10px auto 30px;
    }

    .wpcf7 .wpcf7-list-item {
        display: inline-block;
    }

    input.wpcf7-form-control.wpcf7-text,
    textarea.wpcf7-form-control.wpcf7-textarea {
        border-radius: 10px !important;
    }

    .hissu {
        font-size: 0.7em;
    }
}

.wpcf7 p {
    font-size: 18px;
}

/*/////////////////////お問い合わせフォームのcss終わり////////////////////////*/


/* パソコンだけスマホだけ改行 */

@media screen and (min-width: 768px){	
  .sponly { display:none; }
}
@media screen and (max-width: 767px){	
  .pconly { display:none; }
}

.post-content p {font-size:18px;}

@media screen and (min-width: 768px){	
  .breadcrumb-wrapper {top: 90px;}
  .top-slider-wrapper {margin-top: 60px;}
}

@media screen and (max-width: 767px){	
  .main > .inner {padding: 0px 3%!important;}
  .breadcrumb-wrapper {margin: 70px auto 0!important;}
  .top-slider-wrapper {margin-top: 77px;}
}


.heading-7 {
    display: inline-block;
    position: relative;
    color: #333;
    font-size: 1.4em;
    font-weight: 600;
}

.heading-7:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #0080af;
}

.fix-banner__link img {max-width:110px; max-height:110px;}