/*
Theme Name: Smile_Project
Description: 牛乳でスマイルプロジェクト
Version: 1.0
Author: J MILK
*/

@charset "UTF-8";
:root {
  /* カラー */
  --key-color: #0CBAEC;
  --sub-bg: #F2F2F2;
  --guest-color: #FF6600;
  --member-color: #0048FF;
  --text-color: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: YakuHanJP, "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  background: var(--key-color);
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;;
}
a {
  text-decoration: none;
  color: inherit;
}

/* アンカーリンク対応（ヘッダーのオフセット） */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 150px; /* ヘッダーの高さ + 余白 */
}
img {
  display: block;
  border: none;
  width: 100%;
  height: auto;
}

/* フォームリセット */
select, input, textarea, button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  outline: none;
  border: none;
}

/* カラー設定 */
.key-color {
  color: var(--key-color);
}
.sub-bg {
  background: var(--sub-bg);
}
.guest-color {
  color: var(--guest-color);
}
.member-color {
  color: var(--member-color);
}

.pc {
  display: block;
}
.tb {
  display: none;
}
.sp {
  display: none;
}
@media (width <= 1080px){
.tb {
  display: block;
}

}
@media (width <= 768px){
.pc {
  display: none;
}
.sp {
  display: block;
}

}


/* テキスト関連 */
/* 見出しなどの和文 */
.font-ja {
  font-family: "M PLUS 1", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
}
/* 見出しなどの欧文 */
.font-en {
  font-family: avenir-next-lt-pro, sans-serif;
  font-weight: 900;
}

h2.font-en {
  font-size: 162px;
  line-height: 0.9;
  margin-bottom: 24px;
}
h2 span.font-ja {
  font-size: 58px;
  line-height: 1.2;
  display: block;
}
.cta h2 {
  font-size: 8vw;
  line-height: 1.2;
  margin-bottom: 40px;
}
.lead-copy {
  font-size: 32px;
  font-weight: bold;
  line-height: 2.2;
}
.is-lowerpage .lead-copy {
  line-height: 1.8;
}
@media (width <= 1440px){
  .lead-copy {
    font-size: clamp(1.25rem, 0.393rem + 1.79vw, 2rem);
  }
  h2.font-en {
    font-size: clamp(6.875rem, 3.161rem + 7.74vw, 10.125rem);
  }
  h2 span.font-ja {
    font-size: clamp(2.875rem, 2.018rem + 1.79vw, 3.625rem);
  }
}
@media (width <= 767px){
  .lead-copy {
    font-size: 5.13vw;
    line-height: 1.6;
  }
  h2.font-en {
    font-size: 14vw;
  }
  h2 span.font-ja {
    font-size: 5vw;
    margin-top: 10px;
  }
  .cta h2 {
    line-height: 1.4;
  }
}

.sub-bg h2.font-en,
.sub-bg h2 span.font-ja,
.sub-bg .lead-copy {
  color: var(--key-color)
}

.align-center {
  text-align: center;
}

/* ボタン */
.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
/* 丸ボタン */
.circle-btn {
  text-align: center;
  font-size:15px;
  color: var(--key-color);
  background: #fff;
  border: 2px solid var(--key-color);
  border-radius: 50%;
  width: 176px;
  height: 176px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.circle-btn .font-en {
  font-size: 45px;
  display: inline-block;
}
.circle-btn .font-ja {
  font-size: 44px;
  line-height: 1;
  display: inline-block;
  margin-bottom: 10px;
}
.circle-btn .allow {
  font-size: 30px;
  line-height: 1;
}
.circle-btn:hover {
  transform: scale(1.1);
}
.circle-btn.blue {
  background: var(--key-color);
  color: #fff;
}
@media (width <= 400px){
  .btn-wrap {
    gap: 20px;
  }
  .circle-btn {
    width: 160px;
    height: 160px;
  }
  .circle-btn .font-en {
    font-size: 40px;
  }
}


/* 長方形ボタン */
.rectangle-btn {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  color: var(--key-color);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 360px;
  margin-top: 40px;
  padding: 10px 10px 10px 20px;
  border-radius: 30px;
  transition: all .2s ease;
  cursor: pointer;
  border: 2px solid #fff;
}
.rectangle-btn.no-allow {
  display: block;
  text-align: center;
  line-height: 36px;
}
.rectangle-btn span {
  display: inline-flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--key-color);
  border-radius: 50%;
}
.rectangle-btn:hover {
  background: var(--key-color);
  color: #fff;
  border: 2px solid #fff;
}
.rectangle-btn:hover span {
  background: #fff;
  color: var(--key-color);
}

