@charset "UTF-8";
/* CSS Document */
@media (min-width:30em) {} /*480px*/
@media (min-width:48em) {} /*768px*/
@media (min-width:64em) {} /*1024px*/
@media (min-width:75em) {} /*1200px*/
@media (min-width:87.5em) {} /*1400px*/
@media (min-width:100em) {} /*1600px*/


/* =========================================
Header
========================================= */

body {
  padding-top: 80px!important;
  transition: padding-top 0.3s ease;
}
body.header-hidden {
  padding-top: 0;
}
.header {
  width: 100%;
  height: 80px;
  position: fixed;
  top: -90px;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color-1);
  transition: top 0.3s ease, height 0.3s ease, padding 0.3s ease;
  box-shadow: 0 0 80px rgba(0,0,0,0.05);
}
.header.is-show {
  top: 0;
}

/* Logo */

.logo {
  position: relative;
  z-index: 1000;
  transition: all 0.3s ease;
  width: 280px;
  height: 50px;
  background-image: url("../images/logo-small.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 0.2em;
}

/* Nav area */

.hd-sp-box {
  display: flex;
  align-items: center;
  margin-left: auto;
}

@media (min-width:48em) {
body {
  padding-top: 100px!important;
}
.header {
  height: 100px;
  top: -110px;
}
.logo {
  width: 200px;
  height: 80px;
  background-image: url("../images/logo.svg");
  margin-bottom: 8px;
}
} 
@media (min-width: 64em) {
body {
  overflow: visible !important;
}
.hd-sp-box {
  order: 1;
  margin-left: 0;
}
.logo {
  position: relative;
  left: auto;
  transform: none;
  transition: font-size 0.3s ease;
}
}

/* ハンバーガー */

.hamburger {
  display: block;
  position: relative;
  z-index: 1000;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 22px;
}
.hamburger-line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--ko-blue);
  border-radius: 1px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, top 0.4s, bottom 0.4s;
}
.hamburger-line:nth-child(1) {
  top: 0;
}
.hamburger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger-line:nth-child(3) {
  bottom: 0;
}
.hamburger.active .hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
}
.hamburger.active .hamburger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* 参加ボタン */

.hd-action-btn {
  width: 120px;
  height: 50px;
  background-color: var(--ko-red);
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  line-height: var(--line-height-1);
  margin-right: 2em;
  border-radius: 999px;
  font-weight: 700;
}
.hd-action-btn:hover {
  background-color: var(--ko-blue);
  color: #fff;
}
.hd-action-btn:visited {
  color: #fff;
}

@media (min-width:40em) {
.hd-action-btn {
  display: flex;
}
}
@media (min-width:64em) {
.hd-action-btn {
  margin-right: 0;
  width: 160px;
}
.hamburger {
  display: none;
}
}
@media (min-width:100em) {
.hd-action-btn {
  width: 200px;
  height: 66px;
  font-size: 1.1rem;
}
}

/* 画面オーバーレイ */

.nav-overlay {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  top: 80px; /* ヘッダーの高さ分下から開始 */
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  height: calc(100svh - 80px);
  background-color: rgba(0, 0, 0, 0.5); /* 黒の半透明 (お好みで調整可能) */
  z-index: 998; /* メニュー(.nav-menu)より下、コンテンツより上 */
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.active {
  display: block;
  opacity: 1;
}
@media (min-width:48em) {
.nav-overlay {
  top: 120px;
}
.nav-overlay {
  height: calc(100vh - 100px);
  height: calc(100svh - 100px);
}
}
@media (min-width: 64em) {
.nav-overlay {
  display: none !important;
}
}

/* スマホ用アコーディオンメニュー */

.nav-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  z-index: 999;
  gap: 0;
  background-color: var(--bg-color-1);
}
.nav-menu.active {
  max-height: calc(100vh - 80px); 
  max-height: calc(100svh - 80px); 
  overflow-y: auto; 
  -webkit-overflow-scrolling: touch;
  background-color: var(--bg-color-1);
}
@media (min-width:48em) {
.nav-menu {
  top: 100px;
}
.nav-menu.active {
  max-height: calc(100vh - 100px); 
  max-height: calc(100svh - 100px); 
}
}

.nav-item {
  width: 100%;
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid #e6e6e6;
  transition: color 0.3s;
  position: relative;
  padding: 1.5em 1.25em;
}
.nav-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}
.nav-ja {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  transition: font-size 0.3s ease;
}
.nav-en {
  font-size: 0.9rem;
  color: var(--ko-blue);
  font-weight: 700;
  transition: opacity 0.3s ease, font-size 0.3s ease;
}

