*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: #FFF;
    cursor: pointer;
    transition: 0.5s;
}

a:hover{
    opacity: 0.5;
    transition: 0.5s;
}

p{ margin-bottom: 1em; }

html{ scroll-behavior: smooth; }

body{
    width: 100%;
    text-align: center;
    color: #0F3A4C;
    font-size: 28px;
    line-height: 1.4em;
    font-family: serif;
    -webkit-text-size-adjust: 100%;
}

#Tbox{
    position: relative;
    width: 1000px;
    margin: 0 auto;
}

#head_menu{
    position: fixed;
    top: 0;
    height: 39px;
    padding: 1px 0 8px;
    width: 100%;
    z-index: 10;
    background: rgba(0,143,204,0.85);
}

#Rbox{
    position: relative;
    width: 1000px;
    text-align: center;
    margin: 6px auto 0;
    font-size: 24px;
}

#Rbox div{
    margin: 0 10px;
    float: right;
}

#jump_top{
    display: block;
    width: 130px;
    text-align: left;
    transition: 0.5s;
}

#jump_top:hover{
    width: 170px;
    padding-left: 10px;
    transition: 0.5s;
}

#jump_menu{
    position: absolute;
    top: 41px;
    right: -10px;
    width: 180px;
    height: 0;
    padding-left: 20px;
    text-align: left;
    font-size: 24px;
    color: #FFF;
    background: rgba(0,143,204,0.85);
    overflow: hidden;
    transition: 0.5s;
}

#jump_top:hover > #jump_menu, #jump_menu:hover{
    height: 356px;
    padding: 10px 0 10px 20px;
    transition: 0.5s;
}

#jump_menu p{
    margin-bottom: 0.25em;
}

.magni8{ font-size: 80%; }

.pc_menu{ display: block; }

#top_accord{
    display: none;
    width: 250px;
    text-align: center;
    transition: 0.5s;
}

#top_accord label{
    display: block;
    width: 150px;
    padding: 0 45px;
    text-align: left;
    font-size: 28px;
    color: #FFF;
    cursor: pointer;
    transition: 0.5s;
}

#top_accord input{
    position: absolute;
    top: -10px;
    left: -20px;
    width: 0;
    height: 0;
    appearance: none;
}

#top_accord li{
    height: 0;
    padding-left: 20px;
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#top_accord li p{ margin-bottom: 0.25em; }

#top_accord ul{
    position: relative;
    top: -0.5px;
    left: 0;
    width: 260px;
    text-align: left;
    list-style: none;
    background: rgba(0,143,204,0.85);
}

#tops1:checked ~ #Tmenu01 li{
    height: 362px;
    margin-top: 0.6px;
    padding: 10px 0 10px 20px;
    opacity: 1;
}

#top_accord input:checked{
    width: 1000px;
    height: 200vh;
    background: rgba(255,255,255,0);
}

#tops1:checked ~ label{
    padding: 0 20px;
    transition: 0.5s;
}

#cont{
    width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #FFF;
}

#foot{
    width: 100%;
    padding: 1em 0 0;
    font-size: 20px;
    line-height: 1.25em;
    color: #FFF;
    background: #008FCC;
}

.blink{
    font-size: 80%;
    animation: blinking 2s ease-in-out infinite alternate;
    transition: 0.5s;
}

@keyframes blinking {
    0% {opacity: 0.5;}
    75% {opacity: 1;}
    100% {opacity: 1;}
}

.field{
    position: relative;
    width: 1000px;
    height: 950px;
    margin: 10px auto 120px;
}

.company, .company250, .company320{
    display: flex;
    flex-wrap: wrap;
    width: 1000px;
    margin: 10px auto;
    justify-content: center;
    gap: 1px;
}

.company label, .company250 label, .company320 label{
    display: inline-block;
    flex: 1 1 auto;
    height: 70px;
    margin: 10px auto;
    font-size: 30px;
    font-weight: bold;
    color: #FFF;
    line-height: 70px;
    order: -1; /* 上部に表示する */
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: 0.5s;
}

.company label:hover,
.company label:has(:checked),
.company250 label:hover,
.company250 label:has(:checked),
.company320 label:hover,
.company320 label:has(:checked){
    color: #008ed0;
    transition: 0.5s;
}

.company input, .company250 input, .company320 input{ display: none; }

.company div, .company250 div, .company320 div{
    display: none; /* 初期状態では非表示 */
    width: 960px;
    height: 773px;
    overflow: hidden;
}

.company iframe, .company250 iframe, .company320 iframe{
    width: 960px;
    height: 773px;
}

.company label:has(:checked) + div,
.company250 label:has(:checked) + div,
.company320 label:has(:checked) + div{ display: block; }

.movie{
    position: relative;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    width: 1000px;
    margin: 0 auto;
    justify-content: center;
    gap: 1px;
}

.movie label{
    flex: 1 1 auto;
    width: 236px;
    height: 70px;
    font-size: 28px;
    font-weight: bold;
    color: #FFF;
    line-height: 70px;
    margin: 20px auto;
    order: -1; /* 上部に表示する */
    position: relative;
    text-align: center;
    cursor: pointer;
    background: url(../image/frame240.jpg) center no-repeat;
    transition: 0.5s;
}

