@charset "UTF-8";

/*----------------------------------------------------------
	共通設定
----------------------------------------------------------*/
html {
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
  font-size: 16px;
  line-height: 1;
  color: #333333;
  height: 100%;
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p, ol, ul, dt, dd, figure ,button {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

h3, h4, h5, h6 {
    display: block;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    text-align: center;
}

h3{
    font-size: 2.6em;
    margin-block-start: 3em;
    margin-block-end: 3em;
    line-height:1.6em;
}

h3 span{
    font-size: 1.8rem;
}

h4 {
    font-size: 2.4em;
    margin-block-start: 1.85em;
    margin-block-end: 1.85em;
    line-height:1.6em;
  }
h5 {
    font-size: 2em;
    margin-block-start: 2.2em;
    margin-block-end: 2.2em;
    line-height:1.5em;
}

h6 {
    font-size: 1.8em;
    margin-block-start: 1.15em;
    margin-block-end: 1.15em;
    line-height:1.5em;
}

a,
a:hover,
a:focus {
  color: #002063;
  text-decoration: none;
}

img{
  max-width: 100%;
}

blockquote p{
  font-style: italic;
  font-size: 1.2rem;
  display: block;
}

main {
  padding-bottom: 90px;
}

p + p {
  margin-top: 1em;
}

.center{
  text-align: center;
}

.small {
    font-size: 12px;
    margin-block-start: 1.2em;
    margin-block-end: 1.2em;
    line-height:1.4rem;
    text-align: right;
}

.mid{
    font-weight: 700;
    font-size: 1.8rem;
    margin-block-start: 2em;
    margin-block-end: 2em;
    line-height:1.8em;
    text-align: center;
    color:#002673;
}
.mid2{
    font-weight: bold;
    font-size: 1.8rem;
    margin-block-start: 2em;
    margin-block-end: 2em;
    line-height:1.8em;
    text-align: left;
}
.large {
    font-weight:800;
    font-size: 2.8em;
    margin-block-start: 3.2em;
    margin-block-end: 4.2em;
    line-height:1.5em;
    color: #c94a4a;
}

h4 span.small {
  font-size: 12px;
  vertical-align: super;
  line-height: 0;
}

.point,.point2{
  display: flex;
  text-align: left;
  align-items:flex-start;
/*  justify-content: center; /* ←これ追加 */
  gap: 24px;
  margin-top: 4em;
}


.point p img,
.point2 p img{
  display:block;
  width:auto;
  height:160px;
}

.point2 p.choice img{
  display:block;
  width:300px;
  height:auto;
}

.point-title{
  font-weight:700;
  font-size:clamp(2.6rem,2vw,2rem);
  line-height:1.4;
  text-align: left;
  margin:0 !important;
}

.point-title .line,.point h4{
  display:inline-block;
  background:#3f86ff;
  color:#fff;
  padding:.15em .3em;
  margin-bottom:.15em;
}

.point-title .yellow{
  color:#ffc400;
}

.box {
  display: block;
  margin-top: 1rem;
}

.box h6,.training-text h6,.training-text2 h6 {
  margin: 0 0 20px;
  padding: 21px 0 12px 12px;
  border-bottom: 2px solid #2984ff;
  color:#2984ff;
  text-align: left;
}

.box-sleep h6{
  text-align: right;
  padding-right: 1rem;
}

.box figure {
  float: right;
  width: 250px;
  margin: 0 0 20px 20px;
}
.box figure.left {
  float: left;
  width: 250px;
  margin: 0 20px 20px 0;
}


.box-sleep {
  display: grid;
  grid-template-columns: 250px 1fr;
  column-gap: 20px;
  align-items: start;
}

.box-sleep figure.left {
  float: none;
  grid-row: 1 / 3;
  margin: 0;
  width: 250px;
}

.box-sleep h6 {
  margin: 0 0 20px;
}

.box-sleep p {
  margin: 0;
}



.box figure img,.box figure.left img {
  width: 100%;
  height: auto;
  display: block;
}

.nisimura{
  padding-left: 2rem;
}

.box p {
  margin: 0 0 1.4em;
  line-height: 1.8;
  font-size: 1.6em;
}

.box::after {
  content: "";
  display: block;
  clear: both;
}

#itembg{
  background: url(/products/domestic/img/gladius/bg.jpg) no-repeat center;
  padding:1rem;
}

#kondo{
  background: url(/products/domestic/img/gladius/kondo_bg.jpg) no-repeat center;
  padding:1rem;
}