.sub-bg .rectangle-btn,
.sub-bg .rectangle-btn:hover {
  border: 2px solid var(--key-color);
}


/* セクション */
section {
  padding: 120px 0;
}
section.sub-bg {
  color: var(--text-color);
}
.hero {
  padding: 0 0 120px;
}

@media (width <= 768px){
  section {
    padding: 60px 0;
  }
  .hero {
    padding: 0 0 60px;
  }
}


/* ----------------------------------------------
 ヘッダー
----------------------------------------------  */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  margin: auto;
  background: var(--key-color);
  position: fixed;
  top: 0;
  z-index: 200;
  width: 100%;
  transition: all 0.2s ease;
}
header h1 img {
  width: 140px;
  transition: all 0.2s ease;
}

/* メンバー数、検索 */
.header-info, .header-info-sp {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: #fff;
  padding: 2px 6px 2px 20px;
  border-radius: 26px;
  width: fit-content;
  margin-left: auto;
  max-height: none;
  opacity: 1;
  visibility: visible;
  transition: all 0.2s ease;
}
.header-info p, .header-info-sp p {
  color: var(--text-color);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  font-weight: bold;
}
.header-info p span, .header-info-sp p span {
  font-size: 30px;
  color: var(--key-color);
  font-family: avenir-next-lt-pro, sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  padding: 0 5px;
}
form.search {
  position: relative;
  display: inline-block;
}
form.search input {
  border: 2px solid var(--key-color);
  font-size: 16px;
  padding: 5px 33px 5px 10px;
  border-radius: 20px;
}
form.search button {
  position: absolute;
  right: 10px;
  top: 6px;
  border: none;
  background: transparent;
}

/* PC メニュー */
.header-menu-pc {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  justify-content: flex-end;
}
ul.menu, ul.user, ul.login, .mega__inner ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.08vw;
}
.mega__inner ul {
  justify-content: flex-start;
  margin-top: 22px;
  gap: 0px 30px;
}
ul.menu li {
  font-size: 15px;
  font-weight: 700;
  line-height: 4;
  border-bottom: 4px solid var(--key-color);
}
@media (width <= 1236px){
  ul.menu li{
    line-height: 2;
  }
}
ul.menu li:hover,
ul.menu li:focus-within {
  border-bottom: 4px solid #fff;
}
.sub-menu {
  display: flex;
}
ul.user {
  gap: 10px;
  margin-left: 30px;
  padding-top: 13px;
}
ul.user li img {
  height: 40px;
}
ul.login {
  gap: 5px;
  margin-left: 10px;
  padding-top: 13px;
}
ul.login li {
  font-size: 10px;
  line-height: 1;
  text-align: center;
}
ul.login li a {
  background: #fff;
  display: block;
  border-radius: 40px;
  padding: 4px 12px;
  margin-bottom: 3px;
  border: 2px solid var(--key-color);
}
ul.login li a:hover {
  border: 2px solid var(--member-color);
}
ul.login li img {
  height: 20px;
}
ul.menu li.has-mega > a {
  position: relative;
  padding-right: 20px;
}
ul.menu li.has-mega > a::after {
  content: "";
  position: absolute;
  top: 38%;
  right: 0;
  display: block;
  width: 12px;
  height: 20px;
  background: url("./img/menu-allow.svg") no-repeat;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform .2s ease;
}
ul.menu li:hover > a::after,
ul.menu li:focus-within > a::after,
ul.menu li.open > a::after {
  transform: translateY(-60%) rotate(180deg);
}

