@charset "utf-8";
/*  style.css
---------------------------------------------- */

/*  pc
---------------------------------------------- */
main{
    padding: 50px 0;
}

.rule .wechatpay_info{
    margin-bottom: 4px;
}

.rule .flex{
    display: flex;
    align-items: stretch;
}

.rule .flexColumn{
    display: flex;
    flex-direction: column;
}

.rule h1{
    font-size: 3rem;
    border-bottom: 5px solid #888787;
}

.rule h2{
    font-size: 1.6rem;
    font-weight: bold;
}

.rule p{
    font-size: 1.6rem;
}

.rule .bigHeadline{
    margin: 80px 0;
}

.rule .headline{
    font-size: 3rem;
    font-weight: bold;
    border-bottom: 3px solid #888787;
    margin: 40px 0 !important;
    padding-bottom: 5px;
}

.rule .subheadline{
    font-size: 2.2rem;
    font-weight: bold;
    border-bottom: 3px solid #888787;
    margin: 40px 0 !important;
    padding-bottom: 3px;
}

.rule label{
    position: relative;
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    padding-bottom: 10px;
}
.rule label:has(+ span.comment){
    padding-bottom: 2px;
}
.rule label + span.comment{
    font-size: 1.2rem;
    display: block;
    padding-bottom: 10px;
}

.rule .selectbox {
    display: inline-flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
}

.rule .selectbox::after {
    position: absolute;
    right: 2.2rem;
    top: calc(50% + 0.8em);
    transform: translateY(-50%);
    width: 2rem;
    height: 1.5rem;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.rule .selectbox select {
    appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

.rule input[type="text"],input[type="tel"],input[type="email"],input[type="number"],input[type="time"],input[type="password"]{
    display: block;
    width: 100%;
    height: 40px;
    background-color: #ffffff;
    font-size: 1.6rem;
    border: 2px #e5e5e5 solid;
    border-radius: 5px;
    padding-left: 10px;
}

.rule input[type="radio"],
.rule input[type="checkbox"]
{
    margin-right: 5px;
}

.rule textarea{
    width: 100%;
    font-size: 1.6rem;
    border: 2px #e5e5e5 solid;
    border-radius: 5px;
    padding: 10px 0 0 10px;
    resize: none;
}

.rule input[type="button"]{
    display: block;
    width: 100%;
    height: 50px;
    background-color: #ff9393;
    font-size: 1.6rem;
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
    margin: 30px auto 0;
    padding-left: 10px;
}

.rule input[type="submit"]{
    display: block;
    width: 100%;
    height: 50px;
    background-color: #8b8dfa;
    font-size: 1.6rem;
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
    margin: 50px auto 0;
}

.rule form{
    width: 80%;
    background-color: #ffffff;
    margin: 0 auto 100px auto;
    padding: 0 10px;
}

.rule .flex-input:has(>input){
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}
.rule .flex-input > .flex-item{
    display: inline-block;
    width: auto;
}
.rule .flex-input > input.item-fill{
    flex-grow: 1;
}
.rule .flex-input > div{
    font-size: 1.5rem;
}
.rule .flex-input > .mid_break{
    width: 100% !important;
}
.rule div.lm_12{
    margin-left: 1.2rem;
}

.inner{
    width: 960px;
    margin: 0 auto;
}


.rule input::placeholder,
.rule textarea::placeholder
{
        color: #cdcdcd;
}
  /* 旧Edge対応 */
.rule input::-ms-input-placeholder,
.rule textarea::-ms-input-placeholder
{
    color: #cdcdcd;
}
  /* IE対応 */
.rule input:-ms-input-placeholder,
.rule textarea:-ms-input-placeholder
{
    color: #cdcdcd;
}
.map_area {
    margin-top: 16px;
}
.map_area span {
    font-size: 1.2rem;
}
.bg_blue 	{ background-color: #1164be; border: none !important; }
.btn_s {
	width: 100%;
	height: 30px;
	padding: 0 5px;
	box-sizing: border-box;
	border: none;
	border-radius: 3px;
	color: #FFF;
	cursor: pointer;
}
.map_btn {
    width: 25%;
    margin-bottom: 15px;
    text-align: center;
}
.ggmap {
	position: relative;
	height: 0;
	overflow: hidden;
	margin-bottom: 15px;
	padding-bottom: 25%;
}
.ggmap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/**
同意画面
*/

#consent .consent{
    height: 390px;
    overflow-y: scroll;
    border: 2px #b6b6b6 solid;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

#consent ol{
    list-style-type: decimal;
    font-size: 1.6rem;
    padding-left: 30px;
}
#consent ol.zen-kana{
    list-style: katakana;
    padding-left: 40px;
    /* counter-increment: cnt; */
}

#consent li{
    margin: 20px 0;
}
#consent li::marker{
    /* content: attr(data-marker); */
    /* content: "("normal")"; */
    font-weight: 800;
}

