@charset"utf-8";

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700&display=swap');

body {

    font: normal 18px/1.7 "M PLUS Rounded 1c",
        "Hiragino Maru Gothic Pro",
        "ヒラギノ丸ゴ Pro W4",
        "メイリオ",
        Meiryo,
        "ＭＳ Ｐゴシック",
        sans-serif;
    color: #000;
    text-align: center;
    overflow-x: hidden;
    background-color: #ffe103;
    margin: 0;

}




body .sp-item {
    display: none !important;

}

body .pc-item {
    display: block !important;


}

.pc-item img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width:640px) {
    body {
        min-width: inherit;
        height: 100%;
    }

    body .sp-item {
        display: block !important;
    }

    body .pc-item {
        display: none !important;
    }

    .sp-item img {
        width: 100%;
    }

}

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

    .sp img {
        max-width: 90%;

    }

    .sp02 img {
        max-width: 100%;

    }

    .sp03 img {
        max-width: 70%;

    }

    .btn img {
        max-width: 95%;

    }

}






.ov_hd {
    overflow: hidden;

}



a.rollover:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha( opacity=70 )";

}

.rollover:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha( opacity=70 )";

}

.center {
    text-align: center;

}

.right {
    text-align: right;

}

.line_0 {
    line-height: 0;

}

.zindex {
    z-index: 200;

}

input[type=radio] {
    width: 15px;
    height: 15px;
    vertical-align: middle;

}

input[type=image]:hover {
    opacity: 0.7;
}

/* ----------------------------------------------------

 

    text

 

---------------------------------------------------- */




em {
    text-decoration: underline;
    font-style: normal;

}

.bd_red {
    border-bottom: 1px solid #FF0004;
    padding-bottom: 2px;

}

.bd_red02 {
    border-bottom: 3px solid #FF0004;
    padding-bottom: 0px;

}

.red {
    color: #ff0000;

}

.yellow {
    background-color: #ffff00;

}

.gray {
    color: #666666;

}

strong {
    font-weight: bold;

}

.strike {
    text-decoration: line-through;

}

.ac {
    text-align: center !important;

}

.ar {
    text-align: right !important;

}

.al {
    text-align: left !important;

}

.bold {
    font-weight: bold !important;

}

.font10 {
    font-size: 10px !important;

}

.font11 {
    font-size: 11px !important;

}

.font12 {
    font-size: 12px !important;

}

.font13 {
    font-size: 13px !important;

}

.font14 {
    font-size: 14px !important;

}

.font15 {
    font-size: 15px !important;

}

.font16 {
    font-size: 16px !important;

}

.font17 {
    font-size: 17px !important;
    line-height: 150%;

}

.font18 {
    font-size: 18px !important;

}

.font19 {
    font-size: 19px !important;

}

.font20 {
    font-size: 20px !important;

}

.font21 {
    font-size: 21px !important;

}

.font22 {
    font-size: 22px !important;

}

.font23 {
    font-size: 23px !important;

}

.font24 {
    font-size: 24px !important;

}

.font25 {
    font-size: 25px !important;

}

.font26 {
    font-size: 26px !important;

}

.font27 {
    font-size: 27px !important;

}

.font28 {
    font-size: 28px !important;

}

.font29 {
    font-size: 29px !important;

}

.font30 {
    font-size: 30px !important;

}

.font32 {
    font-size: 32px !important;

}

/* ----------------------------------------------------

 

    float

 

---------------------------------------------------- */

.fr {
    float: right !important;

}

.fl {
    float: left !important;

}

.clear {
    clear: both;

}

img {
    line-height: 0;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    border: none;

}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;

}

.clearfix {
    min-height: 1px;

}



hr {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;

}

#wrapper {
    margin: 0 auto;
    margin-right: 14%;
    width: 40%;
    max-width: 480px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background: #fff;
}


/* ----------------------------------------------------

    clearfix の代用

    &#60;div class="hr"&#62;&#60;hr /&#62;&#60;/div&#62;

---------------------------------------------------- */


/*-------------------------------------------------------*/

/*  header

/*-------------------------------------------------------*/



.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffe103;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-logo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-logo h1 {
    max-width: 180px;
    margin: 0;
}

.header-logo img {
    width: 100%;
    height: auto;
}

/* ヘッダー分の空白をボディに追加 */
body {
    padding-top: 80px;

}


/* スマートフォン向けのロゴサイズ調整 */
@media screen and (max-width: 640px) {
    

    .header-logo h1 {
        max-width: 120px;
        margin: 0;
        /* PCサイズの約2/3に縮小 */
    }
}

.sp {
    margin-top: 0;

}

.pc-item {
    padding: 0;
}

.sp-item {
    padding: 0;
    border: none;
    margin-top: 0;
    margin: 0;
}






/* ボタンエリアPC版ここから */

.area_btn {
    padding: 40px 0;
    text-align: center;
    overflow: hidden;
}

.btn {
    width: 60%;
    margin:0  auto;
    margin-right: auto;
    display: inline-block;
}

/* ボタンのホバーエフェクト */
.btn img:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn {
    animation: pulse 2s infinite ease-in-out;
    transition: transform 0.2s;
}

.btn:hover {
    animation: none;
    transform: scale(1.1);
}

.btn:active {
    transform: scale(0.95);
}