/* メガメニュー */
.mega{
  position: absolute;
  left: calc(50% - 50vw);
  width: 100vw;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.mega::before{
  /* 背景のクリックを妨げずに下に落とすためのスタッキング調整はinnerで行う */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
li.has-mega {
  position: static;
}
li.has-mega .mega {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.mega .mega__inner{
  padding: 30px;
  border-top: 1px solid #fff;
  background: var(--key-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: -4px;
}
.mega .mega__inner p {
  font-size: 20px;
  line-height: 1;
}
.mega .mega__inner p span {
  font-size: 60px;
  display: block;
}
.mega .mega__inner ul li {
  font-size: 18px;
  font-weight: bold;
  line-height: 3;
  border: none;
}
.mega .mega__inner ul li:hover,
.mega .mega__inner ul li:focus-within,
.mega .mega__inner ul li.open  {
  border: none;
}
.mega .mega__inner ul li a span, ul.menu li ul li span {
  display: inline-flex;
  margin-left: 10px;
  background: #fff;
  color: var(--key-color);
  border-radius: 50%;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  transition: all .1s ease;
}
.mega .mega__inner ul li a:hover span {
  background: var(--key-color);
  color: #fff;
  border: 1px solid #fff;
}
li.has-mega:hover > .mega,
li.has-mega:focus-within > .mega,
li.has-mega.open > .mega{
  pointer-events: auto;
  opacity: 1;
}
.header-menu-sp {
  display: none;
}

.grayed-out {
  pointer-events: none;
}
.grayed-out span {
  color: #5c9bac;
}
.login .grayed-out a {
  background-color: #87b7c3;
}
.login .grayed-out img {
  opacity: 0.3;
}
.footer-menu-group .grayed-out a,
.footer-menu-group .grayed-out::marker {
  color: #5c9bac;
}

@media (width <= 900px){
  /* PC メニュー 非表示 */
  .header-menu-pc {
    display: none;
  }
  .header-info {
    display: none;
  }

  /* tablet メニュー */
  header {
    padding: 20px 10px;
  }
  header h1 a {
    position: relative;
    z-index: 110;
    display: block;
  }

  /* ハンバーガー */
  @keyframes fadeIn {
    0% {
      top: 45%;
      opacity: 0;
    }
    100% {
      top: 50%;
      opacity: 1;
    }
  }
  .header-menu-sp {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 100%;
  }
  .hamburger-menu {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
    user-select: none;
    z-index: 2;
  }
  .line {
    background-color: var(--key-color);
    height: 3px;
    width: 20px;
    position: absolute;
    left: 10px;
    transition: all 0.3s;
  }
  .line:nth-of-type(1) {
    top: 10px;
  }
  .line:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .line:nth-of-type(3) {
    bottom: 10px;
  }
  .hamburger-menu.active > .line:nth-of-type(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .hamburger-menu.active > .line:nth-of-type(2) {
    display: none;
  }
  .hamburger-menu.active > .line:nth-of-type(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
  .header-menu-sp nav {
    display: none;
    height: 100vh;
    opacity: 0;
  }
  .header-menu-sp nav.active {
    display: block;
    animation: fadeIn 0.5s forwards;
    margin-top: 140px;
    background: var(--key-color);
  }
  .sp-header ul.user {
    display: flex;
    position: absolute;
    right: 80px;
    top: 18px;
    z-index: 102;
  }

  .header-info-sp {
    margin: auto;
    justify-content: space-between;
    width: 90%;
  }
  ul.menu, ul.user, ul.login, .mega__inner ul {
    display: block;
  }
  ul.menu, ul.login {
    width: 90%;
    margin: auto;
  }
  ul.menu li {
    font-size: 20px;
    line-height: 1;
    border-bottom: 1px solid #fff;
    padding: 30px 0;
  }
  ul.menu li:hover,
  ul.menu li:focus-within {
    border-bottom: 1px solid #fff;
  }
  ul.menu li ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 12px 20px;
    margin-top: 10px;
  }
  ul.menu li ul li, ul.menu li ul li:hover, ul.menu li ul li:focus {
    border-bottom: none;
    padding: 0;
  }
  ul.login {
    display: flex;
    justify-content: center;
    padding-top: 30px;
  }
  ul.login li {
    font-size: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
  }
  ul.login li a {
    padding: 5px 30px;
    margin-right: 10px;
  }
  ul.login li a:nth-of-type(2) {
    background: transparent;
    padding: 0;
    margin-right: 0;
  }
  ul.login li a img {
    height: 24px;
  }
  form.search {
    width: 90%;
    margin: 5px auto;
  }
  form.search input {
    width: 100%;
  }
}

@media (width <= 768px){
  header {
    padding: 10px;
  }
  /* sp メニュー */
  header h1 img {
    width: auto;
    height:clamp(62px, 1.425rem + 10.05vw, 100px);
  }
  .hamburger-menu {
    right: 10px;
  }
  .header-menu-sp nav.active {
    margin:0;
    padding-top: clamp(100px, 3.925rem + 10.05vw, 140px);
    overflow-y: scroll;
  }
  .sp-header ul.user {
    top: 18px;
    right: 60px;
  }
  ul.user li img {
    height: clamp(30px, 0.976rem + 3.17vw, 40px);
    width: auto;
  }
  .header-info-sp {
    flex-wrap: wrap;
    gap: 0;
    padding: 10px;
    border-radius: 20px;
  }
  .header-info-sp p {
    margin: auto;
    font-size: 2.56vw;
  }
  .header-info-sp p span {
    font-size: clamp(26px, 0.851rem + 3.17vw, 38px);
  }
  form.search {
    width: 100%;
  }
  ul.menu li {
    font-size: clamp(14px, 0.488rem + 1.59vw, 20px);
    padding: 20px 0;
  }
  ul.menu li ul {
    gap: 6px 10px;
  }
  ul.menu li ul li span {
    height: clamp(24px, 0.726rem + 3.17vw, 36px);
    width: clamp(24px, 0.726rem + 3.17vw, 36px);
  }
  ul.login {
    gap: 20px;
  }
  ul.login li {
    margin: 0;
    font-size: clamp(14px, 0.488rem + 1.59vw, 20px);
  }
  ul.login li a {
    padding: 5px 20px;
    margin-right: 0;
  }
  ul.login li a img {
    height: 20px;
  }
}

/* scrollヘッダー */
.scroll-header.shrink .header-info {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

header.scroll-header.shrink h1 img {
    width: 100px;
}

@media (width <= 768px){
header.scroll-header.shrink h1 img{
    width: auto;
    height:clamp(62px, 1.425rem + 10.05vw, 100px);
  }
}

/* パンくず */
.aioseo-breadcrumbs {
  width: 100%;
  padding: 10px 0 10px 20px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  font-size: 14px;
}
.aioseo-breadcrumbs a:hover {
  text-decoration: underline;
}
@media (width <= 768px){
  .aioseo-breadcrumbs {
    font-size: 13px;
  }
}

/* ----------------------------------------------
 メインビジュアル
----------------------------------------------  */
main {
    margin-top: 145px;
}
@media (width <= 1240px){
  main {
    margin-top: 173px;
  }
}
@media (width <= 900px){
  main {
    margin-top: 141px;
  }
}
@media (width <= 768px){
  main {
    margin-top: clamp(82px, 1.385rem + 15.34vw, 140px);
  }
}

/* スライダー */
.slick-slide {
  padding: 0 10px;
}
.slick-slide img {
  height: 38vw;
  max-height: 800px;
  min-height: 350px;
  object-fit: cover;
  border-radius: 20px;
}
.hero h2 img {
  width: 96%;
  margin: -7vw auto 0;
  position: relative;
}
@media (width <= 768px){
  .slick-slide {
    padding: 0 5px;
  }
  .slick-slide img {
    height: 500px;
  }
}

/* バナーエリア */
.bnr-area {
  width:100%;
  max-width:1200px;
  margin:120px auto 0;
}

@media (width <= 1240px){
  .bnr-area {
    width: 96%;
    margin-top: clamp(1.875rem, -0.706rem + 10.59vw, 7.5rem);
  }
}

/* ----------------------------------------------
 レイアウト
----------------------------------------------  */
/* 1カラム */
.wrap-1col {
  container-type: inline-size;
  max-width: 1440px;
  padding: 0 20px;
  margin-inline: auto;
}
/* PC 1カラム */
.wrap-1col .inner {
  display: grid;
  grid-template-columns: 1fr;
}

/* 2カラム） */
.wrap-2col {
  container-type: inline-size;
  max-width: 1440px;
  padding: 0 20px;
  margin-inline: auto;
}
/* PC 2カラム */
.wrap-2col .inner {
  display: grid;
  gap: 2.78vw;
  grid-template-columns: 1fr 1fr;
}
/* 767px以下 1カラム */
@container (max-width: 767px) {
  .wrap-2col .inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #target .wrap-2col .inner {
    gap: 20px;
  }
}
/* カード 3カラム */
.card-wrap {
  container-type: inline-size;
  container-name: news;
  max-width: 1440px;
  margin-inline: auto;
  margin-top: 40px;
  padding: 24px;
}
/* PC 3カラム */
.card-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}
/* 1199px以下　2カラム */
@container news (max-width: 1199px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
/* 767px以下　1列カラム */
@container news (max-width: 767px) {
  .card-grid { grid-template-columns: 1fr; }
}

@media (width <= 768px){
  .card-wrap {
    margin-top: 20px;
    padding: 20px;
  }
}
/* カード 1カラム */
.card-grid.flat {
  grid-template-columns: 1fr;
}

/* カードスタイル */
.card__thumb {
  margin: 0 0 16px;
  border-radius: 12px;
  overflow: hidden;
}
.card__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: all .2s ease;
}
.card__thumb:hover img {
  transform: scale(1.1);
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 22px;
}
.chip {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  padding: 6px 14px;
  background: #fff;
  color: var(--key-color);
  border-radius: 999px;
}
.post-article__cat .chip {
  margin: 0 3px;
}
.sub-bg .chip {
  background: var(--key-color);
  color: #fff;
}
.card__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
}
.card__excerpt {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.card__link {
  text-decoration: underline;
  text-align: right;
  width: 100%;
  display: inline-block;
  margin-top: 10px;
}
.sub-bg .card__meta,
.sub-bg .card__title,
.sub-bg .card__link {
  color: var(--key-color);
}

/* カードスタイル（シンプル） */
.sub-bg .card.simple {
  border: 2px solid var(--key-color);
  padding: 30px;
  border-radius: 20px;;
}
.sub-bg .card.simple:hover {
  background: var(--key-color);
}
.sub-bg .card.simple:hover p,
.sub-bg .card.simple:hover .card__title {
  color: #fff;
}
.sub-bg .card.simple:hover .chip {
  background: #fff;
  color: var(--key-color);
}

/* カードスタイル（フラット） */
.flat li.card {
  border-bottom: 1px solid var(--key-color);
  padding-bottom: 2rem;
}

/* 読み込み時　カード非表示 */
li.card.hidden {
    display: none;
}

/* EVENT 絞り込み（縦並び） */
.filter {
  background: #fff;
  border-radius: 20px;
  position: relative;
  padding: 30px;
}
.filter__form {
  max-width: 360px;
  display: grid;
  grid-template-columns: 1fr;
  position: absolute;
  gap: 10px;
}
.filter__group {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
}
.filter__group-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--key-color);
}
.filter__item,
.filter__submit,
.filter__reset {
  border: 2px solid var(--key-color);
  border-radius: 6px;
  padding: .5rem 1rem;
  font-size: 16px;
  width: 100%;
}
.filter__item {
  height: 36px;
  padding: 0 1rem;
}
.filter__select {
  position: relative;
  display: inline-block;
  width: 100%;
}
/* ▼アイコン */
.filter__select::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--key-color);
  transform: translateY(-50%);
  pointer-events: none;
}
.filter__control {
  position: relative;
  display: flex;
  gap: 8px;
}
.filter__control .filter__item {
  flex: 1;
}
.filter__icon-btn {
  cursor: pointer;
  position: absolute;
  right: 6px;
  top: 6px;
  border: none;
}
.filter__icon-btn img {
  height: 24px;
  width: 24px;
  border: none;
}
.filter__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--key-color);
}
.filter__checkbox input {
  width: 38px;
  height: 38px;
  border: 2px solid var(--key-color);
  border-radius: 6px;
  position: relative;
}
input::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 4px;
  width: 8px;
  height: 16px;
  border: solid #ccc;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}
