/*************************************************************************
[Master Stylesheet]
  Description 	: Osaka bay
  Author      	: TFO
  Version     	: 1.0
  Created     	: 2024/10/23

[Table of contents]
  1. Header
  2. Main
    2.1. Top banner image
    2.2. Nav menu
    2.3. Tab day
    2.4. Schedule detail
  3. Footer
    3.1. Footer top
    3.2. Footer copyright

[Color codes]
  Background  : #ffffff
  Content     : #222222
  Header      : #222222
  Footer      : #222222

  a (standard): #222222
  a (visited) : #364256
  a (active)  : #364256

[Typography]
  Body        : 16px/1.75rem 'Zen Kaku Gothic New', sans-serif
  Headding    : 'Noto Serif JP', serif

*************************************************************************/

/*********************************
Variables
*********************************/
:root {
  /* Font */
  --font-family--primary: "Zen Kaku Gothic New", sans-serif;
  --font-family--secondary: "Noto Serif JP", serif;
  --font-family--tuesday: "Noto Sans JP", sans-serif;

  /* Colors */
	--color-white: #ffffff;
  --color-black: #222222;
  --color-blue-dark: #364256;
  --color-blue-gray: #586D8E;
  --color-gray: #C1C1C1;
}

* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
  
body {
  font-family: var(--font-family--primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75rem;
  color: var(--color-black);
  overflow-x: hidden;
}

a {
  color: var(--color-black);
  text-decoration: none;
  transition: all .5s;
}
a:hover {
  color: var(--color-blue-dark);
}

p {
  margin-bottom: 1rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 1rem !important;
}
.mb-2 {
  margin-bottom: 1.5rem !important;
}
.mb-3 {
  margin-bottom: 2rem !important;
}

.text-center {
  text-align: center;
}

.text-red {
  color: var(--color-blue-dark);
}

.text-white {
  color: var(--color-white);
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1 {
  font-size: 7rem;
  line-height: 9rem;
}
h2 {
  font-size: 6rem;
  line-height: 8rem;
}
h3 {
  font-size: 5rem;
  line-height: 6.5rem;
}
h4 {
  font-size: 4rem;
  line-height: 4.5rem;
}
h5 {
  font-size: 3rem;
  line-height: 3.5rem;
}
h6 {
  font-size: 2rem;
  line-height: 3rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family--secondary);
  font-weight: 700;
}
@media (max-width: 767px) {
  h6 {
    font-size: 1.625rem;
    line-height: 2rem;
  }
}

/* badge */
.badge {
  border-radius: 30px;
  padding: 7px 20px;
  color: var(--color-white);
  display: inline-block;
  text-align: center;
  background: rgb(88,109,142);
  background: linear-gradient(90deg, rgba(88,109,142,1) 0%, rgba(54,66,86,1) 100%);
  font-size: 20px;
  font-weight: bold;
}
 @media (max-width: 767px) {
  .badge {
    font-size: 16px;
  }
 }

/* .container */
.container {
	margin: 0 auto;
	width: 100%;
	max-width: 1080px;
}

@media (max-width: 768px) {
	.container {
		padding: 0 25px;
	}

  .container-large {
    padding: 0 25px;
  }
}

/* btn_button */
.btn-button {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-family--secondary);
  color: var(--color-white);
  background: rgb(88,109,142);
  background: linear-gradient(90deg, rgba(88,109,142,1) 0%, rgba(54,66,86,1) 100%);
  border-radius: 6px;
  padding: 15px 50px;
  display: inline-block;
  min-width: 320px;
  position: relative;
}
.btn-button:after {
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 28px;
  height: 16px;
  background-image: url(../img/svg/icon_arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
}

.btn-button:hover {
  color: var(--color-white);
  box-shadow: 0 0 10px var(--color-blue-dark);
}

@media (max-width: 767px) {
  .btn-button {
    font-size: 16px;
    min-width: 264px;
  }
}

/* subtitle */
.subtitle {
  margin-bottom: 20px;
}
.subtitle_content {
  position: relative;
}
.subtitle_content > span {
  display: inline-block;
  height: 38px;
  line-height: 35px;
  margin: 0 22px;
  padding: 0 10px;
  border-top: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  font-size: 20px;
}
.subtitle_content:before,
.subtitle_content:after {
  position: absolute;
  content: "";
  width: 22px;
  height: 38px;
  background-repeat: no-repeat;
  background-position: center;
}
.subtitle_content:before {
  left: 1px;
  background-image: url(../img/subttile_before.png);
}
.subtitle_content:after {
  right: 1px;
  background-image: url(../img/subttile_after.png);
}

/* pc,sp/on_off */
.pc {
	display: block;
}

.sp {
	display: none;
}

@media (max-width: 767px) {
	.pc {
		display: none;
	}

	.sp {
		display: block;
	}
}

@media (max-width: 991px) {
  .swiper-button-prev, 
  .swiper-button-next {
    width: 40px;
    height: 40px;
    line-height: 35px !important;
    background-color: var(--color-gray);
    color: var(--color-dark);
  }

  .swiper-button-prev {
    left: 10px;
  }
  .swiper-button-next {
    right: 10px;
    left: inherit;
  }

  .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after, 
  .swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    font-size: 16px;
  }
}

