/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap");

.icon {
  width: 2em;
  height: 2em;
  font-size: 2em;
  display: flex;
  text-decoration: none;
  color: #000;
  outline: 2px solid #000;
  outline-offset: -8px;
  border-radius: 50%;
  transition: all 200ms ease-in;
}

.icon i {
  margin: auto;
}

.icon:hover {
  outline-width: 6px;
  outline-color: #fff;
  color: #fff;
}

.icon:hover:has(.fa-x-twitter) {
  background-color: #000;
}

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /* Color mode HSL(hue, saturation, lightness) */
  --hue: 228;
  --first-color: hsl(var(--hue), 45%, 42%);
  --main-color: #0a0a0a;
  --title-color: #fff;
  --text-color: hsl(var(--hue), 8%, 65%);
  --body-color: hsl(var(--hue), 26%, 11%);
  --container-color: hsl(var(--hue), 22%, 12%);
  --container-color-light: hsl(var(--hue), 21%, 14%);
  --border-color: hsl(var(--hue), 23%, 24%);
  --black: #000;

  /*========== Font and typography ==========*/
  /* .5rem = 8px | 1rem = 16px ... */
  --body-font: sans-serif;
  --big-font-size: 2.5rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.625rem;

  /*========== Font weight ==========*/
  --weight-400: 400;
  --weight-500: 500;
  --weight-700: 700;

  /*========== Transition ==========*/
  --transition: ease-in-out;

  overflow-x: hidden;
}

/*========== Responsive typography ==========*/
@media screen and (max-width: 992px) {
  :root {
    --big-font-size: 1.75rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813;
  }
}

/* リセットCSS */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 ディスプレイロールリセット */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*=============== BASE ===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  overflow-x: hidden;
}

_:lang(x) + _:-webkit-full-screen-document,
body {
  background-color: var(--body-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--weight-700);
}

ul {
  list-style: none;
}

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

p {
  line-height: 1.6;
}

img {
  max-width: 100%;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  margin-inline: auto;
  padding-inline: 5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 4rem 3.5rem;
}

.section__title {
  font-size: var(--h1-font-size);
  margin-bottom: 1.75rem;
}

/*=============== HEADER & NAV ===============*/

header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background: #fff;
}
header .inner {
  position: relative;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 100%;
}
/* .logo */

header .logo {
  position: relative;
  width: 100px;
  margin: 0;
  padding: 0;
}
header .logo a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

@media screen and (max-width: 767px) {
  header .logo {
    padding: 0;
  }
}

/* scroll */

header {
  transition: height 0.4s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}
/* スクロール時のアニメーション */
header.scroll {
  -webkit-transition: -webkit-transform 0.4s, height 0.4s,
    -webkit-box-shadow 0.4s;
  transition: transform 0.4s, height 0.4s, box-shadow 0.4s;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
header .logo {
  transition: width 0.4s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}
header.scroll .logo {
  width: 70px;
}

/* header-navi-box */

/* header-navi-box */
header .navi {
  -webkit-margin-start: auto;
  margin: 0 0 0 auto;
  -webkit-padding-start: 0;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  list-style: none;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

header .navi li {
  margin: 5px 0 5px 40px;
}
header .navi li:first-child {
  margin-left: 0;
}
header .navi li a {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  color: #d43026;
}

header .navi li:last-child a {
  color: white;
}
header .navi li a:hover {
  text-decoration: underline;
}
.button {
  background: #d43026;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.4s;
}

@media screen and (max-width: 767px) {
  header .navi {
    display: none;
  }
}

/* open-button */

.sp-navi-toggle {
  display: none;
  margin: auto 0;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 40px;
  width: 16px;
  height: 25px;
  transition: all 0.4s;
  color: #464646;
  border: none;
  outline: none;
  background: none;
  -webkit-appearance: unset;
}
.sp-navi-toggle .menu,
.sp-navi-toggle .close {
  position: absolute;
  bottom: 0;
  left: -50%;
  display: block;
  width: 34px;
  height: 11px;
}
.sp-navi-toggle .close {
  display: none;
}
.sp-navi-toggle .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #464646;
}
.sp-navi-toggle .bar:nth-of-type(1) {
  top: 0;
}
.sp-navi-toggle .bar:nth-of-type(2) {
  top: 5px;
}
.sp-navi-toggle .bar:nth-of-type(3) {
  top: 10px;
}

/* close-button */

html.sidebar-is-open .sp-navi-toggle .bar:nth-of-type(1) {
  top: 5px;
  transform: rotate(45deg);
}
html.sidebar-is-open .sp-navi-toggle .bar:nth-of-type(2) {
  top: 5px;
  transform: rotate(-45deg);
}
html.sidebar-is-open .sp-navi-toggle .bar:nth-of-type(3) {
  display: none;
}
html.sidebar-is-open .sp-navi-toggle .menu {
  display: none;
}
html.sidebar-is-open .sp-navi-toggle .close {
  display: block;
}

@media screen and (max-width: 767px) {
  .sp-navi-toggle {
    display: block;
  }
}

/* sp-navi */

.sp-navi-box {
  display: none;
}
.sp-navi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  width: 100%;
  height: 100vh;
  font-size: 14px;
  margin: 0;
  padding: 0;
}
.sp-navi li {
  padding: 20px 0;
}
.sp-navi li a {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: bold;
}
.sp-navi li a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  html.sidebar-is-open .sp-navi-box {
    display: block;
  }
  html.sidebar-is-open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
  }
}

#fixed-header {
  position: fixed;
  top: -70px;
  left: 0;
  right: 0;
  margin: auto; /* 自動的に左右のマージンを計算して中央に配置 */
  max-width: 1200px; /* 最大幅を設定 */
  height: 70px;
  line-height: 70px;
  font-size: 2em;
  text-align: center;
  color: #fff;
  background: black;
  box-sizing: border-box;
  transition: 0.5s;
  z-index: 1000;
}

#nav {
  background: #fafafa;
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-container {
  background: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 100%;
  padding: 0 24px;
}

.logo-image {
  width: auto;
  height: 60px;
}

.nav-logo {
  color: black;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  font-weight: bold;
  text-decoration: none;
}

.mobile-icon {
  display: none;
}

@media screen and (max-width: 900px) {
  .mobile-icon {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-100%, 60%);
    font-size: 1.8rem;
    cursor: pointer;
    color: black;
  }

  .nav-menu {
    display: none;
  }

  #fixed-header {
    display: none;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
  margin-left: auto;
}

.nav-item {
  height: 80px;
}

.nav-links {
  color: #3cbae2;
  font-weight: bold;
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0 1rem;
  height: 100%;
  cursor: pointer;
}

.nav-links.active {
  border-bottom: 3px solid #3cbae2;
}

.nav-btn-link {
  border-radius: 15px;
  background: #3cbae2;
  white-space: nowrap;
  padding: 10px 22px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  outline: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-btn-link:hover {
  background: #fff;
  color: #010606;
}

#fixed-header.is-show {
  top: 0;
}

#fixed-header {
  border-radius: 50px;
  max-width: 81.25rem;
  margin-inline: 7%;
  margin-top: 0.5rem;
  padding: 0 2.225rem;
  background-color: #fff;
  /* box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08); */
}

#fixed-header .inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#fixed-header .navi {
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  list-style: none;
}
#fixed-header .navi li {
  margin: 0px 0 5px 40px;
}
#fixed-header .navi li:first-child {
  margin-left: 0;
}
#fixed-header .navi li a {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  color: #d43026;
}

#fixed-header .navi li a:hover {
  text-decoration: underline;
  color: #d43026;
}

#fixed-header .logo-image {
  height: 45px;
}

/*=============== HOME ===============*/
.home {
  background-image: url(../img/top-bg.png);
  background-size: cover;
  background-position: center;
  padding-block: 9rem 3rem;
  height: 100%;
  position: relative;
  margin-top: 70px;
}
.home__title {
  font-size: var(--big-font-size);
  text-transform: uppercase;
}

.home__description {
  color: var(--title-color);
  background-color: #161e5e;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  padding-inline: 1rem;
}

.home__em {
  font-size: 2.5rem;
}

.home__img {
  width: 100%;
  height: auto;
}

.home__row_container {
  display: flex;
  justify-content: space-between;
  padding-inline: 3rem;
  padding-bottom: 3rem;
  margin-top: 30rem;
  gap: 3rem;
}

.home__col_container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/*=============== BUTTON ===============*/
.btn {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--title-color);
  padding: 1rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: var(--weight-500);
}

.nav__btn {
  display: inline-block;
  background-color: var(--main-color);
  color: var(--title-color);
  padding: 0.25rem 1rem;
  border-radius: 16px;
  font-weight: var(--weight-500);
}

.home__apply_btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 34px;
  border: 8px solid #000;
  background: #fff;
  box-shadow: 8px 8px 10px 2px rgba(0, 0, 0, 0.8);
  padding: 10px 30px;
  font-size: 20px;
  cursor: pointer;
  width: 60%;
  transition: 0.3s;
}

