/* :rootのCSS変数の宣言 */
:root {
    --txtcolor: #333;
    --rogoblue: #0e6eb8;
    --lightblue: #e8f0ff;
    --gray: #888;
  }

html { font-size: 15px; }

body {
    color: #333;
    /*background-image: linear-gradient(#222222, #737373 51%, #222222);*/
    line-height: 1.8;
    font-family:  "Noto Sans JP","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
}

@media screen and (min-width: 830px) {
  html { font-size: 16px; }
  body {
          background-image: url( ../images/bg.jpg); 
          background-attachment: fixed; 
          background-size: cover; 
          background-repeat: no-repeat;
          background-position: top center;
        }
}

*{  box-sizing: border-box; }
dt { font-weight: normal; }
img { max-width: 100%; height: inherit; line-height: 0; vertical-align:middle; }
.mgt10 { margin-top:  10px;}
.mgt1rem {margin-top: 1rem;}
.mgt2rem {margin-top: 2rem;}
.fwb { font-weight: bold;}
.txt-center { text-align: center;}
.txt-right { text-align: right;}
.stxt { font-size: 0.8em;}
.inline-block { display: inline-block; }
a.txt { color: #ff6600; border-bottom: 1px solid;}
a.txt:hover { opacity: 0.8; }

/*ラインマーカー*/
.marker {
    background:linear-gradient(transparent 0%, #e8f0ff 0%);
    /* background:linear-gradient(transparent 50%, #ff990067 50%); */
     background-repeat: no-repeat;
     background-size: 0% 100%;
     transition: 1.2s;
   }
 .marker.on {
     background-size: 100% 100%;
   }

#contents h2, .h2style {
  position: relative;
  text-shadow: 0 0 2px white;
  left: 1rem;
  color: var(--rogoblue); font-weight: bold;
  font-size: 1.8rem; margin-bottom: 2rem;
  line-height: 1.2;
  padding-right: 1rem;
  z-index: 1;
}
#contents h2:before, .h2style:before{
  content: "";
  position: absolute;
  background: #e8f0ff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  top: 50%;
  /* border: dashed 1px white; */
  left: -15px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: -1;
}
h3,h4,h5 { color: var(--rogoblue); font-weight: bold;}
h3 {  font-size: 1.2rem; margin-bottom: 0.5rem; }
h4 {  font-size: 1.15rem; }
h5 { color: #444; font-weight: bold;}

.animation{
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-duration: .8s;
  animation-fill-mode: both; /*0%の時と100%の時の状態を保つ*/
}
.zoomin {
  animation-name: zoomin;
  animation-direction: normal;
}

@keyframes zoomin {
  0% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/*--TOPpage--*/
.menu p.s-rogo { padding: 1rem; background: #fff; border-radius: 4px; margin-bottom: 1rem;}
.menu p.s-rogo img { width: 200px;}
.menu ul {
  display: block;
  padding-left: 0;
  margin-top: 1rem;
}
.menu ul li a {
  display:block;
  padding: 1em;
  border-bottom: 1px solid #cac1ff;
  color: #fff;
  text-decoration:none;
  font-size: 1.2rem;
  font-weight: bold;
}
/*.menu ul li:first-child a { border-top: 1px solid #dfdfdf;} */
.menu ul li a:hover
{
    background-color: #fff;
    color:  var(--rogoblue);
}
.menu {
  max-width: 100%;
  text-align:center;
  background:rgba(14, 110, 184, .9);
  transition: 0.6s ease;/*滑らかに表示*/
  position: fixed;
  width: 100%;
  height: 100%;
  top:0;
  z-index: 200;
  left: 100%;
  padding:  1rem;
}
.menu ul.menu2 {
  margin-top: 5rem;
  font-size: .9rem;
}
.menu ul.menu2 li { display: inline-block;}
.menu ul.menu2 li a {
  padding: .2rem;
  margin: .2rem;
  border-bottom: none;
  font-size: 0.9rem;
}
.menu ul.menu2 li:first-child a { border-top: none; }
.menu ul.menu2 li a:hover
{ opacity: .8;
  background:  none;
  color: #fff;
}
/*OPEN時の動き*/
.menu.open {
 display: block;
 left: 0%;
}
/*トグルボタン*/
.Toggle {
    display: block;
    position: fixed;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 300;
    right: -12px;
    top: -16px;
    background: var(--rogoblue);
    border-radius: 3rem;
}
.Toggle span {
    display: block;
    position: absolute;
    width: 32px;
    border-bottom: solid 2px #ffffff;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 20px;
 
}
 /*各ボーダー少しずつずらす*/
.Toggle span:nth-child(1) {
    top:30px;
}
 .Toggle span:nth-child(2) {
    top: 42px;
}
 .Toggle span:nth-child(3) {
   top: 54px;
}
.Toggle.active span { border-color: #ffffff; }
.Toggle.active span:nth-child(1) {
    top: 40px;
/* 1番目のspanをマイナス45度に */
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 40px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

#topContetns{ background: rgb(237, 237, 237); position: relative; padding-bottom: 1px; }
#topContetns .header-logo {
    background: url("../images/top_bg.jpg") no-repeat center top;
    background-size: cover;
    width: 100%;
    height: 100vw;
    position: relative;
}
#topContetns .header-logo h1 {
  text-align:  center;
  position: absolute;
  width: 100%;
  top: 50%;                    /* 親要素の半分下にずらす */
  left: 50%;                   /* 親要素の半分右にずらす */
  transform: translateY(-50%) translateX(-50%);    /* 要素自体の半分、上と左にずらす */
}
#topContetns .header-logo img { width: 98%;
    filter: drop-shadow(0px 0px 5px rgb(255, 255, 255)) drop-shadow(0px 0px 5px rgba(255, 255, 255)) drop-shadow(0px 0px 5px rgba(255, 255, 255));}

#about {
    background: rgba(255, 255, 255, 0.7);
    border: solid 1px #fff;
    border-radius: 5px;
    margin: 0 10px 10px 10px;
    border: solid 1px var(--lightblue);
}
#about,.Toggle,.s_down_wrap{ 
    animation: fadeIn 1s ease-in-out forwards; /*keyframesで命名したものを使う。2秒間で消える*/
    animation-fill-mode: both; /*0%の時と100%の時の状態を保つ*/
    animation-delay: 1s; /* アニメーションを3秒遅延 */
}