#kondo h6{
  color:#fff;
  border-style: none;
}

#kondo p{
  color:#fff;
}

.training-row{
  display: grid;
  grid-template-columns: 1fr 250px;
  column-gap: 20px;
  align-items: start;
}
/*
.training-text h6,.training-text2 h6 {
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #999;
}
*/
.training-text p,.training-text2 p {
  font-size: 1.6rem;
  margin: 0;
  line-height: 1.8;
}

.training-row figure,.training-row2 figure {
  margin: 0;
}

.training-row img,.training-row2 img {
  width: 100%;
  height: auto;
  display: block;
}

.training-row2 {
  display: float;
  grid-template-columns: 1fr 250px;
  column-gap: 20px;
  align-items: start;
}

#nayami{
  background: url(/products/domestic/img/gladius/checkbg.png) no-repeat center;
}

#nayami h5{
  color:#fff;
  display: block;
  margin-block-start: 0;
  margin-block-end: 0;
  margin: 0;
  padding-top: 80px;
}

#nayami h5 span{color:#fbe68d;}

ul.normal li{
  list-style-type: none;
  font-size: 1.6rem;
  margin-block-start: 1em;
  margin-block-end: 1em;
  line-height:1.6em;
  font-weight: 700;
}

ul.check {
  display: block;
  text-align: center;
  list-style: none;
  padding: 2em 4em 11em;
  margin: 0 auto;
  max-width:940px
}

.check li {
  position: relative;
  padding-left: 60px; /* アイコン分の余白 */
  font-weight: bold;
  font-size: 2rem;
  line-height:2.8em;
  text-align: left;
  color:#fff;
}

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em; /* 縦位置調整 */
  width: 55px;
  height: 48px;
  background: url("/products/domestic/img/gladius/check.png") no-repeat center / contain;
}

.kanshu {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  align-items: start;
  background-color: #e5e5e5;
  padding:60px;
  clip-path:polygon(
    2.5% 0,
    95% 1%,
    98.5% 100%,
    5% 99%
  );
}

.kanshu-text{
  padding:1rem;
}

.kanshu-text h6 {
  margin: 20px 0 30px;
  font-size: 24px;
  line-height: 1.4;
  text-align: left;
}
.inner2 h6{
  text-align: right;
  margin: 20px 0 30px;
  font-size: 24px;
  line-height: 1.4;
}


.keireki2 h6{
  text-align: center;
}


.kanshu-text h6 span,.inner2 h6 span {
    font-weight: bold;
    font-size: 2.4em;
    line-height:1.5em;
}

.kanshu-text h6 .si,.inner2 h6 .si {
    font-weight: bold;
    font-size: 1.6em;
    line-height:1.5em;
}

.kanshu-text p{
    font-size: 1.6em;
    margin-block-start: 2em;
    margin-block-end: 2em;
    line-height:1.4em;
}

.keireki p {
    font-size: 1.6em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    line-height:1.4em;
}

.kanshu-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.kanshu-images figure:last-child {
  margin: 0 auto;
}

.kanshu-images figure {
  margin: 0;
}

.kanshu-images img {
  width: 350px;
  display: block;
  padding-left:2rem;
}

