/* Base styles */

/* Variables block */
:root {
  /* Layouts */
  --full-width: 1440px;
  --boxed-width: 1000px;

  /* Colors */
  --white: #ffffff;
  --black: #000000;
  --bg-primary: #456ba5;
  --bg-yellow: #f8b500;
  --bg-white: #f2f6fa;
  --bg-black: #2f2f2f;

  /* Gradients */
  --bg-gradient1: linear-gradient(
    180deg,
    #456ba5 0%,
    #97accd 50%,
    #f2f6fa 100%
  );

  /* Breakpoints */
  --mobile: 440px;
  --tablet: 1100px;
}
html {
  overflow-x: hidden;
}
body,
main {
  width: 100%;
  height: fit-content;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  margin: 0px;
  padding: 0px;
  position: relative;
  overflow-x: hidden;
  color: #2f2f2f;
}
body.no-scroll {
  overflow: hidden;
}
header,
footer,
section.container {
  width: 100%;
  height: fit-content;
  margin: 0px auto;
  box-sizing: border-box;
}
section .boxed-width,
header .boxed-width {
  width: 100%;
  max-width: var(--full-width);
  height: fit-content;
  margin: 0px auto;
}
figcaption {
  display: none;
}

/* Utility clases  */
.scale {
  will-change: auto;
  transition: transform 0.3s ease-in-out 0s;
}
.scale:hover {
  transform: scale(1.025);
  transition: transform 0.3s ease-in-out 0s;
}

/* Viewport Paddings */
section.container,
footer {
  padding-top: 80px;
  padding-bottom: 20px;
}
section {
  padding: 0px 45px;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  section {
    padding: 0px 30px;
    box-sizing: border-box;
  }
}
@media (max-width: 767px) {
  section {
    padding: 0px 15px;
    box-sizing: border-box;
  }
}

/* <<<------------------------- Texts and font styles starts----------------------------->>>*/

h1,
h2,
h3,
h4,
h5,
h6,
span,
p,
a,
li {
  color: var(--default-text);
}
h1,.title_sub {
  font-size: 100px;
  margin: 0px;
}

h2 {
  line-height: 100%;
  font-weight: 500;
  font-size: 72px;
  margin: 0px;
}
h3,.page_title,.page_title3 {
  line-height: 100%;
  font-weight: 400;
  font-size: 32px;
  text-decoration: none;
  margin: 0px;
}
p {
  font-size: 20px;
}

@media (max-width: 1100px) {
h1,.title_sub  {
    font-size: 64px;
  }
  h2 {
    font-size: 60px;
  }
  h3,.page_title,.page_title3 {
    font-size: 28px;
  }
  p {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  h1, .title_sub  {
    font-size: 48px;
  }
  h2 {
    font-size: 50px;
  }
  h3,.page_title,.page_title3 {
    font-size: 24px;
  }
  p {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
 
  h2 {
    font-size: 40px;
  }
}
@media (max-width: 490px) {
  h1.title_sub  {
    font-size: 48px;
  }
  h2 {
    font-size: 30px;
  }
}



span,
.bold {
  line-height: 100%;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}
span,
.base-text {
  line-height: 100%;
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
}

ul,
menu {
  list-style: none;
  margin: unset;
  padding: unset;
}
figure {
  margin: unset;
  display: flex;
  height: fit-content;
  width: fit-content;
}
li,
a {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .hero-cta {
    width: 100%;
    max-width: 350px !important;
  }
  button.primary-btn {
    height: 60px;
  }
  .hero-cta h3 {
    font-size: 16px !important;
  }
  button.primary-btn a {
    font-size: 18px !important;
  }
  button.primary-btn svg {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 340px) {
  button.primary-btn a {
    font-size: 14px;
  }
}

a,button {
    transition: all 0.3s ease;
}


.pc_only{
  display: inline-block;
}
.sp_only{
  display: none;
}



@media (max-width: 768px) {
  .pc_only{
  display: none;
  }
  .sp_only{
    display: inline-block;
  }
}

