@charset "UTF-8";
.l_wrapper {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
}

.l_w100 {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}

.l_postbody {
  margin-top: var(--margin-section-lg);
}

.stack {
  max-width: 768px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.l_card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--margin-md);
  padding: 0 var(--margin-md);
}

@media (max-width: 450px) {
  .l_card-wrapper {
    display: grid;
    grid-template-columns: auto;
  }
}
:root {
  /*===================
  					色
  =================== */
  --color_main:#009FE6;
  --color_main-20:#DAECFA;
  --color_main-dark: #00548A;
  --color_accent: #FFF000;
  /*===================
  				フォント
  =================== */
  /* 基本フォントサイズ */
  --font-size-xs: 12px; /* 極小 */
  --font-size-sm: clamp(12px, 1.6vw, 14px);
  --font-size-md: clamp(14px, 2vw, 16px);
  --font-size-lg: clamp(18px, 2.4vw, 20px);
  --font-size-xl: 24px; /* 特大 */
  --font-size-xxl: 32px; /* 超特大 */
  /* 見出し用フォントサイズ */
  --font-size-heading-sm: 20px;
  --font-size-heading-md: clamp(18px, 3.5vw, 24px);
  --font-size-heading-lg: clamp(22px, 4vw, 32px);
  --font-size-heading-xl: 40px;
  /* モバイル用フォントサイズ */
  --font-size-mobile-sm: 12px;
  --font-size-mobile-md: 14px;
  --font-size-mobile-lg: 16px;
  /*===================
  			マージン
  =================== */
  /* 基本マージンサイズ */
  --margin-xs: 4px;
  --margin-sm: clamp(6px, 1vw, 8px);
  --margin-md: clamp(14px, 2vw, 16px);
  --margin-lg: clamp(20px, 2.5vw, 24px);
  --margin-xl: 32px;
  /* セクション用マージン */
  --margin-section-sm: clamp(20px, 5vw, 40px);
  --margin-section-md: 60px;
  --margin-section-lg: clamp(40px, 10vw, 80px);
  /* 要素間の間隔 (スペーシング) */
  --margin-inline-xs: 4px; /* インライン方向 (左右) */
  --margin-inline-md: 16px;
  --margin-block-md: 16px; /* ブロック方向 (上下) */
  /* 特定の用途 */
  --margin-button: 8px 16px; /* ボタン用 */
  --margin-card: 16px;
  --margin-container: 32px;
  /*===================
  			角丸
  =================== */
  --border-radius-sm: clamp(6px, 1vw, 8px);
  --border-radius-md: clamp(14px, 2vw, 16px);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color_main-20);
  font-size: var(--font-size-md);
  line-height: 1.5;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
}

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

h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-heading-lg);
  color: var(--color_main-dark);
  fill: var(--color_main-dark);
}

h2 .logo_Mathniques {
  width: clamp(200px, 35vw, 300px);
  height: 50px;
  margin-right: 4px;
}

h3 {
  font-size: var(--font-size-heading-md);
}

.c-komidashi {
  background-color: var(--color_main);
  color: #fff;
  padding: calc(var(--font-size-xs) / 2) var(--font-size-lg);
}

.btn_link {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  background-color: var(--color_main);
  color: var(--color_accent);
  font-weight: 600;
  margin: 0 auto;
  border-radius: 9999px;
  padding: var(--margin-sm) var(--margin-lg);
}

.btn_contact {
  opacity: 0;
  width: clamp(88px, 16vw, 128px);
  position: fixed;
  right: 0;
  bottom: clamp(88px, 16vw, 128px);
  z-index: 10;
  transition: opacity 0.5s, bottom 0.3s ease;
}

.btn_contact.block {
  opacity: 1;
}

.inview-blur {
  opacity: 0;
  transition: transform 0.5s linear;
  animation-duration: 1.5s;
  animation-fill-mode: both;
}

