@charset "UTF-8";
/* デフォルト */

/* レスポンシブ設定 */
@media screen and (min-width: 321px) {
  .ssp {
    display: none;
  }
}
@media screen and (min-width: 541px) {
  .sp {
    display: none;
  }
}
@media screen and (max-width: 540px) {
  .pc {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .tb {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .nb {
    display: none;
  }
}
/* レスポンシブ設定 */

/* spのみ改行　ssp改行なし */
@media screen and (max-width: 320px) ,(min-width: 541px) {
  .sam {
    display: none;
  }
}
@media screen and (max-width: 540px) ,(min-width: 769px) {
  .tab {
    display: none;
  }
}

/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* デフォルトのフォントと文字カラー設定 */
body {
  font-family: "Source Han Sans JP", "源ノ角ゴシック JP", sans-serif;
  font-style: normal;
  color: #333333;
  background: #ffffff;
}

/* デフォルトのフォントサイズ設定 */
p {
  font-size: 18px;
  line-height: 1.5;
  text-align: justify;
  text-justify: inter-ideograph;
}
@media screen and (max-width:540px) {
  p {
    font-size: 16px;
  }
}
@media screen and (max-width:320px) {
  p {
    font-size: 15px;
  }
}

/* 太文字 */
.bold {
  font-weight: bold;
}

/* 画像デフォルト */
img {
  width: 500px;
  margin: 50px auto 60px;
  display: block;
}
@media screen and (max-width:540px) {
  img {
    width: 300px;
    margin: 40px auto;
  }
}

/* 見出しデフォルト */
h1{
  text-align: center;
  color: white;
  font-size: 40px;
  margin: auto;
}
@media screen and (max-width:540px) {
  h1 {
    font-size: 25px;
  }
}

h2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 40px;
}
@media screen and (max-width:540px) {
  h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }
}
@media screen and (max-width:320px) {
  h2 {
    font-size: 19px;
  }
}
h2.sub {
  font-size: 24px;
}
@media screen and (max-width:540px) {
  h2.sub {
    font-size: 18px;
  }
}

/* セクションデフォルト */
section {
  padding: 80px 0;
}
@media screen and (max-width:540px) {
  section {
    padding: 60px 0px;
  }
}

/* コンテイナーデフォルト */
.container {
  max-width: 960px;
  margin: auto;
  width: 100%;
}
@media screen and (max-width:768px) {
  .container {
    width: 95%;
  }
}
@media screen and (max-width:540px) {
  .container {
    width: 350px;
  }
}
@media screen and (max-width:320px) {
  .container {
    width: 300px;
  }
}

.sub-container {
  max-width: 750px;
  margin: auto;
  width: 100%;
}
@media screen and (max-width:1024px) {
  .sub-container {
    width: 95%;
  }
}
@media screen and (max-width:540px) {
  .sub-container {
    width: 350px;
  }
}
@media screen and (max-width:320px) {
  .sub-container {
    width: 300px;
  }
}

.mini-container {
  max-width: 500px;
  margin: auto;
  width: 100%;
}
@media screen and (max-width:1024px) {
  .mini-container {
    width: 95%;
  }
}
@media screen and (max-width:540px) {
  .mini-container {
    width: 350px;
  }
}
@media screen and (max-width:320px) {
  .mini-container {
    width: 300px;
  }
}
/* コンテイナーデフォルト */

/* リストデフォルト */
ul li {
  list-style: none;
}

/* ヘッダーデフォルト */
header {
  background-color: #0073C3;
}
.mv-title {
  padding: 0;
}
.mv-title img {
  margin: 0;
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end; 
}

.menu {
  background-color: #DFF4FF;
  padding: 15px 0px;
}
@media screen and (max-width:768px) {
  .menu {
    padding: 5px 10px;
  }
}
@media screen and (max-width:540px) {
  .menu {
    padding: 10px 20px;
  }
}

.menu-contents {
  display: flex;
  list-style: none;
}