/* 矢印アイコン用スタイル (スマホ用) */

.icon-arrow {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  display: inline-block;
  transition: transform 0.3s ease;
}
.nav-item.dropdown.active .icon-arrow {
  transform: translateY(-50%) rotate(180deg);
}
.nav-item a.nav-link .nav-text-wrap .nav-ja:hover,
.nav-item.dropdown .nav-en:hover,
.nav-item.dropdown .nav-ja:hover {
  color: #888;
}

.nav-item.dropdown.active .nav-en,
.nav-item.dropdown.active .nav-ja {
  color: var(--ko-blue);
}

/* サブドロップダウンメニュー (スマホ用) */

.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  background-color: #fff;
}
.dropdown-menu li {
  border-top: 1px solid #e6e6e6;
  margin-left: 24px;
}
.dropdown-menu li:last-child {
  border-bottom: none;
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 20px 8px;
  font-size: var(--h4);
  font-weight: 700;
  color: #666;
  transition: color 0.3s;
  position: relative;
}
.dropdown-menu li a::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("../images/chevron-forward-outline.svg");
  width: 1.25rem;
  height: 1.25rem;
  background-size: contain;
  opacity: 0.5;
  transition: all 0.3s;
}
.dropdown-menu li a:hover::after {
  right: 16px;
  opacity: 1;
}
.nav-item.dropdown.active .dropdown-menu {
  max-height: 2000px;
}

/* サブナビゲーション */

.nav-sub-nav {
  display: block;
  padding: 28px calc(100% / 24);
  background-color: #f4f6f8;
  border-top: 1px solid #e6e6e6;
}
.sub-nav-links {
  display: flex;
  justify-content: space-around;
  margin-bottom: 28px;
  flex-direction: column;
  align-items: center;
}
.sub-nav-links .hd-action-btn {
  display: flex;
  margin-right: 0;
  width: 80%;
  height: 60px;
  max-width: 300px;
  font-weight: 700;
}
.sub-nav-item {
  font-size: 0.85rem;
  color: #555;
  text-decoration: underline;
}
.sub-nav-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.sub-nav-sns a {
  font-size: 0.85rem;
  color: #0056b3;
  font-weight: bold;
}

@media (min-width: 64em) {
.nav-sub-nav {
  display: none !important;
}
}

@media (min-width: 64em) {
  .hd-nav {
    margin-left: auto;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .nav-menu {
    position: static;
    flex-direction: row;
    display:flex;
    height: auto;
    width: auto;
    background-color: transparent;
    box-shadow: none;
    max-height: none !important;
    overflow: visible !important;
    padding-top: 0;
    gap: 0;
    /* column-gap: 1.8em; */
    margin-right: 1.6em;
    /* height: 120px; */
    align-items: center;
    border-left:  solid 1px #e6e6e6;
  }
  .nav-item {
    width: auto;
    position: relative;
    padding: 0;
    transition: padding 0.3s ease, margin 0.3s ease;
    padding: 0 1.25em;
    border-right:  solid 1px #e6e6e6;
  }
  #contact-dropdown {
    padding-right:0;
  }
  .nav-link {
    height: 100px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    transition: padding 0.3s ease;
    border-top: none;
    padding: 0;
  }
  .nav-link:hover .nav-en {
    color: var(--ko-blue);
  }
  .nav-text-wrap {
    align-items: center;
  }
  .nav-ja {
    font-size: 1rem;
    padding-bottom: 0;
  }
  .nav-en {
    font-size: var(--h6);
  }
  .icon-arrow {
    position:static;
    top: auto;
    right: auto;
    transform: none;
    font-size: 0.75rem;
    display: inline-block;
    transition: transform 0.3s ease;
  }
  .nav-item.dropdown:hover .icon-arrow {
    transform: rotate(180deg);
    color: var(--ko-blue);
  }
  
  /* ドロップダウンメニュー (初期位置) */
  
  .dropdown-menu {
    position: absolute;
    top: calc(100% - 0px);
    left: 50%;
    background-color: #fff;
    min-width: 280px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    text-align: left;
    max-height: none !important;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(0);
    transition: all 0.3s ease;
    padding: 0.5em;
  }
  .dropdown-menu::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 9px;
    border-style: solid;
    border-color: transparent transparent #e6e6e6 transparent;
  }
  .dropdown-menu::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
  }
  .dropdown-menu li {
    margin-left: 0;
    border-top: none;
  }
  .dropdown-menu li:last-child {
    border-bottom: none;
  }
  .dropdown-menu li a {
    padding: 16px 16px;
    font-weight: 700;
    transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
    border-radius: 6px;
  }
  .dropdown-menu .dropdown-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  .dropdown-menu .dropdown-item:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  .dropdown-menu li a:hover {
    background-color: #f4f8fc;
    color: #336699;
    padding-left: 20px;
  }
  .dropdown-menu li a::after {
    right: 12px;
  }
  .dropdown-menu li a:hover::after {
    right: 8px;
  }
  .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    /*transform: translateX(-45%) translateY(0);*/
  }
}

