@charset "UTF-8";
/* お問い合わせページ用のスタイル */

/* ヘッダー部分 */
.detailHd {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}

.detailHdImg {
    width: 100%;
    height: 206px;
    overflow: hidden;
}

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

.hdItemWrap {
    position: relative;
    margin-top: -40px;
}

.detailHdCont {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.pageHd {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.pageHdImg {
    width: 60px;
    margin-right: 15px;
}

.pageHdText h2 {
    font-size: 24px;
    color: #F08080;
    font-weight: bold;
    margin: 0;
}

/* コンテンツラッパー */
#contentsWrap {
    width: 100%;
}

.siteWidth {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.contentsInner {
    padding: 20px 0 50px;
}

#contactWrap {
    margin-top: 20px;
}

/* 全体のコンテナ */
#contact {
    padding: 30px 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

/* 見出し */
#contact h3 {
    font-size: 24px;
    color: #F08080;
    border-bottom: 2px solid #F08080;
    padding-bottom: 10px;
    margin-bottom: 25px;
    position: relative;
}

#contact h4 {
    font-size: 20px;
    color: #333;
    background: #FFECEC;
    padding: 10px 15px;
    border-left: 5px solid #F08080;
    margin: 30px 0 15px;
}

/* テキスト */
#contact .txt {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

/* 電話番号リスト */
#contact .contact {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px dotted #ddd;
    padding-bottom: 15px;
}

#contact .contact dt {
    width: 80px;
    font-weight: bold;
    color: #F08080;
}

#contact .contact dd {
    flex: 1;
    font-size: 24px;
    font-weight: bold;
}

#contact .tel-link {
    color: #F08080;
}

/* 画像 */
#contact .contact-image {
    margin: 20px 0;
    text-align: center;
}

#contact .contact-image img {
    max-width: 100%;
    height: auto;
}

/* セクション */
#contact .section {
    margin-top: 50px;
}

/* フォーム部分 */
#contact .wpcf7 {
    margin-top: 20px;
}

#contact .wpcf7 label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#contact .wpcf7 input[type="text"],
#contact .wpcf7 input[type="email"],
#contact .wpcf7 input[type="tel"],
#contact .wpcf7 textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

#contact .wpcf7 textarea {
    height: 200px;
}

#contact .wpcf7 input[type="submit"] {
    background: #F08080;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

#contact .wpcf7 input[type="submit"]:hover {
    background: #E57373;
}

#contact .wpcf7-not-valid-tip {
    color: #f00;
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 15px;
}

#contact .wpcf7-response-output {
    margin: 20px 0;
    padding: 10px;
    border-radius: 4px;
}

#contact .wpcf7-validation-errors {
    background: #FFECEC;
    border: 1px solid #F08080;
}

#contact .wpcf7-mail-sent-ok {
    background: #E8F5E9;
    border: 1px solid #4CAF50;
}

/* お問い合わせフォームコンテナ */
.contact-form-container {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* フォーム下部のお知らせ */
.contact-notice {
    margin-top: 30px;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 5px;
}

.contact-notice p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.contact-notice p:last-child {
    margin-bottom: 0;
}

/* コンタクトページ専用スタイル */
.contactInner {
    width: auto !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 10px 45px !important;
}

.secHd {
    max-width: 400px;
    margin-bottom: 30px;
}

.txt {
    text-align: center;
    line-height: 1.6;
    font-size: 134%;
    color: #534331;
    padding: 40px 0 20px;
}

.contact {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    letter-spacing: 0.5px;
}

.contact dt {
    display: inline-block;
    vertical-align: middle;
    width: 117px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    color: #fff;
    font-size: 209%;
    background: #F3AFBB;
    border-radius: 17px;
    margin-right: 15px;
}

.contact dd {
    display: inline-block;
    vertical-align: middle;
    color: #655346;
    font-size: 30px;
    line-height: 34px;
}

.contact dd a {
    color: #655346;
}

.section {
    margin-top: 80px;
}

.contact-form-container .contactForm table th {
    width: 210px;
    vertical-align: top;
    padding-top: 6px;
    padding-bottom: 30px;
    text-align: left;
}

.contact-form-container .contactForm table td {
    width: 590px;
}

.contact-form-container .contactForm table td input {
    width: 100%;
    padding: 0;
    border: 1px solid #ddd;
}

.contact-form-container .contactForm table td select {
    width: 100%;
    padding: 0 10px;
    border: 1px solid #ddd;
}

.contact-form-container .contactForm table td textarea {
    width: 100%;
    padding: 0;
    border: 1px solid #ddd;
}

.contact-form-container .contactForm table th p span {
    display: inline-block;
    border: 1px solid #f08c96;
    color: #f08c96;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
    margin-left: 5px;
}

.contact-form-container .contactButton {
    margin-top: 20px;
}

.contact-form-container .contactButton p {
    text-align: center;
}

.wpcf7-form input[type="submit"] {
    width: 200px;
    font-size: 18px;
    color: #fff;
    background-color: #f08c96;
    font-weight: 500;
    letter-spacing: .1em;
    padding: 12px;
    border-radius: 26px;
    border: none;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .detailHdImg {
        height: 150px;
    }
    
    .pageHd {
        padding: 10px;
    }
    
    .pageHdImg {
        width: 40px;
        margin-right: 10px;
    }
    
    .pageHdText h2 {
        font-size: 18px;
    }
    
    #contact {
        padding: 20px 15px;
    }
    
    #contact h3 {
        font-size: 20px;
    }
    
    #contact h4 {
        font-size: 18px;
    }
    
    #contact .contact dd {
        font-size: 20px;
    }

    .contact-form-container .contactForm table td {
        width: 68%;
    }

    .contact-form-container .contactForm table td span {
        display: block;
        width: 95%;
    }

    .contact-form-container .contactForm table td input {
        margin-right: 10px;
    }
}

@media screen and (max-width: 560px) {
    .detailHdImg {
        height: 120px;
    }
    
    .hdItemWrap {
        margin-top: -30px;
    }
    
    .pageHdImg {
        width: 30px;
    }
    
    .pageHdText h2 {
        font-size: 16px;
    }
    
    .siteWidth {
        padding: 0 10px;
    }
    
    #contact {
        padding: 15px 10px;
    }
    
    #contact .contact {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #contact .contact dt {
        width: 100%;
        margin-bottom: 5px;
    }
    
    #contact .contact dd {
        width: 100%;
        font-size: 18px;
    }
    
    .secHd {
        max-width: 200px;
    }
    
    .txt {
        font-size: 117%;
        padding: 20px 0 10px;
    }
    
    .contact dt {
        width: 100px;
        height: 30px;
        line-height: 30px;
        font-size: 175%;
        border-radius: 15px;
        margin-right: 12px;
    }
    
    .contact dd {
        font-size: 184%;
        line-height: 30px;
    }
    
    .section {
        margin-top: 40px;
    }

    /* モバイル用のdetailHd設定 */
    #detailHd {
        margin-bottom: 25px;
        background-size: 12px 12px;
    }

    #detailHd .visual-container {
        height: 120px;
    }

    #detailHd h2 {
        max-width: 173px;
        margin: 0 auto;
        padding: 15px 0;
    }

    .contact-form-container .contactForm table td {
        width: 68%;
    }

    .contact-form-container .contactForm table td span {
        display: block;
        width: 95%;
    }

    .contact-form-container .contactForm table td input {
        margin-right: 10px;
    }
} 