/*********************************
1. Header
*********************************/
.header {
  padding: 27px 0;
  position: relative;
}
.header__main--logo a.logo {
  display: inline-block;
}

@media (max-width: 768px) {
  .header {
    padding: 5px 0 0;
  }
  .header__main--logo img {
    width: 90px;
  }
}

/*********************************
2. Main
*********************************/
.s__contents--head {
  padding-top: 70px;
  background-color: var(--color-white);
}
.s__contents {
  background: rgb(205, 212, 225);
  background: linear-gradient(0deg, rgba(205, 212, 225, 1) 0%, rgba(233, 237, 246, 1) 19%, rgba(242, 240, 247, 1) 62%, rgba(244, 241, 247, 1) 100%);
}
.s__contents .subtabcontents-list .inner,
.s__contents .subtabcontent-head {
  background-color: var(--color-white);
}
.s__contents .subtabcontents-list .inner {
  padding-bottom: 150px;
}

@media (max-width: 767px) {
  .s__contents .subtabcontents-list .inner {
    padding-bottom: 90px;
  }
}

/* 2.1. Section intro */
.s__intro {
  position: relative;
}
.s__intro--content {
  position: absolute;
  content: "";
  left: 18%;
  top: 20%;
  z-index: 1;
}
.s__intro--content h6,
.s__intro--content h1 {
  color: var(--color-black);
  letter-spacing: 3px;
}

@media (max-width: 767px) {
  .s__contents--head {
    padding-top: 50px;
  }
}

/* 2.2. Nav menu */
ul.nav-link {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 17px;
  list-style: none;
  border-bottom: 2px solid var(--color-blue-gray);
}
ul.nav-link li {
  width: 100%;
  text-align: center;
}
ul.nav-link li a {
  display: block;
  width: 100%;
  padding: 17px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  border-color: var(--color-blue-gray);
  font-size: 24px;
  font-weight: bold;
  color: var(--color-blue-gray)
}

ul.nav-link li.active a {
  background: rgb(88,109,142);
  background: linear-gradient(90deg, rgba(88,109,142,1) 0%, rgba(54,66,86,1) 100%);
}
ul.nav-link li.active a {
  color: var(--color-white);
}

@media (max-width: 767px) {
  ul.nav-link {
    gap: 6px;
  }
  ul.nav-link li a {
    font-size: 16px;
    padding: 3.5px 10px;
  }
}

/* 2.3. Tab Day */
.tab-head {
  text-align: center;
  font-weight: bold;
  color: var(--color-blue-gray);
  padding: 1.7rem 0;
  margin-bottom: 0;
}
.tab-head span {
  position: relative;
  padding: 0 20px;
}
.tab-head span:before {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  top: 55%;
  left: 0;
  transform: translateY(-55%);
  background-color: var(--color-blue-gray);
}

.tab,
.subtab {
  display: flex;
  flex-wrap: nowrap;
  gap: 17px;
  margin: 0 auto;
  text-align: center;
  justify-content: space-between;
}
.tab li,
.subtab li {
  display: block;
  color: var(--color-blue-gray);
  padding: 9.5px 20px;
  cursor: pointer;
  background-color: var(--color-white);
  width: 100%;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
}
.tab li.active,
.subtab li.active {
  color: var(--color-white);
  background: rgb(88,109,142);
  background: linear-gradient(90deg, rgba(88,109,142,1) 0%, rgba(54,66,86,1) 100%);
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
}
.tab li:before,
.tab li:after,
.subtab li:before,
.subtab li:after {
  position: absolute;
  content: "";
}
@media (max-width: 767px) {
  .tab li, 
  .subtab li {
    font-size: 1rem;
  }
}

