@charset "utf-8";

.content_area {
    background: none;
}

/* =========================================================
   contact 共通：H1背景
========================================================= */

.h1_bg.contact{
  position: relative;
  overflow: hidden;
  min-height: clamp(180px, 22vw, 300px);
  max-height: 300px;
}

/* 背景画像 + 青グラデ */
.h1_bg.contact::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0,119,192,.55), rgba(0,119,192,.55)),
    url("/wp-content/themes/tygr-tozai/images/contact_h1_bg.jpg") right center / cover no-repeat;
}

/* 左の青いポリゴン */
.h1_bg.contact::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #0D52A0;
  clip-path: polygon(0 0, 58% 0, 48% 100%, 0 100%);
}

.h1_bg.contact .h1_inner{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(32px, 4vw, 64px) 20px;
}

.h1_bg.contact .h1_text{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* タイトル本体 */
.h1_bg.contact .h1_title.contact{
  color: #fff;
  margin: 0;
  padding-top: 3.3em; /* 英字大見出し分の余白 */
  position: relative; /* ::afterの基準 */
}

/* 英字の大見出し（ページ別に content を切替） */
.h1_title.contact::after{
  content: "CONTACT";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(3.6rem, 6vw, 6.0rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(255,255,255,0.25);
  pointer-events: none;
}

input, textarea {
    border-radius: 5px;
}

input[type="text"] {
    height: 64px;
}

input[type="email"] {
	border-radius: 5px;
}

form input,
form textarea {
    padding: 12px 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

form input[type="checkbox"] {
    padding: 0;
}

form input[type="radio"] {
	height: 100%;
    padding: 0;
}


/* お問い合わせページ：メインエリア背景 */
#content_wrap {
    background: #f5f5f5;
}

/* Font Awesome アイコンを非表示（SVG と重なるため） */
.contact-content .fa-phone::before,
.contact-content .fa-envelope::before {
    content: none !important;
}

/* お問い合わせページ メインコンテンツ（Figma 93-160） */
.contact-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-lead {
    text-align: center;
    font-size: 2rem;
    line-height: 1.8;
    color: #000;
    margin: 0 0 100px;
}

.contact-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-section-head-text {
	font-family: "Roboto Condensed", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0D52A0;
    margin: 0;
    border-bottom: 1px solid #CCD4DC;
}

/* サステナビリティと同じカードレイアウト */
.contact-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 25px;
    margin-bottom: 60px;
}

.contact-card {
    flex: 1 1 300px;
    padding: 24px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
	text-align: center;
}

/* カード内見出し：アイコンを ::before で表示（HTML に span なし） */
.contact-card .contact-section-head-text {
    display: flex;
	justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
}

.contact-card-tel .contact-section-head-text::before {
    content: "";
    display: inline-block;
    width: 33px;
    height: 33px;
    flex-shrink: 0;
    background: url(../images/icon_tel.svg) no-repeat center / contain;
}

.contact-card-email .contact-section-head-text::before {
    content: "";
    display: inline-block;
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    background: url(../images/icon_mail.svg) no-repeat center / contain;
}

.contact-card-label {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0D52A0;
    margin: 0 0 12px;
}

.contact-card-label-email {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-card-value {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
	margin-bottom: 0;
}

.contact-card-value-wrap {
    margin: 65px 0 0 0;
}

.contact-card-value a {
    color: #000;
    text-decoration: none;
}

.contact-card-email-address {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0 0 25px;
}

.contact-card-email-address a {
    color: #000;
    text-decoration: none;
}

.contact-card-email-address a:hover {
    text-decoration: underline;
}

.contact-card-note {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: #000;
    margin: 0 0 24px;
}

.ln_wrap {
	display: none;
}

td p {
    margin-bottom: 0;
}

/* Contact form 7 */
.wpcf7 .step_item p,
.submit_btn_box p,
#form_btn_wrap p {
    margin: 0;
    line-height: 2.4rem;
    display: inline;
}

.wpcf7-spinner,
.wpcf7-response-output {
    display: none;
}

.wpcf7-list-item {
    display: block;
	margin: 0;
}

/* step */

.step {
    display: flex;
    max-width: 100%;
    justify-content: space-between;
	gap: 20px;
    margin: 0 auto 50px;
    padding-left: 0;
}

.step_item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 33%;
    padding: 25px 0;
    margin: 0;
    background: #f2f2f2;
    color: #333333;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2.4rem;
    border-radius: 9999px;
}

/* ステップ1：フォーム入力画面 */
.contact .step_item:nth-child(1),
.contact-general .step_item:nth-child(1),
.contact-prepaid .step_item:nth-child(1),
.contact-hr .step_item:nth-child(1) {
    background: #0077C0;
    color: #fff;
}