@media (min-width: 80em) {
  .nav-link {
    gap: 10px;
  }
  .nav-menu {
    /* column-gap: 2em; */
    margin-right: 0;
  }
  .nav-menu {
    position: absolute;
    top:  0;
    left:  50%;
    transform: translate(-50%, 0);
  }
  .nav-ja {
    letter-spacing: 0.025em;
  }
  .icon-arrow {
    color: #777;
  }
}
@media (min-width: 87.5em) {
  .header {
    padding: 0 calc(100% / 12);
  }
}



/* ==========================================
フッター
========================================== */

.site-footer {
  background-color: #f2f3f4;
  padding-block-start: 4rem;
  padding-block-end: 4rem;
  width: 100%;
}
.footer-inner {
  margin: 0 auto;
  width: 100%;
  padding: 0 calc(100% / 24);
}
.site-footer {
  text-align: center;
}
.footer-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}
.copyright {
  color: #444;
  padding-block-end: 1rem;
  font-size: 1rem;
}
.footer-end ul {
  display: flex;
  gap: 1em;
  flex-direction: column;
  align-items: center;
}
.footer-end li a {
  color: #336699;
  font-size: var(--h5);
}

.footer-logo {
  margin-bottom: 50px;
}
.footer-logo img {
  max-width: 300px;
  height: auto;
  display: inline-block;
  padding: 0 20px;
}
.footer-columns {
  display: flex;
  flex-direction: column;
  border-top: 1px dotted #999;
  margin-bottom: 40px;
  width: 100%;
}
.footer-col {
  border-bottom: 1px dotted #999;
  text-align: left;
  width: 100%;
}

/* タイトル（ボタン） */

.footer-col-title {
  width: 100%;
  background: none;
  border: none;
  color: #333;
  font-size: 1rem;
  font-weight: bold;
  padding: 20px 20px 20px 10px;
  margin: 0;
  cursor: pointer;
  text-align: left;
  position: relative;
}

/* スマホ用：開閉アイコン（+ / -） */

.footer-col-title::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: normal;
}
.footer-col.is-open .footer-col-title::after {
  content: "-";
}

/* サブメニュー */

.footer-subnav {
  list-style: none;
  padding: 0 0 20px 20px;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 20px;
}
.footer-col.is-open .footer-subnav {
  display: flex;
}
.footer-subnav a {
  color: #666;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-subnav a:hover {
  color: #999;
}
.footer-bottom {
  display: flex;
  border-top: 1px solid #e6e6e6;
  padding: 30px calc(100% / 24) 0;
}
.footer-subnav-bottom {
  display: flex;
}
.footer-subnav-bottom li {}
.footer-copyright {
  font-size: 16px;
  color: #777;
  margin: 0;
}

/* ==========================================
PC表示（画面幅768px以上）
========================================== */

@media screen and (min-width: 1024px) {
  .site-footer {
    text-align: left;
  }
  .footer-inner {
    padding: 0 calc(100% / 16);
  }
  .footer-end {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
  }
  .copyright {
    color: #666;
    padding-block-end: 0;
  }
  .footer-end ul {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  .footer-end ul li a {
    /*font-size: 1rem;*/
  }
  
  .footer-logo {
    margin-bottom: 0;
    max-width: 200px;
  }
  .footer-logo img {
    max-width: 200px;
    padding: 0;
  }
  .footer-columns {
    display: flex;
    flex-direction: row;
    gap: 80px;
    border-top: none;
    margin-bottom: 0;
    width: auto;
  }
  .footer-col {
    border-bottom: none;
    width: auto;
  }
  .footer-col-title {
    cursor: default;
    padding: 0 0 30px 0;
    font-size: 1rem;
  }
  .footer-col-title::after {
    display: none;
  }
  .footer-subnav {
    display: flex !important;
    padding-bottom: 0;
    padding-left: 0;
  }
  .footer-bottom {
    margin-top: 40px;
    border-top: 1px solid #333;
  }
}
@media screen and (min-width: 1280px) {
  .footer-inner {
    padding: 0 calc(100% / 12);
  }
  .footer-columns {
    gap: 120px;
  }
}