/* Subtab */
.subtab {
  max-width: 775px;
  gap: 17px;
  margin: 0 auto;
}
.subtab li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--color-blue-gray);
}
.subtab li.active:after {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.subtab li.active:after {
	border-color: rgba(73, 90, 117, 0);
  border-top-color: #465670;
	border-width: 14px;
	margin-left: -14px;
}

.tabcontents-list {
  position: relative;
  opacity: 0;
}
.tabcontents-list.is-active {
  animation-name: displayAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
@keyframes displayAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Content list slide */
#contents .contents_bg {
  position: relative;
  background: var(--white);
  padding: 75px 0;
  overflow-x: hidden;
}
#contents .contents_list {
  display: flex;
  gap: 37px;
  position: relative;
}

#contents .contents_list .contents_item {
  width: 240px;
  max-width: 240px;
  background: var(--white);
  font-weight: bold;
  height: auto;
  border-bottom: 1px solid var(--color-blue-gray);
}
#contents .contents_list .contents_item:before,
#contents .contents_list .contents_item:after {
  top: 100%;
	left: 50%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
#contents .contents_list .contents_item:before {
  border-color: rgba(73, 90, 117, 0);
	border-top-color: #495A75;
	border-width: 11px;
	margin-left: -11px;
}
#contents .contents_list .contents_item:after {
  border-color: rgba(255, 255, 255, 0);
	border-top-color: #fff;
	border-width: 10px;
	margin-left: -10px;
}

#contents .contents_list .contents_item .img_box {
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  margin-bottom: 8px;
}
#contents .contents_list .contents_item:not(:last-child) .img_box {
  position: relative;
}
#contents .contents_list .contents_item:not(:last-child) .img_box:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -38px;
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-left: 12px solid var(--color-blue-dark);
  overflow: visible;
}
#contents .contents_list .img_box img {
  width: 240px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .3s ease;
}

#contents .contents_list .contents_item > a:hover img {
  transform: scale(1.1);
}

#contents .contents_list .text_box {
  padding: 10px 10px 20px;
  display: grid;
  grid-template-columns: auto 3fr;
  row-gap: 10px;
  column-gap: 10px;
}

#contents .contents_list .text_box h6 {
  font-size: 18px;
  line-height: 1.5rem;
  font-family: var(--font-family--primary);
  color: var(--color-black);
}

#contents .contents_list .text_box .num {
  height: 24px;
  width: 24px;
  background-color: var(--color-blue-gray);
  border-radius: 50px;
  line-height: 23px;
  font-size: 14px;
  text-align: center;
  color: var(--color-white);
}

.swiper_btn_box {
  position: absolute;
  content: "";
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0%);
  display: flex;
  justify-content: center;
  gap: 20px;
}

.swiper_btn_box .swiper-btn-next,
.swiper_btn_box .swiper-btn-prev {
  position: relative;
  height: 32px;
  width: 32px;
  border-radius: 6px;
  border: 1px solid var(--color-blue-gray);
  background-color: var(--color-blue-gray);
  cursor: pointer;
}

.swiper_btn_box .swiper-btn-next::before,
.swiper_btn_box .swiper-btn-prev::after {
  position: absolute;
  content: "";
  top: 9px;
  left: 0;
  right: 0;
  width: 16px;
  height: 12px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
}

.swiper_btn_box .swiper-btn-next::before {
  background-image: url(../img/svg/icon_arrow_white.svg);
}

.swiper_btn_box .swiper-btn-prev::after {
  transform: rotate(180deg);
  background-image: url(../img/svg/icon_arrow_white.svg);
}
.swiper_btn_box .swiper-btn-next.swiper-button-disabled,
.swiper_btn_box .swiper-btn-prev.swiper-button-disabled {
  cursor: default;
  background-color: var(--color-white);
  border-color: var(--color-blue-gray);
}
.swiper_btn_box .swiper-btn-next.swiper-button-disabled:before {
  background-image: url(../img/svg/icon_arrow_dark.svg);
  transform: rotate(180deg);
}
.swiper_btn_box .swiper-btn-prev.swiper-button-disabled:after {
  transform: rotate(0deg);
  background-image: url(../img/svg/icon_arrow_dark.svg);
}

