@charset "utf-8";
/* CSS Document */
/* inquiry.css */

.inquiry-hero {
  position: relative;
  background: linear-gradient(135deg, #3371CB 0%, #285AB3 100%);
  height: 500px;
  display: flex;
  align-items: center; /* 縦中央 */
  justify-content: center; /* 横中央 */
  text-align: center;
  color: #fff;
  box-shadow: 0 -1px 0 #ddd inset;
}

.inquiry-hero::before {
  /* オーバーレイ（グラデーションの場合は軽めに） */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.inquiry-hero .hero-content {
  position: relative; /* オーバーレイの上に表示 */
  z-index: 1;
  margin-top: 60px;
}
/* ===== 同意／同意しない ボタン統一 ===== */
.button-container .btn-agree,
.button-container .btn-disagree {
    width: 250px;
    height: 70px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 中のリンクをボタン全体に広げる */
.button-container .btn-agree .vk_button_link,
.button-container .btn-disagree .vk_button_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

/* VKブロックの内部要素の余白をリセット */
.button-container .btn-agree .vk_button_link_caption,
.button-container .btn-disagree .vk_button_link_caption {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.button-container .btn-agree .vk_button_link_txt,
.button-container .btn-disagree .vk_button_link_txt {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

/* 矢印をリンク側に統一して、位置を揃える */
.button-container .btn-agree::after,
.button-container .btn-disagree::after {
    content: none !important; /* 外側divの矢印は消す */
}

.button-container .btn-agree .vk_button_link::after,
.button-container .btn-disagree .vk_button_link::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    display: inline-block;
    width: 12px;
    margin-left: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* 背景色 */
.button-container .btn-agree    { background: #3371CB; }
.button-container .btn-disagree { background: #9ca3af; }

/* ホバー（左から伸びるアニメーションは ::before のまま） */
.button-container .btn-agree:hover,
.button-container .btn-disagree:hover {
    color: #fff;
}

/* スマホ：縦並びで幅いっぱい */
@media (max-width: 768px) {
    .button-container .btn-agree,
    .button-container .btn-disagree {
        width: 100%;
        max-width: 320px;
    }
}
.inquiry-hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.sinquiry-hero p {
  font-size: 1.2em;
}
.inquiry-section {
	margin: 40px 0;
}
.inquiry-section-ttl{
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}
.inquiry-section-ttl h3 {
  text-align: center;
font-size: 2em;
  color: #3371CB;
  margin-bottom: 40px;
}



/* Contact Buttons Section */
.contact-buttons-section {
    padding: 60px 0;
/*    background-color: #f8f9fa;*/
}

/*.contact-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}*/

/*.contact-button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}*/

.contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #3371CB;
    color: white;
    text-decoration: none;
    padding: 25px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
    min-height: 80px;
}

.contact-button:hover {
    background: #285AB3;
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.3);
	text-decoration: none;
}

.contact-text {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}

.contact-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.contact-button:hover .contact-arrow {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
	.inquiry-section-ttl h3 {
  text-align: center;
font-size: 1.2em;
  color: #3371CB;
  margin-bottom: 40px;
}
    .contact-buttons-section {
        padding: 40px 0;
    }
    
    .contact-button-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-button {
        padding: 20px 25px;
        min-height: 70px;
    }
    
    .contact-text {
        font-size: 1rem;
    }
    
    .contact-arrow {
        font-size: 1.3rem;
        margin-left: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .contact-buttons-section {
        padding: 30px 0;
    }
    
/*    .contact-buttons-grid {
        gap: 20px;
    }*/
    
    .contact-button {
        padding: 18px 20px;
        min-height: 60px;
    }
    
    .contact-text {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .contact-arrow {
        font-size: 1.2rem;
        margin-left: 10px;
    }
}

/*//////////////////////個人情報同意画面/////////////////////////*/
/* メインコンテンツ */
.main-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 25px;
}

.privacy-section {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
   /* font-size: 1.5rem;*/
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #1f2937;
}

.section-description {
    text-align: center;
    margin-bottom: 30px;
    color: #4b5563;
    line-height: 1.8;
}

.agreement-title {
    background-color: #e5e7eb;
    padding: 12px 20px;
    /*font-size: 1.1rem;*/
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* 同意書ボックス */
.agreement-box {
    border: 2px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 30px;
    background-color: #fafafa;
    height: 400px;
    overflow: hidden;
}

.if-box {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ボタンコンテナ */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 14px 50px;
 /*   font-size: 1rem;*/
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 230px;
}
/*
.btn-disagree {
    background-color: #9ca3af;
    color: white;
}

.btn-disagree::before {
	font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0da";
    margin-right: 5px;
}

.btn-disagree:hover {
    background-color: #6b7280;
}

*/
.btn-disagree {
    display: inline-flex;
    align-items: center;
    background: #9ca3af;
    color: white;
    border: none;
   /* padding: 25px 25px 25px 55px;*/
    border-radius: 5px;
    font-size: 1rem;
	font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    margin-right: 15px;
    margin-bottom: 10px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /*transition: color 0.3s;*/
}

.btn-disagree::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #6b7280;
    transition: width 0.3s ease;
    z-index: -1;
}

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

.btn-disagree::after {
    /*font-size: 1rem;*/
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    margin-left: 10px;
    position: relative;
    z-index: 1;
}

.btn-disagree:hover {
	    color: white;
    text-decoration: none;
}


/*.btn-agree {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
}

.btn-agree::before {
	font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0da";
    margin-right: 5px;
}

.btn-agree:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
*/
/* Buttons */
.btn-agree {
    display: inline-flex;
    align-items: center;
    background: #3371CB;
    color: white;
    border: none;
        padding: 25px 25px 25px 55px;
    border-radius: 5px;
    /*font-size: 1rem;*/
    text-decoration: none;
    cursor: pointer;
    margin-right: 15px;
    margin-bottom: 10px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /*transition: color 0.3s;*/
}

.btn-agree::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #285AB3;
    transition: width 0.3s ease;
    z-index: -1;
}

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

.btn-agree::after {
    /*font-size: 1rem;*/
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    margin-left: 10px;
    position: relative;
    z-index: 1;
}

.btn-agree:hover {
	    color: white;
    text-decoration: none;
}




/* スクロールバーのスタイル */
.agreement-box::-webkit-scrollbar {
    width: 8px;
}

.agreement-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.agreement-box::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.agreement-box::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* タブレット対応 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .page-header {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .page-header h1 {
        font-size: 1.25rem;
    }

    .main-content {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .agreement-box {
        height: 350px;
    }

    .button-container {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        min-width: auto;
    }
}

/* スマートフォン対応 */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .page-header {
        padding: 12px 15px;
        margin-bottom: 15px;
    }

    .page-header h1 {
        font-size: 1.1rem;
    }

    .main-content {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .agreement-title {
        font-size: 1rem;
        padding: 10px 15px;
    }

    .agreement-box {
        height: 300px;
    }

    .btn {
        padding: 12px 30px;
        /*font-size: 0.95rem;*/
    }
    }
/*/////////////////////////////// iframe ///////////////////////////*/
#contact-block {
    max-width: 100%;
	margin: 0 45px;
}

#contact-block > p {
    margin-bottom: 20px;
    line-height: 1.8;
}

#contact-block ol {
    list-style-position: outside;
	list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 25px;
}

#contact-block ol li {
    margin-bottom: 12px;
    line-height: 1.8;
    padding-left: 5px;
}

/* 情報コンテナ */
.info-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
	align-items: flex-end;
}

.info-box {
    flex: 1;
    min-width: 280px;
}
.info-box:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
/* テキストスタイル */
.ppolicy {
    background-color: var(--bg-ppolicy);
    padding: 15px;
    border-left: 4px solid var(--border-ppolicy);
    line-height: 1.8;
    margin-bottom: 15px;
}

.ppolicy br {
    margin-bottom: 5px;
}

.pcompany {
    background-color: var(--bg-pcompany);
    padding: 15px;
    border-left: 4px solid var(--border-pcompany);
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: right;
    width: fit-content;
    margin-left: auto;
}

.note-container {
    margin-top: 20px;
}

.pStyleContactMidd {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.pStyleContactMidd a {
    color: var(--link-color);
    text-decoration: none;
}

.pStyleContactMidd a:hover {
    text-decoration: underline;
}

/* タブレット以下 */
@media (max-width: 767px) {

    #contact-block ol {
        padding-left: 18px;
    }

    .info-container {
        flex-direction: column;
        gap: 0;
    }

    .info-box {
        min-width: 100%;
    }

    .ppolicy,
    .pcompany {
        padding: 12px;
        margin-bottom: 12px;
    }
}

/* スマートフォン */
@media (max-width: 480px) {

    #contact-block ol {
        padding-left: 15px;
    }

    #contact-block ol li {
        margin-bottom: 10px;
    }

    .ppolicy,
    .pcompany {
        padding: 10px;
        font-size: 0.95rem;
    }

    .pStyleContactMidd {
        font-size: 0.9rem;
    }
}