.marginimg {
  padding-bottom: 2rem;
  text-align: center;
}
.marginimg a span{
  width:280px;
  line-height: 1.5rem;
  display: block;
  color:#00255a;
}
.marginimg img {
  width: 280px;
  display: block;
}

.keireki{
/*  border: 3px solid #fcd060;*/
  padding:2.5rem;
  grid-column: 1 / -1;
  background-color: #00255a;
  color:#fff;
  margin:0 2rem;
  box-shadow: inset 0px 0px 20px 10px rgba(215, 242, 255, 0.6); /* 内側の光彩（白） */
}

.keireki2{
  border: 3px solid #fff;
  padding:1rem 0.5rem;
}

#kaihuku {
  background-color: #00255a;
}
.base{
  background-color: #00255a;
  clip-path: polygon(
        0 0,
        100% 0,
        100% 78%,
        50% 96%,
        0 78%
    );
}

.base h3{
  color:#fff;
    font-size: 2.6em;
    margin-block-start: 0em;
    margin-block-end: 0em;
    line-height:1.6em;
    padding:3rem 0;
}
.base h3 span{
  color:#f6c805;
}
.haigo .items {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 40px;
}

.haigo .item {
  width: 48%;
  text-align: center;
}

.haigo .item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.haigo .item:first-child img {
  max-width: 400px;
}

.haigo .item:last-child img {
  max-width: 550px;
}

.haigo .item p {
  margin: 0;
    margin: 0 0 1.4em;
    line-height: 1.8;
    font-size: 1.6em;
}

.haigo .item span {
  display: block;
  font-size: 28px;
  font-weight: bold;
}

#voice h6,#voice .inner h6,.voice h6{
  background-color:#00255a;
  color: #fff;
  padding:1.5em auto;
  display:block;
}
.voice-item h6{
  width:100%;
  padding:0.5em 1rem;
}

.point_riyou{
  color:#2984ff;
  text-align: center;
  font-size: 2.2rem;
}

#howto .answer{
  border:1px solid #2984ff;
  padding: 2rem;
  margin-bottom: 5rem;
}

#howto p{
  margin: 0;
    line-height: 1.8;
    font-size: 1.6em;
}




/* table */
.table-border {
  width: 100%;
  border-bottom: 1px solid #cdcdcd;
}
.table-border th {
  width: 220px; /* 幅固定すると安定 */
  text-align: left;
  vertical-align: middle;
  text-align: justify;
  text-align-last: justify;
  font-size: 1.8rem;
  line-height: 1.8;
  color: #5c698a;
  padding: 10px 40px;
  background-color: #f8faff;
  border-top: 1px solid #cdcdcd;
}
.table-border td {
  font-size: 1.8rem;
  padding: 10px 20px;
  line-height: 1.8;
  border-top: 1px solid #cdcdcd;
}

.cf {
  display: flex;
  justify-content: flex-start; /* ←これに変更 */
  gap: 30px;
}

.cf .table-border th {
  width: 350px; /* 幅固定すると安定 */
  text-align: left;
  vertical-align: middle;
  text-align: justify;
  text-align-last: justify;
}

.mark{
  padding: 1em 2em 2em;
  display: block;
}

.mark li{
  font-size: 1.8rem;
  list-style-type:disc;
  line-height: 1.8;
}

/* button */
.btn-primary {
  display: block;
  margin: 0 auto;
  padding: 25px 0;
  border: 3px solid #0071bb;
  border-radius: 20px;
  background-color: #f4fbff;
  color: #0071bb;
  font-size: 28px;
  font-weight: bold;
  font-family : YuMincho, '游明朝', serif;
  text-align: center;
}
.btn-primary:hover {
  color: #0071bb;
}


/* mv */
.mv {
  display: table;
  background-color: #dfe6f0;
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}
.mv .wrapper{
  display: table;
  padding-left: 40px;
}
#cover {
    width: 940px;
    height: 521px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
#cover>div {
    position: absolute;
    top: 0;
    opacity: 0;
}