.menu li {
  margin: 0 10px;
  background-color: white;
  color: #127FCB;
  border-radius: 62px;
  border: solid 1px #127FCB;
  padding: 10px 15px;
  cursor: pointer;
  text-align: center;
  width: 200px;
  font-size: 18px;
  font-weight: bold;
  position: relative;
}
@media screen and (max-width:768px){
  .menu li {
    width: 155px;
    margin: 10px auto;
    padding: 8px;
    margin-right: 10px;
    font-size: 16px;
  }
}
@media screen and (max-width:540px){
  .menu li {
    width: 309px;
    height: 50px;
    margin: 10px auto;
  }
}
@media screen and (max-width:320px){
  .menu li {
    width: 280px;
  }
}
.menu li::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  top: 50%;
  right: 19px;
  transform: translateY(-50%);
  border-color: transparent transparent transparent #127FCB;
}
@media screen and (max-width:540px) {
  .menu li::before {
    border-width: 5px 0 5px 8px;
    right: 36px;
  }
}
.menu li.active {
  background: linear-gradient(45deg, #2F8CD4, #51A5E1);
  color: white;
  border: none;
}
.menu li a {
  color: #127FCB;
  text-decoration: none;
}
.menu li.active a {
  color: white;  /* アクティブなリンクは白 */
}
.menu li.active::before {
  border-color: transparent transparent transparent white;
}

.menu li a:hover {
  background-color: rgb(224, 224, 224);
  border-radius: 5px;
}

@media screen and (max-width: 540px) {
  .menu-contents {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #DFF4FF;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px 0 40px;
  }

  .menu {
    height: 60px;
  }
  .menu-contents.active {
    display: flex;
  }
  .menu li a {
    font-size: 20px;
    padding: 20px;
  }
  /* ハンバーガーアイコン */
  .hamburger {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 9999;
  }
  .hamburger div {
    width: 22px;
    height: 1.5px;
    background-color: #127FCB;
    margin: 7px auto 0;
    transition: 0.4s;
    position: relative;
  }
  .hamburger.active div {
    position: relative;
    display: none;
  }
   .hamburger.active::after {
    position: absolute;
    content: "";
    background: url(https://file.mysquadbeyond.com/uploads/article_photo/photo/5302734/a4cc7b3b-da0e-4448-8728-6552b05669d3.png) ;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 30px;
    height: 30px;
    top: 20px;
    right: 20px;
  }
  .hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}
.hamburger {
  display: none;
}
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }
}
/* ヘッダーデフォルト */