#consent .headline{
    font-size: 2.5rem;
    font-weight: bold;
    border-bottom: 0;
    margin: 10px 0 !important;
    padding-bottom: 0px;
}

#consent .subheadline{
    font-size: 2rem;
    font-weight: bold;
    border-bottom: 0;
    margin: 20px 0 !important;
    padding-bottom: 0px;
}

#consent p{
    font-size: 1.6rem;
    line-height: 30px;
}

#consent input[type="checkbox"]{
    width: 20px;
    height: 20px;
    margin: 0 20px 0 20px;
}

#consent #agree {
    margin-top: 8px;
}

#consent .bold{
    font-size: 2rem;
    font-weight: bold;
}

#consent label{
    padding: 0.4rem 0 0 0;
}



#shopInput textarea:disabled{
    background-color: #d0d0d0
}
#shopInput li{
    margin: 30px 0;
}
#shopInput li:has(>div.form_notice){
    display: flex;
    flex-direction: row;
}
#shopInput li > div.form_notice{
    padding-left: 1.8em;
    flex: 0.8;
}
#shopInput li > div.form_notice p{
    font-size: 1.3rem;
}

#shopInput .left{
    margin-left: 40px;
}

#shopInput .radioLeft{
    margin-left: 40px;
}
#shopInput.rule .flex > input[type="radio"] + label,
#shopInput.rule .flex > input[type="checkbox"] + label
{
        padding-bottom: 0;
    font-weight: 500;
}

#shopInput.rule .yokoText{
    width: 100%;
}

#shopInput .yokoText{
    width: 100%;
}
/* #shopInput #categories_benefit_section > label > div:not(.category_choosed) {
    display: none;
} */
#shopInput #categories_benefit_section > label:not(:has(.category_choosed)) > .placeholder{
    display: inherit;
    margin-left: 3rem;
    color: #ff7c7c;
}

#shopInput .required::after{
    display: inline-block;
    content: '必須';
    width: 5rem;
    font-size: 1.3rem;
    background-color: #ff7c7c;
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
    padding: 0.2rem;
    margin-left: 1rem;
}

#shopInput .required a {
    background-color: yellow;
    text-decoration: none;
}

#shopInput .required a:hover {
    text-decoration: underline;
}

#shopInput.rule label > p {
    display: inline-block;
}

#shopInput .consent{
    width: 90%;
    border: 2px #b6b6b6 solid;
    border-radius: 5px;
    padding: 20px;
    margin: 10px auto 30px auto;
}

#shopInput .consent ol{
    list-style-type: decimal;
    font-size: 1.6rem;
    padding-left: 20px;
}

#shopInput .consent li{
    margin: 20px 0;
}
#shopInput .consent li a{
    display: inline-block;
    font-size: 1.1em;
    padding: 0 4px;
    background-color: yellow;
    font-weight: bold;
    text-decoration: none;
}

#shopInput .consent li a:hover {
    text-decoration: underline;
}

#shopInput .consent li.asterisk::marker {
    content: '※';
}

#shopInput .consent p{
    font-size: 1.6rem;
    line-height: 30px;
}

#shopInput .error {
    color: #d32947;
    font-size: 1.2rem;
    font-weight: bold;
}


#check .flex{
    display: flex;
    align-items: center;
    align-items: flex-start;
}