/* Schedule detail */
/* schedule_list */
.schedule_list {
  position: relative;
}

.schedule_list .title_box {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: -70px;
}
.schedule_list .title_box h2 {
  font-size: 112px;
  color: var(--color-blue-gray);
  letter-spacing: 6px;
}

/* schedule_area */
.schedule_area {
  padding-top: 170px;
}
.schedule_area > li {
  padding-bottom: 85px;
  padding-top: 25px;
}

.contentlayout__title {
  margin-bottom: 70px;
  position: relative;
}
.contentlayout__title:before,
.contentlayout__title:after {
  position: absolute;
  content: "";
  background-repeat: no-repeat;
}
.contentlayout__title .h2 {
  font-size: 32px;
  line-height: 44px;
}

.contentlayout__text {
  margin-bottom: 30px;
}
.contentlayout__text .h3 {
  font-size: 26px;
  line-height: 36px;
  margin-bottom: 30px;
}
.contentlayout__text p.mw-900 {
  max-width: 900px;
  margin: 0 auto 1rem;
}

.contentlayout__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 46px;
}
.schedule_area li:nth-child(odd) .contentlayout__grid--col:first-child,
.schedule_area li:nth-child(even) .contentlayout__grid--col:last-child {
  width: 40%;
}
.schedule_area li:nth-child(odd) .contentlayout__grid--col:last-child,
.schedule_area li:nth-child(even) .contentlayout__grid--col:first-child {
  width: 60%;
}
.contentlayout__grid--col img {
  box-shadow: 20px 20px 30px rgba(20, 28, 38, .32);
}
.contentlayout__grid--col .round-left {
  border-top-left-radius: 200px;
}
.contentlayout__grid--col .round-right {
  border-top-right-radius: 200px;
}

.contentlayout__readmore {
  text-align: center;
  padding-top: 10px;
}