/* フッターデフォルト */
footer {
  color: white;
  padding: 0;
}
footer a {
  text-decoration-line: none;
  font-size: 16px;
  color: white;
}
footer p {
  text-align: center;
  font-size: 14px;
}
footer .footer-flex {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.footer-menu-contents{
  display: flex;
  list-style: none;
  margin: auto auto 20px;
}
.footer-menu-contents li {
  margin: 0 10px;
  position: relative;
}
@media screen and (max-width: 540px) {
  .footer-menu-contents{
   flex-wrap: wrap;
   width: 250px;
   margin: auto auto 25px;
  }
  .footer-menu-contents li {
    margin: auto;
    width: 125px;
    text-align: center;
    font-weight: bold;
  }
  .footer-menu-contents li.lower {
    margin-top: 10px;
  }
}
.footer-menu-contents li:not(:last-child) {
  border-right: 2px solid white;
  padding-right: 20px;
}
@media screen and (max-width:540px) {
  .footer-menu-contents li:not(:last-child) {
    border-right: none;
    padding-right: 0;
  }
}
.footer-menu-contents li a {
  text-decoration: none;
  white-space: nowrap;
}

footer nav{
  justify-content: space-between;
}
footer nav .menu-contents li {
  margin: 0 20px;
}
footer nav .menu-contents{
  margin: auto auto 30px;
}
.top-section {
  background-color: #4F97E0;
  padding: 22px 0 0;
  text-align: center;
}
@media screen and (max-width:540px) {
  .top-section {
    padding: 25px 0 0;
  }
}
.top-section p {
  width: 100px;
}
.bottom-section {
  background-color: #4076AC;
  padding: 20px 0;
  text-align: center;
}
.bottom-section p {
  font-size: 14px;
}
.bottom-section a {
  font-size: 14px;
}
/* フッターデフォルト */

/* 色味を変える */
.text-blue {
  font-weight: bold;
  color: #127FCB;
}
/*  全体にマーカー線を引く */
.text-marker01 {
  font-weight: bold;
  background: linear-gradient(transparent 14%, #FEFEB8 5%);
}
.text-marker02 {
  font-weight: bold;
  background: linear-gradient(transparent 14%, #D3DFE9 5%);
}

.headline01.front {
  margin-top: 0;
}

.sec01 {
  padding: 0;
}
.sec01 img {
  width: 100%;
  margin: 0;
  padding: 0;
}

.sec02 {
  background-color: #F1FAFE;
  padding-top: 100px;
}
.sec02 h2 {
  margin: 0 auto 70px;
  line-height: 1.3;
}
@media screen and (max-width:540px) {
  .sec02 {
    padding-top: 60px;
  }
  .sec02 h2 {
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 33px;
  }
}

/*  タイトル14 */
.headline14 {
  background: #104469;
  color: white;
  padding: 30px 0;
  position: relative;
}
.headline14::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 21px 15.5px 0 15.5px;
  border-color: #104469 transparent transparent transparent;
}
@media screen and (max-width:540px) {
  .headline14 {
    padding: 25px 0;
  }
  .headline14::after {
    bottom: -13px;
    border-width: 13px 11px 0 11px;
  }
}
.headline14.type02 {
  background: #50A8E5;
  font-weight: bold;
}
.headline14.type02::after {
  border-color: #50A8E5 transparent transparent transparent;
}
.headline14.title02 {
  margin: 80px auto 27px;
  padding: 12px 0;
  width: 360px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width:540px) {
  .headline14.title02 {
    margin: 60px auto 11px;
    padding: 9px 0;
    width: 288px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
  }
}
.headline14.title02::after {
  border-width: 16px 12.5px 0 12.5px;
  bottom: -12px;
}
@media screen and (max-width:540px) {
  .headline14.title02::after {
    border-width: 12px 9px 0 9px;
    bottom: -11px;
  }
}
/*  装飾 */
.element {
  position: relative;
}
.element::after {
  position: absolute;
  content: "";
  background: url(https://file.mysquadbeyond.com/uploads/article_photo/photo/5302735/151c7d5c-a2ee-4858-ab31-5a1472338855.png) center left/cover;
  width: 643.5px;
  height: 775px;
  top: 0;
  left: 0;
  z-index: -2; 
}
@media screen and (max-width:768px) {
  .element::after {
    width: 60%;
    height: 22%;
  }
}
.element::before {
  position: absolute;
  content: "";
  background: url(https://file.mysquadbeyond.com/uploads/article_photo/photo/5302740/a9021926-534b-4689-90cf-a167d6d105bb.png) center left/cover;
  width: 643.5px;
  height: 775px;
  bottom: 0;
  right: 0;
  z-index: -2; 
}
.element.type02::before {
  background: url(https://file.mysquadbeyond.com/uploads/article_photo/photo/5302738/54bc88d4-77d7-42e5-a963-f5ea6788a1cd.png) center left/cover;
}
.element.type02::after {
  background: url(https://file.mysquadbeyond.com/uploads/article_photo/photo/5302737/92edb791-aa7f-4899-8f66-b2fa6a52e81d.png) center left/cover;
}
@media screen and (max-width:768px) {
  .element::before {
    width: 60%;
    height: 60%;
  }
}
@media screen and (max-width:540px) {
  .element .type01::after {
    display: none;
  }
  .element .type01::before {
    display: none;
  }
  .element::before {
    width: 203.5px;
    height: 245px;
  }
  .element::after {
    width: 213px;
    height: 260px;
  }
}
/*  装飾 */

.sec03 {
  background-color: #FBFEFF;
  padding: 100px 0 120px;
}
@media screen and (max-width:540px) {
  .sec03 {
    background-color: #FBFEFF;
    padding: 70px 0 80px;
  }
}
/*  タイトル08 */
.headline08 {
  color: white;
  background: #50A8E5;
  padding: 25px 0;
  margin-bottom: 50px;
  z-index: 2;
}
.headline08.type02 {
  padding: 20px 0;
}
@media screen and (max-width:540px) {
  .headline08 {
    padding: 20px 0;
    margin-bottom: 40px;
    font-size: 22px;
  }
}
/*  タイトル08 */
/*  フレックスボックス共通 */
.flex-01 {
  width: 960px;
  display: flex;
  margin: 0 auto 40px;
  justify-content: space-between;
}
@media screen and (max-width:768px) {
  .flex-01 {
    width: 730px;
    gap: 15px;
  }
}
@media screen and (max-width:540px) {
  .flex-01 {
    display: block;
    width: 300px;
    gap: 0;
  }
}
/*  フレックスボックス共通 */
/*  複数枠03 */
.flex-box03 {
  position: relative;
  justify-content: space-between;
  border: solid 4px #EBEBEB;
  background:
  repeating-linear-gradient(
    90deg, #F7F7F7 0, #F7F7F7 1px,transparent 1px, transparent 31px),
  repeating-linear-gradient(
    0deg,#F7F7F7 0, #F7F7F7 1px,transparent 1px, transparent 31px),
  white;
  width: 306px;
  z-index: 10;
}
@media screen and (max-width:768px) {
  .flex-box03 {
    z-index: 10;
  }
}
@media screen and (max-width:540px) {
  .flex-box03 {
    width: 100%;
    margin: 30px auto;
    padding: 40px 0;
  }
}
.flex-box03 p {
  text-align: center;
  margin: 0 auto 40px;
}
@media screen and (max-width:768px) {
  .flex-box03 p {
    font-size: 16px;
  }
}
@media screen  and (max-width:540px){
  .flex-box03 p {
    margin: 0 auto;
  }
}

.flex-box03 img {
  width: 242px;
  margin: 50px auto 25px;
}
@media screen and (max-width:768px) {
  .flex-box03 img {
    width: 190px;
    margin-top: 35px;
  }
}
@media screen and (max-width:540px) {
  .flex-box03 img {
    width: 220px;
    margin: 5px auto 0;
  }
}
.flex-box03 p.title {
  font-weight: bold;
  font-size: 22px;
  color: #127FCB;
  text-align: center;
  margin: 25px auto 12px;
}
@media screen and (max-width: 768px) {
  .flex-box03 p.title {
    font-size: 20px;
  }
}
@media screen and (max-width: 540px) {
  .flex-box03 p.title {
    margin: 30px auto 15px;
  }
}
.flex-box03::before {
  position: absolute;
  content: "";
  width: 70px;
  height: 70px;
  top: 0;
  left: 0;
  z-index: -1;
}
@media screen and (max-width: 540px) {
  .flex-box03::before {
    width: 50px;
    height: 50px;
  }
}
@media screen and (max-width:540px) {
  .flex-box03.type02 {
    margin-bottom: 50px;
  }
}

/* box */
.box {
  padding: 60px 85px;
  margin: 0 auto;
  background: #FFF;
  border: solid 4px #EBEBEB;
  background:
  repeating-linear-gradient(
    90deg, #F7F7F7 0, #F7F7F7 1px,transparent 1px, transparent 31px),
  repeating-linear-gradient(
    0deg,#F7F7F7 0, #F7F7F7 1px,transparent 1px, transparent 31px),
  white;
}
@media screen and (max-width:768px) {
  .box {
    padding: 50px 55px;
  }
}
@media screen and (max-width:540px) {
  .box {
    width: 300px;
    padding: 40px 25px;
  }
}

.box .text-blue {
  font-size: 20px;
  border-bottom: dashed 2px #5EB1EA;
  width: 780px;
  margin-bottom: 15px;
  padding-bottom: 7px;
}
@media screen and (max-width:768px) {
  .box .text-blue {
    width: 610px;
  }
}
@media screen and (max-width:540px) {
  .box .text-blue {
    font-size: 18px;
    text-align: center;
    width: 240px;
    margin-bottom: 10px;
    padding-bottom: 4px;
  }
}

.box .text-blue.type02 {
  margin-top: 40px;
}
@media screen and (max-width:768px) {
  .box .text-blue.type02 {
    margin-top: 25px;
  }
}


.sec04 {
  background-color: #F8F8F8;
  padding: 0 0 100px;
}
@media screen and (max-width:540px) {
  .sec04 {
    padding-bottom: 80px;
  }
}
.sec04 img {
  margin: 30px auto 45px;
}
@media screen and (max-width:540px) {
  .sec04 img {
    margin: 15px auto 30px
  }
}
.sec04 img.first {
  margin-top: 70px;
}
@media screen and (max-width:540px) {
  .sec04 img.first {
    margin-top: 40px;
  }
  .sec04 img {
    margin-top: 20px;
  }
}

/* 色味を変える */
.text-navy {
  font-weight: bold;
  color: #0F4469;
  font-size: 30px;
  margin: 27px auto 30px;
}
@media screen and (max-width:540px) {
  .text-navy {
    font-size: 24px;
    margin: 21px auto 11px;
  }
}
/*  色味を変える */

.sec05 {
  background-color: #FBFEFF;
  padding: 0 0 120px;
  z-index: 0;
}
@media screen and (max-width:540px) {
  .sec05 {
    padding-bottom: 80px;
  }
}
.sec05 .content {
  position: relative; 
  z-index: 1; 
}
/*  タイトル01 */
.headline01 {
  text-align: center;
  padding-bottom: 12px;
  margin: 80px auto 50px;
  border-bottom: solid 2.5px #17A6FF;
}
.headline01.type02 {
  border-bottom: solid 2.5px #4580AB;
}
.headline01.type03 {
  border-bottom: solid 2.5px #ED86A6;
}
@media screen and (max-width:540px) {
  .headline01 {
    padding-bottom: 10px;
  }
  .headline01.sub {
    padding-bottom: 10px;
    margin: 60px auto 30px;
  }
  .headline01.type04 {
    margin-bottom: 40px;
  }
}
/*  タイトル01 */

img.narrow {
  margin: 50px auto 60px;
}
@media screen and (max-width:549px) {
  img.narrow {
    margin: 30px auto 40px;
  }
}

/* フェードイン */
.fadein {
  opacity: 0;
  transform: translateY(24px);
  transition: 1.5s;
}
/* フェードイン */
html,body {
  overflow-x: hidden;
}