.home__apply_btn:hover {
  transform: translateY(5px);
  box-shadow: 0 0 0 #333;
}

.home__apply_btn_text {
  flex-grow: 1;
  text-align: center;
  color: #000;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 10px;
}

.home__apply_btn_arrow {
  padding-left: 20px;
  color: #000;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 10px;
}

/*=============== CONTINUE ===============*/
.continue {
  background-color: #fff2f2;
  height: 100%;
  position: relative;
}

.continue__title {
  display: flex;
  position: absolute;
  top: -5%;
  left: 30%;
  z-index: 10;
  transform: rotate(-3deg);
}

.continue__container {
  padding: 10% 7rem;
  grid-template-columns: repeat(3, 1fr);
}

.continue__content {
  transition: box-shadow 0.3s;
}

.continue__img-container {
  height: 200px;
  width: 400px;
  margin-bottom: 20px;
}

.continue__content_img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.continue__content_title {
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 33px; /* 137.5% */
  letter-spacing: -1.2px;
  margin-bottom: 5px;
}

.continue__content_description {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 143.75% */
  letter-spacing: -0.8px;
}

/*=============== CURRICULUM ===============*/
.curiculum {
  padding-block: 6rem 2rem;
  height: 100%;
  position: relative;
  background-image: url(../img/curiculum-bg.png);
  background-color: #d43026;
  background-size: cover;
  color: white;
  padding-bottom: 30%;
}

.curiculum__title_font {
  display: flex;
  position: absolute;
  top: -2%;
  left: 30%;
  z-index: 10;
  transform: rotate(-3deg);
}

.curiculum__container {
  display: flex;
  justify-content: space-between; /* 均等に空間を分ける */
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.curiculum__col {
  display: flex;
  flex-direction: column;
  width: 50%; /* 要調整 */
  align-items: center; /* 中央寄せ */
}

.curiculum__title {
  width: 100%; /* タイトルの幅を調整 */
  margin-bottom: 20px; /* 下のマージンを追加 */
  margin-top: 5rem;
}

.curiculum1__block {
  display: grid; /* グリッドを使用してアイテムを整列 */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* グリッドアイテム間のギャップ */
  margin-bottom: 20px; /* 下のマージンを追加 */
}

.curiculum1__block_img {
  width: 100%; /* 画像の幅を調整 */
}

.curiculum1__avatar {
  height: 35%; /* アバターの高さを調整 */
  width: auto;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  transform: translateX(100px);
  transition: 3s ease;
  filter: drop-shadow(10px 5px 5px #4e4e4e);
}

.curiculum2__col {
  display: flex;
  flex-direction: column;
  width: 50%;
  align-items: center;
  justify-content: right;
  margin-top: 25%;
}

.curiculum2__avatar1 {
  height: 10%; /* アバターの高さを調整 */
  width: auto;
  position: absolute;
  top: 35%;
  left: 7%;
  transform: translateX(-100px);
  transition: 5s ease;
}

.curiculum2__avatar2 {
  height: 10%; /* アバターの高さを調整 */
  width: auto;
  position: absolute;
  top: 45%;
  left: 10%;
  transform: translateX(-100px);
  transition: 6s ease;
}

.curiculum3__col {
  display: flex;
  flex-direction: column;
  width: 50%;
  align-items: center;
  justify-content: right;
  margin-top: 5%;
}

.curiculum3__title {
  width: 100%; /* タイトルの幅を調整 */
  margin-bottom: 20px; /* 下のマージンを追加 */
  margin-top: 30rem;
}

.curiculum3_movie {
  height: 25%; /* アバターの高さを調整 */
  width: auto;
  position: absolute;
  top: 65%;
  right: 5%;
  transform: translateX(-100px);
  transition: 6s ease;
}

/*=============== SCHEDULE ===============*/
.schedule {
  /* heightプロパティを削除し、min-heightに変更して内容に応じて伸縮させます */
  min-height: 100vh;
  background-color: #2d2f3a; /* Dark background */
  padding-top: 6rem;
  /* padding-bottomを増やして、画像が見切れないように余白を追加します */
  padding-bottom: 2rem; /* 余白を4remから6remに増やす */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.schedule_title {
  width: 30%;
  text-align: center;
  margin-bottom: 30px;
}

.timeline {
  width: 80%;
  background-color: #072736;
  color: #fff;
  padding: 30px 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  margin-left: 10%;
}
.timeline ul {
  list-style-type: none;
  border-left: 2px solid #094a68;
  padding: 10px 5px;
}
.timeline ul li {
  padding: 20px 20px;
  position: relative;
  cursor: pointer;
  transition: 0.5s;
}
.timeline ul li span {
  display: inline-block;
  background-color: #1685b8;
  border-radius: 25px;
  padding: 5px 7px;
  margin-bottom: 3px;
  font-size: 12px;
  text-align: center;
}
.timeline ul li .content h3 {
  color: #34ace0;
  font-size: 17px;
  padding-top: 5px;
  margin-bottom: 7px;
}
.timeline ul li .content p {
  padding: 5px 0px 15px 0px;
  font-size: 15px;
}
.timeline ul li:before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  background-color: #34ace0;
  border-radius: 50%;
  left: -11px;
  top: 28px;
  transition: 0.5s;
}
.timeline ul li:hover {
  background-color: #071f2a;
}
.timeline ul li:hover:before {
  background-color: #0f0;
  box-shadow: 0px 0px 10px 2px #0f0;
}
@media (max-width: 300px) {
  .timeline {
    width: 100%;
    padding: 30px 5px 30px 10px;
  }
  .timeline ul li .content h3 {
    color: #34ace0;
    font-size: 15px;
  }
}

/*=============== CONTENTS ===============*/
.contents {
  height: 100%;
  margin: 0 auto; /* 中央揃え */
  padding-top: 5%;
  background-color: #d43026;
  position: relative;
  overflow: hidden;
  padding-bottom: 5%;
  background-image: url(../img/background_map.png);
  background-size: cover;
  background-position: center;
}

.contents__title {
  display: block; /* ブロック要素として扱う */
  width: 70%; /* タイトルの幅を調整 */
  height: auto; /* 高さは自動調整 */
  margin: 0 auto; /* 画像を中央に配置 */
  z-index: 1000;
}

.contents__container {
  display: flex;
  flex-direction: column;
  align-items: center; /* 横方向の中央揃え */
  justify-content: center; /* 縦方向の中央揃え */
  margin: 0 auto; /* 上下のマージンを自動で調整 */
  color: white;
  padding-top: 3%;
  margin-left: 0;
}

.contents__subtitle {
  color: #fff;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: 54.5px; /* 151.389% */
  letter-spacing: -2.7px;
}

.contents__description {
  color: #fff;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 300;
  width: 80%; /* または希望する幅に設定 */
  max-width: 800px; /* 最大幅を設定する場合 */
  text-align: justify; /* テキストを均等に整列させる */
  margin-left: auto; /* 左のマージンを自動に設定 */
  margin-right: auto; /* 右のマージンを自動に設定 */
}

.contents__avatar {
  height: 90%; /* 例えば、アバターの高さをコンテナより大きくする */
  width: auto; /* 幅は自動で調整（高さに合わせて） */
  position: absolute;
  top: 15%;
  left: -25%;
}

.contents__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列のグリッド */
  grid-row: auto auto; /* 2行のグリッド */
  padding-top: 5%; /* グリッドの下部の余白を設定 */
  margin-left: 15%;
}

.contents__img1 {
  height: 60%;
  width: auto;
  object-fit: cover; /* 画像がコンテナを覆うように設定 */
  margin-left: 20%;
}

.contents__img2 {
  height: 100%;
  width: auto;
  object-fit: cover; /* 画像がコンテナを覆うように設定 */
  margin-left: 20%;
  margin-bottom: 10%;
}

.contents__img3 {
  height: 70%;
  width: auto;
  object-fit: cover; /* 画像がコンテナを覆うように設定 */
}

.contents__img4 {
  height: 80%;
  width: auto;
  object-fit: cover; /* 画像がコンテナを覆うように設定 */
  margin-top: 10%;
}

.contents__location_container {
  width: 100%;
  padding: 0 3rem 5rem 3rem;
  text-align: center;
  color: white;
  background-color: #d43026;
  text-align: center;
}
.contents__location_container a {
  color: white;
  text-decoration: solid underline;
}

/*=============== INVITATION ===============*/

.invitation {
  background-color: #d43026;
  color: white;
  padding: 40px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.invitation__title {
  display: flex;
  position: absolute;
  top: -5%;
  left: 35%;
  z-index: 10;
  transform: rotate(-3deg);
}

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

.bubble-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 吹き出しの基本スタイル */
.speech-bubble {
  background-color: white;
  color: black;
  border: 4px solid black;
  border-radius: 25px; /* 角の丸み */
  font-size: 2em; /* テキストの大きさを調整 */
  padding: 1em 1.5em;
  position: absolute;
  top: 40%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 300px; /* 最大幅を設定 */
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5); /* 影を追加 */
  visibility: hidden;
}

/* 吹き出しのしっぽ */
.speech-bubble::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 0; /* 三角形の大きさ */
  border-color: white transparent transparent transparent;
  bottom: -20px; /* 吹き出しの下に配置 */
  left: 50%;
  transform: translateX(-50%);
}
/* 吹き出しの位置を調整 */
.bubble-container {
  position: relative;
  text-align: center; /* 中央揃え */
}