input:checked::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 4px;
  width: 8px;
  height: 16px;
  border: solid var(--key-color);
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}
.filter__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.filter__submit {
  width: 100%;
  border-radius: 100px;
  margin-top: 0;
}
/* リセットボタン必要なければいらない
.filter__reset {
  width: 25%;
  background: var(--key-color);
  color: #fff;
  cursor: pointer;
}*/


/* NEWS 絞り込み（横並び） */
.filter.flat {
  padding: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
}
.flat .filter__form {
  max-width: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  position: static;
  gap: 30px;
}
.flat .filter__group {
  display: grid;
  align-items: center;
  grid-template-columns: max-content 1fr;
  gap: 10px;
}
.flat .filter__submit {
  width: 100%;
}

/* タグクラウド */
.tag-wrap {
  padding: 20px;
  background: var(--key-color);
  border-radius: 20px;
}
.tag-list {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.tag-list-item {
  color: var(--key-color);
  background: #fff;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
}

@media (width <= 1200px){
  .filter__form {
    position: static;
    margin-bottom: 20px;
    max-width: none;
  }
  .flat .filter__form {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (width <= 768px){
  .filter__form {
    margin-bottom: 0;
  }
  .flat .filter__form {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .flat .filter__group {
    grid-template-columns: 150px 1fr;
  }
  .tag-list-item {
    font-size: 13px;
    padding: 5px 10px;
  }
  .card__title {
    font-size: 5.13vw;
  }
}


/* YouTube */
.youtube {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 9;
  width: 55.56vw;
  margin: 0 auto;
  transform: translateZ(0);
  max-width: 800px;
  width: 80%;
}
iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
#movie .youtube {
  margin-top: 60px;
}
/* 賑やかし */
#movie {
  overflow: hidden;
}
.youtube img {
  position: absolute;
}
.youtube img.movie01 {
  width: 250px;
  top: -90px;
  left: -320px;
}
.youtube img.movie02 {
  width: 180px;
  top: -80px;
  right: -300px;
}
.youtube img.movie03 {
  width: 190px;
  top: auto;
  left: -320px;
  bottom: -70px;
}
.youtube img.movie04 {
  width: 220px;
  top: auto;
  left: auto;
  bottom: -60px;
  right: -280px;
}
.youtube img.movie05 {
  width: 83px;
  top: 170px;
  right: -170px;
}
.youtube img.movie06 {
  width: 83px;
  top: 210px;
  left: -170px;
}

@media (width <= 768px){
  .youtube {
    width: 90%;
  }
  #movie .youtube {
    margin-top: 0;
  }
}

/* fade-in */
.fade-target {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s ease-out;
}
/* 画面内に入ったら付与されるクラス */
.fade-in {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}



/* ターゲット別コンテンツ */
#target {
    overflow-x: hidden;
}
#target .wrap-2col:last-child {
    margin-top: 120px;
}
.target__thumb {
  position: relative;
}
.target__thumb span {
  position: absolute;
  top: -60px;
  left: -40px;
  font-size: 120px;
  line-height: 1;
}
.target__thumb.member span {
  top: auto;
  left: auto;
  bottom: -60px;
  right: -40px;
}
.target__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  border-radius: 20px;
}
.target__meta img {
  width: 110px;
}
.target__meta .lead-copy {
  font-size: 42px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.target__meta .taget__excerpt {
  font-size: 16px;
  line-height: 1.6;
}
.target__meta ul {
  display: grid;
  gap: 10px;
  margin-top: 40px;
}
.target__meta ul li .rectangle-btn {
  margin-top: 0;
  width: 100%;
  border-radius: 10px;
  font-size: 20px;
  color: var(--guest-color);
}
.target__meta ul li .rectangle-btn span {
  background: var(--guest-color);
}
.target__meta.member ul li .rectangle-btn {
  color: var(--member-color);
}
.target__meta.member ul li .rectangle-btn span {
  background: var(--member-color);
}
.target__meta ul li .rectangle-btn:hover {
  background: var(--guest-color);
  color: #fff;
  border: 2px solid var(--guest-color);
}
.target__meta ul li .rectangle-btn:hover span {
  background: #fff;
  color: var(--guest-color);
}
.target__meta.member ul li .rectangle-btn:hover {
  background: var(--member-color);
  color: #fff;
  border: 2px solid var(--member-color);
}
.target__meta.member ul li .rectangle-btn:hover span {
  background: #fff;
  color: var(--member-color);
}
@media (width <= 768px){
  .target__meta ul {
    margin-top: 30px;
  }
  .target__meta ul li .rectangle-btn {
    font-size: 4.5vw;
  }
  #target .wrap-2col:last-child {
    margin-top: 60px;
  }
  .target__thumb.member {
    order: 1;
  }
  .target__meta.member {
    order: 2;
  }
}