/*/////////////////////Form////////////////////////////////*/
.form-header {
            padding: 40px 30px;
            text-align: center;
        }

       .form-header h3 {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .form-header p {
            font-size: 1.2rem;
            /*opacity: 0.95;*/
        }
.content {
            padding: 40px 30px;
        }

        .notice {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 15px;
            margin-bottom: 30px;
            border-radius: 5px;
            font-size: 1.2rem;
            color: #856404;
        }

        .form-group {
            margin-bottom: 25px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            /*font-size: 0.95rem;*/
        }

        .required {
            background: #dc3545;
            color: white;
            padding: 2px 8px;
            border-radius: 3px;
            font-size: 0.75rem;
            margin-right: 5px;
            font-weight: normal;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            /*font-size: 1rem;*/
            transition: all 0.3s ease;
            font-family: inherit;
        }

   		input::placeholder,
        textarea::placeholder {
            color: #bbb;
            opacity: 1;
        }
        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="tel"]:focus,
        textarea:focus {
            outline: none;
            border-color: #3371CB;
            box-shadow: 0 0 0 3px rgba(51, 113, 203, 0.1);
        }

        .name-group,
        .kana-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        textarea {
            resize: vertical;
            min-height: 150px;
        }

        .char-count {
            text-align: right;
            font-size: 1rem;
            color: #666;
            margin-top: 5px;
        }

        .help-text {
            font-size:1rem;
            color: #8A8989;
            margin-top: 5px;
        }

       /* .btn-submit {
            background: linear-gradient(135deg, #3371CB 0%, #285AB3 100%);
            color: white;
            border: none;
            padding: 15px 50px;
            font-size: 1.1rem;
            border-radius: 50px;
            cursor: pointer;
            display: block;
            margin: 40px auto 0;
            transition: all 0.3s ease;
            font-weight: 600;
            box-shadow: 0 10px 30px rgba(51, 113, 203, 0.3);
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(51, 113, 203, 0.4);
        }

        .btn-submit:active {
            transform: translateY(0);
        }
*//* Buttons */
.btn-submit {
	width: 250px;
    height: 70px;
    display: block;
    align-items: center;
    background: #FFC107;
    color: white;
    border: none;
    /*padding: 25px 25px 25px 55px;*/
	padding: 25px 50px;
    border-radius: 5px;
    /*font-size: 1rem;*/
    text-decoration: none;
	font-weight: 600;
    cursor: pointer;
    margin: 40px auto 0;
    line-height: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /*transition: color 0.3s;*/
}

.btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FFD54F;
    transition: width 0.3s ease;
    z-index: -1;
}

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

.btn-submit::after {
    /*font-size: 1rem;*/
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    margin-left: 10px;
    position: relative;
    z-index: 1;
}

.btn-submit:hover {
	    color: white;
    text-decoration: none;
}



        @media (max-width: 600px) {
            .container {
                border-radius: 0;
            }

            .header {
                padding: 30px 20px;
            }

            .header h1 {
                font-size: 1.5rem;
            }

            .content {
                padding: 30px 20px;
            }

            .name-group,
            .kana-group {
                grid-template-columns: 1fr;
            }

            .btn-submit {
                width: 100%;
                padding: 15px;
            }
        }
.contact-buttons-section {
    padding: 60px 0;
}

.contact-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #3371CB;
    color: #fff;
    text-decoration: none;
    padding: 30px;
    border-radius: 8px;
    min-height: 100px;
    box-shadow: 0 4px 15px rgba(25,118,210,.2);
    transition: .3s;
}

.contact-button:hover {
    background: #285AB3;
    text-decoration: none;
    color: #fff;
}

.contact-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.contact-arrow {
    font-size: 1.8rem;
    margin-left: 20px;
}

/* CF7確認画面 戻るボタン */
.wpcf7-previous.btn-disagree {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 70px;
    color: #fff !important;
}
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button-container p {
    margin: 0;
}
.button-container p{
    display:flex;
    justify-content:center;
    gap:20px;
    margin:0;
    flex-wrap:wrap;
}
.button-container br{
    display:none;
}
.btn-disagree,
.btn-submit{
    width: 250px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/*.button-container{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
}
*/
.button-container p{
    margin:0;
}

.button-container .btn-submit{
    margin:0;
}

.button-container .btn-disagree{
    margin:0;
}
.button-container .btn-disagree,
.button-container .btn-submit {
    width: 250px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}
.button-container .btn-submit {
    padding: 0;
    margin: 0;
}
.btn-agree::after,
.btn-disagree::after {
    margin-left: 20px !important;
    width: 12px;
    display: inline-block;
    text-align: center;
    position: relative;
    top: 2px;
}
/* ===== お問い合わせボタン（レスポンシブ・最終版） ===== */
.contact-buttons-section {
    padding: 60px 0;
}

.contact-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #3371CB;
    color: #fff;
    text-decoration: none;
    padding: 30px;
    min-height: 100px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(25, 118, 210, .2);
    transition: .3s;
    box-sizing: border-box;
}