/**
確認画面
*/

#check h2{
    text-align: center;
    padding-bottom: 20px;
}

#check p{
    font-size: 1.6rem;
}

#check li{
    margin: 10px 0;
}

#check .item{
    width: 240px;
    font-weight: bold;
    border-radius: 5px;
    padding: 20px 0 20px 10px;
}

#check .item2{
    width: 440px;
    padding: 20px 0;
}

#check .left{
    margin: 0 20px;
}

#check .end{
    width: fit-content;
    margin: 0 0 0 auto;
    padding-right: 10px;
}

#check .border{
    border-bottom: 2px #e5e5e5 solid;
    padding-bottom: 10px;
}

#check .subheadline{
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 0;
    margin: 0;
    margin: 40px auto 0px auto !important;
}

/**
完了画面
*/

#success .button{
    width: 100%;
    height: 50px;
    background-color: #8b8dfa;
    font-size: 1.6rem;
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
    margin: 50px auto 0;
    padding-top: 1.4rem;
}

/*  mobile & smart phone
---------------------------------------------- */
@media only screen and (max-width: 959px) {	

    main{
        padding: 36px 0;
    }

    .inner{
        width: 92%;
        max-width: 960px;
        margin: 0 auto;
    }

    .rule h1{
        font-size: 3rem;
        border-bottom: 5px solid #757575;
    }
    
    .rule h2{
        font-size: 2rem;
        font-weight: bold;
    }
    
    .rule p{
        font-size: 2rem;
    }

        
    .rule .bigHeadline{
        margin: 50px 0;
    }

    .rule .headline{
        font-size: 3rem;
        font-weight: bold;
    }
    
    .rule .selectbox::after {
        position: absolute;
        right: 2.2rem;
        width: 2rem;
        height: 1.5rem;
        background-color: #535353;
        clip-path: polygon(0 0, 100% 0, 50% 100%);
        content: '';
        pointer-events: none;
        margin-top: 4rem;
    }

    .rule label{
        display: block;
        font-size: 2rem;
        font-weight: bold;
        padding-bottom: 10px;
    }
    
    .rule form{
        width: 100%;
        padding: 0;
    }
    
    .rule input[type="text"],input[type="tel"],input[type="email"]{
        height: 50px;
        font-size: 2rem;
        border-radius: 5px;
        padding-left: 10px;
    }
    
    .rule input[type="radio"]{
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }
    
    .rule textarea{
        width: 100%;
        font-size: 2rem;
        border: 2px #e5e5e5 solid;
        border-radius: 5px;
        padding: 10px 0 0 10px;
        resize: none;
    }
    
    .rule input[type="button"]{
        display: block;
        width: 100%;
        height: 50px;
        background-color: #ff9393;
        font-size: 2rem;
        color: #ffffff;
        border-radius: 5px;
        text-align: center;
        margin: 30px auto 0;
        padding-left: 10px;
    }
    
    .rule input[type="submit"]{
        display: block;
        width: 100%;
        height: 50px;
        background-color: #8b8dfa;
        font-size: 2rem;
        color: #ffffff;
        border-radius: 5px;
        text-align: center;
        margin: 50px auto 0;
        padding-left: 10px;
    }
    .rule .flex-input > input:last-of-type{
        
    }

        /**
    同意画面
    */

    #consent .consent{
        height: 350px;
        overflow-y: scroll;
        border: 2px #b6b6b6 solid;
        border-radius: 5px;
        padding: 20px;
        margin-bottom: 30px;
    }

    #consent ol{
        list-style-type: decimal;
        font-size: 2rem;
        padding-left: 20px;
    }


    #consent li{
        margin: 20px 0;
    }

    #consent .headline{
        font-size: 2.5rem;
        font-weight: bold;
        border-bottom: 0;
        margin: 10px 0 !important;
        padding-bottom: 0px;
    }

    #consent .subheadline{
        font-size: 2.5rem;
        font-weight: bold;
        border-bottom: 0;
        margin: 20px 0 !important;
        padding-bottom: 0px;
    }

    #consent p{
        font-size: 2rem;
        line-height: 30px;
    }

    #consent input[type="checkbox"]{
        width: 20px;
        height: 20px;
        margin: 0 20px 0 20px;
    }

    #consent #agree {
        margin-top: 8px;
    }

    #consent .bold{
        font-size: 2rem;
        font-weight: bold;
    }

    #consent label{
        padding: 0.4rem 0 0 0;
    }


    /**
    create 入力画面
    */

    #shopInput li{
        margin: 20px 0;
    }
    #shopInput li:has(>div.form_notice){
        flex-direction: column;
    }
    
    #shopInput .left{
        margin-left: 15px;
    }

    #shopInput .radioLeft{
        margin-left: 70px;
    }


    /**
    check 確認画面
    */
     
    #check .smollflex{
        display: flex;
        flex-direction: column;
    }
    

    #check p{
        font-size: 2rem;
    }
    
    #check li{
        margin: 10px 0;
    }
    
    #check .item{
        width: 319px;
        padding: 10px 0 10px 10px;
    }
    
    #check .item2{
        width: 319px;
        padding: 10px 0;
    }
    
    #check .left{
        margin: 0 20px;
    }
    
    #check .end{
        width: fit-content;
        margin: 0 auto 0 0;
        padding-right: 10px;
    }
    
    #check .border{
        border-bottom: 2px #e5e5e5 solid;
        padding-bottom: 10px;
    }
    
    #check .subheadline{
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        border-bottom: 0;
        margin: 0;
        margin: 40px auto 0px auto !important;
    }

    /**
    完了画面*/

    #success .button{
        width: 100%;
        height: 50px;
        background-color: #8b8dfa;
        font-size: 2rem;
        color: #ffffff;
        border-radius: 5px;
        text-align: center;
        margin: 50px auto 0;
        padding-top: 1.4rem;
    }
    
}

