/*
Theme Name: 潜在動作国際協会
Description: Studio公開元の外観をWordPressの編集可能なブロックへ移すためのTwenty Twenty-Five子テーマ。
Template: twentytwentyfive
Version: 0.7.5.1
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: senzaidousa
*/

/* Source measurements: home.json and certified.json styleSamples, plus
   source-dom/home.json styles[2] and styles[3] for shared structure.
   Source-derived body rules belong in assets/css/source-content.css. */
:root {
  --senzaidousa-orange: #ff6b00;
  --senzaidousa-blue: #10385f;
  --senzaidousa-footer-background: url("assets/images/footer-network.webp");
}

body { margin: 0; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > .association-header-shell,
.wp-site-blocks > .association-main,
.wp-site-blocks > .association-footer-shell { margin-block: 0; }
.association-main,
.association-main > .wp-block-post-content { max-width: none; margin: 0; padding: 0; }
.association-header-shell { position: fixed; inset: 0 0 auto; width: 100%; z-index: 30; }
.admin-bar .association-header-shell { top: var(--wp-admin--admin-bar--height, 32px); }

.association-header {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 0 80px;
  background: #eee;
  color: var(--senzaidousa-orange);
  opacity: .9;
}
.association-header-row { width: 1440px; max-width: 100%; gap: 0; flex-wrap: nowrap !important; }
.association-brand { gap: 0; flex-shrink: 0; padding-right: 8px; }
.association-mark { flex: none; margin: 0 -40px 0 0; font-size: 100px; line-height: 1; }
.association-mark .fa { display: block; color: #fce205; font-size: inherit; line-height: 1; mix-blend-mode: exclusion; }
.association-brand-name {
  margin: 0;
  color: var(--senzaidousa-orange);
  font-family: Oswald, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .05em;
  white-space: nowrap;
}
.association-brand-name a,
.association-navigation a,
.association-footer a { color: inherit; text-decoration: none; }
.association-navigation {
  margin: 0 0 0 auto;
  color: var(--senzaidousa-orange);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  flex: none;
  width: 890px;
  max-width: 100%;
}
.association-navigation .wp-block-navigation__container { justify-content: center; gap: 24px; }
.association-navigation .wp-block-navigation-item__content { white-space: nowrap; }
.association-navigation .association-nav-contact > a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 40px;
  padding: 0;
  color: #fff;
  background: linear-gradient(90deg, #10385f 0%, #589ee3 100%);
}
.association-navigation .association-nav-contact > a::before {
  content: "";
  flex: none;
  width: 19px;
  height: 14px;
  margin-inline-end: 8px;
  background: url("assets/images/contact-envelope.svg") center / contain no-repeat;
}
.association-navigation a:hover,
.association-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.association-header a:focus-visible,
.association-header button:focus-visible,
.association-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.association-footer {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  padding: 30px 80px;
  color: #fff;
  background-color: var(--senzaidousa-blue);
}
.association-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--senzaidousa-footer-background);
  background-position: center;
  background-size: cover;
  filter: brightness(72%);
}
.association-footer-brand { gap: 0; margin: 0; }
.association-footer-mark { flex: none; margin: 0 -40px 0 0; color: #fff; font-size: 100px; line-height: 1; opacity: .65; }
.association-footer-mark .fa { display: block; font-size: inherit; line-height: 1; }
.association-footer-brand-name {
  margin: 0;
  color: #fff;
  font-family: Oswald, sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .05em;
}
.association-footer-navigation {
  justify-content: center;
  margin-block: 24px;
  color: #e6e6e6;
  font-family: Oswald, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}
.association-footer-navigation .wp-block-navigation__container { justify-content: center; gap: 24px; }
.association-copyright {
  margin: 0;
  color: #fff;
  text-align: center;
  font-family: "Libre Baskerville", serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

/* Core Navigation supplies the accessible open/close behaviour. */
@media (max-width: 1280px) {
  .association-header { padding: 0 24px; }
  .association-mark { margin-right: -44px; font-size: 80px; }
  .association-navigation .wp-block-navigation__container { flex-wrap: nowrap; gap: 16px; }
  .association-navigation .association-nav-contact > a { width: 140px; }
}
@media (max-width: 840px) {
  .association-header { opacity: 1; }
  .association-brand { flex: 1 1 auto; min-width: 0; }
  .association-brand-name { min-width: 0; white-space: normal; font-size: clamp(16px, 3.6vw, 28px); }
  .association-mark { margin-right: -30px; font-size: 72px; }
  .association-navigation { flex: 0 0 auto; width: auto; max-width: none; }
  .association-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .association-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  /* The nav class is also copied to its UL by core; scope the modal to nav. */
  .association-header nav.association-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 32px 24px;
    color: var(--senzaidousa-orange);
    background: #eee;
  }
  .association-header nav.association-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .association-header nav.association-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    box-sizing: border-box;
    align-items: stretch;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    padding: 60px 0 0;
    gap: 0;
  }
  .association-header nav.association-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container {
    box-sizing: border-box;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    gap: 16px;
  }
  .association-header nav.association-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation__container > li.wp-block-navigation-item {
    box-sizing: border-box;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }
  .association-header nav.association-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation__container > li.wp-block-navigation-item > a.wp-block-navigation-item__content {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 8px 0;
    color: var(--senzaidousa-orange);
    font-size: 18px;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .association-header nav.association-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation__container > li.association-nav-contact > a.wp-block-navigation-item__content {
    width: 100%;
    height: auto;
    min-height: 44px;
    justify-content: center;
    color: #fff;
  }
  .association-header nav.association-navigation.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: var(--senzaidousa-orange);
    background: transparent;
  }
  .association-footer { padding: 30px 24px; }
  .association-footer-brand { justify-content: center; }
  .association-footer-mark { margin-right: -30px; font-size: 72px; }
  .association-footer-brand-name { font-size: 32px; }
}
@media (min-width: 841px) {
  .association-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; }
  .association-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: block; }
}
@media (max-width: 540px) {
  .association-header { height: 90px; padding: 0 16px; }
  .association-header-row { gap: 8px; }
  .association-brand { min-width: 0; }
  .association-brand-name { font-size: clamp(14px, 4.2vw, 18px); }
  .association-mark { margin-right: -20px; font-size: 44px; }
  .association-navigation { flex-shrink: 0; }
  .association-footer { padding: 60px 20px 48px; }
  .association-footer-brand-name { font-size: 28px; letter-spacing: .3em; }
  .association-footer-mark { font-size: 80px; }
  .association-footer-navigation .wp-block-navigation__container { flex-wrap: wrap; gap: 16px; }
  .association-copyright { font-size: 10px; }
}
@media (max-width: 350px) {
  .association-footer { padding: 48px 30px; }
  .association-footer-mark { font-size: 60px; }
  .association-footer-brand-name { font-size: 20px; }
}