/* 吹き出しの位置を調整（左側） */
.speech-bubble:first-of-type {
  left: 15%; /* 左側に位置調整 */
  transform: translateX(-100%) translateY(-50%) rotate(-10deg); /* 左に移動し、傾ける */
}

/* 吹き出しの位置を調整（右側） */
.speech-bubble:last-of-type {
  right: 15%; /* 右側に位置調整 */
  transform: translateX(100%) translateY(-50%) rotate(10deg); /* 右に移動し、傾ける */
}

.invitation__main-title {
  margin-top: 10%;
  width: 80%;
  visibility: hidden;
}

.invitation__details_container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
}

.invitation__details {
  margin: 0 auto;
  max-width: 600px;
  text-align: left;
}
.invitation__apply_btn {
  display: flex;
  margin-top: 5%;
  margin-bottom: 3%;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 4px solid #000;
  background: #fff;
  box-shadow: 6px 6px 8px 2px rgba(0, 0, 0, 0.8);
  padding: 30px 60px;
  font-size: 20px;
  cursor: pointer;
  width: auto;
  transition: 0.3s;
  text-decoration: none;
}

.invitation__apply_btn:hover {
  transform: translateY(5px);
  box-shadow: 0 0 0 #333;
}

.invitation__apply_btn_text {
  text-align: center;
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: 54px;
  margin-right: 20px;
}

.invitation__apply_btn_arrow {
  color: #000;
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
}

.invitation__footer {
  font-size: 14px;
  width: 100%;
  text-align: center;
  margin-bottom: 10%;
}

/** ANIMATION **/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 2s ease-out;
  visibility: hidden; /* 最初は要素を非表示にする */
}

/*=============== TEAM ===============*/
.team {
  background-color: #fff2f2;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.team__title {
  display: flex;
  position: absolute;
  top: -5%;
  left: 35%;
  z-index: 10;
  transform: rotate(-3deg);
}

.team__contents {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin-top: 100px; /* Adjust as needed */
}

.team__header {
  width: 100%;
}
.team__name {
  text-align: left;
  color: #000;
}

.team__content {
  display: flex;
  align-items: stretch; /* アイテムをコンテナの高さに合わせて伸ばします */
  gap: 10%;
}

.team__left {
  flex: 1; /* 左側の要素にフレックスの成長を許可します */
}

.team__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 均等な間隔を設けます */
  flex: 2; /* 右側の要素にフレックスの成長を許可します */
}

.team__img {
  width: 100%; /* Adjust as needed */
  height: auto;
}

.team__section {
  display: flex;
  align-items: center;
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team__img2,
.team__img3 {
  max-width: 300px; /* 最大幅を設定 */
  max-height: 200px; /* 最大高さを設定 */
  height: auto; /* アスペクト比を維持 */
  margin-right: 20px;
}

.team__section-title {
  font-size: 24px;
  color: black;
}

.team__section-description {
  font-size: 16px;
  color: black;
}

/*=============== FOOTER ===============*/

.footer {
  background-color: var(--container-color-light);
  color: white;
  padding: 40px 0; /* 上下のパディング */
  display: flex;
  align-items: center; /* 中央揃え */
  justify-content: space-between; /* コンテンツ間に均等なスペース */
}

.footer__container {
  display: flex;
  flex-direction: column;
  justify-content: space-around; /* 内包する要素に均等なスペースを提供 */
  align-items: left;
  width: 80%; /* フッターの幅 */
  margin: 0 auto; /* 中央揃え */
}

.footer__logo img {
  max-width: 20%; /* ロゴのサイズ調整 */
  height: auto;
  margin-bottom: 5%;
}

.footer__title {
  font-size: 1.5rem; /* タイトルのフォントサイズ */
}

.footer__copy {
  font-size: 1rem; /* コピーライトのフォントサイズ */
  text-align: left;
  margin-top: 5%;
  gap: 1rem;
  display: flex;
}

.footer__copy a {
  color: white;
  text-decoration: none;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  margin-top: 1rem;
}

.footer__social a {
  color: white;
  text-decoration: none;
  margin-right: 1rem;
}

/*=============== BREAKPOINTS ===============*/

@media screen and (min-width: 2500px) and (max-width: 3000px) {
  header {
    padding: 24px 10px;
    background: #fff;
  }
  header .navi {
    font-size: 25px;
  }
  #fixed-header {
    max-width: 2000px;
    margin-left: 15%;
    height: 80px;
  }

  #fixed-header .inner {
    height: 100%;
  }
  #fixed-header .navi {
    font-size: 25px;
  }
  #fixed-header .navi li {
    margin: 0px 0 0px 40px;
  }
  /*=============== HOME ===============*/
  .home {
    height: 100%;
    margin-top: 0px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    background-color: #d43026;
    padding-bottom: 5rem;
  }

  .home__description {
    font-size: 6rem;
    padding-inline: 1rem;
  }

  .home__em {
    font-size: 8rem;
  }

  .home__row_container {
    padding-inline: 3rem;
    margin-top: 70rem;
  }

  /*=============== BUTTON ===============*/

  .home__apply_btn {
    padding: 6rem 10rem;
    width: 40%;
  }

  .home__apply_btn_text {
    font-size: 8rem;
  }

  .home__apply_btn_arrow {
    padding-left: 0px;
    font-size: 8rem;
  }

  /*=============== CONTINUE ===============*/
  .continue__title {
    left: 30%;
    height: 20%;
  }

  .continue__container {
    padding: 10% 7rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .continue__content {
    transition: box-shadow 0.3s;
  }

  .continue__img-container {
    height: auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .continue__content_img {
    object-fit: cover;
    width: 100%;
    height: 460px;
  }

  .continue__content_title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 2.5rem;
  }

  .continue__content_description {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 300;
    line-height: 2rem;
  }

  /*=============== CURRICULUM ===============*/

  .curiculum__title_font {
    top: -3%;
    left: 25%;
    height: 8%;
  }

  .curiculum__col {
    width: 60%; /* 要調整 */
  }

  .curiculum1__block {
    width: 100%;
  }

  .curiculum1__block_img {
    height: 100%;
  }
  .curiculum1__text {
    font-size: 2rem;
  }

  .curiculum1__avatar {
    height: 35%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 0;
    right: -10%;
    opacity: 0;
    transform: translateX(100px);
    transition: 3s ease;
    filter: drop-shadow(10px 5px 5px #4e4e4e);
  }

  .curiculum2__col {
    display: flex;
    flex-direction: column;
    width: 50%;
    align-items: center;
    justify-content: right;
    margin-top: 25%;
  }

  .curiculum2__avatar1 {
    height: 10%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 45%;
    left: 7%;
    transform: translateX(-100px);
    transition: 5s ease;
  }

  .curiculum2__avatar2 {
    height: 10%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 55%;
    left: 10%;
    transform: translateX(-100px);
    transition: 6s ease;
  }

  .curiculum3__col {
    display: flex;
    flex-direction: column;
    width: 50%;
    align-items: center;
    justify-content: right;
    margin-top: 5%;
  }

  .curiculum3__title {
    width: 100%; /* タイトルの幅を調整 */
    margin-bottom: 20px; /* 下のマージンを追加 */
    margin-top: 30rem;
  }

  .curiculum3_movie {
    height: 25%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 65%;
    right: 5%;
    transform: translateX(-100px);
    transition: 6s ease;
  }

  /*=============== CONTENTS ===============*/

  .contents__subtitle {
    font-size: 6rem;

    line-height: 6rem;
  }

  .contents__description {
    margin-top: 1rem;
    font-size: 2rem;
    width: 100%; /* または希望する幅に設定 */
    max-width: 2000px;
  }

  .contents__avatar {
    height: 60%; /* 例えば、アバターの高さをコンテナより大きくする */
    top: 30%;
    left: -20%;
  }

  /*=============== INVITATION ===============*/
  .invitation__title {
    display: flex;
    position: absolute;
    top: -10%;
    left: 35%;
    z-index: 10;
    height: 20%;
    transform: rotate(-3deg);
  }

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

  .bubble-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* 吹き出しの基本スタイル */
  .speech-bubble {
    font-size: 2.5em; /* テキストの大きさを調整 */
    padding: 2em 3.5em;
    top: 50%;
    max-width: 600px; /* 最大幅を設定 */
    visibility: hidden;
  }

  .invitation__main-title {
    margin-top: 50%;
    width: 100%;
    visibility: hidden;
  }
  .invitation__details {
    font-size: 1.5rem;
  }

  .invitation__footer {
    font-size: 1.5rem;
  }

  /*=============== TEAM ===============*/

  .team__title {
    top: -15%;
    left: 35%;
    height: 40%;
  }

  .team__name {
    text-align: left;
    color: #000;
    font-size: 5rem;
  }

  .team__section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5rem;
  }

  .team__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .team__img2,
  .team__img3 {
    max-width: 300px; /* 最大幅を設定 */
    max-height: 200px; /* 最大高さを設定 */
    height: auto; /* アスペクト比を維持 */
    margin-right: 20px;
  }

  .team__section-title {
    font-size: 24px;
    color: black;
  }

  .team__section-description {
    font-size: 16px;
    color: black;
  }

  /*=============== FOOTER ===============*/

  .footer {
    background-color: var(--container-color-light);
    color: white;
    padding: 40px 0; /* 上下のパディング */
    display: flex;
    align-items: center; /* 中央揃え */
    justify-content: space-between; /* コンテンツ間に均等なスペース */
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    justify-content: space-around; /* 内包する要素に均等なスペースを提供 */
    align-items: left;
    width: 80%; /* フッターの幅 */
    margin: 0 auto; /* 中央揃え */
  }

  .footer__logo img {
    max-width: 20%; /* ロゴのサイズ調整 */
    height: auto;
    margin-bottom: 5%;
  }

  .footer__title {
    font-size: 1.5rem; /* タイトルのフォントサイズ */
  }

  .footer__copy {
    font-size: 1rem; /* コピーライトのフォントサイズ */
    text-align: left;
    margin-top: 5%;
    gap: 1rem;
    display: flex;
  }
}