.blur {
  animation-name: imageBlur;
  opacity: 1;
  transition: 0.5s;
}
@keyframes imageBlur {
  from {
    opacity: 0;
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }
  to {
    opacity: 1;
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
}
.mainvisual {
  position: relative;
  display: grid;
  place-items: center;
  height: 90svh;
  background-color: #fff;
}

.hiro_bg {
  max-width: 1280px;
  width: 80%;
  position: absolute;
}

.hiro_bg.left {
  top: 0;
  left: 0;
}

.hiro_bg.right {
  bottom: 0;
  right: 0;
}

.hiro-title_wrapper {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto min(45vw, 400px) auto;
  margin: 0 auto;
  place-items: center;
  gap: var(--margin-lg);
}
@media (max-height: 600px) {
  .hiro-title_wrapper {
    align-items: center;
    gap: 2vw;
  }
}

.hiro-title {
  max-width: 400px;
  width: 100%;
}

.title_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.title_inner.left {
  margin-top: -15%;
}

.title_inner.right {
  margin-top: -50%;
}

@media (max-height: 600px) {
  .title_inner.left, .title_inner.right {
    margin-top: 0;
  }
}
.title_inner.left > .speechBubble::after {
  translate: -50% 100%;
  transform: skew(50deg);
  transform-origin: top;
}

.title_inner.left > .speechBubble:nth-child(2) {
  left: -20%;
}

.title_inner.right > .speechBubble:nth-child(2) {
  right: -20%;
}

.title_inner.right > .speechBubble::after {
  translate: 50% 100%;
  transform: skew(-20deg);
  transform-origin: top;
}

.title_inner.middle {
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.speechBubble {
  position: relative;
  display: inline-block;
  padding: var(--margin-md);
  border-radius: var(--border-radius-sm);
  background-color: var(--color_main-dark);
  text-align: left;
  font-size: clamp(12px, 2vw, 16px);
  line-height: 1.3;
  color: var(--color_accent);
  white-space: nowrap;
}

.speechBubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: var(--font-size-sm) var(--font-size-sm) 0 0;
  border-color: var(--color_main-dark) transparent transparent;
  translate: -50% 100%;
  transform: skew(50deg);
  transform-origin: top;
}

.speechBubble.color-light {
  background-color: var(--color_main);
}

.speechBubble.color-light::after {
  border-color: var(--color_main) transparent transparent;
}

.hiro_btm {
  position: absolute;
  bottom: 0;
  z-index: 10;
  background-color: var(--color_main-20);
  width: 50%;
  height: 10%;
  border-bottom: 1px solid var(--color_main-20);
}

.hiro_btm.left {
  left: 0;
  -webkit-clip-path: polygon(0 0, 0% 100%, 100% 100%);
          clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.hiro_btm.right {
  right: 0;
  -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
          clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.scroll {
  position: absolute;
  font-size: 13px;
  bottom: 80px;
  color: var(--color_main-dark);
  transform: translateX(-50%) translateY(-50%);
  writing-mode: vertical-rl;
  left: auto;
  right: 0;
}

.scroll::after {
  content: "";
  display: inline-block;
  position: absolute;
  background-color: var(--color_main-dark);
  right: 50%;
  bottom: -90px;
  transform: translateX(-50%);
  width: 1px;
  height: 70px;
  animation: scroll 1.5s infinite;
}
@media (max-height: 600px) {
  .scroll::after {
    bottom: -50px;
    height: 40px;
  }
}
@media (max-height: 450px) {
  .scroll::after {
    bottom: -90px;
    height: 70px;
  }
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
/*
==================================
タブレット以下タイトル縦
==================================
*/
@media (max-width: 767px) {
  .hiro-title_wrapper {
    grid-template-columns: initial;
    grid-template-rows: 1fr auto 1fr;
    gap: var(--margin-lg);
  }
  .hiro-title {
    max-width: 350px;
    width: 80%;
  }
  .title_inner {
    flex-direction: row;
    gap: var(--margin-md);
    justify-content: center;
  }
  .title_inner.left {
    margin-top: 0;
  }
  .title_inner.right {
    margin-top: 0;
  }
  .speechBubble {
    font-size: min(3vw, 14px);
    padding: min(3vw, 14px);
  }
  .title_inner.left > .speechBubble:nth-child(2) {
    left: 0;
  }
  .title_inner.right > .speechBubble:nth-child(2) {
    right: 0;
  }
  .title_inner.left > .speechBubble:nth-child(3)::after {
    translate: 50% 100%;
    transform: skew(-20deg);
    transform-origin: top;
  }
  .title_inner.right > .speechBubble::after {
    bottom: auto;
    top: 0;
    left: 50%;
    border-style: solid;
    border-width: var(--font-size-sm) var(--font-size-sm) 0 0;
    border-color: transparent var(--color_main-dark) transparent;
    translate: -50% -100%;
    transform: skew(-50%);
    transform-origin: top;
  }
  .title_inner.right > .speechBubble:nth-child(1)::after {
    border-color: transparent var(--color_main) transparent;
  }
  .title_inner.right > .speechBubble:nth-child(2)::after {
    transform: skew(50deg);
  }
  .scroll {
    writing-mode: vertical-rl;
    left: auto;
    right: 0;
    bottom: 80px;
  }
}
/*
==================================
デバイス横向き（）
==================================
*/
@media (orientation: landscape) and (max-width: 767px) {
  .hiro-title_wrapper {
    display: grid;
    grid-template-columns: auto min(45vw, 600px) auto;
    grid-template-rows: inherit;
    margin: 0 auto;
    place-items: center;
    gap: var(--margin-lg);
  }
}
@media (orientation: landscape) and (max-width: 767px) and (max-height: 600px) {
  .hiro-title_wrapper {
    align-items: center;
    gap: 2vw;
  }
}
@media (orientation: landscape) and (max-width: 767px) {
  .title_inner {
    flex-direction: column;
    gap: var(--margin-md);
    justify-content: center;
  }
  .title_inner.right > .speechBubble::after {
    top: auto;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: var(--font-size-sm) var(--font-size-sm) 0 0;
    border-color: var(--color_main-dark) transparent transparent;
    translate: -50% 100%;
    transform: skew(-50%);
    transform-origin: top;
  }
  .title_inner.left > .speechBubble:nth-child(3)::after {
    translate: -50% 100%;
    transform: skew(50deg);
  }
  .title_inner.right > .speechBubble:nth-child(1)::after {
    top: auto;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: var(--font-size-sm) var(--font-size-sm) 0 0;
    border-color: var(--color_main) transparent transparent;
    translate: -50% 100%;
    transform: skew(-50%);
    transform-origin: top;
  }
  .title_inner.right > .speechBubble:nth-child(2)::after {
    translate: -100% 100%;
    transform: skew(-20deg);
    transform-origin: top;
    border-color: var(--color_main-dark) transparent transparent;
  }
}
#popup {
  position: fixed;
  left: 50%;
  bottom: -100%; /* 最初は画面外に隠す */
  transform: translateX(-50%);
  width: auto;
  max-width: 400px;
  width: 70%;
  z-index: 9999;
  opacity: 0;
  transition: all 0.6s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

#popup.show {
  opacity: 1;
  pointer-events: auto;
  bottom: 20px;
}

#popup.sticky {
  left: 20px;
  bottom: 20px;
  transform: none;
  width: 65%;
  max-width: 400px;
  transform: none;
}

#popup.visible {
  opacity: 1;
  pointer-events: auto;
}

#popup.invisible {
  opacity: 0;
  pointer-events: none;
}