/*----------------------------------------------------------
  Header
----------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  z-index: 10000;
}

.header-inner {
  height: 80px;

  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.side-nav {
  position: fixed;
  top: 0;
  right: -320px;

  width: 320px;
  height: 100vh;

  z-index: 10000;

  transition: right 0.3s ease;
}

.side-nav.is-open {
  right: 0;
}
.nav-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,.4);

  opacity: 0;
  visibility: hidden;

  transition: .3s;

  z-index: 9998;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}



header .wrapper {
  padding: 0px 0 5px 20px;
  position: relative;
  box-sizing: border-box;
}
    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      background: #00255a;
      font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    }

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

    /* ヘッダー全体 */
    .header {
      width: 100%;
      display: flex;
      justify-content: center;
    }

    .header-inner {
      width: min(100%);
      height: 52px;
      background: linear-gradient(180deg, #002063 0%, #00143f 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 0 14px;
    }

    .logo {
      color: #fcd060;
      font-size: 18px;
      font-weight: 800;
      line-height: 1;
      letter-spacing: 0.03em;
      text-shadow: 0 0 6px rgba(252, 208, 96, 0.45);
      text-align: center;
      pointer-events: none;
    }

    /* ハンバーガー */
html {
  scroll-behavior: smooth;
}

#features,
#developer,
#voice,
#howto {
  scroll-margin-top: 90px;
}

/* ハンバーガー */
.hamburger {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 110;
}

.hamburger-line {
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
  transform-origin: center;
}

.hamburger-line.line1 { top: 2px; }
.hamburger-line.line2 { top: 12px; }
.hamburger-line.line3 { top: 22px; }

/* オーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 99;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ナビ本体 */
.side-nav {
  position: fixed;
  top: 96px;
  right: 72px;
  width: 300px;
  height: 400px;
  background: linear-gradient(180deg, #002063 0%, #00143f 100%);
  box-shadow: -8px 12px 30px rgba(0, 0, 0, 0.28);
  z-index: 100;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(40px);
}

.side-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.side-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.side-nav li {
  flex: 1;
  border-bottom: 1px solid rgba(252, 208, 96, 0.35);
}

.side-nav li:last-child {
  border-bottom: none;
}

.side-nav a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #fcd060;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgba(252, 208, 96, 0.45);
  background: transparent;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    text-shadow 0.25s ease;
}

.side-nav a:hover {
  background: rgba(252, 208, 96, 0.1);
}

.side-nav a.active {
  background: #fcd060;
  color: #002063;
  text-shadow: none;
}

.side-nav a.active:hover {
  background: #fcd060;
  color: #002063;
}

@media (max-width: 768px) {
  .header {
    padding-top: 12px;
  }

  .header-inner {
    height: 64px;
  }

  .logo {
    font-size: 14px;
    padding: 0 60px 0 16px;
  }

  .hamburger {
    right: 16px;
    width: 32px;

  }

  .side-nav {
    top: 76px;
    right: 16px;
    width: calc(100vw - 32px);
    max-width: 300px;
    height: 400px;
  }
}
/*ハンバーガーend*/

/*----------------------------------------------------------
  Footer
----------------------------------------------------------*/
footer {
  background-color: #94a0be;
  color: #fff;
  font-family: "KozGoPro-Light", "小塚ゴシック Pro L", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}
.footer-inner {
  display: table;
  padding: 10px 0;
}
.privacypolicy {
  display: table-cell;
  width: 50%;
}
.privacypolicy a {
  color: #fff;
}
.copyright {
  display: table-cell;
  width: 50%;
  text-align: right;
}





/*----------------------------------------------------------
  LP
----------------------------------------------------------*/
body
{
        min-width:1200px;
}

#lp_mainVisual{
	background-color: #e5e5e5;
	}
#lp_mainVisual #mv_tit {
	width:1200px;
	margin: 0 auto;
  padding-top: 2em;
  padding-bottom: 2em;
  display: block;
	}