/* For large devices */
@media screen and (min-width: 1600px) and (max-width: 2500px) {
  #fixed-header {
    max-width: 1200px;
    margin-left: 20%;
  }

  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/lg_top-bg.png);
    padding-bottom: 10%;
  }

  /*=============== CONTINUE ===============*/
  .continue__container {
    padding: 10% 6rem;
    grid-template-columns: repeat(3, 1fr);
  }
  .continue__img-container {
    height: auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .continue__content_img {
    object-fit: cover;
    width: 100%;
    height: 300px;
  }

  .schedule {
    padding-left: 10%;
  }

  /*=============== CONTENTS ===============*/
  .contents__container {
    margin: 0 auto;
  }

  .contents__avatar {
    height: 70%; /* 例えば、アバターの高さをコンテナより大きくする */
    width: auto; /* 幅は自動で調整（高さに合わせて） */
    position: absolute;
    top: 15%;
    left: -25%;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1400px) and (max-width: 1600px) {
  /*=============== HOME ===============*/
  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/lg_top-bg.png);
    padding-bottom: 5%;
  }

  /*=============== CONTENTS ===============*/

  .contents__avatar {
    height: 65%; /* 例えば、アバターの高さをコンテナより大きくする */
    width: auto; /* 幅は自動で調整（高さに合わせて） */
    position: absolute;
    top: 35%;
    left: -25%;
  }

  /*=============== INVITATION ===============*/

  /* 吹き出しの位置を調整（左側） */
  .speech-bubble:first-of-type {
    left: 20%; /* 左側に位置調整 */
    transform: translateX(-100%) translateY(-50%) rotate(-10deg); /* 左に移動し、傾ける */
  }

  /* 吹き出しの位置を調整（右側） */
  .speech-bubble:last-of-type {
    right: 20%; /* 右側に位置調整 */
    transform: translateX(100%) translateY(-50%) rotate(10deg); /* 右に移動し、傾ける */
  }

  .invitation__main-title {
    margin-top: 20%;
    width: 100%;
    visibility: hidden;
  }
}

