

body{
    margin:8px 0px 0px 0px;
    text-align:center;
    font-size: 16px;
}

.wid960{
    width: 960px;
    margin-left: auto;
    margin-right: auto;
}

a{
    text-decoration: none;
    color:inherit;
}

/* TOP */
.head{
    height: 120px;
    background-image: url("../images/logo.jpg");
    background-repeat: no-repeat;  
}

/* LinkBox */
.link_icon_con{
    display: flex;
    padding-left: 640px;
    align-items: center;
}

.link_icon_item{
    font-size: 20px;
}

.tel{
    display: none;
}

/* BoxEnd */



/* TextLink */
.link_text{
    text-align:center;
    height:30px;
    padding-top:20px;
}

/* TextLink2 */
.span_link{
}


/* -----------------------------------------MainImage----------------------------------------- */

div.main_image{
    text-align: start;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 960px;
    height: 540px;
    position: relative;
}


img.main_image{
    animation: main_anim 20s infinite;
    -webkit-animation: main_anim 20s infinite;
    width: 100%;
    opacity: 0;
    position: absolute;
}

/* ---------Slide----------- */

/* --Radio-- */
.main_radio{ display: none;}

/* --RadioAction-- */
#slide1:checked ~ .main_noAnim img:nth-of-type(1) {
    opacity: 1;
}

#slide2:checked ~ .main_noAnim img:nth-of-type(2) {
    opacity: 1;
}

#slide3:checked ~ .main_noAnim img:nth-of-type(3) {
    opacity: 1;
}

#slide4:checked ~ .main_noAnim img:nth-of-type(4) {
    opacity: 1;
}

#slide5:checked ~ .main_noAnim{
    opacity: 0;
}

#slide5:checked ~ .nospace{
    opacity: 0;
}

.main_botan{ width:150px;}

ul.main_botan{
    display: flex;
    position: relative;
    bottom: 0px;
    left: 388px;
    z-index: 5;
}


/* --List-- */
li{list-style-type: none;}

.circlelabel{
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: skyblue;
  margin-top: 2px;
}

.main_botan li{
  padding-left: 6px;
}


/* ---------PrevNext----------- */
.nospace{
  height: 0px;
  width: 0px;
  position: relative;
  top: 312px;
}

#prevJSlabel{
  width: 10px;
  height: 10px;
  border: 3px solid;
  border-color: skyblue skyblue transparent transparent;
  transform: rotate(-135deg);
  z-index: 5;
  position: relative;
  top: -350px;
  left: 10px;
  visibility: hidden;
}

#nextJSlabel{
  width: 10px;
  height: 10px;
  border: 3px solid;
  border-color: skyblue skyblue transparent transparent;
  transform: rotate(45deg);
  z-index: 5;
  position: relative;
  top: -360px;
  left: 930px;
  visibility: hidden;
}




/* ---------NoAnim----------- */
div.main_noAnim{
    position: relative;
    top: -540px;
    left: -480px;
    z-index: 2;
}

img.main_noAnim{
    position: absolute;
    opacity: 0;
}

.main_noAnim:nth-of-type(4) {
    z-index: 2;
}

/* ---------Animation----------- */

@keyframes main_anim {
    0% {opacity: 0;}
    10% {opacity: 1;}
    25% {opacity: 1;}
    35% {opacity: 0;}
    100% {opacity: 0;}
}

@-webkit-keyframes main_anim {
    0% {opacity: 0;}
    10% {opacity: 1;}
    25% {opacity: 1;}
    35% {opacity: 0;}
    100% {opacity: 0;}
}

.main_image:nth-of-type(1) {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

.main_image:nth-of-type(2) {
    animation-delay: 5s;
    -webkit-animation-delay: 5s;
}

.main_image:nth-of-type(3) {
    animation-delay: 10s;
    -webkit-animation-delay: 10s;
}

.main_image:nth-of-type(4) {
    animation-delay: 15s;
    -webkit-animation-delay: 15s;
}



/* -----------------------------------------Main----------------------------------------- */

h1{
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 0px;
}

h1:before{
    content:"Shichi-go-san";
    display: block;
    font-size: 30px;
}




.sub1box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 40px;
}