/* ----------------------------------------------
 コンテンツ別スタイル
----------------------------------------------  */
/* About */
#about .heading-copy,
#project .heading-copy,
.page__block .heading-copy {
  font-size: 16px;
  line-height: 2.2;
  margin-bottom: 10px;
  padding-left: 10px;
  border-radius: 6px;
  background: var(--key-color);
  color: #fff;
}
@media (width <= 768px){
  #about img {
    max-width: 500px;
    margin: auto;
  }
  #about .heading-copy {
    text-align: center;
  }
  #about .lead-copy {
    text-align: center;
  }
}

/* Event */
@media (width <= 768px){
  img.map {
    display: none;
  }
}

/* Hot Topics */
@media (width <= 768px){
  #hot-topics .card-grid {
    gap: 20px;
  }
}

/* target */
@media (width <= 768px){
  .target__thumb span {
    top: -40px;
    left: -20px;
    font-size: 19vw;
  }
  .target__thumb.member span {
    top: -40px;
    left: -20px;
    bottom: auto;
    right: auto;
  }
  .target__meta .lead-copy {
    font-size: 7vw;
    margin-bottom: 10px;
  }
}

/* project */
.wrap-2col.number-wrap .inner {
  display: grid;
  gap: 2.78vw;
  grid-template-columns: max-content max-content;
  justify-content: center;
}
.wrap-2col.number-wrap .inner div {
  background: #fff;
  padding: 2rem 4rem;
  border-radius: 20px;
}
.wrap-2col.number-wrap .inner p {
  text-align: center;
  font-size: 16px;
}
.wrap-2col.number-wrap .inner p span {
  font-size: 28px;
  font-weight: 700;
}
.wrap-2col.number-wrap .inner p.number {
  font-size: 100px;
  color: var(--key-color);
  line-height: 1;
}
.logo-list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 20px;
  margin-bottom: 40px;
}
.logo-list ul li img {
  max-height: 60px;
}
.wrap-1col.logo-list-member .inner {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  width: fit-content;
  margin: auto;
  border-radius: 10px;
  padding-right: 4rem;
}
.wrap-1col.logo-list-member .inner p {
  background: #fff;
  color: var(--key-color);
  padding: 1rem;
  border-radius: 8px 0 0 8px;
}
.wrap-1col.logo-list-member .inner a {
  text-decoration: underline;
}
.page__block > * + * {
    margin-block-start: 4rem;
}