@media screen and (max-width: 1400px) {
  /*=============== HOME ===============*/
  .home {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 0;
  }

  .home__row_container {
    margin-top: 100%;
  }

  /*=============== CONTINUE ===============*/

  .continue__container {
    padding: 10% 7rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .continue__img-container {
    height: auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .continue__content_img {
    object-fit: cover;
    width: 100%;
    height: 300px;
  }

  /*=============== CURRICULUM ===============*/

  .curiculum1__avatar {
    height: 35%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 0;
    right: -15%;
    opacity: 0;
    transform: translateX(100px);
    transition: 3s ease;
    filter: drop-shadow(10px 5px 5px #4e4e4e);
  }

  /*=============== CONTENTS ===============*/

  .contents__avatar {
    height: 65%; /* 例えば、アバターの高さをコンテナより大きくする */
    width: auto; /* 幅は自動で調整（高さに合わせて） */
    position: absolute;
    top: 35%;
    left: -25%;
  }

  /*=============== INVITATION ===============*/

  /* 吹き出しの位置を調整（左側） */
  .speech-bubble:first-of-type {
    left: 20%; /* 左側に位置調整 */
    transform: translateX(-100%) translateY(-50%) rotate(-10deg); /* 左に移動し、傾ける */
  }

  /* 吹き出しの位置を調整（右側） */
  .speech-bubble:last-of-type {
    right: 20%; /* 右側に位置調整 */
    transform: translateX(100%) translateY(-50%) rotate(10deg); /* 右に移動し、傾ける */
  }

  .invitation__main-title {
    margin-top: 20%;
    width: 100%;
    visibility: hidden;
  }

  /*=============== TEAM ===============*/

  .team__name {
    text-align: left;
    color: #000;
    font-size: 32px;
  }

  .team__section {
    margin-bottom: 2rem;
    align-items: flex-start;
  }
}

@media screen and (max-width: 1370px) {
  /*=============== HOME ===============*/
  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 15%;
  }
}

@media screen and (max-width: 1280px) {
  /*=============== HOME ===============*/
  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 15%;
  }

  /*=============== CONTINUE ===============*/

  .continue__title {
    left: 20%;
  }

  .continue__container {
    padding: 10% 7rem;
    grid-template-columns: repeat(2, 1fr);
  }

  /*=============== CURRICULUM ===============*/

  .curiculum__title_font {
    left: 20%;
  }

  .curiculum1__avatar {
    height: 35%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 0;
    right: -20%;
    opacity: 0;
    transform: translateX(100px);
    transition: 3s ease;
    filter: drop-shadow(10px 5px 5px #4e4e4e);
  }

  /*=============== CONTENTS ===============*/

  .contents__avatar {
    height: 60%; /* 例えば、アバターの高さをコンテナより大きくする */
    width: auto; /* 幅は自動で調整（高さに合わせて） */
    position: absolute;
    top: 35%;
    left: -25%;
  }

  /*=============== INVITATION ===============*/

  /* 吹き出しの位置を調整（左側） */
  .speech-bubble:first-of-type {
    left: 20%; /* 左側に位置調整 */
    transform: translateX(-100%) translateY(-50%) rotate(-10deg); /* 左に移動し、傾ける */
  }

  /* 吹き出しの位置を調整（右側） */
  .speech-bubble:last-of-type {
    right: 20%; /* 右側に位置調整 */
    transform: translateX(100%) translateY(-50%) rotate(10deg); /* 右に移動し、傾ける */
  }

  .invitation__main-title {
    margin-top: 30%;
    width: 100%;
    visibility: hidden;
  }

  /* TEAM */
  .team__name {
    text-align: left;
    color: #000;
    font-size: 32px;
  }

  .team__logo {
    height: 100%;
  }

  .team__section {
    margin-bottom: 2rem;
    align-items: flex-start;
  }
}

/* For medium devices (ipad/tablet) */
@media screen and (max-width: 1024px) {
  /*=============== HOME ===============*/
  .home {
    height: 100%;
    padding-inline: 2%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 10%;
  }

  .home__title {
    font-size: var(--big-font-size);
    text-transform: uppercase;
  }

  .home__description {
    color: var(--title-color);
    background-color: #161e5e;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    padding-inline: 1rem;
  }

  /*=============== BUTTON ===============*/

  .home__apply_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 34px;
    border: 3px solid #000;
    background: #fff;
    box-shadow: 8px 8px 10px 2px rgba(0, 0, 0, 0.8);
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    width: 60%;
    transition: 0.3s;
  }

  /*=============== CONTINUE ===============*/

  .continue__title {
    left: 20%;
  }

  .continue__container {
    padding: 10% 7rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .continue__img-container {
    height: 200px;
    width: 400px;
    margin-bottom: 20px;
  }

  .continue__content_img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  /*=============== CURRICULUM ===============*/

  .curiculum__title_font {
    left: 15%;
  }

  .curiculum1__avatar {
    height: 35%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 0;
    right: -15%;
    opacity: 0;
    transform: translateX(100px);
    transition: 3s ease;
    filter: drop-shadow(10px 5px 5px #4e4e4e);
  }

  .curiculum2__avatar1 {
    left: 3%;
  }

  .curiculum2__avatar2 {
    left: 3%;
  }

  .curiculum3__col {
    display: flex;
    flex-direction: column;
    width: 50%;
    align-items: center;
    justify-content: right;
    margin-top: 5%;
  }

  .curiculum3_movie {
    height: 25%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 65%;
    right: -5%;
    transform: translateX(-100px);
    transition: 6s ease;
  }

  /*=============== SCHEDULE ===============*/

  /*=============== CONTENTS ===============*/

  .contents__avatar {
    height: 60%;
    width: auto;
    position: absolute;
    top: 35%;
    left: -25%;
  }

  /*=============== INVITATION ===============*/

  .invitation__title {
    display: flex;
    position: absolute;
    top: -5%;
    left: 30%;
    z-index: 10;
    transform: rotate(-3deg);
  }

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

  .bubble-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* 吹き出しの基本スタイル */
  .speech-bubble {
    background-color: white;
    color: black;
    border: 4px solid black;
    border-radius: 25px; /* 角の丸み */
    font-size: 2em; /* テキストの大きさを調整 */
    padding: 1em 1.5em;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 300px; /* 最大幅を設定 */
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5); /* 影を追加 */
    visibility: hidden;
  }

  /* 吹き出しのしっぽ */
  .speech-bubble::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0; /* 三角形の大きさ */
    border-color: white transparent transparent transparent;
    bottom: -20px; /* 吹き出しの下に配置 */
    left: 50%;
    transform: translateX(-50%);
  }
  /* 吹き出しの位置を調整 */
  .bubble-container {
    position: relative;
    text-align: center; /* 中央揃え */
  }

  /* 吹き出しの位置を調整（左側） */
  .speech-bubble:first-of-type {
    left: 20%; /* 左側に位置調整 */
    transform: translateX(-100%) translateY(-50%) rotate(-10deg); /* 左に移動し、傾ける */
  }

  /* 吹き出しの位置を調整（右側） */
  .speech-bubble:last-of-type {
    right: 20%; /* 右側に位置調整 */
    transform: translateX(100%) translateY(-50%) rotate(10deg); /* 右に移動し、傾ける */
  }

  .invitation__main-title {
    margin-top: 30%;
    width: 100%;
    visibility: hidden;
  }

  /*=============== TEAM ===============*/

  .team__title {
    display: flex;
    position: absolute;
    top: -5%;
    left: 30%;
    z-index: 10;
    transform: rotate(-3deg);
  }

  .team__contents {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin-top: 100px; /* Adjust as needed */
  }

  .team__header {
    width: 100%;
  }
  .team__name {
    text-align: left;
    color: #000;
    font-size: 32px;
  }

  .team__content {
    display: flex;
    align-items: stretch; /* アイテムをコンテナの高さに合わせて伸ばします */
    gap: 10%;
  }

  .team__left {
    flex: 1; /* 左側の要素にフレックスの成長を許可します */
  }

  .team__right {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 均等な間隔を設けます */
    flex: 2; /* 右側の要素にフレックスの成長を許可します */
  }

  .team__logo {
    height: 100%;
  }

  .team__img {
    width: 100%; /* Adjust as needed */
    height: auto;
  }

  .team__section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .team__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .team__img2,
  .team__img3 {
    max-width: 300px; /* 最大幅を設定 */
    max-height: 200px; /* 最大高さを設定 */
    height: auto; /* アスペクト比を維持 */
    margin-right: 20px;
  }

  .team__section-title {
    font-size: 24px;
    color: black;
  }

  .team__section-description {
    font-size: 16px;
    color: black;
  }
}

/* For small devices (iphone/android) */
@media screen and (max-width: 930px) {
  /*=============== HOME ===============*/
  .home__row_container {
    padding-inline: 0;
  }

  /*=============== CONTINUE ===============*/
  .continue__title {
    left: 15%;
  }

  .continue__container {
    padding: 10% 3rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .continue__img-container {
    height: 200px;
    width: 400px;
    margin-bottom: 20px;
  }

  .continue__content_img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  /*=============== CONTENTS ===============*/

  .contents__avatar {
    height: 60%; /* 例えば、アバターの高さをコンテナより大きくする */
    top: 40%;
  }
}

/* Ipad air*/
@media screen and (max-width: 850px) {
  /*=============== HOME ===============*/

  .home__container {
    padding: 0;
  }

  /*=============== CONTINUE ===============*/

  .continue__title {
    left: 10%;
  }

  .continue__container {
    padding: 10% 7rem;
    grid-template-columns: repeat(1, 1fr);
  }

  .continue__img-container {
    height: auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .continue__content_img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  /*=============== CURRICULUM ===============*/

  .curiculum__title_font {
    left: 5%;
  }

  .curiculum1__avatar {
    height: 25%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 5%;
    right: -10%;
    opacity: 0;
    transform: translateX(100px);
    transition: 3s ease;
    filter: drop-shadow(10px 5px 5px #4e4e4e);
  }

  .curiculum3_movie {
    height: 25%; /* アバターの高さを調整 */
    width: auto;
    position: absolute;
    top: 70%;
    right: -15%;
    transform: translateX(-100px);
    transition: 6s ease;
  }

  /*=============== SCHEDULE ===============*/

  /*=============== CONTENTS ===============*/

  .contents__avatar {
    height: 60%; /* 例えば、アバターの高さをコンテナより大きくする */
    top: 40%;
  }

  /*=============== INVITATION ===============*/

  .invitation__title {
    width: 40%;
  }

  /* 吹き出しの位置を調整（左側） */
  .speech-bubble:first-of-type {
    left: 25%; /* 左側に位置調整 */
    transform: translateX(-100%) translateY(-50%) rotate(-10deg); /* 左に移動し、傾ける */
  }

  /* 吹き出しの位置を調整（右側） */
  .speech-bubble:last-of-type {
    right: 25%; /* 右側に位置調整 */
    transform: translateX(100%) translateY(-50%) rotate(10deg); /* 右に移動し、傾ける */
  }

  /*=============== TEAM ===============*/

  .team__title {
    width: 40%;
    top: -3%;
  }

  .team__contents {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .team__header {
    width: 100%;
  }
  .team__name {
    text-align: left;
    color: #000;
    font-size: 32px;
  }

  .team__logo {
    vertical-align: top;
    height: 100%;
  }

  .team__content {
    display: flex;
    flex-direction: column;
    gap: 30%;
  }

  .team__left {
    flex: 1; /* 左側の要素にフレックスの成長を許可します */
  }

  .team__right {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 均等な間隔を設けます */
  }

  .team__img {
    width: 100%; /* Adjust as needed */
    height: auto;
  }

  .team__section {
    display: flex;
    margin-bottom: 5%;
    align-items: flex-start;
  }

  .team__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .team__img2,
  .team__img3 {
    max-width: 300px; /* 最大幅を設定 */
    max-height: 200px; /* 最大高さを設定 */
    height: auto; /* アスペクト比を維持 */
    margin-right: 20px;
  }

  .team__section-title {
    font-size: 24px;
    color: black;
  }

  .team__section-description {
    font-size: 16px;
    color: black;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding-inline: 6rem;
  }

  .grid {
    gap: 2rem;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--title-color);
    width: 400px;
    height: 100%;
    padding: 4rem 1rem;
    transition: all 0.3s var(--transition);
  }

  .show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 0.75rem;
  }

  .nav__link,
  .nav__close {
    color: var(--black);
  }

  .nav__link {
    padding: 0.75rem;
  }

  .active-link {
    background-color: var(--first-color);
    color: var(--title-color);
    display: block;
  }

  .nav__close,
  .nav__toggle {
    display: block;
    font-size: var(--h2-font-size);
  }

  .nav__toggle {
    color: var(--title-color);
  }

  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  /* HOME */
  .home {
    background-image: url(../img/sp__top-bg.png);
    padding-top: 0;
  }
  .home__row_container {
    flex-direction: column;
    padding-inline: 0;
    gap: 2rem;
  }
  .home__apply_btn {
    width: 100%;
    border: 3px solid #000;
    padding: 2rem;
  }
  .home__apply_btn_text {
    font-size: 1.5rem;
  }

  /* CONTINUE */
  .continue {
    padding: 3rem 0;
  }
  .continue__container {
    grid-template-columns: repeat(1, 1fr);
  }
  .continue__title {
    top: -2%;
    left: 10%;
    width: 80%;
  }
  .continue__img-container {
    width: 100%;
  }
  .continue__content {
    width: 100%;
  }

  /* CURRICULUM */

  .curiculum__title_font {
    top: -2%;
    left: 10%;
    width: 80%;
  }

  .curiculum__title {
    margin-top: 0;
  }

  .curiculum1__avatar {
    height: 30%;
    top: 5%;
    right: -10%;
  }

  .curiculum2__avatar1 {
    height: 10%;
    top: 40%;
    left: -5%;
  }
  .curiculum2__avatar2 {
    height: 10%;
    top: 50%;
    left: -5%;
  }

  .curiculum2__col {
    margin-top: 0%;
  }

  .curiculum3__title {
    margin-top: 20%;
  }
  .curiculum3_movie {
    right: -10%;
    top: 65%;
  }

  /** CONTENTS **/
  .contents__avatar {
    height: 45%;
    top: 55%;
    left: -10%;
  }

  /* INVITATION */

  .invitation__title {
    top: 0;
    left: 30%;
    width: 35%;
  }

  /* 吹き出しの位置を調整（左側） */
  .speech-bubble:first-of-type {
    left: 25%; /* 左側に位置調整 */
    transform: translateX(-100%) translateY(-50%) rotate(-10deg); /* 左に移動し、傾ける */
  }

  /* 吹き出しの位置を調整（右側） */
  .speech-bubble:last-of-type {
    right: 25%; /* 右側に位置調整 */
    transform: translateX(100%) translateY(-50%) rotate(10deg); /* 右に移動し、傾ける */
  }

  .invitation__main-title {
    margin-top: 60%;
    width: 100%;
    visibility: hidden;
  }

  /* TEAM */

  .team__title {
    top: -2%;
    left: 30%;
    width: 35%;
  }

  .team__content {
    display: flex;
    flex-direction: column;
  }

  .team__name {
    font-size: 4rem;
  }

  .team__right {
    padding-top: 3rem;
  }

  .team__section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 3rem;
  }

  .team__img2,
  .team__img3 {
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    margin-bottom: 2rem;
  }

  .footer__container {
    flex-direction: column;
  }

  .footer__title,
  .footer__copy {
    font-size: 12px;
    text-align: center;
  }
}

@media screen and (max-width: 570px) {
  /** CARIICULUM **/
  .curiculum__title_font {
    top: -2%;
    left: 10%;
    width: 80%;
  }

  .curiculum__container {
    padding-top: 0;
    padding-inline: 3rem;
  }

  .curiculum__col {
    width: 80%;
  }

  .curiculum__title {
    margin-top: 2rem;
    height: 80%;
  }

  .curiculum1__avatar {
    height: 15%;
    top: 15%;
    right: -10%;
  }

  .curiculum2__col {
    width: 60%;
    margin-top: 0;
  }

  .curiculum2__avatar1 {
    height: 10%;
    top: 40%;
    left: -10%;
  }

  .curiculum2__avatar2 {
    height: 10%;
    top: 50%;
    left: -10%;
  }

  .curiculum3__col {
    width: 60%;
    margin-top: 0;
  }

  .curiculum3__title {
    margin-top: 0;
  }

  .curiculum3_movie {
    right: -20%;
    top: 65%;
  }

  .curiculum__container {
    padding-top: 2rem;
  }

  /*=============== SCHEDULE ===============*/
  .schedule {
    min-height: 100%;
  }
  .schedule__img {
    height: 100%;
    padding: 2rem 0;
  }
  .schedule__img img {
    height: 100%;
  }

  /*=============== CONTENTS ===============*/
  .contents__container {
    padding-inline: 3rem;
  }
  .contents__subtitle {
    font-size: 1.5rem;
  }
  .contents__description {
    font-size: 1rem;
  }

  /** INVITATION **/

  /* 吹き出しの基本スタイル */
  .speech-bubble {
    font-size: 20px;
    top: 50%;
    max-width: 200px;
  }

  /* 吹き出しの位置を調整（左側） */
  .speech-bubble:first-of-type {
    left: 30%; /* 左側に位置調整 */
    transform: translateX(-100%) translateY(-50%) rotate(-10deg); /* 左に移動し、傾ける */
  }

  /* 吹き出しの位置を調整（右側） */
  .speech-bubble:last-of-type {
    right: 30%; /* 右側に位置調整 */
    transform: translateX(100%) translateY(-50%) rotate(10deg); /* 右に移動し、傾ける */
  }

  .invitation__main-title {
    margin-top: 60%;
    width: 100%;
    visibility: hidden;
  }

  .invitation__apply_btn {
    border-radius: 26px;
    border: 1px solid #000;
    padding: 10px 40px;
    cursor: pointer;
  }

  .invitation__apply_btn_text {
    font-size: 20px;
    font-weight: 600;
  }

  /*=============== TEAM ===============*/
  .team__title {
    top: -1%;
    left: 30%;
    width: 50%;
  }
}

/* For small devices (Mobile) */
@media screen and (max-width: 470px) {
  .container {
    max-width: 540px;
    padding-inline: 1rem;
  }

  .grid {
    gap: 2rem;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--title-color);
    width: 400px;
    height: 100%;
    padding: 4rem 1rem;
    transition: all 0.3s var(--transition);
  }

  .show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 0.75rem;
  }

  .nav__link,
  .nav__close {
    color: var(--black);
  }

  .nav__link {
    padding: 0.75rem;
  }

  .active-link {
    background-color: var(--first-color);
    color: var(--title-color);
    display: block;
  }

  .nav__close,
  .nav__toggle {
    display: block;
    font-size: var(--h2-font-size);
  }

  .nav__toggle {
    color: var(--title-color);
  }

  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  /* HOME */
  .home {
    background-image: url(../img/sp__top-bg.png);
    padding-top: 0;
  }
  .home__row_container {
    flex-direction: column;
    padding-inline: 0;
    gap: 2rem;
  }
  .home__apply_btn {
    width: 100%;
    border: 3px solid #000;
    padding: 2rem;
  }
  .home__apply_btn_text {
    font-size: 1.5rem;
  }

  /* CONTINUE */
  .continue {
    padding: 3rem 0;
  }
  .continue__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .continue__title {
    top: -2%;
    left: 10%;
    width: 80%;
  }

  .continue__img-container {
    width: 100%;
  }
  .continue__content {
    width: 100%;
  }

  /* CURRICULUM */
  .curiculum {
    padding: 3rem 0;
  }
  .curiculum__container {
    flex-direction: row;
    padding-top: 0;
  }

  .curiculum__title_font {
    top: -3%;
    left: 10%;
    width: 80%;
  }

  .curiculum__col {
    width: 70%;
  }

  .curiculum__title {
    margin-top: 3rem;
  }

  .curiculum1__avatar {
    height: 20%;
    top: 10%;
    right: -20%;
  }

  .curiculum2__col {
    width: 70%;
    margin-top: 0;
  }

  .curiculum2__avatar1 {
    height: 10%;
    top: 40%;
    left: -30%;
  }

  .curiculum2__avatar2 {
    height: 10%;
    top: 50%;
    left: -20%;
  }

  .curiculum3__col {
    width: 70%;
    margin-top: 0;
  }

  .curiculum3__title {
    margin-top: 3rem;
  }

  .curiculum3_movie {
    right: -50%;
    top: 70%;
  }

  /* SCHEDULE */
  .schedule {
    padding: 3rem 0;
    min-height: 100%;
  }

  .schedule__img {
    height: 100%;
  }

  /** CONTENTS **/
  .contents {
    padding: 3rem 0;
  }

  .contents__container {
    margin-left: 0;
  }

  .contents__title {
    width: 90%;
  }

  .contents__subtitle {
    font-size: 30px;
  }

  .contents__description {
    font-size: 16px;
    width: 100%;
    margin-left: 0;
    margin-top: 2rem;
  }

  .contents__avatar {
    height: 35%;
    top: 65%;
    left: -20%;
  }

  .contents__grid {
    gap: 1rem;
    padding-top: 5%; /* グリッドの下部の余白を設定 */
    margin-left: 15%;
  }

  .contents__img1,
  .contents__img2,
  .contents__img3,
  .contents__img4 {
    height: 100%;
    margin: 0;
  }

  /* INVITATION */
  .invitation {
    padding: 8rem 0;
  }

  .invitation__title {
    top: 5%;
    left: 10%;
    width: 80%;
  }

  /* 吹き出しの基本スタイル */
  .speech-bubble {
    font-size: 1.5em;
    top: 50%;
    max-width: 200px;
  }

  /* 吹き出しの位置を調整（左側） */
  .speech-bubble:first-of-type {
    left: 40%; /* 左側に位置調整 */
    transform: translateX(-100%) translateY(-50%) rotate(-10deg); /* 左に移動し、傾ける */
  }

  /* 吹き出しの位置を調整（右側） */
  .speech-bubble:last-of-type {
    right: 40%; /* 右側に位置調整 */
    transform: translateX(100%) translateY(-50%) rotate(10deg); /* 右に移動し、傾ける */
  }

  .invitation__main-title {
    margin-top: 50%;
    width: 90%;
    visibility: hidden;
  }

  .invitation__apply_btn {
    border-radius: 26px;
    border: 1px solid #000;
    padding: 10px 40px;
    cursor: pointer;
  }

  .invitation__apply_btn_text {
    font-size: 20px;
    font-weight: 600;
  }

  /* TEAM */
  .team {
    padding: 3rem 1rem;
  }

  .team__title {
    top: -1%;
    left: 10%;
    width: 80%;
  }

  .team__content {
    display: flex;
    flex-direction: column;
  }

  .team__name {
    font-size: 32px;
  }

  .team__img {
    /* width: 70%; */
  }

  .team__right {
    padding-top: 3rem;
  }

  .team__section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 3rem;
  }

  .team__img2,
  .team__img3 {
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    margin-bottom: 2rem;
  }

  .footer__container {
    flex-direction: column;
  }

  .footer__title,
  .footer__copy {
    font-size: 12px;
    text-align: center;
  }
}