.sub1box_item1{
    flex-basis: 560px;
}

.sub1box_item2{
    flex-basis: 400px;
}

img.sub1img{
    width: 520px;
}

.midashi{   
    margin-bottom: 0px;
    font-size: 18px;
    font-weight: normal;
    color: #e77;
}


/* ---------Price----------- */
.sub2box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 40px;
}

.sub2box_item1{
    flex-basis: 360px;
    padding-left: 80px;
    padding-top: 40px;
}

.sub2box_item2{
    flex-basis: 480px;
    padding-right: 20px;
}

img.sub2img{
    width: 360px;
}


.pricetitle{
    width: 130px;
    background: #000;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    margin-left: 5px;
    padding-top:4px;
    padding-bottom:4px;
    margin-bottom: 10px;
}


/* ---------Table----------- */

table{
    width: 360px;
}

th{ 
    padding-top: 10px;
    text-align: left;
}
.td_L{    padding-right: 20px;}
.td_R{    text-align: right;}
.td_noStudio_L{    padding-top: 30px;    text-align: left;    font-weight: bold;}
.td_noStudio_R{    padding-top: 30px;    text-align: right;}


span.tax{
    font-size: 14px;
}

span.orange{
    color: #cc6633;
    font-weight:bold;
}



/* ---------PC:Plan----------- */
.h2jp{
    text-align:left;
    font-size: 18px;
    font-weight: bold;
    margin-top: -5px;
    margin-bottom: 5px;
    padding-top: 100px;
    padding-left: 10px;
}

.h2jp:before{
    content:"PLANS";
    display: block;
    font-size: 24px;
}


.planbox{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 960px;
}

.planbox_item{
    width: 400px;
}

h3.h3plan{   
    font-size: 18px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
}

.planjp{
    font-weight: bold;
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 0px;
}

img.planimg{
    width: 400px;
}

div.planimg_small{
    display: none;
}

p.plan_detail{
    padding-left: 10px;    
    padding-right: 10px;    
}


/* ---------PC:FOOTER----------- */

.foot{
    background: #f4fbf6;
    background: #000;
}

.footbox{
    display: flex;
    background: #f4fbf6;
    background: #000;
    color: #fff;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
}

div.footbox_item{
    padding-left: 200px;
}

span.myname{
    font-weight: bold;
    font-size: 16px;
    color: orange;
    color: #f0aa00;
    color: #fff;
}

.foot_tel{
    font-weight: bold;
    color: #fff;
    padding-left: 60px;
}

span.CdBlue{
    color: orange;
}

.foot_end{
    padding-bottom: 20px;
}

.foot_map{
    background-color: white;
    font-size: 14px;
    color: black;
    height: 22px;
    width: 68px;
    padding-left: 16px;
    margin-left: 100px;
    border-radius: 5px;
}





/* --------------------------------------------------------------------------------------------- */
/* Less 960pxiTabletj */
/* --------------------------------------------------------------------------------------------- */
@media screen and (max-width: 959px) and (min-width: 520px) {

body { font-size: 12px;}
.wid960{ width: 520px;}

.head{
    height: 90px;
    background-image: url("../images/logo_tablet.jpg");
}

/* LinkBox */
.link_icon_con{
    width: 500px;
    padding-left: 280px;
}

.link_icon_item{
    font-size: 12px;
}

.link_text{
    padding-top: 0px;
    padding-left:140px;
}


/* ---------Tablet:MainImage----------- */
div.main_image{
    width: 480px;
    height: 270px;
    margin-left: 20px;
}

div.main_noAnim{
    margin-left: 20px;
    top: -270px;
    left: 0px;
}

img.main_noAnim{
    left: 0px;
    width: 480px;
    height: 270px;
}


/* ---------Tablet:Radio----------- */
ul.main_botan{
    left: 177px;
}

.circlelabel{
  height: 14px;
  width: 14px;
}

#prevJSlabel{
  width: 8px;
  height: 8px;
  top: -340px;
  left: 28px;
}

#nextJSlabel{
  width: 8px;
  height: 8px;
  top: -352px;
  left: 480px;
}


/* ---------Tablet:Title----------- */

h1{ font-size: 14px;}
h1:before{ font-size: 20px;}