@media (width <= 768px){
  .wrap-2col.number-wrap .inner p span {
    font-size: 18px;
  }
  .wrap-2col.number-wrap .inner div {
    padding: 2rem;
  }
  .wrap-2col.number-wrap .inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page__block > * + * {
      margin-block-start: 2rem;
  }
  .wrap-1col.logo-list-member .inner {
    padding-right: 0;
    flex-wrap: wrap;
    gap: 0;
  }
  .wrap-1col.logo-list-member .inner p {
    border-radius: 8px 8px 0 0;
    text-align: center;
    padding: .5rem 0;
    width: 100%;
  }
  .wrap-1col.logo-list-member .inner a {
    padding: 1rem;
  }
  .logo-list ul li img {
    max-height: 50px;
  }
}

/* ----------------------------------------------
 フッター
----------------------------------------------  */
/* ループスライダー */
.rtl-slider{
  --gap: 0px;
  --h: 340px;
  --duration: 40s;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}
@media (width <= 768px){
  .rtl-slider{
    --h: 240px;
  }
}
.rtl-slider__track{
  display: flex;
  width: max-content;
  animation: rtl-scroll var(--duration) linear infinite;
}
@keyframes rtl-scroll{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.rtl-slider__list{
  display: flex;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}
.rtl-slider__list li{
  height: var(--h);
  aspect-ratio: 16/9;
  overflow: hidden;
}
.rtl-slider__list img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA */
/* フッター */
#footer {
  padding: 60px 0 40px;
}
#footer .inner{
  width: 96%;
  max-width: 1440px;
  display: flex;
  flex-wrap: nowrap;
  margin: auto;
  align-items: flex-start;
  justify-content: space-between;
  gap:40px;
}
#footer .inner img.logo {
  max-width: 460px;
  width: 100%;
}
.footer-content {
  max-width: 700px;
  width: 100%;
}
.footer-menu {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap:40px;
  margin-top: 40px;
}
.footer-menu a {
  font-size: 18px;
  font-weight: bold;
  line-height: 2;
  display: block;
}
.footer-menu-group {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-menu-group ul {
  list-style-type: disc;
  padding-left: 1em;
}
.footer-menu-group ul li a {
  margin-top: 10px;
  font-size: 14px;
  font-weight: normal;
}
.copyright {
  font-size: 12px;
  padding: 20px;
  border-top: 1px solid #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.copyright .sns {
  display: flex;
  gap: 10px;
}

@media (width <= 768px){
  #footer .inner {
    display: block;
  }
  #footer .inner img.logo {
    margin: 0 auto 60px;
  }
  .cta .lead-copy {
    padding: 0 20px;
    text-align: left;
  }
  .footer-content {
    margin: auto;
    max-width: none;
  }
}
@media (width <= 430px){
  #footer .inner img.logo {
    max-width: 60%;
    margin-bottom: 40px;
  }
  .footer-content {
    width: 90%;
  }
  .footer-menu div {
    width: 100%;
    gap: 20px;
  }
  .footer-menu-group {
    justify-content: flex-start;
  }
}