#lp_mainVisual #mv_tit img{
  width: 100%;
  text-align: center;
  padding-top: 2em;
}
	
#lp_mainVisual #mv_txt {
	position:absolute;
	background-color: rgba(0,0,0,0.8);
	bottom:0;
	color:#FFF;
	text-align:center;
	width:100%;
	padding:1% 0;
}

#lp_mainVisual #mv_txt .inr {
	margin:0 auto;
	width:980px;
}

body.fixed #lp_mainVisual {margin-bottom: 102px;}



#gladius .inner{
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	padding: 20px 40px 80px 40px;
  background-color: #fff;
}
#gladius .inner2{
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	padding: 80px 40px;
}


.pagetop {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
}

.pagetop img{
  transition: 0.3s;
}

.pagetop:hover img{
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.9))
          drop-shadow(0 0 20px rgba(255,255,255,0.6));
}

.none{
  margin: 0;
  padding: 0;
}
.none img{
  display:block;
}

#features,#developer,#tablet,#howto{
	background: url(/products/domestic/img/gladius/bg.jpg) repeat-y center;
	background-size: cover;
	position:relative;
	}
#features h4{
  padding-top:0;
  margin-top: 0;
}
/*----------------------------------------------------------
  監修
----------------------------------------------------------*/
.science{
  background:url(/products/domestic/img/gladius/bg2.png) no-repeat center top;
  background-size:cover;
}

.science-inner{
  max-width:1200px;
  margin:0 auto;
}

/* 上のコピー */
.science-copy{
  text-align:center;
  padding:60px 20px;
}

.science-copy p{
  display:inline-block;
  padding:20px 40px;
  color:#fff;
  font-size:2.2rem;
  font-weight:700;
  line-height:1.8;
}

.science-copy span{
  color:#f7d24c;
}

/* 下の帯 */
.science-title{
  background:#1f3278;
  color:#fff;
  text-align:center;
  font-size:2.6rem;
  font-weight:800;
  line-height:1.2;
  padding:80px 20px;

  clip-path:polygon(
    0 30%,
    100% 0,
    100% 70%,
    0 100%
  );
}
@media (max-width:768px){

  .science-copy{
    padding:20px 0px;
  }

  .science-copy p{
    font-size:1.4rem;
    padding:0px;
    line-height: 2rem;
  }

  .science-title{
    font-size:1.8rem;
    padding:50px 0px;
  }

}


/*----------------------------------------------------------
  よろこびの声
----------------------------------------------------------*/
.voice .voice-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 10px;
}

.voice .voice-item {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
}

.voice .voice-item img {
  width: 100%;
  max-width: 230px;
  display: block;
  margin: 0 auto 8px;
}


.voice-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}

.voice-item span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}



/* ポップアップ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10003;
  background: rgba(0, 0, 0, 0.4);
}

.modal.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  width: 1100px;
  max-width: calc(100% - 40px);
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 8px gray;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: none;
  font-size: 32px;
  cursor: pointer;
}

.modal-content h6 {
  text-align: center;
  margin: 0 0 30px;
  color:#636363;
}

.modal-content h6 span{
  font-size: 1.4rem;
}

.modal-body {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
}

.modal-body img {
  width: 300px;
  display: block;
  border-radius: 3px;
}

.modal-body table{
  background-color: #ededf5;
  display: block;
  padding:2rem;
  border-radius: 5rem;
}

.modal-body table tr th,.modal-body table tr td {
  margin: 0;
  line-height: 2;
  text-align: left;
}

.modal-body table tr.border{
  border-bottom: #bebebe solid 2px;
  padding:0.5rem 1rem;
  display: block;
}
.modal-body table tr{
  padding:0.5rem 1rem;
  display: block;
}


.modal-body table tr.border th,.modal-body table tr.border td{
  font-weight: 500;
  color: #333333;
}
.modal-body table tr th{
  font-weight: normal;
  min-width: 120px;
}
.modal-body table tr.border td{
  padding-left: 1em;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal.is-active .modal-content {
  transform: translateY(0);
  opacity: 1;
}





/*--------------------------------------
商品概要
----------------------------------------*/
.gaiyou{
  background:url(/products/domestic/img/gladius/gaiyou.png) no-repeat center top;
  background-size:cover;
  color:#fff;
  padding:8rem 0;
  color:#fff;

}