/* ---------Tablet:Price----------- */
.sub1box_item1{
    flex-basis: 520px;
}

.sub2box_item1{
    order: 2;
    padding-left: 0px;
}

.sub2box_item2{
    order: 1;
    padding-right: 0px;
}

img.sub1img{
    width: 390px;
}

img.sub2img{
    height: 280px;
    object-fit: cover;
    object-position: 0px -116px;
}

.planbox{
    width: 520px;
}

.planbox_item{
    width: 240px;
}

img.planimg{
    width: 240px;
}

.pricetitle{
    margin-top: 24px;
}

table{
    width: 300px;
}

/* ---------Tablet:Plan----------- */

.h2jp{ font-size: 14px;}
.h2jp:before{ font-size: 16px;}

h3.h3plan{ font-size: 14px;}

.planjp{ font-size: 14px;}

/* ---------FOOTER----------- */
div.footbox_item{ padding-left: 60px;}

span.myname{ font-size: 14px;}


}



/* --------------------------------------------------------------------------------------------- */
/* Less 520pximobilej */
/* --------------------------------------------------------------------------------------------- */
@media screen and (max-width: 519px) {

/* Resize */
body { font-size: 12px;}
.wid960{ width: 320px;}

/* Logo */
.head{
    height: 90px;
    background-image: url("../images/logo_mini.jpg");
    background-size: 120px 30px;
}

/* LinkBox */
.link_icon_con{
    width: 315px;
    padding-left: 5px;
    justify-content:
    space-between;
}

.link_icon_item{ font-size: 12px;}

.link_text{
    padding-top: 0px;
    font-size: 11px;
}

.tel{
    display: inline;
}

.no_tel{
    display: none;
}


/* ---------SP:MainImage----------- */
div.main_image{
    width: 320px;
    height: 180px;
}

div.main_noAnim{
    top: -180px;
    left: 0px;
}

img.main_noAnim{
    left: 0px;
    width: 320px;
    height: 180px;
}


/* ---------SP:Radio----------- */
ul.main_botan{
    left: 80px;
}

.circlelabel{
  height: 12px;
  width: 12px;
}

#prevJSlabel{
  width: 6px;
  height: 6px;
  top: -338px;
  left: 8px;
}

#nextJSlabel{
  width: 6px;
  height: 6px;
  top: -352px;
  left: 300px;
}

/* ---------SP:Title----------- */

h1{ font-size: 14px;}
h1:before{ font-size: 18px;}

/* ---------SP:Sub----------- */
.sub1box{
    margin-top: 20px;
}

.sub1box_item1{
    flex-basis: 320px;
}

.sub1box_item2{
    flex-basis: 320px;
}

img.sub1img{
    width: 260px;
}

.midashi{   
    font-size: 14px;
}

.sub2box{
    margin-top: 20px;
}

.sub2box_item1{
    flex-basis: 320px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    order: 2;
}

.sub2box_item2{
    flex-basis: 300px;
    padding-right: 0px;
    order: 1;
}

img.sub2img{
    width: 240px;
    margin-top: 5px;
    margin-bottom: 40px;
    height: 200px;
    object-fit: cover;
    object-position: 0px -70px;
}


.pricetitle{
    width: 100px;
    font-size: 14px;
    margin-left: 5px;
    padding-top:4px;
    padding-bottom:4px;
    margin-bottom: 10px;
}

table{
    width: 300px;
}

/* ---------SP:Plan----------- */

.h2jp{ font-size: 14px;}
.h2jp:before{ font-size: 16px;}

.planbox{ width: 320px;}

.planbox_item{ width: 300px;}

div.planimg_large{ display: none;}

div.planimg_small{ display: block;}

img.planimg_small{
    width: 280px;
    height: 80px;
}

.h3plan{ display: none;}

.planjp{ display: none;}

.plan_mini{
    font-size: 12px;
    font-weight: bold;
    padding-left: 10px;
    margin-bottom: 0px;
    text-align: left;
}

.plan_detail{ margin-bottom: 30px;}


/* ---------SP:FOOTER----------- */
.footbox{ flex-direction: column;}

div.footbox_item{ padding-left: 80px;}

span.myname{ font-size: 14px;}


}