.about-marker {
    /* background:linear-gradient(transparent 0%, #e3ecff 0%); */
    background:linear-gradient(transparent 0%, #2485cf 0%);
     background-repeat: no-repeat;
     background-size: 0% 100%;
     transition: 5s;
     animation: markerOn 1s ease-in-out forwards; 
    animation-fill-mode: both;
    animation-delay: 1.5s;
    color: #fff;
    padding: 0 .1rem;
   }
@media screen and (min-width: 830px) { .about-marker { animation-delay: 3s;} }
@keyframes markerOn {
    0% { background-size: 0% 100%; }
    100% { background-size: 100% 100%; }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.scroll_down{
  position:absolute;
  /*top:56%; */
  top : 100vw;
  right:10%;
  animation: arrowmove 2s ease-in-out infinite;
}
@keyframes arrowmove{
   0%{top:100vw;}
   50%{top:98vw;}
   00%{top:100vw;}
}

.scroll_down a{
  position: absolute;
  left: -24px;
  bottom: 17px;
  color: #ffae00;
  font-size: 14px;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: #fff 2px 0 10px;
}

.scroll_down:before {
    content: "";
    position: absolute;
    bottom: 5px;
    right: -6px;
    width: 2px;
    height: 20px;
    background: #ffae00;
    transform: skewX(-31deg);
}
.scroll_down:after{
  content:"";
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 2px;
  height: 85px;
  background:#ffae00;
}

/* スクロールでIN　*/
.scrin { opacity: 0; transition: all 1s; top: 20px; position: relative;}
.scron { opacity: 1; top: 0px; }

/* セカンドページ以降　*/
.second #secHeader p { padding: 1rem; width: 160px;}

@media screen and (min-width: 830px) {
.second #secHeader p { display: none;}
.menu p.s-rogo img { width: 100%;}
.second main { position: relative; top: 20px;}
}

main { padding-top: 2rem;}
main.mb-pdg0 { padding-top: 0;}
@media (min-width: 830px) { main.mb-pdg0 { padding-top: 2rem;} }

/* --pc-- */
@media (min-width: 830px) and (max-width: 1298px){
  main { width: calc(100% - 290px); margin-left: 20px;}
}
@media screen and (min-width: 830px) {
div.s_down_wrap { display: none;}
#pageWrap {  margin: 0 auto;}
#topContetns .header-logo { height: 500px; width: 500px; margin: 0 auto;}
#topContetns{
  background: rgba(255, 255, 255, 0.8); 
  border: solid 1px #fff;
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 2rem;
 }
#topContetns .header-logo-wrap { background: url("../images/top_bg3.png") no-repeat 120% 10px;

width: 100%;}
#topContetns .header-logo { background: none;}
#about {
  position: absolute;
  width: 86%;
  left: 50%;
  transform: translateX(-50%);
    top: 270px;
    border: solid 1px #b7e0ff;
    border-radius: 5px;
}
#about { 
    animation-delay: 3s; /* アニメーションを3秒遅延 */
}