.movie label:hover,
.movie label:has(:checked){
    color: #008ed0;
    background: url(../image/frame240s.jpg) center no-repeat;
    transition: 0.5s;
}

.movie input { display: none; }

.movie div {
    display: none; /* 初期状態では非表示 */
    width: 100%;
    margin-bottom: 30px;
}

.movie label:has(:checked) + div { display: block; }

.youtube{
    width: 960px;
    height: 540px;
    padding: 0 20px;
}

.youtube iframe{
    width: 960px;
    height: 540px;
}

.comic iframe{
    width: 960px;
    height: 773px;
    margin: 0 auto;
    overflow: hidden;
}

.cost{
    width: 940px;
    text-align: left;
    padding: 6px 30px;
}

.emphasis{
    font-size: 30px;
    color: #008ed0;
    font-weight: bold;
    line-height: 1.5em;
}

.caution{
    margin: 15px 20px 20px 40px;
    text-align: left;
    text-indent: -1em;
    font-size: 26px;
}

.caution p{ margin-bottom: 0.1em; }

.pasocom{
    display: block;
    margin: 0 auto;
    width: 960px;
    height: 773px;
}

.smart{
    display: none;
    margin: 0 auto;
    width: 1000px;
    height: 1175px;
}

.single_img{
    width: 540px;
    height: 763px;
    margin: 5px auto;
}

.single_back{
    width: 960px;
    height: 773px;
    background-color: #DBE8F2;
}

.company label{
    width: 198px;
    background: url(../image/frame200.jpg) center no-repeat;
}

.company label:hover,
.company label:has(:checked){ background: url(../image/frame200s.jpg) center no-repeat; }

.company250 label{
    width: 248px;
    background: url(../image/frame250.jpg) center no-repeat;
}

.company250 label:hover,
.company250 label:has(:checked){ background: url(../image/frame250s.jpg) center no-repeat; }

.company320 label{
    width: 320px;
    background: url(../image/frame320.jpg) center no-repeat;
}

.company320 label:hover,
.company320 label:has(:checked){ background: url(../image/frame320s.jpg) center no-repeat; }

.price{
    width: 956px;
    margin: 10px auto;
    border-collapse: collapse;
    border: solid 2px #008FCC;
    text-align: center;
}

.price th{
    color: #FFF;
    background-color: #5CBCE6;
}

.price th, td{
    border-collapse: collapse;
    border: solid 2px #008FCC;
}

.note{
    margin: 10px 18px 10px 24px;
    text-align: left;
    font-size: 26px;
}

.pro_text{
    margin: 15px 20px 20px 60px;
    text-align: left;
    text-indent: -1em;
    font-size: 26px;
}

.pro_text p{ margin-bottom: 0.1em; }

.moji22{ font-size: 22px; }

.sentence{
    width: 900px;
    margin-top: 40px;
    padding: 6px 50px;
    text-align: left;
}

.bgyellow{
    color: #007DB3;
    font-weight: bold;
    padding-top: 4px;
    background-color: #FFFF99;
}

.bgred{
    color: #FFF;
    font-weight: bold;
    background-color: #EB1B07;
}

.jidume{ font-feature-settings: "palt"; }

.push20{ height: 20px; }

.push40{ height: 40px; }

.push80{ height: 80px; }

h1{
    position: relative;
    color: #008ed0;
    font-size: 46px;
    font-family: gothic;
    text-align: center;
    margin: 60px auto;
}

h1:before{
    position: absolute;
    top: calc(50%);
    left: 0;
    width: 100%;
    height: 3px;
    content: '';
    background: #008ed0;
}

h1 span{
    position: relative;
    padding: 0 0.7em;
    background: #FFF;
}

h2{
    color: #fff;
    font-size: 38px;
    font-family: gothic;
    text-align: left;
    margin: 0 auto;
    padding: 8px 16px 16px;
    background-color: #008ed0;
}

h3{
    color: #008ed0;
    font-size: 32px;
    font-family: gothic;
    text-align: left;
    margin: 30px auto 20px 30px;
}

@media screen and ( max-width: 767px ){
    body{ width: 1000px; }

    #header{
        width: 960px;
        padding: 12px 20px 0;
    }

    #Tbox,#Rbox{ width: 960px; }

    #Rbox div{
        width: 240px;
        font-size: 26px;
        margin: 0;
    }
    
    #cont{ padding: 40px 0; }
    
    .pc_menu{ display: none; }

    #jump_top{ display: none; }

    #top_accord{ display: block; }

    #foot{
        width: 976px;
        padding: 12px 12px 0;
    }

    .field{ height: 1270px; }

    .company div, .company iframe,
    .company250 div, .company250 iframe,
    .company320 div, .company320 iframe{
        width: 1000px;
        height: 1180px;
    }

    .single_back{ height: 1145px; }

    .comic iframe{
        width: 1000px;
        height: 1180px;
    }
    
    .pasocom{ display: none; }
    .smart{ display: block; }
    
    .single_img{
        width: 800px;
        height: 1131px;
    }
}
