@charset "UTF-8";

body {
    background: #FFF;
    font-family: Helvetica, san-serif;
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.50);
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding-bottom: 80px; 
    box-sizing: border-box;
}

.frame_outer {
    overflow: hidden;
    width: 100%;
    background: #FFF;
}

#header_wrap {
    min-height: 45px;
    margin: auto;
    background: url(../img/bg_header.jpg) repeat-x bottom #e9ddd0;
    text-align: center;
}

#header {
    margin: auto;
    max-width: 1000px;
}

#logo_area {
    position: relative;
    /* width: 390px; */
    margin-left: auto;
    margin-right: auto;
    padding-top: 8px;
    min-height: 25px;
}

#logo_area img {
    position: relative;
    height: 18px;
}

h2.h2_entry_login {
    margin-bottom: 10px;
    padding: 5px 5px 0 10px;
    background-color: #F08300;
    border-top-style: solid;
    border-top-color: #FFF;
    font-size: 90%;
    color: #F08300;
    margin-top: 0px;
}

h2.h2_entry_index {
    margin-bottom: 10px;
    padding: 5px 5px 0 10px;
    background-color: #F08300;
    border-top-style: solid;
    border-top-color: #FFF;
    font-size: 90%;
    color: #F08300;
    margin-top: 0px;
}

h2.h2_entry_confirm {
    margin-bottom: 10px;
    padding: 5px 5px 0 10px;
    background-color: #F08300;
    border-top-style: solid;
    border-top-color: #FFF;
    font-size: 90%;
    color: #F08300;
    margin-top: 0px;
}

h2.h2_entry_complete {
    margin-bottom: 10px;
    padding: 5px 5px 0 10px;
    background-color: #F08300;
    border-top-style: solid;
    border-top-color: #FFF;
    font-size: 90%;
    color: #F08300;
    margin-top: 0px;
}

h2 {
    font-size: 20px;
}

h2.h2_entry_login img {
    padding-top: 0px;
    height: 25px;
}

h2.h2_entry_index img {
    padding-top: 0px;
    height: 25px;
}

h2.h2_entry_confirm img {
    padding-top: 0px;
    height: 25px;
}

h2.h2_entry_complete img {
    padding-top: 0px;
    height: 25px;
}

img {
    border: 0;
    vertical-align: bottom;
}

div#entry_img {
    max-width: 100%; 
    width: 100%;
    margin: 20px auto 5px auto;
    text-align: center;
}

div#entry_img img { 
    max-width: 95%; 
    height: auto;
}

/* #main_column.colnum1 {
    margin: 0 auto;
    width: 100%;
    padding: 0 10px; 
    box-sizing: border-box;
} */

#entry_img {
    max-width: 100%;
    height: auto;
}

.input_main {
    font-size: 16px;
    padding: 0 10px 0 10px;
}

.form {
    margin-bottom: 10px;
}

.form-select{
    margin-bottom: 10px;
    border: #F08300 solid 1.8px !important;
    background-color: #FFF !important;
    color: #000 !important;
}

.form-select:focus {
    border-color: #F08300 !important;
    box-shadow: 0 0 0 .2rem rgba(240, 131, 0, 0.25) !important;
}

.ec-tenpo .ec-form {
    margin-bottom: 10px;
}

.ec-tenpo .ec-form:last-child {
    margin-bottom: 0;
}

.ec-tenpo .form-select {
    margin-bottom: 0 !important;
}

/* #form1 {
    width: 100%;
    margin: 0 0 15px 0;
    padding: 0;
    position: relative;
} */

table col {
    width: auto !important;
}

table {
    margin: 10px 10px 0px 10px;
    border-top: 2px solid #E9DDD0;
    border-left: 1px solid #E9DDD0;
    border-collapse: collapse;
    width: calc(100% - 20px);
}

table th {
    vertical-align: top;
    white-space: nowrap;
    padding: 10px;
    font-size: 15px;
}

table th[colspan="3"] {
    background: #E9DDD0 !important;
    color: #857167 !important;
    padding: 8px 12px 8px 15px;
    font-size: 18px;
}

/* 通常のセル（ラベルとフォーム）を縦積み */
table th:not([colspan="3"]),
table td {
    display: block;
    width: 100% !important;
    padding: 10px 15px 2px; 
    box-sizing: border-box;
    border-right: 1px solid #E9DDD0;
    font-size: 16px;;
}

table th:nth-child(2) {
    display: none;
}

table th:not([colspan="3"]) {
    background: #FEFAF4; 
    font-weight: bold;
}