.contentlayout__course {
  margin-top: 60px;
}
.root__grid {
  border: 1px solid var(--color-blue-gray);
  padding: 24px 30px;
  background-color: var(--color-white);
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  align-items: flex-start;
}
.root__grid:before,
.root__grid:after {
  bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.root__grid:before {
  border-color: rgba(88, 109, 142, 0);
	border-bottom-color: #586d8e;
	border-width: 25px;
	margin-left: -25px;
}
.root__grid:after {
  border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 24px;
	margin-left: -24px;
}
.root__grid .root__grid--image {
  height: 64px;
}
.root__grid--list {
  width: 100%;
}
.root__grid--list > li {
  padding: 15px 0;
  border-top: 1px solid var(--color-blue-gray);
}
.root__grid--list > li:first-child {
  border-top: none;
  padding-top: 0;
}
.root__grid--list > li:last-child {
  padding-bottom: 0;
}

.plan {
  display: grid;
  grid-template-columns: auto 6fr;
  column-gap: 20px;
  font-size: 24px;
  line-height: 24px;
  margin-bottom: 15px;
  color: var(--color-blue-gray);
}
.plan span.line {
  position: relative;
}
.plan span.line:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: .5px;
  width: 100%;
  background-color: var(--color-blue-gray);
}
.plan_num {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: end;
  margin-bottom: 45px;
}
.plan_num span.num {
  font-size: 96px;
  font-family: var(--font-family--secondary);
  font-weight: bold;
  line-height: 5.5rem;
  color: var(--color-blue-gray);
}
.plan_num span.time {
  padding: 7px 20px 7px 50px;
  position: relative;
  height: 42px;
}
.plan_num span.time:before {
  position: absolute;
  content: "";
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 21px;
  background-image: url(../img/svg/icon_time.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.contentlayout__text h5.text {
  margin-bottom: 25px;
  font-size: 32px;
  line-height: 42px;
  font-weight: 900;
}

@media (max-width: 767px) {
  #contents .contents_bg {
    padding: 50px 0 75px;
  }
  .schedule_list .title_box h2 {
    font-size: 40px;
  }
  .schedule_list .title_box {
    top: -66px;
  }

  .schedule_area {
    padding-top: 80px;
  }
  .contentlayout__text h5.text {
    font-size: 26px;
    line-height: 36px;
  }

  .contentlayout__grid {
    display: grid;
    gap: 30px;
  }
  .schedule_area > li {
    padding-bottom: 30px;
  }
  .schedule_area > li:last-child {
    border-bottom: 1px solid var(--color-blue-gray);
  }
  .schedule_area li:nth-child(odd) .contentlayout__grid--col:first-child,
  .schedule_area li:nth-child(even) .contentlayout__grid--col:last-child {
    width: 100%;
  }
  .schedule_area li:nth-child(odd) .contentlayout__grid--col:last-child,
  .schedule_area li:nth-child(even) .contentlayout__grid--col:first-child {
    width: 100%;
  }
  .contentlayout__grid--col img {
    box-shadow: 10px 10px 30px rgba(20, 28, 38, .32);
  }
  .contentlayout__grid--col .round-left {
    border-top-left-radius: 80px;
  }
  .contentlayout__grid--col .round-right {
    border-top-right-radius: 80px;
  }
  .schedule_area li:nth-child(odd) .contentlayout__grid--col:last-child {
    order: 1;
  }
  .schedule_area li:nth-child(odd) .contentlayout__grid--col:first-child {
    order: 2;
  }
  .contentlayout__text .h3 {
    font-size: 24px;
  }

  .root__grid {
    flex-wrap: wrap;
    padding: 16px;
    gap: 20px;
  }
  .root__grid--image {
    margin: 0 auto;
  }

  .plan {
    margin-bottom: 5px;
    font-size: 20px;
  }
  .plan_num {
    margin-bottom: 35px;
  }
  .plan_num span.num {
    font-size: 64px;
    line-height: 58px;
  }
  .plan_num span.time {
    height: 40px;
    line-height: 24px;
  }
}

/* s__contents--tabbottom */
.s__contents--tabbottom {
  padding-top: 35px;
  padding-bottom: 35px;
}
.tab-bottom {
  text-align: center;
  flex-wrap: wrap;
  width: 320px;
  gap: 33px;
  justify-content: center;
}
.tab-bottom > li {
  padding: 15px 0;
  color: var(--color-white);
  border-bottom: none;
  background-color: transparent;
  transition: all .5s;
}
.tab-bottom > li.active {
  display: none;
}
.tab-bottom > li.active:after {
  content: none;
}
.tab-bottom > li:not(:last-child)  {
  margin-bottom: 0;
}
.tab-bottom > li a {
  color: var(--color-white);
}

@media (max-width: 767px) {
  .bottom-tab {
    padding-top: 30px;
  }
  .tab-bottom > li {
    width: 264px;
  }
}

/*********************************
3. Footer
*********************************/
/* s__footertop */
.s__footertop {
  background-color: var(--color-blue-dark);
  padding: 100px 0;
}
.footertop__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  margin-bottom: 50px;
}
.footertop__grid--col {
  width: 50%;
}
.footertop__grid--col:first-child img {
  box-shadow: 20px 20px 30px rgba(30, 30, 30, .6);
}
.footertop__meta .footertop__meta--text {
  padding: 10px 0 20px;
  border-bottom: 1px solid var(--color-white);
}
.footertop__meta--bottom {
  display: grid;
  grid-template-columns: 6fr 3fr;
  column-gap: 10px;
}
.footertop__meta--bottom p {
  font-size: 18px;
  font-weight: 900;
  font-family: var(--font-family--secondary);
}
.footertop__meta--bottom img {
  box-shadow: 5px 10px 20px rgba(30, 30, 30, .5);
}

.footertop__link .btn-button {
  background: var(--color-white);
  color: var(--color-blue-gray);
}
.footertop__link .btn-button:after {
  background-image: url(../img/svg/icon_arrow_dark_long.svg);
}

/* s__footercopyright */
.s__footercopyright {
  padding: .7rem 0;
  color: var(--color-white);
  background-color: var(--color-blue-gray );
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .5px;
}

@media (max-width: 767px) {
  .s__footertop {
    padding: 50px 0;
  }

  .footertop__grid {
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .footertop__grid--col {
    width: 100%;
  }

  .footertop__meta--bottom {
    display: flex;
    flex-wrap: wrap;
    padding: 5px 25px;
  }
  .footertop__meta--bottom p,
  .footertop__meta--bottom img {
    width: 100%;
  }
  .footertop__meta--bottom p {
    order: 2;
    padding: 20px 0 0;
    font-size: 17px;
  }
  .footertop__meta--bottom img {
    position: initial;
    order: 1;
  }

  .s__footercopyright {
    font-size: 11px;
    line-height: 17px;
  }
}