@media screen and (max-width: 380px) {
  /* CURRICULUM */
  .curiculum__title_font {
    top: -3%;
    left: 10%;
    width: 80%;
  }

  .curiculum2__avatar2 {
    height: 10%;
    top: 50%;
    left: -30%;
  }

  .curiculum3_movie {
    right: -60%;
    top: 70%;
  }
}

/** Galaxy mobile **/
@media screen and (max-width: 290px) {
  /*=============== HOME ===============*/
  .home {
    height: 100%;
    margin-top: 0px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    background-color: #d43026;
    padding-bottom: 5rem;
  }

  .home__row_container {
    margin-top: 25rem;
  }

  /*=============== CONTINUE ===============*/
  .continue__title {
    top: -1%;
  }
  .continue__content_title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5rem;
  }

  .continue__content_description {
    font-size: 1rem;
    font-weight: 100;
    line-height: 1.5rem;
  }

  /*=============== CURRICULUM ===============*/

  .curiculum__title_font {
    top: -10px;
  }

  .curiculum__col {
    width: 100%; /* 要調整 */
  }

  .curiculum1__avatar {
    display: none;
  }

  .curiculum2__col {
    width: 100%;
  }

  .curiculum2__avatar1 {
    display: none;
  }

  .curiculum2__avatar2 {
    display: none;
  }

  .curiculum3__col {
    width: 100%;
  }

  .curiculum3_movie {
    display: none;
  }

  /*=============== CONTENTS ===============*/

  .contents__subtitle {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .contents__description {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 0.1rem;
  }

  .contents__avatar {
    height: 35%; /* 例えば、アバターの高さをコンテナより大きくする */
    top: 65%;
    left: -20%;
  }

  /*=============== INVITATION ===============*/

  .bubble-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* 吹き出しの基本スタイル */
  .speech-bubble {
    font-size: 1em; /* テキストの大きさを調整 */
    padding: 1em 1.5em;
    top: 50%;
    max-width: 600px; /* 最大幅を設定 */
    visibility: hidden;
  }

  .invitation__main-title {
    margin-top: 60%;
    width: 100%;
    visibility: hidden;
  }
  .invitation__details {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .invitation__footer {
    font-size: 1rem;
  }

  /*=============== FOOTER ===============*/
  .footer__copy {
    margin-top: 1rem;
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
  }
}

/* SAFARI */
/*--------------- CURRICULUM ---------------*/
_::-webkit-full-page-media,
.curiculum1__text {
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: 0.1rem;
}

/*--------------- CONTENTS ---------------*/
_::-webkit-full-page-media,
.contents__avatar {
  height: 50%; /* 例えば、アバターの高さをコンテナより大きくする */
  top: 25%;
  left: -15%;
}

/*--------------- INVITATION ---------------*/
_::-webkit-full-page-media,
.invitation__title {
  top: 0;
  left: 40%;
  width: 30%;
}
_::-webkit-full-page-media,
.invitation__main-title {
  margin-top: 35%;
  width: 100%;
  visibility: hidden;
}

_::-webkit-full-page-media,
.invitation__details {
  font-size: 2rem;
  line-height: 1.5rem;
  margin: 0;
  max-width: 1920px;
}

/*--------------- TEAM ---------------*/
_::-webkit-full-page-media,
.team__title {
  top: -5%;
  left: 40%;
  width: 20%;
}

_::-webkit-full-page-media,
.team__name {
  font-size: 3rem;
}

_::-webkit-full-page-media,
.team__section {
  align-items: flex-start;
  margin-bottom: 2rem;
}

/* 1400~1600 */
@media screen and (min-width: 1400px) and (max-width: 1600px) {
  /*--------------- HOME ---------------*/
  _::-webkit-full-page-media,
  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 10rem;
  }
  _::-webkit-full-page-media,
  .home__row_container {
    margin-top: 50rem;
  }
}