/* ステップ2：確認画面 */
.contact-confirm .step_item:nth-child(2),
.contact-general-confirm .step_item:nth-child(2),
.contact-prepaid-confirm .step_item:nth-child(2),
.contact-hr-confirm .step_item:nth-child(2) {
    background: #0077C0;
    color: #fff;
}

/* ステップ3：完了画面 */
.contact-thanks .step_item:nth-child(3),
.contact-general-thanks .step_item:nth-child(3),
.contact-prepaid-thanks .step_item:nth-child(3),
.contact-hr-thanks .step_item:nth-child(3) {
    background: #0077C0;
    color: #fff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/*------------ フォーム表示制御用 ------------*/
.input_txt,
.preview_txt {
    text-align: center;
}

.mw_wp_form_preview .input_txt {
    display: none !important;
}

.mw_wp_form_preview .preview_txt {
    display: block !important;
    margin-bottom: 30px;
}

/*------------ 電話 ------------*/
.tel_box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 6% 12%;
    background: #F1F1F3;
}

.tel_box_head {
    font-size: 2.2rem;
    width: 50%;
    font-weight: 500;
}

.tel_box_content {
    width: 50%;
    padding-left: 4.5%;
}

.tel_box_content a {
    display: block;
    font-family: 'Noto Sans JP';
    font-weight: 500;
    font-size: 3.2rem;
}

.tel_box_content span {
    display: block;
    font-size: 1.4rem;
}

/*------------ フォーム ------------*/
.red {
    font-size: 1.4rem;
    font-weight: 600;
    color: #E30613;
    padding: 0 1px;
    margin: 0 2px 0;
}

.req {
    font-size: 1.4rem;
    color: #E30613;
    padding: 0 1px;
    margin: 2px 0 0;
    position: relative;
    float: right;
}

/*--- table内 ---*/
table {
    margin: 20px auto 50px;
}

table .req:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

table th {
	width: 25%;
    vertical-align: top;
}

table th p {
    margin: 0;
}

.form_table textarea {
    display: block;
    font-family: 'Noto Sans JP', 'Open Sans', sans-serif, "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
    line-height: 1.7;
    width: 100%;
    border: none;
    min-height: 180px;
    padding: 11px 15px;
    resize: vertical;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

.zipcode {
    width: 170px;
    margin: 0 0 10px 8px;
}

#postcode {
    width: 160px;
    margin-left: 15px;
}

td #email_confirm {
    font-size: 2.4rem;
    font-weight: bold;
    margin: 13px 0 8px;
    word-break: break-all;
}

.note {
    margin: 10px 0 5px;
}

.doi {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    background: #F5F5F5;
}

.doi label {
    cursor: pointer;
}

.doi label {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 35px 0 36px;
}

.wpcf7-list-item-label {
    margin-left: 5px;
}

/*------------ ボタン ------------*/
#form_btn_wrap {
    text-align: center;
    display: flex;
    max-width: 680px !important;
    width: 100%;
    margin: auto;
    padding-top: 50px;
    justify-content: center;
    position: relative;
}

.submit_btn_box {
    position: relative;
    width: 260px;
    max-width: 100%;
    height: 60px;
}

.submit_btn_box p {
    height: 100%;
}

.submit_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 6px;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    color: #FFF;
    background-color: #0077C0;
    border-radius: 100px!important;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
    max-height: 100%;
    position: relative;
    border: none;
    font-family: 'Noto Sans JP';
}

.submit_btn:hover {
    background: #0AA2FF;
}

.back_btn {
    font-family: 'Noto Sans JP';
    max-width: 140px;
    width: 100%;
    background: #f7f7f7;
    display: inline-block;
    padding: 6px;
    color: #7f7f7f;
    transition: background 0.3s;
    text-decoration: none;
    position: relative;
    text-align: center;
    margin-right: 20px;
    border: 1px solid #e6e6e6;
    font-size: 100%;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 100px!important;
}