/*--------------------------------------
CV
----------------------------------------*/
.purchase-list {
  display: flex;
  justify-content: center;
  gap: 20px;

  padding: 0 0 20px;
  margin: 20px 0px 0px;

  list-style: none;
}
.purchase-list_item {
  width: 300px;
}
.purchase-list_item img {
  max-width: 260px;
  width: 100%;
  height: auto;

  display: block;
}


/*--------------------------------------
フッター固定
----------------------------------------*/
#purchaseFixed {
  position: relative;
  width: 100%;
  box-sizing: border-box; /* 幅に余白を含める */
}

#purchaseFixed.fixed {
  position: fixed !important;
  left: 50%;
  bottom: 0px !important;
  transform: translateX(-50%) !important;
  width: 100%; /* サイド余白をなくす */
  max-width: 100%; /* サイド余白をなくす */
  z-index: 9998;
  transition: all .3s ease;
  background: linear-gradient(180deg, #002063 0%, #00143f 100%);
  padding: 1rem auto;
  margin-bottom: 0; /* 下の余白をなくす */
}



/*----------------------------------
 スマホ
 PC側は触らず、ここで上書きする
-----------------------------------*/
@media (max-width: 768px) {

  /* 横幅はここで必ず解除 */
  html,
  body {
    width: 100%;
    min-width: 0 !important;
    overflow-x: hidden;
  }

  body {
    font-size: 14px;
  }

  #gladius {
    width: 100%;
    min-width: 0 !important;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }



  /* メインビジュアル */
  #lp_mainVisual {
    width: 100%;
    overflow: hidden;
  }

  #lp_mainVisual #mv_tit {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0;
  }

  #lp_mainVisual #mv_tit img {
    display: block;
    width: 100%;
    padding-top: 0;
  }

  #features h4{
  padding-bottom: 0;
  margin-bottom: 0;
}

  /* 中身の横幅 */
  #gladius .inner,
  #gladius .inner2,
  .science-inner {
    width: 100%;
    max-width: 100%;
	  padding: 10px;
  /*  padding-left: 10px;
    padding-right: 10px;*/
  }

  #gladius .inner {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  #gladius .inner2 {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  h3 {
    font-size: 1.6rem;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
  }
  h3 span{
    font-size: 1.2rem;
  }
  h4 {
    font-size: 1.5rem;
    margin-block-start: 0.85em;
    margin-block-end: 0.85em;
    line-height: 1.4em;
}

  h5 {
    font-size: 1.4rem;
  }

  h6 {
    font-size: 1.2rem;
  }

  .large {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-block-start: 1.5em;
    margin-block-end: 1.5em;
  }

  .mid,
  .mid2 {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .mid2 {
    text-align: center;
  }

  /*----------------------------------
   スマホ用ナビゲーション
  -----------------------------------*/
  .header {
    top: 0;
    bottom: auto;
    padding-top: 0;
  }

  .header-inner {
    height: 52px;
  }

  .logo {
    font-size: 13px;
    padding: 0 54px 0 12px;
  }

  .hamburger {
    position: fixed;
    right: 10px;
    left: auto;
    top: 10px;
    bottom: auto;
    transform: none;
    width: 54px;
    height: 54px;
    z-index: 10001;
   background:linear-gradient(180deg, #002063 0%, #00143f 100%);
  }

  .hamburger-line {
    position: absolute;
    left: 14px;
    width: 28px;
    height: 2px;
  }

  .hamburger-line.line1 { top: 18px; }
  .hamburger-line.line2 { top: 27px; }
  .hamburger-line.line3 { top: 36px; }

  .side-nav {
    position: fixed;
    left: 50%;
    right: auto;
    top: auto;
    top: 90px;
    width: 90vw !important;
    max-width: none !important;
    height: auto;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s ease;
    z-index: 10002;
  }

  .side-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .side-nav ul {
    height: auto;
  }

  .side-nav li {
    flex: none;
  }

  .side-nav a {
    min-height: 54px;
    padding: 16px 0;
    font-size: 18px;
  }

  /*----------------------------------
   POINTまわり
  -----------------------------------*/
  .point,
  .point2 {
    display: block;
    text-align: center;
    margin-top: 1em;
  }

  .point p,
  .point2 p {
    margin: 0 0 20px;
    text-align: center;
  }

  .point p img,
  .point2 p img {
    display: block;
    height: auto;
    max-height: 100px;
    width: auto;
    margin: 0 auto;
  }

  .point2 {
    display: block !important;
    width: 100%;
  }

  .point2 p {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .point2 p.choice img {
    display: block;
    width: 80%;
    height:80%;
    max-width: 300px;
    max-height: 400px;
    margin: 0.5rem auto;
  }


  .point-title {
    display: block;
    text-align: center;
    font-size: 1.6rem;
  }

  .point-title .line,
  .point h4 {
    display: inline-block;
    text-align: center;
  }

  /*----------------------------------
   画像＋本文ブロック
  -----------------------------------*/
  .box,
  .box-sleep,
  .training-row,
  .training-row2 {
    display: block;
  }

  .box figure,
  .box figure.left,
  .box-sleep figure.left,
  .training-row figure,
  .training-row2 figure {
    float: none;
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    padding-bottom: 0;
  }

  .box h6,
  .box-sleep h6,
  .training-text h6,
  .training-text2 h6 {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }

  .box p,
  .training-text p,
  .training-text2 p {
    font-size: 1.25rem;
    line-height: 1.8;
  }

  ul.normal li {
    list-style-type: none;
    font-size: 1.2rem;
    margin-block-start: 0.65em;
    margin-block-end: 0.65em;
    line-height: 1.4em;
    font-weight: 700;
}

  .nisimura {
    padding-left: 0;
  }

  /* 悩みチェック */
  #nayami {
    background-size: cover;
  }

  #nayami h5 {
    padding: 50px 10px 0;
  }

  ul.check {
    padding: 1.5em 1em 3em;
  }

  .check li {
    font-size: 1.2rem;
    line-height: 1.4;
    padding-left: 45px;
    padding-bottom: 1rem;
  }

  .check li::before {
    width: 36px;
    height: 32px;
    top: .35em;
  }


  /* 監修 */
  .kanshu {
    display: block;
    padding: 10px 5px;
    clip-path: none;
  }

  .kanshu-text,
  .keireki {
    padding: 0.5rem;
  }

  .kanshu-text h6,
  .inner2 h6 {
    text-align: center;
    font-size: 20px;
  }

  .kanshu-text h6 span,
  .inner2 h6 span {
    font-size: 2em;
  }

  .kanshu-text p,
  .keireki p {
    font-size: 1.2rem;
    line-height: 1.7;
  }

  .kanshu-images img {
    width: 100%;
    max-width: 300px;
    padding: 0.5rem;
  }

  .marginimg img,
  .marginimg a span {
    margin: 0 auto;
  }

  .keireki,.keireki2 {
    margin: 0;
  }
  .keireki2 h6 {
    margin: 0;
  }

  /* 配合 */
  .base h3 {
    font-size: 1.8rem;
    padding: 2rem 1rem;
  }

  blockquote {
      display: block;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0px;
      margin-inline-end: 0px;
      unicode-bidi: isolate;
  }

  .haigo .items {
    display: block;
  }

  .haigo .item {
    width: 100%;
    margin-bottom: 30px;
  }

  .haigo .item p {
    font-size: 1.25rem;
  }

  .haigo .item span {
    font-size: 22px;
  }

  /* よろこびの声 */
  .voice .voice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .voice .voice-item img {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .voice-item span {
    font-size: .95rem;
  }

  /* モーダル */
  .modal-content {
    width: calc(100% - 30px);
    max-height: 88vh;
    overflow-y: auto;
    padding: 24px 8px;
  }

  .modal-body {
    display: block;
  }

  .modal-body img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 20px;
  }

  .modal-body table {
    padding: 0.8rem 0;
    border-radius: 2rem;
  }

  /* テーブル */
  .cf {
    display: block;
  }

  .cf .table-border {
    margin-bottom: 30px;
  }

  .table-border,
  .table-border tbody,
  .table-border tr,
  .table-border th,
  .table-border td {
    display: block;
    width: 100% !important;
  }

  .modal-body table tr.border {
    padding: 0.5rem;
  }


  .table-border th {
    text-align: left;
    text-align-last: auto;
    padding: 12px 16px;
    font-size: 1.2rem;
  }

  .table-border td {
    padding: 14px 16px 18px;
    font-size: 1.15rem;
  }

  .mark {
    padding: 1em 1.5em 2em;
  }

  .mark li {
    font-size: 1.2rem;
  }

  /* お召し上がり方 */
  #howto p {
    font-size: 1.25rem;
  }

  #howto .answer {
    padding: 1.5rem;
  }

  /* 商品概要 */
  .gaiyou {
    padding: 5rem 0;
  }

  /* 固定購入ボタン：PCで苦労した動きは残し、スマホだけサイズ調整 */
  #purchaseFixed.fixed {
    width: 100%;
    max-width: 100%;
    bottom: 0 !important;
  }

  #purchaseFixed.fixed .purchase-list,
  .purchase-list {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    margin: 0;
  }

  .purchase-list_item,
  .purchase-list__item {
    width: 50%;
  }

  .purchase-list_item img,
  .purchase-list__item img {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }

}
/*フッターCV　タブレット・ノート用*/
@media (min-width: 769px) and (max-width: 1300px) {
  #purchaseFixed.fixed {
    height: 44px;
    overflow: hidden;
    transition: height .3s ease;
  }

  #purchaseFixed.fixed:hover {
    height: 120px;
  }

  #purchaseFixed.fixed .purchase-list {
    padding: 8px 0;
    gap: 16px;
  }

  #purchaseFixed.fixed .purchase-list_item {
    width: 260px;
  }

  #purchaseFixed.fixed .purchase-list_item img {
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .header {
    height: 64px;
  }

  .header-inner {
    height: 64px;
  }

  #lp_mainVisual {
    margin-top: 0;
  }

  #purchaseFixed{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    background:#002063;
    padding:10px 12px;
    z-index:10004;
    box-sizing:border-box;

    opacity:0;
    visibility:hidden;
    transform:translateY(100%);
    transition:.3s ease;
  }

  #purchaseFixed.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  #purchaseFixed .purchase-list{
    display:flex !important;
    justify-content:center;
    gap:10px;
    margin:0;
    padding:0;
  }

  #purchaseFixed .purchase-list__item,
  #purchaseFixed .purchase-list_item{
    width:45%;
    max-width:180px;
  }

  #purchaseFixed img{
    display:block;
    width:100%;
    height:auto;
  }

  body{
    padding-bottom:80px;
  }
  .pagetop {
      display: none;
      position: fixed;
      bottom: 60px;
      right: 10px;
      z-index: 9999;
  }

.pagetop img{
  transition: 0.3s;
}

.pagetop:hover img{
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.9))
          drop-shadow(0 0 20px rgba(255,255,255,0.6));
}

}