.stack > * + * {
  margin-top: var(--stack-dpsce, 1.5em);
}

.stack h2,
.stack h3 {
  --stack-space: 2em;
}

.stack h2 + *,
.stack h3 + * {
  --stack-space: .8em;
}

.c-komidashi + * {
  margin-top: var(--stack-dpsce, 1em);
}

.stack p {
  line-height: 1.8;
}

.stack ul {
  padding: revert;
  list-style: revert;
}

.stack ul.c-text-list__nomal {
  padding: 0;
  padding-left: 1.5em;
  list-style: revert;
}

.c-text-bgcolor__yellow {
  display: inline-block;
  background-color: var(--color_accent);
  padding: 0.2em 0.5em;
  margin: 0 0.3em;
  line-height: 1;
}

.c-text-border__under--blue {
  border-bottom: 2px solid var(--color_main);
}

.c-text_link {
  color: var(--color_main);
  border-bottom: 2px solid var(--color_main);
}

.l_postbody:nth-of-type(1) > .stack > h2 {
  color: var(--color_main-dark);
  fill: var(--color_main-dark);
}

.l_postbody:nth-of-type(2) {
  background-color: var(--color_main-dark);
  padding: var(--margin-section-lg) 0;
  margin-top: var(--margin-section-lg);
}

