/* 
 * component.css
 * コンポーネントスタイル
 */

/**************************************
 * ヘッダー
**************************************/
.c-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(30 / var(--full-width) * 100vw) calc(35 / var(--full-width) * 100vw);
  color: #fff;
  transition: color 0.3s;
}
.s .c-header {
  padding: calc(35 / var(--sp-full-width) * 100vw) calc(30 / var(--sp-full-width) * 100vw);
}

.c-header-logo {
  width: calc(60 / var(--full-width) * 100vw);
  opacity: 1;
  transition: opacity 0.5s 0.6s;
}
.s .c-header-logo {
  width: calc(75 / var(--sp-full-width) * 100vw);
}
.s ._menuOpen .c-header-logo {
  z-index: 9999;
}

/* メニュー開くボタン */
.c-header button {
  display: none;
}
.s .c-header button {
  display: block;
  background: none;
  border: none;
  font-size: calc(32 / var(--sp-full-width) * 100vw);
  color: #fff;
  cursor: pointer;
  padding: 0;
  z-index: 999;
  transition: opacity 0.4s, color 0.3s;
}
.s .c-header._isblue > button {
  color: #0000b8;
}

/* メニュー閉じるボタン */
.c-header span {
  display: none;
  position: absolute;
  top: 2%;
  right: 4%;
  font-size: calc(70 / var(--sp-full-width) * 100vw);
  font-weight: 500;
  color: #fff;
}
.s .c-header._menuOpen span {
  display: block;
}

/* メニュー */
.c-header-nav {
  display: flex;
  column-gap: calc(35 / var(--full-width) * 100vw);
  row-gap: calc(10 / var(--full-width) * 100vw);
  flex-wrap: wrap;
  font-size: calc(16 / var(--full-width) * 100vw);
  width: calc(160 / var(--full-width) * 100vw);
  justify-content: space-between;
}
.s .c-header-nav {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #0000b8;
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: calc(125 / var(--sp-full-width) * 100vw);
  font-size: calc(80 / var(--sp-full-width) * 100vw);
  font-weight: bold;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out;
}
.s ._menuOpen .c-header-nav {
  transform: translateX(0);
  transition: transform 0.6s ease-in-out, visibility 0s 0.6s;
}

/* hover時 */
.c-header-nav li {
  overflow: hidden;
}

.c-header-hover {
  color: transparent;
  text-shadow: 0 -1.5vw 0 #fff, 0 0 0 #fff;
  transition: text-shadow 0.3s;
}
.s .c-header-hover {
  color: #fff !important;
  text-shadow: none !important;
}

.c-header-hover:hover {
  text-shadow: 0 0 0 #fff, 0 1.5vw 0 #fff;
}
.c-header._isblue .c-header-hover,
._close .c-header-hover {
  color: transparent;
  text-shadow: 0 -1.5vw 0 #0000b8, 0 0 0 #0000b8;
  transition: text-shadow 0.3s;
}
.c-header._isblue .c-header-hover:hover,
._close .c-header-hover:hover {
  text-shadow: 0 0 0 #0000b8, 0 1.5vw 0 #0000b8;
}

/* topの場合のみ */
._close .c-header {
  display: block;
  color: #0000b8;
  padding: 0;
  width: fit-content;
  top: calc(30 / var(--full-width) * 100vw);
  right: calc(35 / var(--full-width) * 100vw);
  left: auto;
}
.s._close .c-header {
  width: 100%;
  padding: calc(35 / var(--sp-full-width) * 100vw) calc(30 / var(--sp-full-width) * 100vw);
  top: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
}
._close .c-header button {
  color: #0000b8;
}
._close .c-header-logo {
  opacity: 0;
}
._close .c-header-logo img {
  display: none;
}

/**************************************
 * フッター
**************************************/
.c-footer {
  width: 100%;
  padding: calc(33 / var(--full-width) * 100vw) calc(35 / var(--full-width) * 100vw);
  font-size: max(calc(14 / var(--full-width) * 100vw), 10px);
  font-weight: 300;
  text-align: center;
  background-color: #0000b8;
  color: #fff;
  position: relative;
}
.s .c-footer {
  padding: calc(30 / var(--sp-full-width) * 100vw);
}

.top .c-footer {
  display: none;
}
