@charset "utf-8";
/*
Theme Name: ビー・ビーエーHP
Author: 株式会社ビー・ビー・エー
*/

body {
  overflow-x: hidden;
  line-height: 1.5;
  font-family: "Questrial", "M PLUS 1p", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: #5a5a5a;
}

h1,h2,h3,h4,h5 {
  color: #000000;
}

img {
  width: 100%;
  height: auto;
}

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.button {
  position: relative;
  display: inline-block;
  padding: 16px 48px;
  text-align: center;
  color: #fff;
  background-color: #0082c8;
  border-radius: 100vw;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(150, 198, 225, 1) 50%, rgba(54, 185, 193, 1) 100%);
  transition:
    left 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
  z-index: 0;
}

.button.is-hover::before {
  left: 0;
  opacity: 1;
}

.button span,
.button__text {
  position: relative;
  z-index: 1;
  color: #fff;
}

.button__text {
  position: relative;
  padding-right: 48px;
  letter-spacing: 3px;
}

.button__text::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid #fff;
  border-radius: 100vw;
}

.button__text::after {
  content: "→";
  position: absolute;
  top: 42%;
  right: 15px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  line-height: 1;
  font-size: 14px;
  color: #fff;
}

.text {
  letter-spacing: 2px;
}

/* Block: header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header__inner {
  display: flex;
  justify-content: space-between;
}

.header__logo {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.header__logo-link {
  display: block;
  padding: 8px 32px 16px 16px;
  background-color: #fff;
  border-radius: 0 0 80px 0;
}

.header__logo-image {
  max-width: 128px;
  width: 100%;
  height: auto;
}

/* --- PC表示 --- */
.header__nav {
  position: absolute;
  top: 8px;
  right: 5%;
  width: 880px;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid #fff;
  border-radius: 100vw;
}

.header__menu .mobile__logo {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.menu__item {
  padding: 8px 12px;
}

.menu__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: .3s;
}

.menu__link:hover {
  color: #000;
}

.menu__label-ja {
  font-size: 16px;
  letter-spacing: 2px;
}

.menu__label-en {
  font-size: 10px;
  letter-spacing: 0.5px;
}

.menu__link--contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 14px;
  color: #fff;
  background-color: #0082c8;
  border-radius: 100vw;
  letter-spacing: 1px;
}

/* --- スマホ表示 (1024px以下) --- */
@media (max-width: 1024px) {
  .header__nav {
    position: relative;
    width: auto;
  }

  /* ハンバーガーボタン */
  .header__toggle {
    position: fixed;
    top: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .header__toggle-bar {
    width: 100%;
    height: 3px;
    background: rgba(54, 185, 193, 1) ;
    border-radius: 2px;
    transition: all 0.4s ease;
  }

  /* × に変形 */
  .header__toggle.active .header__toggle-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .header__toggle.active .header__toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .header__toggle.active .header__toggle-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* メニューを全画面化 */
  .header__menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: rgba(0, 0, 0, 0.9);
    border: none;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    z-index: 1000;
  }

  .header__menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .header__menu.active .mobile__logo {
    visibility: visible;
    opacity: 1;
  }

  .menu__link {
    color: #fff;
    font-size: 20px;
    text-align: center;
  }

  .menu__link:hover {
    color: rgba(54, 185, 193, 1);
  }

  .menu__label-en {
    font-size: 12px;
  }

  .menu__link--contact {
    background: #0082c8;
    font-size: 18px;
    padding: 14px 28px;
  }
}


/* Block: gnav (Global Navigation) */
.gnav__list {
  display: flex;
  gap: 30px;
}
.gnav__link {
  font-weight: bold;
}

/* Block: breadcrumb */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.9rem;
}