#topContetns .header-logo h1 {
  animation: move 1s ease-in-out forwards; /* animationプロパティ */
  animation-delay: 1.5s; /* アニメーションを3秒遅延 */
}

  @keyframes move {
    from {
      transform: translateY(-50%) translateX(-50%);   /* 初期位置の移動 */
    }
    to {
      transform: translateY(-100%) translateX(-50%);      /* 移動後の位置 */
    }
  }

.Toggle { display: none;}
.menu { display: block; }

#contents { 
  display: flex;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}
.drawer { width: 250px; border-right: 1px #ddd solid;  background-image: linear-gradient(150deg, #0e6eb8, #8b5cf6cc);}
main { width: calc(100% - 270px); padding: 2.5rem 2rem 2rem 2rem; background: #fff; margin: 0 0 0 30px;
 margin-bottom: 50px; margin-left: 20px;}

nav {
  position: sticky;
  left: 0;
  top: 0;
}
.menu {
  background: inherit;
  position:relative;
  left: 0;
  padding-top: 1rem;
}

div.menu ul { padding: .3rem 0 1rem 0; margin: 0;}
div.menu li { margin-bottom: .5rem;}
div.menu li a, div.menu li a:first-child { padding: .5rem; display: block; border: none;  color: var(--txtcolor); background: #eaf1ffec; font-weight: normal; font-size: 1rem; transition: 0.4s ease;}
div.menu li a:hover { background: #fff; }
div.menu ul.menu2  { margin-top: 0; }
div.menu ul.menu2 li { display: block; text-align: left; margin-left: 1rem;}
div.menu ul.menu2 li a { font-size: .9rem; background: none; padding: 0; margin: 0; color: #fff;}

}/* pc*/
@media (min-width: 830px) and (max-width: 1298px){
  main { width: calc(100% - 290px); margin-left: 20px;}
}

#about h2 img { height: inherit; width: 146px; vertical-align: middle; margin-right: 6px;}
#about h2 { margin-bottom: .4rem; font-size: 1.1rem;}

#about { padding: 1rem; }
section { padding: 1rem 1rem 0 1rem;}
.line { border-top: solid 10px #063c6631; padding-top: 3rem; margin-top: 3rem; }
#shop.line {  margin-top: 0; }
#top-movie .howto-video { margin-bottom: 1rem;}
@media screen and (min-width: 830px) { #top-movie .howto-video { margin-bottom: 3rem; } }

.h3kakko {
    position: relative;
    padding: 0 1em;
    line-height: 1.4;
    display: inline-block;
    letter-spacing: .1rem;
    min-width: 240px;
    text-align: center;
    margin-bottom: 1rem;
}
.h3kakko::before,
.h3kakko::after {
    display: inline-block;
    position: absolute;
    width: 8px;
    height: 100%;
    border: 2px solid var(--rogoblue);
    box-sizing: border-box;
    content: '';
}
.h3kakko::before {
    top: 0;
    left: 0;
    border-right: none;
}
.h3kakko::after {
    bottom: 0;
    right: 0;
    border-left: none;
}
#shop p.yoyaku { text-align: right; font-size: 0.7rem; line-height: 1.5; }

@media screen and (min-width: 830px) {
  #shop p.yoyaku {  font-size: .8rem; }
}
#shop p.yoyaku a { display: inline-block; background: #ffae00; color: #fff; padding: 5px 1rem; border-radius: 1rem;
border: solid 1px #ffffff;
 font-weight: bold;
 text-shadow: 1px 1px 1px rgb(182, 182, 182);
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
 transition: all 0.3s ease;
}
#shop p.yoyaku a:hover { opacity: 0.8; transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);}
#shop p.yoyaku a::before { content: "> ";}
#shop p.yoyaku.w100 { text-align: center;}
#shop p.yoyaku.w100 a { display: block; margin: 2rem 0; padding:1rem; font-size: 1.1rem; text-align: center; font-weight: bold;}

#shop p.setsubi { display: inline-block; background-color: #00d3a9; color: #fff; padding: 0 1rem; font-size: .8rem; border-radius: 4px;
position: absolute; margin-top: -1.4rem; }

/* ページネーション */
#sw { position: relative; padding-bottom: 30px; padding-top: 10px; overflow: hidden; margin-bottom: 3rem; margin-top: 5px;}
.swiper-thumbnail { margin-top: 10px;}
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 0px;
  padding-bottom: 0px;
}
.swiper-thumbnail img { border: solid 1px #ccc;}
.swiper-thumbnail .swiper-slide-thumb-active img { border: solid 2px #0077ff;}

table { border-collapse: separate; width: 100%; }
/* table tr:not(:last-child) { border-bottom: dotted 1px var(--gray);} */

table th,table td { padding: .5rem;border: solid 3px #fff;}
table th { font-weight: normal; color: var(--txtcolor); white-space: nowrap; background: var(--lightblue);}
table iframe { aspect-ratio: 16 / 9; width: 100%; height: 100%;}
@media screen and (min-width: 830px) {  table img.imgprice { width: 500px;} }

div.howto_flow ol {  background-color: #fff; padding: 0;  border-radius: 4px; margin-bottom: 3rem; }
@media screen and (min-width: 830px) {  div.howto_flow ol {  padding: 1rem 2rem 1rem 2rem;} }

.howto-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9のアスペクト比 */
  height: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  border: solid #ccc 1px;
}
.howto-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 830px) {  .howto-video { margin-bottom: 3rem;} }

div.howto_flow ol > li {
  position: relative;
  padding-left: 2.8rem;
  font-size: .9rem;
}
div.howto_flow li p.txt { font-size: 1.1rem; color: var(--rogoblue); font-weight: bold;}
div.howto_flow li p.txt2 { background: #e8f4ff; padding: 1rem; margin-top: 10px;}
div.howto_flow ol > li:not(:last-child) { padding-bottom: 20px; }
div.howto_flow ol > li .icon {
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  border-radius: 100vh;
  display: inline-block;
  background: var(--rogoblue);
  color: #fff;
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}

div.howto_flow ol > li:not(:last-child)::before {
  content: '';
  background: #c3c3c3;
  width: 4px;
  height: 100%;
  position: absolute;
  top: calc(50% - -19px);
  left: 14px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.notice { margin-top: 1rem;}
.notice ul { margin-top: 1rem;}

div.qa { margin-top: 2rem;}
div.qa h3 { margin-top: 1rem; line-height: 1.4;}
div.qa h3 span.txt-q,div.qa p span.txt-a { font-size: 2rem; display: inline-block; margin-right: .5rem; font-weight: bold;}

div.qa h3 { margin-left: 0; padding: 1rem 1rem 0 2.8rem; position: relative; }
div.qa h3 span.txt-q { position: absolute; left: 0.8rem; top: .2rem;   }
div.qa p { margin-left: 0; padding: 1rem 1rem 1rem 3rem; position: relative; background: #fff8ea; }
div.qa p span.txt-a { color: #ffae00; position: absolute; left: 1rem; top: 0;   }

.rule ul { margin-left: 1rem;}
.rule ul.none { margin-left: 0;}
.rule ul.circle { list-style: circle;}
.rule ul li { padding-left: 1em; text-indent: -1em;}
.rule ul.number li { padding-left: 1.5em; text-indent: -1.5em;}
.rule ul ul { margin-left: 2rem; margin-bottom: 1rem;}

.rule h3,.rule h4,.rule h5 { margin-top: 1rem;}
.rule h3 { margin-top: 2rem;}
.rule h3.st01 { border-left: .5rem solid var(--rogoblue); padding-left: 1rem;}

.scrollbox { height: 30rem; overflow-y: scroll; background: #f7f7f7; padding:0 1rem 2rem 1rem;}

/* Contact お問い合わせ */

.btn_contact { text-align: center; margin-top: 2rem;}
.contact-link {
  display: block;
    margin-top: 1em;
    width: 100%;
    color: #fff;
    text-decoration: none;
    padding: 20px 20px;
    margin: 5px auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--rogoblue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: solid 1px #fff;
}
.contact-link:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
}
.contact-link .contact-icon { padding-right: 4px;}

/* ページTOP　右下ボタン */
#page-top {
    position: fixed;
    right: 5.2vw;
    bottom: 90px;
    width: 55px;
    height: 55px;
    z-index: 10;
    opacity: 0.5;
    text-indent: -9999px;
    display: none;
    margin-bottom: 0;
}
#page-top a {
    position: relative;
    display: block;
    width: 55px;
    height: 55px;
    border-radius:50%;
    background: rgb(255, 255, 255);
    transition: opacity .8s ease;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, .6);
}
#page-top a:hover { opacity: 0.8;}
#page-top a::before {
    position: absolute;
    top: 7px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    content: '';
    transform: rotate(-45deg);
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
}

/* スマホ・タブレット */
@media screen and (max-width: 830px) {
    #page-top  { right: 15px; bottom: 80px; }
    #page-top, #page-top a  { height: 48px; width: 48px; }
}

footer { margin-top: 3rem; text-align: center;
  background: #f6f6f6; position: relative; border-top: 1px solid #ccc;}
#footer-wrap { width: 100%; max-width: 1300px; margin: 0 auto; position: relative; padding: 1rem;}
footer p.frogo { text-align: right; padding-top: 1rem; margin-bottom: 0;}
footer p.frogo img { width: 100px;}
footer ul.fmenu { display: flex; font-size: .7rem; padding: 0; margin: 0;}
footer ul.fmenu li { padding-right: .7rem;}
footer ul.fmenu li a { color: var(--txtcolor); text-decoration: none;}
footer ul.fmenu li a:hover { opacity: 0.8;}
footer .copyright-text { font-size: .6rem; margin-bottom: 0; color: #fff;
background-color: var(--rogoblue); padding: .1rem 0;}

/* PC */
@media screen and (min-width: 830px) {
    footer { margin-top: 0;}
    footer ul.fmenu { font-size: .8rem;}
    .footerContents { max-width: 1300px; margin: 0 auto;}
footer .copyright-text { font-size: .7rem; }
}