img {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .header_ex{
        display: none;
    }
    .header{
        position: absolute;
        top: 0%;
        left: 50%;
        width: 100%;
        height: 550px;
        transform: translate( -50%, 0 );
    }
    .container{
        width: 600px;
        margin: 600px auto 0 auto;
    }
    body{
        width: 100%;
    }
    div.header_bg{
        width: 100%;
        height: 550px;
        position:relative;
        background-image: url('/images/sp_header.png');
        background-size: contain;
        background-repeat: no-repeat;
    }
    div.header_logo {
        position:absolute;
        top: 80px;
        left: 150px;
        width: 50%;
    }
    div.header_logo2 {
        position:absolute;
        top: 40px;
        left: 200px;
        width: 25%;
    }
    div.header_text {
        position:absolute;
        top: 260px;
        left:99px;
        color: white;
        font-size: 16pt;
        line-height: 1.5em;
    }
    div.header_button {
        position:absolute;
        top: 335px;
        left:85px;
        color: white;
        font-size: 17pt;
    }
    button.header_button {
        background-color: white;
        color: #4DAFFF;
        border-radius: 10px;
        border: 0;
        padding: 17px 17px 17px 17px;
        font-weight:bold;
    }
    div.header_help {
        position: absolute;
        top: 410px;
        left: 515px;
        width: 100px;
        height: 100px;
    }
    div.help_body{
        width: 100%;
        position:absolute;
        top:0px; left:0 ;
        text-align:center; 
        height:3000px;
        background-color: rgba( 255, 255, 255, 0.75 );
        padding-top:100px
    }
}
@media screen and (min-width: 768px) {
    .header_ex{
    }
    .header{
        width: 1920px;
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate( -50%, 0 );
    }
    .container0{
        top: 0%;
        left: 50%;
        position: absolute;
        transform: translate( -50%, 0 );
        width: 1920px;
        background-color: white;
        margin: 0 auto;
        z-index:-1;
    }
    .container{
        width: 800px;
        margin: 0 auto;
        margin-top: 380px;
    }
    body{
        background-color: #dcefff;
    }
    div.header_bg{
        background-image: url('/images/header_pc_wide.png');
        width: 1920px;
        height: 324px;
        margin: 0 auto;
        background-size: contain;
    }
    div.header_logo {
        display: none;
    }
    div.header_logo2 {
        position:absolute;
        top: 40px;
        left: 300px;
        width: 25%;
    }
    div.header_text {
        display: none;
    }
    div.header_button {
        position:absolute;
        top: 200px;
        left:35%;
        color: white;
        font-size: 17pt;
        width: 30%;
    }
    button.header_button {
        background-color: white;
        width: 100%;
        color: #4DAFFF;
        border-radius: 5px;
        border: 0;
        padding: 7px 7px 7px 7px;
        font-weight:bold;
        font-size: 50%;
    }
    div.header_help {
        position: absolute;
        top: 2%;
        right: 20%;
        width: 5%;
        height: 5%;
    }
    div.help_body{
        width: 800px; 
        margin: 0 auto;
        text-align:center; 
        height:3000px;
        background-color: rgba( 255, 255, 255, 0.75 );
        padding-top:100px
    }
}

.main{
    margin-left: 5%;
    margin-right: 5%;
}

div.area_header{
    border: 3px solid #4DAFFF;
    border-radius: 10px 10px 0 0;
    background-color: #4DAFFF;
    color:white;
    padding: 20px;
    font-size: 16pt;
}
div.area_header_icon{
    float:left;
    width:13%;
}
div.area_header_text{
    float:left;
    width:87%;
    color:white;
}
div.area_header_text1{
    font-weight: bold;
    font-size: 16pt;
    padding: 5px 0 0 30px;
}
div.area_header_text2{
    font-size: 13pt;
    padding: 15px 0 0 30px;
}

div.area_body{
    border: 3px solid #4DAFFF;
    border-radius: 0 0 10px 10px;
    background-color:white;
    color: #666666;
    padding: 20px;
    font-size: 16pt;
}
input[type="text"]{
    border-radius: 10px;
    border: 1px solid #BDBDBD;
    padding: 12px 10px 12px 10px;
    font-size: 12pt;
    width: 95%;
}
input[type="text"]::placeholder{
    color:#BDBDBD;
}