/* ボタンエリアSP版 */
@media screen and (max-width: 640px) {
    .area_btn {
        padding: 20px 0;
    }

    .btn {
        width: 90%;
    }
}








/* ボタンエリアここまで */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translatey(10px);
    }

    to {
        opacity: 1;
        transform: translatey(0);
    }
}

/* 初期状態 */
.fade-in {
    opacity: 0;
    /* 初期状態では不透明度を0に設定 */
    transform: translateY(10px);
    /* 初期状態で少し下にずらす */

}

/* ビューポートに入ったときに適用されるクラス */
.fade-in.visible {
    animation: fadeIn 1s ease-out forwards;
}






html {
    scroll-behavior: smooth;
}

.gotop {
    display: block;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    background: #000;
    border: none;
    border-radius: 50%;
    text-indent: -9999px;
    opacity: 0.7;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.gotop::before {
    content: "";
    display: block;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 25%;
    height: 25%;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: translate(0, -50%) rotate(-45deg);
}

.gotop:hover {
    opacity: 1;
}

@media(max-width:640px) {
    .gotop {
        width: 40px;
        height: 40px;
        text-indent: -9999px;
        opacity: 1;
        border: none;
        background: none;
        bottom: 10px;
        right: 10px;
    }

    .gotop::before {
        bottom: 0;
    }
}

.company-info {
    background-color: #f8f8f8;
    padding: 40px 0;
    
}

.company-info .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-info h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: normal;
}

.company-info dl {
    max-width: 600px;
    margin: 0 auto;
}


.company-info dd {
    margin: 0;
    padding: 5px 0;
    font-size: 18px;
    line-height: 1.5;
}

/* スマートフォン対応 */
@media screen and (max-width: 768px) {
    .company-info {
        padding: 30px 0;
        
    }

    .company-info h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .company-info dd {
        font-size: 13px;

    }

}




footer {
    background: #ffe103;
    text-align: center;
    padding: 16px 0;
    color: #000;
    font-size: 75%;

}

.flink {

    flex-wrap: wrap;
    font-size: 16px;
    padding: 45px 0;
}


footer a {
    color: #000;
    text-decoration: none;

}

footer a:hover {
    color: #737373;
    text-decoration: none;
    

}



footer a:visited {
    color: #000;
    text-decoration: none;

}

/* 区切り文字のスタイル */
.separator {
    margin: 0 5px;
}


@media screen and (max-width: 640px) {
    footer {
        font-size: 13px;


    }

    .flink {
        display: flex;
        flex-direction: column;
        font-size: 12px;
        align-items: center;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .separator {
        display: none;
        
    }

    .copy2 {
        font-size: 12px;
    }
}

.form-section {
    padding-top: 120px;
    padding-bottom: 60px;
    
    background: #f5f5f5;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
}

.form-wrapper {
    position: relative;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .form-section {
        padding-top: 100px;  
        padding-bottom: 40px;
    }
    
    .form-container {
        padding: 15px;
        margin: 0 auto;
        width: 90%;
       
    }
    
    .form-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* フォームのスタイル */
.custom-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
    text-align: left;
}

.required {
    color: #ff0000;
    margin-left: 5px;
    font-size: 14px;
}

/* 共通のフォームスタイル（PC・スマホ共通） */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
    width: 100%;  
    box-sizing: border-box;  
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    text-align: left;
}

/* セレクトボックスのスタイリング */
.form-group select {
   
    padding-right: 12px;  
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.consent-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

.consent-box h3 {
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.consent-box p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.consent-box .consent-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.consent-box input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    background: #ffe103;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.8;
}

/* スマホ用のスタイルは既存のまま */
@media screen and (max-width: 768px) {
    .custom-form {
        padding: 15px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"],
    .form-group select {
        box-sizing: border-box;  /* パディングを含めた幅の計算方法を統一 */
        width: 100%;  /* 全体の幅を統一 */
        padding: 15px;
        font-size: 16px;
    }
}

/* プレースホルダーのスタイル */
.form-group input::placeholder {
    color: #999;
    font-size: 14px;
}

/* 各ブラウザ対応 */
.form-group input::-webkit-input-placeholder {
    color: #999;
    font-size: 14px;
}

.form-group input::-moz-placeholder {
    color: #999;
    font-size: 14px;
    opacity: 1;
}

.form-group input:-ms-input-placeholder {
    color: #999;
    font-size: 14px;
}

/* サンクスページのスタイル */
.thanks-page {
    padding: 120px 20px 60px;
    min-height: calc(100vh - 200px);
}

.thanks-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.thanks-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.message-box {
    margin-bottom: 40px;
}

.message-box p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-info {
    background: #f5f5f5;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info .email,
.contact-info .tel {
    font-weight: bold;
    color: #333;
}

.contact-info .hours {
    font-size: 14px;
    color: #666;
}

.back-btn {
    margin-top: 40px;
}

.back-btn a {
    display: inline-block;
    padding: 15px 40px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.back-btn a:hover {
    background: #0056b3;
}

@media screen and (max-width: 768px) {
    .thanks-page {
        padding: 100px 15px 40px;
    }

    .thanks-container {
        padding: 30px 15px;
    }

    .thanks-container h2 {
        font-size: 20px;
    }

    .message-box p {
        font-size: 14px;
    }
}