@charset "UTF-8";

/* play2 共通ヘッダー確認版 */
.play2-site-header,
.play2-site-header * {
  box-sizing: border-box;
}

.play2-site-header {
  width: min(1000px, calc(100% - 24px));
  margin: 12px auto 24px;
  padding: 7px 8px 9px;
  background: linear-gradient(180deg, #b9dcff 0%, #a8d0fa 100%);
  border: 1px solid #8ebce9;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(37, 83, 128, 0.14);
  font-family: "メイリオ", Meiryo, sans-serif;
}

.play2-header-card {
  width: 100%;
  padding: 23px 22px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 5px 16px rgba(44, 88, 132, 0.12);
}

.play2-header-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 4px 14px;
  border-bottom: 1px solid #d9e8f7;
}

.play2-title-block {
  min-width: 0;
}

.play2-site-title {
  color: #1d1d1d;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  font-size: 31px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.play2-title-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 5px;
  line-height: 1.35;
}

.play2-page-subtitle {
  color: #145a9f;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.play2-title-separator {
  color: #a7b0ba;
  font-size: 17px;
  font-weight: 400;
}

.play2-page-subnote {
  color: #4c5661;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.play2-catchcopy {
  flex: 0 0 auto;
  max-width: 315px;
  margin-top: 1px;
  padding: 7px 17px;
  color: #fff;
  background: linear-gradient(180deg, #ffa617 0%, #f28a00 100%);
  border-radius: 999px;
  box-shadow: 0 3px 9px rgba(179, 91, 0, 0.18);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.play2-header-menu-space {
  display: block;
  width: auto;
  margin: 18px 18px 0;
  padding: 0;
}

.play2-header-nav {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
  margin: 0 !important;
  padding: 0 !important;
}

.play2-header-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 60px;
  padding: 9px 7px;
  color: #1558a1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #cbdced;
  border-radius: 16px;
  box-shadow: 0 2px 7px rgba(31, 74, 117, 0.08);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.play2-header-nav a:hover,
.play2-header-nav a:focus {
  color: #0e4b8d;
  background: linear-gradient(180deg, #eaf4ff 0%, #dcecff 100%);
  border-color: #77abe0;
  box-shadow: 0 5px 12px rgba(31, 93, 151, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.play2-header-nav a.is-current {
  color: #fff;
  background: linear-gradient(180deg, #6ea7ed 0%, #4e8ede 100%);
  border-color: #4f8fdc;
  box-shadow: 0 5px 13px rgba(42, 99, 164, 0.22);
}

.play2-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #176ad1;
  background: #e8f2ff;
  border-radius: 50%;
}

.play2-nav-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
}

.play2-header-nav a.is-current .play2-nav-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 760px) {
  .play2-site-header {
    width: calc(100% - 12px);
    margin: 6px auto 14px;
    padding: 4px 5px 6px;
    border-radius: 16px;
  }

  .play2-header-card {
    padding: 16px 11px 13px;
    border-radius: 14px;
  }

  .play2-header-top {
    display: block;
    min-height: 0;
    padding: 0 2px 14px;
    text-align: center;
  }

  .play2-site-title {
    font-size: 23px;
  }

  .play2-title-line {
    justify-content: center;
    gap: 5px;
    margin-top: 4px;
  }

  .play2-page-subtitle {
    font-size: 17px;
  }

  .play2-title-separator {
    font-size: 14px;
  }

  .play2-page-subnote {
    font-size: 13px;
  }

  .play2-catchcopy {
    display: inline-block;
    max-width: 100%;
    margin-top: 10px;
    padding: 5px 12px;
    font-size: 12px;
    white-space: normal;
  }

  .play2-header-menu-space {
    margin: 13px 8px 0;
  }

  .play2-header-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .play2-header-nav a {
    min-height: 54px;
    padding: 7px 4px;
    border-radius: 12px;
    font-size: 12px;
    gap: 4px;
  }

  .play2-nav-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .play2-nav-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Update 017: guide旧CSSとの競合を確実に解除 */
header.play2-site-header {
  display: block !important;
  width: min(1000px, calc(100% - 24px)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 12px auto 24px !important;
  padding: 5px !important;
  overflow: visible !important;
  float: none !important;
  clear: both !important;
  background: linear-gradient(180deg, #b9dcff 0%, #a8d0fa 100%) !important;
}
header.play2-site-header .play2-header-card {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
header.play2-site-header .play2-header-menu-space,
header.play2-site-header .play2-header-nav {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}
header.play2-site-header .play2-header-nav a {
  visibility: visible !important;
  opacity: 1 !important;
}
@media (max-width: 760px) {
  header.play2-site-header {
    width: calc(100% - 12px) !important;
    margin: 6px auto 14px !important;
    padding: 4px !important;
  }
}

/* Update 019: 主見出しと補足をPCで必ず同じ行に表示 */
@media (min-width: 761px) {
  .play2-title-line {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
}