form.wpcf7-form.init {
  margin-top: 60px;
}
.wpcf7-form-control-wrap {
  position: relative;
  margin-top: 8px;
  display: block;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
  background: #fff;
  height: 36px;
  border: 2px solid var(--key-color);
  border-radius: 6px;
  padding: .5rem 1rem;
  font-size: 16px;
  width: 100%;
  position: relative;
}
.wpcf7-form-control-wrap textarea {
  height: 100px;
  overflow-y: scroll;
}
.wpcf7-list-item {
  width: 100%;
  margin: auto !important;
}

.wpcf7-list-item label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  color: var(--key-color);
}
.wpcf7-list-item label a {
  text-decoration: underline;
}
.wpcf7-form-control-wrap:has(select)::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--key-color);
  transform: translateY(-50%);
  pointer-events: none;
}
.wpcf7-form-control-wrap:has(select) {
  width: 30%;
}
.wpcf7-form-control-wrap input[type="checkbox"] {
  width: 36px;
  height: 36px;
}
input.wpcf7-form-control.wpcf7-submit {
  border-radius: 100px;
  margin: 40px auto 0;
  padding: 10px 10px 10px 20px;
  border: 2px solid var(--key-color);
  width: 360px;
  font-size: 18px;
  font-weight: bold;
  line-height: 36px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .2s ease;
}
.wpcf7-form-control.wpcf7-checkbox {
  display: inline-block;
  margin-bottom: 1em;
}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5em !important;
}