.l_postbody:nth-of-type(2) > .stack > h2 {
  color: #fff;
  fill: #fff;
}

.l_postbody:nth-of-type(2) > .stack > ul {
  color: #fff;
  margin-left: calc(var(--margin-sm) * -1);
}

.l_postbody:nth-of-type(2) > .stack > ul > li > h3 {
  display: flex;
  color: var(--color_accent);
  padding-left: calc(var(--font-size-heading-md) * -1);
  text-indent: calc(var(--font-size-heading-md) * -1);
  margin-left: calc(var(--font-size-md) * -1);
}

.l_postbody:nth-of-type(5) {
  background-color: #e0e0e0;
  padding: var(--margin-section-lg) 0;
  margin-top: var(--margin-section-lg);
}

.l_postbody:nth-of-type(6) {
  background-color: #fff;
  padding: var(--margin-section-lg) 0;
  margin-top: 0;
}

.list-title {
  list-style: none !important;
  margin-top: var(--margin-md) !important;
}

.card {
  background-color: var(--color_main);
  border-radius: var(--border-radius-md);
  padding: var(--margin-md);
  color: #fff;
}

.card p {
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  padding: var(--margin-md);
}

@media (max-width: 768px) {
  .card p {
    padding: 0;
    margin-top: var(--margin-md);
  }
}
.card h3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card img {
  width: 80%;
  margin: 0 auto;
  margin-top: var(--margin-md);
}

.l-price .logo_Mathniques {
  width: clamp(180px, 35vw, 250px);
  height: clamp(40px, 5vw, 60px);
  margin-right: 8px;
}

.img_price {
  max-width: 350px;
  width: 80%;
  margin: 0 auto;
  margin-top: 1.5em;
}

.img_price-fonts {
  max-width: 250px;
  width: 60%;
  margin: 0 auto;
  margin-top: 1.5em;
}

.img_price-explanation img {
  max-width: 350px;
  width: 80%;
  margin: 0 auto;
  margin-top: 1.5em;
}
@media (min-width: 600px) {
  .img_price-explanation img {
    max-width: 650px;
    width: 100%;
  }
}

.l_postbody.image h2 {
  position: sticky;
  position: -webkit-sticky;
  top: 20px;
}

/*ラッパー要素*/
.wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
}

/*コンテンツのブロック*/
.contents {
  width: 0vw;
}

.contents div {
  padding-top: 100vh;
}

.contents div:last-child {
  padding-bottom: 100vh;
}

/*画像のブロック*/
.images {
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  position: -webkit-sticky;
  top: clamp(30px, 30vw, 100px);
}

.images p {
  height: 80vh;
  margin: auto;
  display: block;
  visibility: hidden;
  /* 画像が透過pngの時は背景色が必要です */
  background: var(--color_main-20);
  padding: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  /* フェード速度 */
  transition: 0.8s;
  opacity: 0;
}

.images img {
  -o-object-fit: contain;
     object-fit: contain;
  height: 100%;
}

.images p:first-child,
.images p.active {
  visibility: visible;
  opacity: 1;
}

.footer {
  padding: var(--margin-section-lg) 0;
  padding-bottom: clamp(150px, 20svh, 300px);
}

.footer p {
  color: var(--color_main-dark);
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  margin-top: var(--font-size-md);
}

.footer .logo_Mathniques {
  width: clamp(200px, 30vw, 300px);
  height: 40px;
}

.page-top {
  opacity: 0;
  position: fixed;
  right: min(5vw, 28px);
  bottom: clamp(22px, 4vw, 32px);
  z-index: 400;
  transition: opacity 0.5s, bottom 0.3s ease;
}

.page-top.block {
  opacity: 1;
}

.btn_go-top {
  width: clamp(44px, 8vw, 64px);
}/*# sourceMappingURL=style.css.map */