.contact-button:hover {
    background: #285AB3;
    color: #fff;
    text-decoration: none;
}

.contact-text {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.contact-arrow {
    flex-shrink: 0;
    margin-left: 20px;
    font-size: 1.8rem;
}

/* タブレット：2列のまま少しコンパクトに */
@media (max-width: 1024px) {
    .contact-buttons-grid {
        gap: 20px;
    }
    .contact-button {
        padding: 24px 20px;
    }
    .contact-text {
        font-size: 1.1rem;
    }
}

/* スマホ：1列 */
@media (max-width: 768px) {
    .contact-buttons-section {
        padding: 30px 0;
    }
    .contact-buttons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .contact-button {
        padding: 18px 20px;
        min-height: 70px;
    }
    .contact-text {
        font-size: 1rem;
    }
    .contact-arrow {
        margin-left: 12px;
        font-size: 1.3rem;
    }
}
/*お問い合わせボタン内の小さな文字*/
.contact-text{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    line-height:1.4;
}

.contact-subtext{
    font-size:12px;
    font-weight:400;
    margin-top:4px;
    opacity:0.9;
}
/* ボタンの高さを全て揃える */
.contact-button {
    padding: 20px 30px;   /* 上下を30px→20pxに */
    min-height: 100px;
}

.contact-buttons-grid {
    grid-auto-rows: 1fr;  /* 全行を同じ高さに揃える */
}

/* スマホ */
@media (max-width: 768px) {
    .contact-button {
        padding: 14px 20px;
        min-height: 70px;
    }
}
/* WordPressが挿入する<br>と<p>の影響を消す */
.contact-buttons-grid br,
.contact-button br {
    display: none;
}

.contact-buttons-grid > p {
    margin: 0;
    padding: 0;
    display: contents;   /* <p>がなかったものとして扱う */
}

/* 空の<p>が grid のマスを占有しないように */
.contact-buttons-grid > p:empty {
    display: none;
}

.contact-button {
    padding: 20px 30px;
    min-height: 100px;
    height: 100%;        /* 同じ行のボタンと高さを揃える */
}

.contact-buttons-grid {
    grid-auto-rows: 1fr;
}