@media only screen and (max-width: 959px) {
    .inner {
        width: 92%;
        max-width: 960px;
        margin: 0 auto;
    }

    #shopInput .bigHeadline {
        margin: 40px 0;
    }

    #shopInput .bigHeadline h1 {
        font-size: 2.4rem;
    }

    #shopInput .headline {
        font-size: 2.2rem;
        margin: 30px 0 !important;
    }

    #shopInput .subheadline {
        font-size: 2rem;
        margin: 25px 0 !important;
    }

    #shopInput input[type="text"],
    #shopInput input[type="tel"],
    #shopInput input[type="email"],
    #shopInput input[type="password"] {
        width: 100%;
        font-size: 1.6rem;
    }

    #shopInput .selectbox select {
        width: 100%;
        font-size: 1.6rem;
    }

    #shopInput .consent {
        padding: 15px;
    }

    #shopInput .wechatpay_info {
        font-size: 1.4rem;
        margin: 10px 0;
    }

    #shopInput .flex {
        flex-direction: column;
    }

    #shopInput .radioLeft {
        margin-left: 30px;
    }

    #shopInput .left {
        margin-left: 0;
        margin-top: 10px;
    }

    #shopInput .comment {
        font-size: 1.4rem;
    }

    #shopInput .form_notice p {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .map_btn {
        width: 100%;
    }

    .ggmap {
        padding-bottom: 56.25%;
    }
}

/* スマホ表示用のスタイル */
@media only screen and (max-width: 959px) {
    #shopInput .selectbox {
        width: 100%;
        position: relative;
    }

    #shopInput .selectbox::after {
        right: 15px;
        width: 12px;
        height: 8px;
        top: calc(25%);  /* スマホ表示用に値を調整 */
        transform: translateY(-50%);
    }
}

@media only screen and (max-width: 959px) {
    /* ... 他のスタイル ... */

    #shopInput .flex {
        flex-direction: column;
    }

    /* categories_benefit_section内のflexは横並びのまま維持 */
    #categories_benefit_section .flex,
    .wechatpay_kbn_radio_area,
    .wechatpay_kbn_radio_area .flex {
        flex-direction: row !important;  /* 横並びを明示的に指定 */
    }

    /* ... 他のスタイル ... */
}