.input_main,
.ec-form .form {
    width: 100%;
    box-sizing: border-box;
}

table td {
    padding: 5px 15px;
    color: #000;
    border-right: 1px solid #E9DDD0;
    border-bottom: 2px solid #E9DDD0;
    background-color: #FEFAF4;
}

input, button, select, optgroup, textarea, .tenpo-select-form {
    padding: 0.4em;
    margin: 0;
    background: #FFF;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    font-size: 16px;
    border: #4C4C4C solid 1px;
    border: #F08300 solid 1.8px;
    /* margin-bottom: 10px; */
}

.address-btn {
    display: inline-block;
    background-color: #f3f3f3;
    color: #000;
    border: 0.5px solid #8c8b8b;
    border-radius: 6px;
    padding: 2px 6px;
    text-decoration: none;
    font-size: 12px;
}

.ec-address {
    margin-bottom: 10px;
    margin-top: 0px !important;
}

.mini {
    font-size: 80%;
}

.mini_address {
    font-size: 80%;
}

.mini_change {
    font-size: 80%;
    margin-bottom: 10px;
}

.ec-radio,
.ec-radio--vertical {
    width: 100%;
}

.ec-radio-choices{
    width: 100%;
}

.choices {
    margin-bottom: 10px;
}


#store_sonota_section {
    width: 100%;
}


.form.box {
    width: 100%;
    box-sizing: border-box; 
}

.ec-radio {
    width: 100%;
}

.ec-radio--vertical .radio-row {
    display: flex;
    margin-bottom: 8px;
}

.ec-radio--vertical input[type="radio"] {
    margin-right: 4px;
}

.ec-radio--vertical .radio-row label {
    display: inline-block;      
    margin: 0;           
}


.ec-radio {
    width: 100%;
}

.ec-radio--vertical .radio-row {
    display: flex;
    margin-bottom: 10px;
    white-space: normal;
}

.ec-radio--vertical input[type="radio"] {
    margin-right: 4px;
}

.ec-radio--vertical .radio-row label {
    display: inline-block;     
    margin: 0;               
}


.ec-label {
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    color: black;
    white-space: normal;
}

.box150 {
    width: 40% !important;
}

.box70 {
    width: 22% !important;
}

.ec-birthday {
    display: flex;
    gap: 10px; 
    align-items: center; 
    width: 100%; 
}

.birthday-set {
    display: flex;
    align-items: center;
    gap: 2px; 
}

.checkbox_area {
    padding-top: 20px;
} 

#footer_wrap {
    position: absolute; /* 画面に対して固定する */
    bottom: 0;      /* 画面の最下部に配置 */
    /* width: 100%; は fixed と bottom: 0; の組み合わせで自動的に中央配置されるため、ここでは省略可能ですが、明確にするために残します */
    width: 100%;
    
    /* 元のプロパティ */
    /* margin: 0; は fixed の場合影響しないため削除してもOK */
    height: 70px; /* 必要に応じて調整 */
    background: #fff;
    border-top: solid 2px #E9DDCF;
    padding-top: 10px;
    z-index: 1000;
}

/* その他の既存のCSSはそのまま */
#footer {
    width: 100%; /* この指定はコンテンツのセンタリング目的であれば維持 */
    margin: 0 auto; /* コンテンツ（#copyright）を中央に寄せるための指定 */
}

#header_wrap {
    width: 100%;
}

.img_required {
    height: 20px;
    vertical-align: middle;
    margin-top: -5px;
}

.bold_bl {
    color: #000;
    font-weight: bold;
    padding: 0 10px 0 10px;
}

.large {
    font-size: 120%;
}

.margin-top_5{
    margin-top:3px;
    padding: 0 10px 0 10px;
}

#entry_login_mainimg {
    /* max-width: 100%;
    width: 100%; */
    margin: 20px 10px 5px 10px;
    text-align: center;
}

#entry_complete_mainimg {
    max-width: 100%;
    width: 100%;
    margin: 20px auto 5px auto;
    text-align: center;
}

#entry_login_mainimg img {
    max-width: 100%;
    height: auto;
}

#entry_complete_mainimg img {
    max-width: 97%;
    height: auto;
}

.btn_area {
    margin: 25px auto 30px auto;
    width: 100%;
    text-align: center;
}

.img-button {
    background: none;
    border: none;
    cursor: pointer;
    background: transparent;
    cursor: pointer;
    display: block; 
    width: 100%;
    margin: 0 auto;
}

.img-button_login, .img-button_change {
    background: none;
    border: none;
    cursor: pointer;
    background: transparent;
    cursor: pointer;
    display: block; 
    width: 100%;
    margin: 0 auto;
}