/* 1200~1366 */
@media screen and (min-width: 1200px) and (max-width: 1366px) {
  /*--------------- HOME ---------------*/
  _::-webkit-full-page-media,
  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 10rem;
  }
  .home__row_container {
    margin-top: 50rem;
  }

  /*--------------- CONTINUE ---------------*/
  _::-webkit-full-page-media,
  .continue__title {
    left: 25%;
  }

  /*--------------- CURRICULUM ---------------*/
  _::-webkit-full-page-media,
  .curiculum__title_font {
    top: -2%;
    left: 25%;
    width: 55%;
  }

  /*--------------- INVITATION ---------------*/
  _::-webkit-full-page-media,
  .invitation__title {
    top: 0;
    left: 30%;
    width: 40%;
  }
}

/* 1200~1024 */
@media screen and (min-width: 1024px) and (max-width: 1200px) {
  /*--------------- HOME ---------------*/
  _::-webkit-full-page-media,
  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 10rem;
  }
  _::-webkit-full-page-media,
  .home__row_container {
    margin-top: 50rem;
  }

  /*--------------- CONTINUE ---------------*/
  _::-webkit-full-page-media,
  .continue__title {
    left: 20%;
  }

  /*--------------- CURRICULUM ---------------*/
  _::-webkit-full-page-media,
  .curiculum__title_font {
    top: -2%;
    left: 25%;
    width: 55%;
  }
  _::-webkit-full-page-media,
  .curiculum1__avatar {
    height: 20%;
    top: 10%;
    right: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum2__avatar1 {
    height: 10%;
    top: 40%;
    left: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum2__avatar2 {
    height: 10%;
    top: 50%;
    left: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum3_movie {
    right: -10%;
    top: 70%;
  }

  /*--------------- INVITATION ---------------*/
  _::-webkit-full-page-media,
  .invitation__title {
    top: 0;
    left: 30%;
    width: 40%;
  }
}

/* 1024~768 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  /*--------------- HOME ---------------*/
  _::-webkit-full-page-media,
  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 10rem;
  }
  _::-webkit-full-page-media,
  .home__row_container {
    margin-top: 40rem;
  }

  /*--------------- CONTINUE ---------------*/
  _::-webkit-full-page-media,
  .continue__title {
    left: 10%;
  }

  /*--------------- CURRICULUM ---------------*/
  _::-webkit-full-page-media,
  .curiculum__title_font {
    top: -1%;
    left: 25%;
    width: 55%;
  }
  _::-webkit-full-page-media,
  .curiculum1__avatar {
    height: 20%;
    top: 10%;
    right: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum2__avatar1 {
    height: 10%;
    top: 40%;
    left: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum2__avatar2 {
    height: 10%;
    top: 50%;
    left: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum3_movie {
    right: -26%;
    top: 70%;
  }

  /*--------------- CONTENTS ---------------*/
  _::-webkit-full-page-media,
  .contents__avatar {
    height: 35%; /* 例えば、アバターの高さをコンテナより大きくする */
    top: 35%;
    left: -20%;
  }

  /*--------------- INVITATION ---------------*/
  _::-webkit-full-page-media,
  .invitation__title {
    top: 0;
    left: 30%;
    width: 40%;
  }
  _::-webkit-full-page-media,
  .invitation__main-title {
    margin-top: 40%;
    width: 100%;
    visibility: hidden;
  }

  /*--------------- TEAM ---------------*/
  _::-webkit-full-page-media,
  .team__title {
    top: -3%;
    left: 30%;
    width: 40%;
  }

  _::-webkit-full-page-media,
  .team__name {
    font-size: 3rem;
  }
}

/* 800~600 */
@media screen and (min-width: 700px) and (max-width: 800px) {
  /*--------------- HOME ---------------*/
  _::-webkit-full-page-media,
  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 5rem;
  }
  _::-webkit-full-page-media,
  .home__container {
    padding: 0;
  }
  _::-webkit-full-page-media,
  .home__row_container {
    margin-top: 30rem;
  }

  /*--------------- CONTINUE ---------------*/
  _::-webkit-full-page-media,
  .continue__title {
    left: 30%;
    width: 40%;
    top: -3%;
  }
  _::-webkit-full-page-media,
  .continue__container {
    grid-template-columns: repeat(2, 1fr);
  }
  _::-webkit-full-page-media,
  .continue__img-container {
    width: 100%;
    height: 250px;
  }
  _::-webkit-full-page-media,
  .continue__content {
    width: 100%;
  }

  /*--------------- CURRICULUM ---------------*/
  _::-webkit-full-page-media,
  .curiculum__title_font {
    top: -1%;
    left: 30%;
    width: 45%;
  }

  _::-webkit-full-page-media,
  .contents__title {
    margin-top: 0;
  }

  _::-webkit-full-page-media,
  .curiculum1__avatar {
    height: 20%;
    top: 5%;
    right: -10%;
  }

  _::-webkit-full-page-media,
  .curiculum2__avatar1 {
    height: 10%;
    top: 35%;
    left: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum2__avatar2 {
    height: 10%;
    top: 45%;
    left: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum3_movie {
    right: -20%;
    top: 65%;
  }

  /*--------------- CONTENTS ---------------*/
  _::-webkit-full-page-media,
  .contents__avatar {
    height: 35%; /* 例えば、アバターの高さをコンテナより大きくする */
    top: 35%;
    left: -20%;
  }

  /*--------------- INVITATION ---------------*/
  _::-webkit-full-page-media,
  .invitation__title {
    top: 0;
    left: 30%;
    width: 40%;
  }
  _::-webkit-full-page-media,
  .invitation__main-title {
    margin-top: 40%;
    width: 100%;
    visibility: hidden;
  }

  /*--------------- TEAM ---------------*/
  _::-webkit-full-page-media,
  .team__title {
    top: -3%;
    left: 30%;
    width: 40%;
  }
}

@media screen and (min-width: 600px) and (max-width: 700px) {
  /*--------------- HOME ---------------*/
  _::-webkit-full-page-media,
  .home {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ipad_top-bg.png);
    padding-bottom: 5rem;
  }
  _::-webkit-full-page-media,
  .home__container {
    padding: 0;
  }
  _::-webkit-full-page-media,
  .home__row_container {
    margin-top: 20rem;
  }

  /*--------------- CURRICULUM ---------------*/

  _::-webkit-full-page-media,
  .curiculum__col {
    width: 70%;
  }

  _::-webkit-full-page-media,
  .curiculum1__text {
    font-size: 14px;
    line-height: 18px;
  }

  _::-webkit-full-page-media,
  .curiculum1__avatar {
    height: 20%;
    top: 10%;
    right: -10%;
  }

  _::-webkit-full-page-media,
  .curiculum2__avatar1 {
    height: 10%;
    top: 40%;
    left: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum2__avatar2 {
    height: 10%;
    top: 50%;
    left: -10%;
  }
  _::-webkit-full-page-media,
  .curiculum3_movie {
    right: -30%;
    top: 65%;
  }
}

/* 600~320 */
@media screen and (min-width: 340px) and (max-width: 600px) {
  /*--------------- HOME ---------------*/
  _::-webkit-full-page-media,
  .home {
    background-image: url(../img/sp__top-bg.png);
    padding-top: 0;
  }
  _::-webkit-full-page-media,
  .home__row_container {
    flex-direction: column;
    padding-inline: 0;
    gap: 2rem;
  }
  _::-webkit-full-page-media,
  .home__description {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    padding-inline: 0.5rem;
  }

  _::-webkit-full-page-media,
  .home__em {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding-inline: 0.5rem;
  }

  _::-webkit-full-page-media,
  .home__apply_btn {
    width: 100%;
    border: 3px solid #000;
    padding: 1rem;
  }
  _::-webkit-full-page-media,
  .home__apply_btn_text {
    font-size: 1rem;
  }

  /*--------------- CONTINUE ---------------*/
  _::-webkit-full-page-media,
  .continue__title {
    left: 25%;
    width: 50%;
    top: -1%;
  }
  _::-webkit-full-page-media,
  .continue__container {
    grid-template-columns: repeat(1, 1fr);
  }
  _::-webkit-full-page-media,
  .continue__img-container {
    width: 100%;
    height: 250px;
  }
  _::-webkit-full-page-media,
  .continue__content {
    width: 100%;
  }

  /*--------------- CURRICULUM ---------------*/
  _::-webkit-full-page-media,
  .curiculum__title_font {
    top: -1%;
    left: 15%;
    width: 70%;
  }

  _::-webkit-full-page-media,
  .contents__title {
    margin-top: 0;
  }

  _::-webkit-full-page-media,
  .curiculum1__text {
    font-size: 14px;
    line-height: 18px;
  }

  _::-webkit-full-page-media,
  .curiculum1__avatar {
    height: 20%;
    top: 10%;
    right: -20%;
  }

  _::-webkit-full-page-media,
  .curiculum2__avatar1 {
    height: 10%;
    top: 45%;
    left: -20%;
  }
  _::-webkit-full-page-media,
  .curiculum2__avatar2 {
    height: 10%;
    top: 55%;
    left: -20%;
  }
  _::-webkit-full-page-media,
  .curiculum3_movie {
    right: -50%;
    top: 70%;
  }

  /*--------------- SCHEDULE ---------------*/
  _::-webkit-full-page-media,
  .schedule__img {
    width: 100%;
    height: auto;
    padding: 2rem 0;
  }
  .schedule__img img {
    height: auto;
    width: 100%;
  }

  /*--------------- CONTENTS ---------------*/
  _::-webkit-full-page-media,
  .contents__avatar {
    height: 35%; /* 例えば、アバターの高さをコンテナより大きくする */
    top: 60%;
    left: -20%;
  }
  _::-webkit-full-page-media,
  .contents__subtitle {
    font-size: 24px;
    line-height: 30px;
  }

  _::-webkit-full-page-media,
  .contents__img1,
  .contents__img2,
  .contents__img3,
  .contents__img4 {
    width: 100%;
    height: auto;
  }

  /*--------------- INVITATION ---------------*/
  _::-webkit-full-page-media,
  .invitation__title {
    top: 6%;
    left: 25%;
    width: 50%;
  }

  _::-webkit-full-page-media,
  .invitation__main-title {
    margin-top: 60%;
    width: 100%;
    visibility: hidden;
  }

  _::-webkit-full-page-media,
  .speech-bubble {
    font-size: 18px;
  }

  _::-webkit-full-page-media,
  .invitation__details {
    font-size: 14px;
    line-height: 18px;
  }

  /*--------------- TEAM ---------------*/
  _::-webkit-full-page-media,
  .team__title {
    top: -1%;
    left: 25%;
    width: 50%;
  }
}

/* 414~240 */
@media screen and (min-width: 240px) and (max-width: 340px) {
  /*--------------- HOME ---------------*/
  _::-webkit-full-page-media,
  .home {
    background-image: url(../img/sp__top-bg.png);
    padding-top: 0;
  }
  _::-webkit-full-page-media,
  .home__row_container {
    flex-direction: column;
    padding-inline: 0;
    gap: 2rem;
    margin-top: 30rem;
  }

  _::-webkit-full-page-media,
  .home__description {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    padding-inline: 0.5rem;
  }

  _::-webkit-full-page-media,
  .home__em {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    padding-inline: 0.5rem;
  }

  _::-webkit-full-page-media,
  .home__apply_btn {
    width: 100%;
    border: 3px solid #000;
    padding: 1rem;
  }
  _::-webkit-full-page-media,
  .home__apply_btn_text {
    font-size: 1rem;
  }

  /*--------------- CONTINUE ---------------*/
  _::-webkit-full-page-media,
  .continue__content_title {
    font-size: 20px;
    line-height: 30px;
  }
  _::-webkit-full-page-media,
  .continue__content_description {
    font-size: 12px;
    line-height: 20px;
  }

  /*--------------- CURRICULUM ---------------*/
  _::-webkit-full-page-media,
  .curiculum__title_font {
    top: -1%;
    left: 10%;
    width: 80%;
  }
  _::-webkit-full-page-media,
  .curiculum1__text {
    font-size: 14px;
    line-height: 18px;
  }
  _::-webkit-full-page-media,
  .curiculum2__avatar1 {
    height: 10%;
    top: 45%;
    left: -30%;
  }
  _::-webkit-full-page-media,
  .curiculum3_movie {
    right: -70%;
    top: 70%;
  }

  /*--------------- SCHEDULE ---------------*/
  _::-webkit-full-page-media,
  .schedule__img {
    width: 100%;
    height: auto;
    padding: 2rem 0;
  }
  .schedule__img img {
    height: auto;
    width: 100%;
  }

  /*--------------- CONTENTS ---------------*/
  _::-webkit-full-page-media,
  .contents__subtitle {
    font-size: 20px;
  }
  _::-webkit-full-page-media,
  .contents__description {
    font-size: 14px;
    line-height: 18px;
  }
  _::-webkit-full-page-media,
  .contents__img1,
  .contents__img2,
  .contents__img3,
  .contents__img4 {
    width: 100%;
    height: auto;
  }
  _::-webkit-full-page-media,
  .contents__avatar {
    height: 35%;
    top: 60%;
    left: -20%;
  }

  /*--------------- INVITATION ---------------*/
  _::-webkit-full-page-media,
  .invitation__title {
    top: 6%;
    left: 25%;
    width: 50%;
  }

  _::-webkit-full-page-media,
  .speech-bubble {
    font-size: 14px;
  }

  _::-webkit-full-page-media,
  .invitation__main-title {
    margin-top: 60%;
    width: 100%;
    visibility: hidden;
  }

  _::-webkit-full-page-media,
  .invitation__details {
    font-size: 14px;
    line-height: 18px;
  }

  /*--------------- TEAM ---------------*/
  _::-webkit-full-page-media,
  .team__title {
    top: -1%;
    left: 25%;
    width: 50%;
  }
}