.back_btn:hover {
    background: #fff;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}

.w100 {
    width: 100%;
    box-sizing: border-box;
}

.other-inquiries {
  padding: 40px 20px;
}

.other-inquiries .other-inquiries-inner {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.other-inquiries-title {
  margin-bottom: 30px;
  font-weight: bold;
}

.other-inquiries-buttons p {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* お問い合わせリンクボタン（共通） */
a.other-inquiries-btn {
    display: inline-block;
    position: relative;
    max-width: 420px;
    width: 100%;
    padding: 20px 40px;
    background: #fff;
    border: 1px solid #0077C0;
    border-radius: 50px;
    color: #0077C0;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: background 0.3s, border 0.3s, color 0.3s;
}
a.other-inquiries-btn:hover {
    background: #0077C0;
    border-color: #0077C0;
    color: #fff;
}
a.other-inquiries-btn[target="_blank"] {
    padding: 20px 40px 20px 30px;
    background: #fff url(../images/icon_popup.svg) no-repeat center right 20px;
}

a.other-inquiries-btn[target="_blank"]:hover {
    background: #0077C0 url(../images/icon_popup.svg) no-repeat center right 20px;
    border-color: #0077C0;
    color: #fff;
}


/*ホームに戻るボタン*/

.back{
	display: flex;
    justify-content: center;
}

.back a{
	display: inline-block;
    position: relative;
    max-width: 273px;
    width: 100%;
    padding: 20px 50px 20px 30px;
    background: #0077C0;
    border: 1px solid #0077C0;
    border-radius: 50px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none !important;
    transition: background 0.3s, border 0.3s, color 0.3s;
    text-align: center;
}

.back a:after{
	content: '';
    position: absolute;
    display: block;
    background: url(../images/arrow_r_white.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 17px;
    height: 13px;
    right: 20px;
    top: calc(50% - 6px);
    transition: background 0.3s;
}

.back a:hover {
    background: #fff;
    border: 1px solid #0077C0;
    color: #0077C0;
}

.back a:hover:after{
	background: url(../images/arrow_r_blue.svg);
    animation: icon-arrow 0.4s cubic-bezier(0.29, 0.65, 0.62, 1) forwards;
}

/* Button Primary */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary-blue);
    color: var(--text-white) !important;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 12px 70px;
    text-decoration: none;
    border: 1px solid var(--primary-blue);
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--text-white);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: var(--primary-blue) !important;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 8px;
    background-image: url(../images/arrow_r_white.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease;
    z-index: 2;
}

.btn-primary:hover::after {
    background-image: url(../images/arrow_r_navy.svg);
}


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

    .contact-lead {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
	
	.contact-card-value-wrap {
   margin: 0 0 20px 0;
}

    .contact-card .contact-section-head-text {
        font-size: 2.2rem;
		margin-bottom: 20px;
		padding: 0 0 10px 0;
    }

    .contact-cards {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .contact-card {
        flex: 1 1 auto;
        padding: 15px;
    }

    .contact-card-label {
        font-size: 2.2rem;
    }

    .contact-card-value {
        font-size: 2rem;
    }

    .contact-card-email-address {
        font-size: 1.6rem;
    }

    .step {
        margin-bottom: 20px;
        padding: 0;
		gap: 10px;
    }

    .step_item {
        padding: 10px 0;
        font-size: 1.5rem;
    }

    /*------------ 電話 ------------*/
    .tel_box {
        margin-bottom: 35px;
        padding: 20px;
    }

    .tel_box_head {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
    }

    .tel_box_content {
        width: 100%;
        padding-left: 0;
    }

    .tel_box_content a {
        display: inline-block;
        font-size: 2.5rem;
        text-align: center;
    }

    .tel_box_content span {
        font-size: 1.3rem;
        text-align: center;
    }

    /*------------ フォーム ------------*/
    .red {
        font-size: 1.2rem;
    }

    .req {
        font-size: 1.2rem;
        margin: 0;
    }

    /*--- table内 ---*/
    table {
        margin: 22px auto 35px;
        border-top: none;
    }

    table th,
    table td {
        display: block;
        width: 100%;
        padding: 13px !important;
        margin-bottom: 0px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
    }

    input,
    textarea,
    select {
        font-size: 1.3rem;
    }
	
	input {
		height: 54px;
	}
	
    .text_area_bottom input {
        margin-bottom: 10px;
        width: 76%;
    }

    input {
        box-sizing: border-box;
        margin-bottom: 0px;
    }

    /*------------ ボタン ------------*/


    #form_btn_wrap {
        max-width: none;
        padding-top: 30px;
    }

    .submit_btn_box {
        height: 50px;
        width: 200px;
    }

    .submit_btn {
        font-size: 1.4rem;
    }

    .back_btn {
        margin-right: 20px;
        width: 100px;
    }

    /*--- プレビュー時---*/
    .mw_wp_form_preview table {
        margin: 0 auto 35px;
    }

    .mw_wp_form_preview #form_btn_wrap {
        margin-top: 35px;
    }
	.other-inquiries {
	  padding: 0;
	}

	.other-inquiries .other-inquiries-inner {
	  padding: 30px 20px;
	  max-width: 100%;
	}
	
	.other-inquiries-buttons p {
  		flex-wrap: wrap;
	  	gap: 20px 0;
	}
	
	a.other-inquiries-btn[target="_blank"] {
        padding: 10px 20px 10px 20px;
        font-size: 1.4rem;
    }
	
	.btn-primary {
		padding: 12px 50px;
	}
	
	.contact-card-note {
		font-size: 1.2rem;
	}
	
}