/* ----------------------------------------------
 下層ページフォーマット
----------------------------------------------  */
.page__title {
  padding: 40px 0;
}
.is-lowerpage main .page__title h2.font-en {
  font-size: 100px;
  line-height: 0.9;
  margin-bottom: 0px;
}
.is-lowerpage main h2.wp-block-heading {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.8;
}
.is-lowerpage main h3.wp-block-heading {
  font-size: clamp(18px, 0.857rem + 1.34vw, 24px);
  text-align: center;
  margin-bottom: 16px;
  color: var(--key-color);
  background: #fff;
  border: 1px solid var(--key-color);
  border-radius: 4px;
  line-height: 1.6;
}
.is-lowerpage main h4.wp-block-heading {
  font-size: 16px;
  line-height: 2.2;
  margin-bottom: 20px;
  padding-left: 10px;
  border-radius: 6px;
  background: var(--key-color);
  color: #fff;
}
.is-lowerpage main h5.wp-block-heading {
  font-size: clamp(18px, 0.857rem + 1.34vw, 24px);
}
/*
.is-lowerpage main p:not(.cta p, header p, footer p, .page__block p) {
  font-size: clamp(14px, 0.786rem + 0.45vw, 16px);
  line-height: 1.8;
  color: var(--text-color);
}
.is-lowerpage main a:not(.cta a, header a, footer a, .aioseo-breadcrumbs a, .post-article__cat a, .rectangle-btn:hover) {
  color: var(--key-color);
}
.is-lowerpage main .sub-bg .card__meta p {
  color: var(--key-color);
  font-size: 22px;
}
*/
.article-inner a,
.page__block a {
  text-decoration: underline;
  color: var(--key-color);
}
a.wp-block-button__link {
  text-decoration: none;
}
.wp-block-button__link {
  background-color: #fff !important;
  border: 2px solid var(--key-color);
}
.wp-block-button__link:hover {
  background-color: var(--key-color) !important;
  color: #fff !important;
}
.wp-block-table tr:first-child {
    background: #b6eaf9;
}
.wp-block-list {
  list-style-type: disc;
  padding-left: 1em;;
}
.article-inner > * + * {
  margin-block-start: 2rem;
}

time.post-article__date {
  color: var(--key-color);
  font-family: avenir-next-lt-pro, sans-serif;
  font-weight: 900;
  font-size: 22px;
}
.post-article__meta {
    display: flex;
    gap: 12px;
}
.post-categories {
  display: flex;
  gap: 10px;
}
.sub-bg .post-categories a {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--key-color);
  color: #fff;
}

@media (width <= 768px){
  .is-lowerpage main .page__title h2.font-en {
    font-size: 14vw;
  }
  .is-lowerpage main h2.wp-block-heading,
  .is-lowerpage main h3.wp-block-heading,
  .information h2 {
    font-size: 5.13vw;
  }
  .post-article__meta {
    display: block;
  }
  .sub-bg .post-categories {
    margin-bottom: 20px;
  }
  .sub-bg .post-categories a {
    font-size: 13px;
  }
}

@media (width <= 600px){
  .wp-block-media-text__content {
    padding: 0 !important;
    margin-top: 8%;
  }
}

/* YouTube 埋め込み */
.article-inner iframe[src*="youtube.com"],
.article-inner iframe[src*="youtube-nocookie.com"] {
	aspect-ratio: 16 / 9;
	height: auto;
	display: block;
	margin: 0 auto 10px;
}

/* イベント詳細ページ */
.contents-wrap article {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}
.contents-wrap article .thumb img {
  margin: 40px 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}
.contents-box {
  margin-top: 60px;
}
.contents-box .contents-box__list {
  display: grid;
  gap: 32px;
}
.contents-box .contents-box__list p {
  margin-bottom: 1em;
}
.contents-box .contents-box__list p:last-of-type {
  margin-bottom: 0 !important;
}
.contents-box h3 {
  font-size: clamp(18px, 0.857rem + 1.34vw, 24px);
  text-align: center;
  margin-bottom: 16px;
  color: var(--key-color);
  background: #fff;
  border: 1px solid var(--key-color);
  border-radius: 4px;
  line-height: 1.6;
}
.contents-box .contents-box__list iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-top: 16px;
}

@media (width <= 768px){
  .contents-box h3 {
    margin-bottom: 10px;
  }

}

/* ----------------------------------------------
 ページネーション
----------------------------------------------  */
.pagination .nav-links .prev {
  margin-right: 0.5em;
}
.pagination .nav-links .next {
  margin-left: 0.5em;
}
.pagination .nav-links .page-numbers.current {
  font-weight: bold;
  text-decoration: underline;
}