.breadcrumb {
  font-size: 14px;
  margin: 32px 0 0 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb__item {
  font-weight: bold;
  color: #0082c8;
  letter-spacing: 2px;
}

.breadcrumb__item::after {
  content: ">";
  position: relative;
  top: -2px;
  margin-left: 0.5em;
  color: initial;
}

.breadcrumb__item:last-child::after {
  content: none;
}

/* Block: section */
.section {
  padding: 48px 0;
}

.section__inner--default {
  position: relative;
  z-index: 1;
  padding-left: 120px;
}

.section__label {
  position: absolute;
  top: 0;
  left: 16px;
  display: flex;
  flex-direction: column;
}

.section__label::before {
  content: "";
  position: absolute;
  top: -160px;
  left: -2px;
  width: 1px;
  height: 240px;
  border-left: 1px solid #0082c8;
}

.section__label span {
  writing-mode: vertical-rl;
  line-height: 1.2;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: bold;
  font-size: 1.4em;
  color: #000;
  text-shadow:
  1px 1px 24px rgba(255, 255, 255, 1),
  -1px 1px 24px rgba(255, 255, 255, 1),
  1px -1px 24px rgba(255, 255, 255, 1),
  -1px -1px 24px rgba(255, 255, 255, 1);
}

.section__label-ja {
  margin-bottom: 16px;
  letter-spacing: 3px;
  font-weight: bold;
}

.section__label-en {
  text-orientation: mixed;
  letter-spacing: 1px;
}

.page-heading {
  font-size: 32px;
  line-height: 2;
  letter-spacing: 6px;
}

/* Block: footer */
.footer {
  padding: 40px 16px;
  font-size: 14px;
  color: #fff;
  background-color: #0082c8;
}

.footer__inner {
  padding-right: 40px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer__logo-wrap {
  text-align: left;
}

.footer__logo {
  width: 120px;
  margin-bottom: 16px;
  padding: 8px 16px;
  background-color: #fff;
}

.footer__company-name {
  font-weight: bold;
}

.footer__contact-button {
  border: 1px solid #fff;
  padding: 16px 40px;
  display: inline-block;
  color: #fff;
  transition: background 0.3s;
}

.footer__contact-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer__address {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__office {
  flex: 1;
  min-width: 240px;
}

.footer__office-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__office-button {
  padding: 8px 16px;
  line-height: 1;
  background-color: #fff;
}

.footer__office-button-text {
  color: #0082c8 !important;
  transition: opacity .3s ease-in-out;
}

.footer__office-button:hover .footer__office-button-text {
  color: #fff !important;
}

.footer__office-info {
  font-style: normal;
  margin-top: 8px;
  line-height: 1.6;
}

.footer__divider {
  border: none;
  border-top: 1px solid #fff;
  margin: 24px 0;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-right: 24px;
}

.footer__nav-link {
  font-size: 1.2em;
  color: #fff;
}

.footer__nav-link:hover {
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom-left,
.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.pagetop {
  position: fixed;
  z-index: 999;
  bottom: 24px;
  right: 24px;
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: initial;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  color: #357195;
  background: #fff;
  border: 1px solid #0082c8;
  border-radius: 100vw;
  transition: .3s;
}

.pagetop::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 15px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #0082c8;
  border-left: 1px solid #0082c8;
  transform: rotate(45deg);
  transition: .3s;
}

.pagetop:hover {
  border-color: transparent;
}

.pagetop:hover::after {
  border-color: #fff;
}

.gradient-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(90deg, rgba(150, 198, 225, 0.8) 0%, rgba(54, 185, 193, 0.8) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .3s ease-in-out;
}

/* Block: page-visual */
.page-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
  background-image: url("../img/top/top_mv.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 0 200px 0;
}

.page-visual::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  background: linear-gradient(0deg,rgba(255, 255, 255, 0.6) 60%, rgba(0, 101, 171, 0.6) 100%);
  border-radius: 0 0 200px 0;
  mix-blend-mode: multiply;
}

.page-visual__content {
  position: absolute;
  bottom: 20%;
  left: 15%;
}

.page-visual__title {
  display: flex;
  flex-direction: column;
}

.page-visual__title-en {
  font-weight: bold;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: 8px;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.page-visual__title-ja {
  font-weight: bold;
  font-size: 24px;
  margin-top: 10px;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

/* お知らせ一覧 */
.news-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list__item {
  margin-bottom: 1px;
}

.news-list__item:last-child {
  margin-bottom: 0;
}

/* お知らせカード */
.news-card {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

.news-card:hover {
  background-color: #f8f9fa;
}

.news-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 200px;
}

.news-card__date {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.news-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background-color: #0082c8;
  white-space: nowrap;
}

.news-card__content {
  flex: 1;
  margin: 0 20px;
}

.news-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #333333;
}

.news-card__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card__link:hover {
  color: #0082c8;
}

.news-card__footer {
  flex-shrink: 0;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.news-card__more:hover {
  transform: translateX(2px);
}

.news-card__more .button__text {
  color: #0082c8;
}

.news-card__more .button__text::before {
  width: 16px;
  height: 16px;
  border-color: #0082c8;
}

.news-card__more .button__text::after {
  content: "";
  top: 6px;
  right: 6px;
  width: 6px;
  height:  6px;
  border-top: 1px solid #0082c8;
  border-right: 1px solid #0082c8;
  transform: rotate(45deg);
}

/* ページネーション */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pagination__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  background-color: #ffffff;
  color: #666666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination__link:hover {
  background-color: #0082c8;
  border-color: #0082c8;
  color: #ffffff;
}

.pagination__link--current {
  background-color: #0082c8;
  border-color: #0082c8;
  color: #ffffff;
  pointer-events: none;
}

.pagination__link--prev,
.pagination__link--next {
  font-weight: bold;
}

/* 空の状態 */
.news-list__empty {
  text-align: center;
  padding: 60px 20px;
}

.news-list__empty-text {
  font-size: 16px;
  margin: 0;
}




@media (max-width: 1024px) {
  .header {
    position: absolute;
  }
}

@media (max-width: 767px) {
  .text {
    letter-spacing: 1px;
  }

  .header__logo-link {
    padding: 8px 32px 16px 8px;
  }

  .header__logo-image {
    max-width: 88px;
  }

  .section__inner {
    padding-left: 40px;
  }

  .section__label {
    left: 8px;
  }

  .section__label span {
    font-size: 1em;
  }

  /* お知らせ一覧 */
  .news-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .news-card__header {
    width: 100%;
    min-width: auto;
    justify-content: flex-start;
  }

  .news-card__content {
    margin: 0;
    width: 100%;
  }

  .news-card__title {
    font-size: 14px;
  }

  .news-card__footer {
    align-self: flex-end;
  }

  .pagination {
    margin-top: 30px;
  }

  .pagination__link {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }


  .page-heading {
    font-size: 1.1em;
    letter-spacing: 4px;
  }

  .page-visual {
    height: 40vh;
  }

  .page-visual__title-en {
    font-size: 32px;
  }

  .page-visual__title-ja {
    font-size: 1.4em;
  }

  .footer__bottom {
    gap: 0;
  }

  .footer__divider {
    display: none;
  }

  .footer__nav {
    gap: 0;
    padding-right: 0;
  }

  .footer__nav-link {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #fff;
  }

  .footer__bottom-right {
    width: 100%;
  }

  .footer__bottom-links {
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
  }

}