.img-button_confirm {
    background: none;
    border: none;
    cursor: pointer;
    background: transparent;
    cursor: pointer;
    display: block; 
    width: 100%;
    margin: 0 auto;
}

.img-button_complete {
    background: none;
    border: none;
    cursor: pointer;
    background: transparent;
    cursor: pointer;
    display: block; 
    width: 100%;
    margin: 0 auto;
}

.img-button img {
    display: block;
    max-width: 65%;
    height: auto;
    margin: 0 auto;
    /* width: 80%; */
}

.img-button_login, .img-button_change{
    width: 60%; 
    height: 55px;
    color: #ffffff;
    border: 1px solid #f8922d; 
    background-color: #ff8c08;
    font-size: 20px; 
    cursor: pointer; 
    font-weight: bold;
    
    /* Flexboxで中央寄せするため、display: block; のまま */
    display: block;  
    
    text-align: center;
    border-radius:5px;
    
    /* 親要素内で中央に配置するためのマージンを追加 */
    margin: 0 auto 15px;
}

.img-button_confirm{
    width: 60%; 
    height: 140px;
    color: #ffffff;
    border: 1px solid #f8922d; 
    background-color: #ff8c08;
    cursor: pointer; 
    font-weight: bold;
    display: block;  
    text-align: center;
    border-radius:5px;
    margin: 0 auto 15px;
}

.img-button_complete{
    width: 60%; 
    height: 55px;
    color: #000000;
    border: 1px solid #999999; 
    background-color: #ffffff;
    font-size: 20px; 
    cursor: pointer; 
    display: block;  
    text-align: center;
    border-radius:5px;
    margin: 0 auto 15px;
}

.custom-back-button {
    width: 60%; 
    height: 55px;
    color: #000000;
    border: 1px solid #999999; 
    background-color: #ffffff;
    font-size: 20px; 
    cursor: pointer; 
    
    /* Flexboxで中央寄せするため、display: block; のまま */
    display: block;  
    
    text-align: center;
    border-radius:5px;
    
    /* 親要素内で中央に配置するためのマージンを追加 */
    margin: 0 auto 20px auto;
    font-weight: bold;
}

.img-button_login:hover,  .img-button_change:hover, .img-button_confirm:hover {
    opacity: 0.7; 
}

.btn-back:hover, .custom-back-button:hover, .img-button_complete:hover {
    opacity: 0.5; 
}

.login_text {
    padding: 0 10px 0 10px;
}

.inputtext {
    display: inline;
}

.point {
    color: #f00;
    font-weight: bold;
    display: inline;
}

a:link, a:visited {
    /* color: #39c; */
    text-decoration: none;
}

/* 子要素（spanタグ）に対して再設定 */
.inputtext, .point, p span {
    font-size: 12px; /* 例: 本来表示したいサイズに戻す */
}

.no-break-wrapper {
    white-space: normal;
}

.text-line {
    display: block; 
}

.ec-off4Grid {
    all: revert;
}

.ec-off4Grid .ec-off4Grid__cell {
    all: revert;
}

.icon_help {
    height: 22px;
    vertical-align: middle;
}

a img, iframe {
    border: none;
}

.tooltip,
.tooltip {
    all: unset;
    box-sizing: border-box;
}

.tooltip {
    position: relative;
}

.tooltip .tooltip-text {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    white-space: nowrap;

    background: #ececec;
    color: #000000;
    border: 1px solid #000;
    padding: 7px 7px;
    border-radius: 4px;
    font-size: 12px;

    bottom: 100%;        /* ← 画像の上に配置 */
    left: 50%;
    transform: translateX(0%);
    margin-bottom: 6px;  /* 画像との距離 */

    transition: opacity .2s;
    z-index: 1000;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* .ec-label {
    all: revert;
} */

.login-text {
    color: red;
    font-size: 75%;
    margin-bottom: 7px;
}

.checkbox_text {
    margin-top: 15px;
    font-size: 80%;
    color: #000000;
}

.ec-radio input {
    margin-right: 0px;
    margin-bottom: 0px;
}

.ec-error-message {
    margin: 0;
    padding: 0;
    line-height: 0; /* 行の高さをゼロにして、テキストがない場合の縦幅を消す */
}

.ec-error-message p {
    margin-bottom: 15px;   /* 上部に適切な余白を設定 */
    padding-left: 0;
    line-height: 1; /* テキストが見えるように行の高さを戻す */
    color: #ff0000;  /* エラーテキストの色 (任意) */
    font-size: 14px;
    font-weight: bold;
}