textarea{
    border-radius: 10px;
    border: 1px solid #BDBDBD;
    padding: 12px 10px 12px 10px;
    font-size: 12pt;
    width: 95%;
    height: 100px;
}
textarea::placeholder{
    color:#BDBDBD;
}
div.area_bold{
    font-weight: bold;
    font-size: 16pt;
    margin: 0px 10px 10px 10px;
}
.marginbottom {
    margin-bottom: 12px;
}
button.invert{
    border: 3px solid #4DAFFF;
    border-radius: 30px;
    background-color:white;
    color: #4DAFFF;
    width:100%;
    height: 60px;
    font-size: 12pt;
    padding: 10px;
    font-weight:bold;
}
button.invert2{
    border: 3px solid #4DAFFF;
    border-radius: 10px;
    background-color:white;
    color: #4DAFFF;
    width:100%;
    font-size: 12pt;
    padding: 10px;
    font-weight:bold;
}
a.term{
    color: #4DAFFF;
    text-decoration:none;
    font-weight:bold;
}
button.orange{
    background-color: #FFC93C;
    color:white;
    border: 0;
    border-radius: 30px;
    padding: 15px 40px 15px 40px ;
    font-size: 20px;
    font-weight:bold;
}
button.orange2{
    background-color: #FFC93C;
    color:white;
    border: 0;
    border-radius: 15px;
    padding: 15px 40px 15px 40px ;
    font-size: 20px;
    font-weight:bold;
    width:100%;
}
div.history{
    background-color:white;
    border-radius: 10px;
    padding: 15px;
}
div.history_ended{
    color: #4DAFFF;
    font-weight:bold;
    font-size: 14pt;
}

a.footer{
    color: #666666;
    text-decoration:none;
}

div.left {
    float:left;
}
div.right {
    float:right;
}
div.clear {
    clear:both;
}
.limitdate{
    width:95%;
    border-radius: 10px;
    margin-top: 15px;
    padding: 7px;
    border: 1px solid #666666;
}
.history_title1{
    float:left;
    width:60%;
    color: #4DAFFF;
    text-align:left;
}
.history_title2{
    float:left;
    width:100%;
    color: #4DAFFF;
    text-align:left;
}
.history_limit1{
    float:right;
    width:35%;
    color: #666666;
    text-align:right;
    font-size: 12pt;
}
.history_description{
    margin-top: 15px;
    color: #666666;
    font-size: 12pt;
    margin-bottom: 20px;
}
.history_bar_rectangle{
    position:relative;
    width: 95%;
    min-height: 45px;
    padding: 10px;
}
.history_bar{
    position:absolute;
    top:0;
    left:0;
    background-color: #FFC93C;
    min-height: 45px;
    color: #666666;
    border-radius: 0 25px 25px 0
}
.history_bar_text{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    padding: 10px;
}

div.note_text1{
    color: #666666;
    font-size: 14pt;
}
div.note_text2{
    color: #666666;
    font-size: 12pt;
}

button.unselected{
    background-color: white;
    color:#666666;
    border: 1px solid #4DAFFF;
    border-radius: 15px;
    padding: 15px 40px 15px 40px ;
    font-size: 20px;
    font-weight:bold;
    width:100%;
}
button.selected{
    background-color: #FFC93C;
    color:white;
    border: 0;
    border-radius: 15px;
    padding: 15px 40px 15px 40px ;
    font-size: 20px;
    font-weight:bold;
    width:100%;
}



# toggle button

label.toggle-switch:has(input[type="checkbox"]){
  display:inline-flex;
  --font-size:24px;/*基本サイズ お好きなサイズに設定*/
  font-size:var(--font-size);
  line-height:calc(var(--font-size) + 4px);
  align-items:center;
}
label.toggle-switch>input[type="checkbox"]{
  box-sizing:border-box;
  position:relative;
  font-size:1.4em;
  width:2em;
  height:1em;
  padding:0;
  appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  background:#AAA;/*オフの色*/
  border-radius:0.5em;
  # box-shadow: 0.3em 0.3em 0.3em 0px rgba(0,0,0,0.6) inset;
  -webkit-tap-highlight-color: transparent;
}
label.toggle-switch>input[type="checkbox"]:checked{
  background:#4DAFFF;/*オンの色*/
}
label.toggle-switch>input[type="checkbox"]::before{
  box-sizing:border-box;
  content:"";
  position:absolute;
  left:0.1em;
  top:0.1em;
  bottom:0.1em;
  width:0.8em;
  background:#FFF;
  border-radius:0.4em;
  transform:translate(0%,0%);
  transition:all 0.2s ease-in-out;
  # box-shadow:0.1em 0.1em 0.1em 0px rgba(0,0,0,0.6);
  margin:0;
}
label.toggle-switch>input[type="checkbox"]:checked::before{
  transform:translate(125%,0%);
  transition:all 0.2s ease-in-out;
}
