body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
    box-sizing: border-box;
    color: #000;
}

/**,
*::before,
*::after {
    box-sizing: inherit;
}*/

* {
    box-sizing: border-box;
}
a:hover {
  opacity: 0.7;
}
img {
    width: 100%;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    background-color: #fff;
    height: 115px;
    max-width: 100vw;
}

header.scrolled {
    background-color: #ffffff;
}

header .logo {
  max-width: 40%;
  width: auto;
}

header nav {
    display: flex;
    align-items: center;
}

nav ul.menu {
    list-style: none;
    display: flex;
    align-items: center;  /* 全てを縦に中央揃え */
    margin: 0;
    padding: 0;
}

nav ul.menu li {
    display: flex;
    align-items: center; /* テキストと区切り画像を中央に揃える */
}

nav ul.menu li a {
    text-decoration: none;
    padding: 10px 15px; /* パディングは調整可能 */
    color: #000;
    font-size: 1.5rem;
}

nav ul.menu li .separator {
    margin: 0 10px; /* メニュー項目の間のスペース */
    width: 20px;    /* 区切り画像の幅調整 */
    height: auto;   /* アスペクト比を維持 */
}

@media (max-width: 1000px) {
  nav ul.menu li a {
    font-size: 0.8rem;
  }
}

nav ul.menu li:hover .dropdown {
    display: block;
}

nav ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background-color: #ffffff;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav ul.dropdown li a {
    padding: 10px 20px;
    white-space: nowrap;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative; /* 位置を相対に設定 */
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background-color: #2461ad;
    margin: 2px 0;
    transition: all 0.3s ease; /* スムーズなトランジション */
}

.burger-nav {
    display: none; /* 初期状態は非表示 */
    position: fixed; /* 画面に固定 */
    top: 0;
    right: 0;
    width: 70%; /* 画面の右側からスライドする幅 */
    height: 100%; /* 全画面の高さ */
    background-color: #fff; /* 背景色 */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2); /* スライドの影 */
    transform: translateX(100%); /* 右から隠れる */
    transition: transform 0.3s ease; /* スライドアニメーション */
    z-index: 999; /* ヘッダーよりも前面に */
}

.burger-nav.open {
    display: block;
    transform: translateX(0);
    margin-top: 58px;
    background: #ebf4ff;
    width: 300px;
    padding: 24px;
}

/* */
.burger-nav img {
    width: 25px;
}

.burger-nav li {
    padding: 5px;
    border-bottom: 1px dashed #d8dad7;
    display: flex;
    align-items: center;
}

.burger-nav li a{
    text-decoration: none;
    font-size: 1.2rem;
    color: #000;
    margin-left: 10px;
}

/* main */
main {
    width: 100%;
    padding-top: 115px;
}

section {
    width: 100%;
    padding: 0;
    background: #88D2D9;
    padding: 20px;
}

section div.inner {
    margin: 0 auto;
    padding: 20px;
    border-radius: 50px;
    background: #fff;
}

section div.container{
  max-width: 1354px;
  margin: 30px auto 0;
}

section div.container-wide{
  max-width: 1765px;
  margin: 30px auto 0;
}

h2.heading-1 {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
h2.heading-1 img{
  width: 100%;
}
p.title {
  font-size: 32px;
  font-weight: bold;
}
p.normal-text {
  font-size: 24px;
  line-height: 1.6;
}
span.otokuisama {
  font-weight: bold;
  padding-right: 12px;
  position: relative;
  display: inline-block;
}
span.otokuisama:before {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  background: url(./images/decoration-orange.png) no-repeat;
  height: 35px;
  width: 12px;
}
span.original-sample {
  font-weight: bold;
  border-bottom: 3px solid #EF9917;
}
span.text-orange {
  color:  #EF9917;
  font-weight: bold;
}
p.goirai {
  text-align: center;
  font-size: 24px;
  margin-top: 40px;
}
span.bold-blue {
  font-weight: bold;
  font-size: 32px;
  color: #fff;
  text-shadow: 3px 3px 0 #477CAD, -3px -3px 0 #477CAD,
               -3px 3px 0 #477CAD, 3px -3px 0 #477CAD,
               0px 3px 0 #477CAD,  0 -3px 0 #477CAD,
               -3px 0 0 #477CAD, 3px 0 0 #477CAD;
}
div.introduction {
  display: flex;
  gap: 20px 2%;
}
div.introduction img{
  width: 49%;
}
div.course-title {
  width: fit-content;
  margin: 0 auto;
}
div.course-title h2 span {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  padding-left: 90px;
  position: relative;
  padding-top: 70px;
  display: inline-block;
}
div.course-title h2 span:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  background: url(./images/decoration-blue.png) no-repeat;
  height: 89px;
  width: 87px;
  background-size: 100%;
}
div.course-title p {
  font-size: 30px;
}
div.course-wrap {
  display: flex;
  gap: 40px 2%;
  position: relative;
  margin-top: 80px;
}
div.course-wrap:before {
  position: absolute;
  content: '';
  top: -160px;
  right: 50px;
  background: url(./images/medio.png) no-repeat;
  height: 160px;
  width: 185px;
  background-size: 100%;
}
div.course-inner {
  width: 32%;
}

a.irai-btn {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  display: block;
}
.text-center {
  text-align: center;
}
.mt60 {
  margin-top: 60px;
}
/* footer */

footer {
  width: 100%;
  padding: 0;
  background-color: #333;
  color: #fff;
  margin-top: 60px;
}
.copy {
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
gap:0 20px;
background: #fff;
font-size: 20px;
color: #000;
}

footer .footer-logo {
width: 320px;
}

footer ul.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

footer ul.footer-links li {
  margin: 5px 10px;
}

footer ul.footer-links li a {
  text-decoration: none;
  color: #fff;
}


/* SP */
@media (max-width: 768px) {
    html {
      overflow-x: hidden;
    }

    header {
        height: 58px;
        padding: 5px 10px;
    }

    header .logo {
        max-width: 100%;
        height: 100%;
    }

    header .logo img {
        max-height: 48px;  /* 画像の高さをヘッダー内に収める */
        height: auto;      /* 高さの自動調整 */
        width: auto;       /* 幅の自動調整 */
        object-fit: contain; /* ロゴ画像がはみ出さないように調整 */
    }
    nav ul.menu {
        display: none;
        flex-direction: column;
    }

    .hamburger-menu {
        display: flex;
    }

    .hamburger-menu.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg); /* 上の線を回転させて下に移動 */
    }

    .hamburger-menu.open span:nth-child(2) {
        opacity: 0; /* 中央の線を透明にする */
    }

    .hamburger-menu.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg); /* 下の線を回転させて上に移動 */
    }

    .hamburger-menu.open + ul.menu {
        display: flex;
    }

    .btn-1 {
    width: 80%;
    margin: 0 auto;
    }

    .btn-1 a {
      font-size: 1.4rem;
    }
}
@media (max-width:1600px) {
div.course-wrap {
  margin-top: 160px;
}
}
@media (max-width:767px) {
  div.introduction{
    flex-direction: column;
  }
  div.course-title h2 span:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background: url(./images/decoration-blue.png) no-repeat;
    height: 40px;
    width: 40px;
    background-size: 100%;
  }
  div.introduction img{
    width: 100%;
  }
  div.course-title h2 span {
    padding: 30px 0 0 30px;
  }
  div.course-wrap {
    flex-direction: column;
  }
  div.course-inner {
    width: 100%;
  }
}

/* */
@media (max-width: 768px) {
    main {
        padding-top: 58px;
    }
}