@charset "UTF-8";
/*
Theme Name: 公益財団法人 福岡県教育文化奨学財団
Theme URI: 
Author: Calamari Inc.
Author URI: 
Description: 福岡県教育文化奨学財団のオリジナルテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: bunkashinkouzaidan
Tags: custom-theme
*/
/* ==========================================================================
    Mixins & Variables
   ========================================================================== */
:root {
  /* Font Family */
  --sans-serif: "Inter", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --serif: serif;
  /* Color */
  --white: #FFFFFF;
  --black: #202020;
  --gray: #888888;
  --blue: #102DCE;
  --green: #3ADEA5;
  --green-dark: #009762;
  --bg-gray: #F2F7FB;
  --bg-green: #EFF7F4;
  --c-blue: #0A7DBB;
  --c-pink: #E25C7D;
  /* Easing */
  --easeInQuad: cubic-bezier(0.550, 0.085, 0.680, 0.530);
  --easeInCubic: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  --easeInQuart: cubic-bezier(0.895, 0.030, 0.685, 0.220);
  --easeInQuint: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  --easeInSine: cubic-bezier(0.470, 0.000, 0.745, 0.715);
  --easeInExpo: cubic-bezier(0.950, 0.050, 0.795, 0.035);
  --easeInCirc: cubic-bezier(0.600, 0.040, 0.980, 0.335);
  --easeInBack: cubic-bezier(0.600, -0.280, 0.735, 0.045);
  --easeOutQuad: cubic-bezier(0.250, 0.460, 0.450, 0.940);
  --easeOutCubic: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  --easeOutQuart: cubic-bezier(0.165, 0.840, 0.440, 1.000);
  --easeOutQuint: cubic-bezier(0.230, 1.000, 0.320, 1.000);
  --easeOutSine: cubic-bezier(0.390, 0.575, 0.565, 1.000);
  --easeOutExpo: cubic-bezier(0.190, 1.000, 0.220, 1.000);
  --easeOutCirc: cubic-bezier(0.075, 0.820, 0.165, 1.000);
  --easeOutBack: cubic-bezier(0.175, 0.885, 0.320, 1.275);
  --easeInOutQuad: cubic-bezier(0.455, 0.030, 0.515, 0.955);
  --easeInOutCubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --easeInOutQuart: cubic-bezier(0.770, 0.000, 0.175, 1.000);
  --easeInOutQuint: cubic-bezier(0.860, 0.000, 0.070, 1.000);
  --easeInOutSine: cubic-bezier(0.445, 0.050, 0.550, 0.950);
  --easeInOutExpo: cubic-bezier(1.000, 0.000, 0.000, 1.000);
  --easeInOutCirc: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  --easeInOutBack: cubic-bezier(0.680, -0.550, 0.265, 1.550);
  --ease-swing: cubic-bezier(0.215, 0.415, 0.085, 1.155);
}

/*
Theme Name: 公益財団法人 福岡県教育文化奨学財団
Theme URI: 
Author: Calamari Inc.
Author URI: 
Description: 福岡県教育文化奨学財団のオリジナルテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: bunkashinkouzaidan
Tags: custom-theme
*/
.has-text-align-left {
  text-align: left;
}

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

.has-text-align-right {
  text-align: right;
}

.wp-block-file {
  font-size: 1rem;
  margin: 0 0 1em 0;
}
.wp-block-file a {
  color: var(--blue);
  text-decoration: underline;
}
.wp-block-file a:hover {
  text-decoration: none;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/*
Theme Name: 公益財団法人 福岡県教育文化奨学財団
Theme URI: 
Author: Calamari Inc.
Author URI: 
Description: 福岡県教育文化奨学財団のオリジナルテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: bunkashinkouzaidan
Tags: custom-theme
*/
/* ==========================================================================
   Base Setup (Modern Reset)
   ========================================================================== */
/* 1. 全要素の基本設定 */
* {
  box-sizing: border-box;
  min-width: 0;
}
*::before, *::after {
  box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
  *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  *::-webkit-scrollbar-track {
    background-color: #EEE;
    border: none;
  }
  *::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 100px;
    border: 2px solid #EEE;
  }
  /* Firefoxなど、::-webkit-scrollbar が無いブラウザだけ標準プロパティを使う */
  @supports not selector(::-webkit-scrollbar) {
    * {
      scrollbar-width: thin;
      scrollbar-color: #888 var(--bg-gray);
    }
  }
}
/* 2. HTML: 基本設定 */
html {
  font-size: 100%;
  text-size-adjust: 100%;
  /* スマホ横向き時の文字拡大防止 */
  min-height: 100vh;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* ページ内リンクのスムーススクロール */
  /* モダン: モバイルでのタップハイライト色を透明に */
  -webkit-tap-highlight-color: transparent;
  height: 100%;
}

/* 3. Body: 全体の見た目と継承 */
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--white);
  overflow-x: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  /* Typography Defaults */
  color: var(--black);
  font-family: var(--sans-serif);
  font-weight: 400;
  line-height: 1.6;
  /* 1だと狭すぎるため、可読性重視で1.6へ変更 */
  word-wrap: break-word;
  /* Scroll & Viewport */
  overflow-wrap: break-word;
}
body:has(.menuBtn.is-open), body:has(#home_introduction.side_A) {
  overflow-y: hidden;
}

/* 4. Page Transitions API (モダン) */
@view-transition {
  navigation: auto;
}
/* ==========================================================================
   Typography & Content
   ========================================================================== */
/* 見出し */
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: 600;
  margin: 0;
  /* マージンリセット */
  overflow-wrap: break-word;
  text-autospace: normal;
}

/* 段落 */
p {
  margin: 0 0 1em;
  padding: 0;
  line-height: 2;
  font-size: 1rem;
  line-break: strict;
  text-autospace: normal;
}
p:last-child {
  margin-bottom: 0;
}
p .subtext {
  font-size: 0.875em;
}
p a {
  text-decoration: underline;
}
@media (hover: hover) {
  p:hover {
    text-decoration: none;
  }
}

/* リンク */
a {
  color: var(--black);
  text-underline-offset: 0.15em;
  /* 下線を見やすく */
  word-break: break-all;
  outline: none;
  cursor: pointer;
  text-decoration: none;
}
a[target=_blank] {
  padding-right: 18px;
  background: url(./assets/img/icon-newwindow-16x16.png) no-repeat right center/16px 16px;
}
a {
  /* PCのみ: 電話番号リンク無効化 */
}
@media screen and (min-width: 901px) {
  a[href^="tel:"] {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
    cursor: default;
  }
}

/* フォント指定クラス */
.serif {
  font-family: var(--serif);
}

.sans-serif {
  font-family: var(--sans-serif);
}

ul,
ol {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}
ul li,
ol li {
  line-height: 1.6;
  margin-bottom: 0.5em;
}
ul ul,
ul ol,
ol ul,
ol ol {
  font-size: 0.875rem;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ==========================================================================
   Media & Objects
   ========================================================================== */
/* 画像・動画 */
img,
picture,
video,
canvas,
svg {
  display: block;
  /* inline-blockの隙間問題を解消 */
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
  /* ブラウザデフォルト打ち消し */
}
figure img {
  max-height: min(100vh - 20px, 720px);
}

figcaption {
  font-size: 0.625rem;
  line-height: 1.4;
  margin: 0.75em 0;
}

/* 水平線 */
hr {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 auto;
  border: 0;
  /* デフォルトの枠線を消す */
  border-bottom: 1px solid var(--gray);
}

/* 引用 */
blockquote {
  margin: 0 0 1em 0;
  padding: 0 0.5em 1em;
}
blockquote *:last-child {
  margin-bottom: 0 !important;
}

/* ==========================================================================
   Forms
   ========================================================================== */
/* 入力欄の共通リセット */
input,
button,
textarea,
select {
  font: inherit;
  /* フォント設定を親から継承 */
  outline: none;
}

/* フォームの見た目リセット（チェックボックス等も消えるため注意） */
input[type=text],
input[type=url],
input[type=tel],
input[type=email],
input[type=search],
input[type=password],
input[type=number],
textarea,
select {
  appearance: none;
  border-radius: 0;
  field-sizing: content;
  /* 入力量に応じて自動伸縮 */
}

input[type=submit],
button {
  cursor: pointer;
  appearance: none;
  border: none;
  background: transparent;
}

/* ==========================================================================
    Utility Classes
   ========================================================================== */
@media screen and (min-width: 901px) {
  .nopc {
    display: none !important;
  }
}

@media screen and (max-width: 900px) {
  .nosp {
    display: none !important;
  }
}

/* ==========================================================================
    ANIMATION
   ========================================================================== */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* ==========================================================================
    共通
   ========================================================================== */
.section {
  padding: 80px 20px;
  max-width: min(840px, 100vw);
  margin: 0 auto;
  flex: 1;
}
.section_title {
  font-size: 2rem;
  width: fit-content;
  margin: 0 auto;
  position: relative;
  line-height: 1;
  padding: 0 0 14px;
}
.section_title::after {
  content: "";
  display: block;
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--green-dark);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 900px) {
  .section_title {
    font-size: 1.75rem;
  }
  .section_title::after {
    width: 52px;
  }
}

.topics {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.topics_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
}
.topics_list__item {
  display: flex;
  gap: 0px;
  justify-content: flex-start;
}
.topics_list__date {
  white-space: nowrap;
  width: 9.5rem;
  line-height: 2.1;
}
.topics_list__title {
  width: calc(100% - 9.5rem);
  font-size: 1.125rem;
  color: var(--blue);
  line-height: 1.8;
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .topics_list__title:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
}
@media screen and (max-width: 900px) {
  .topics_list {
    gap: 24px;
  }
  .topics_list__item {
    display: flex;
    flex-direction: column;
  }
  .topics_list__date {
    width: auto;
    line-height: 1.6;
  }
  .topics_list__title {
    width: 100%;
    text-align: justify;
  }
}

a.button-round,
p.button-round a {
  border-radius: 999px;
  background-color: var(--green-dark);
  color: var(--white);
  padding: 24px 28px;
  line-height: 1;
  display: block;
  width: fit-content;
  margin: 0 auto 24px;
  position: relative;
  text-decoration: none;
  min-width: 220px;
  text-align: center;
  font-size: 1.125rem;
}
a.button-round:last-child,
p.button-round a:last-child {
  margin-bottom: 0;
}

a.arrow-r,
p.arrow-r a {
  padding-right: 34px;
}
a.arrow-r::after,
p.arrow-r a::after {
  content: "";
  background-color: var(--white);
  display: block;
  position: absolute;
  width: 17px;
  height: 17px;
  mask: url(./assets/img/arrow-circle-right.svg) no-repeat center center/contain;
  right: 14px;
  top: 50%;
  transform: translate(0, -50%);
  transform-origin: center center;
}

a.button-anchor {
  padding: 20px 24px;
  min-width: 280px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}
a.button-anchor span {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 4px;
}
a.button-anchor span::after {
  content: "";
  background-color: var(--white);
  display: block;
  width: 17px;
  height: 17px;
  mask: url(./assets/img/arrow-circle-right.svg) no-repeat center center/contain;
  transform: rotate(90deg);
  transform-origin: center center;
}
a.button-anchor p {
  font-size: 0.75rem;
  line-height: 1.6;
}

.download {
  text-align: center;
  padding: 20px 28px;
  background-color: var(--bg-gray);
  width: fit-content;
  margin: 28px auto;
  border-radius: 999px;
}
.download a {
  color: var(--blue);
  text-decoration: underline;
  font-size: 1rem;
}

a[href$=".pdf"]::after {
  content: "（PDF）";
  display: inline-block;
  background: url(./assets/img/icon-file.png) no-repeat left center/16px 16px;
  position: relative;
  margin-left: 8px;
  padding-left: 14px;
  color: var(--black);
  opacity: 0.6;
  font-size: 0.875rem;
}

.breadcrumb {
  margin: 64px 0 0;
  padding: 16px 20px 14px;
  background-color: var(--bg-green);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  font-size: 0.75rem;
  color: #BBB;
}
.breadcrumb li {
  color: var(--black);
}
.breadcrumb a {
  color: var(--green-dark);
}
.breadcrumb span {
  color: var(--gray);
  font-feature-settings: "palt";
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 24em;
}
@media screen and (max-width: 900px) {
  .breadcrumb {
    margin-top: 70px;
    padding: 16px 16px;
  }
}

/*
Theme Name: 公益財団法人 福岡県教育文化奨学財団
Theme URI: 
Author: Calamari Inc.
Author URI: 
Description: 福岡県教育文化奨学財団のオリジナルテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: bunkashinkouzaidan
Tags: custom-theme
*/
/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  width: 100%;
  background-color: var(--white);
  z-index: 50;
  left: 0;
  top: 0;
  padding: 0;
  margin: 0;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}
.header::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(58, 222, 165, 0.2);
  mix-blend-mode: multiply;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0;
}
.header__logo {
  display: flex;
  align-items: center;
  padding-left: 16px;
  position: relative;
}
.header__logo-link {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header__logo img:nth-child(1) {
  height: 14px;
}
.header__logo img:nth-child(2) {
  height: 24px;
}
.header__nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}
.header__nav-list {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
}
.header__nav-item {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
}
.header__nav-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 min(24px, 4vw);
  height: 100%;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
  padding-top: 2px;
}
.header__nav-item a[target=_blank] {
  padding-right: 40px;
  background: url(./assets/img/icon-newwindow-16x16.png) no-repeat right 20px center/16px 16px;
}
@media (hover: hover) {
  .header__nav-item a {
    transition: background-color 0.2s ease-in;
  }
  .header__nav-item a:hover {
    transition: background-color 0.3s var(--easeOutSine);
    background-color: color-mix(in srgb, var(--green) 8%, var(--white));
  }
  .header__nav-item a:active {
    transition: none;
    background-color: color-mix(in srgb, var(--green) 20%, var(--white));
  }
}
.header__nav-item.is-active > a {
  border-bottom-color: var(--green);
}
.header__divider {
  width: 1px;
  height: 36px;
  border-right: 1px dotted var(--black);
  opacity: 0.2;
}
@media screen and (max-width: 900px) {
  .header {
    border: none;
  }
  .header__inner {
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
  }
  .header__logo {
    padding: 16px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .header__logo-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .header__logo img:nth-child(1) {
    height: 12px;
  }
  .header__logo img:nth-child(2) {
    height: 22px;
  }
  .header__nav {
    display: none;
    width: 100vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }
  .header__nav-list {
    flex-direction: column;
    height: auto;
    width: 100%;
  }
  .header__nav-item {
    width: 100%;
    display: block;
  }
  .header__nav-item a {
    padding: 12px 20px;
    font-size: 1.125rem;
    color: var(--white);
    width: 100%;
    text-align: left;
    display: block;
    border: none;
  }
  .header__nav-item.is-active a {
    border: none;
  }
  .header:has(button.open) {
    min-height: 100vh;
    background-color: var(--green-dark);
    color: var(--white);
    transition: background-color 0.3s ease 0s;
  }
  .header:has(button.open) .header__logo img {
    filter: brightness(0) invert(1);
  }
  .header:has(button.open) .header__nav {
    display: flex;
  }
  .header__divider {
    width: 100%;
    height: 1px;
    border-bottom: 1px dotted var(--white);
    margin: 4px 0;
  }
}

.menu-button {
  display: none;
}
@media screen and (max-width: 900px) {
  .menu-button {
    display: block;
    width: 52px;
    height: 52px;
    font-size: 0;
    text-decoration: none;
    font-weight: bold;
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--black);
    z-index: 100;
  }
  .menu-button > div {
    height: 2px;
    width: 36px;
    background-color: var(--black);
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 99px;
    transition: transform 0.3s var(--ease-swing) 0s;
  }
  .menu-button > div:nth-child(1) {
    transform: translate(-50%, -17px);
  }
  .menu-button > div:nth-child(2) {
    width: 32px;
    transform: translate(-50%, -9px);
  }
  .menu-button > div:nth-child(3) {
    width: 24px;
    transform: translate(-50%, -1px);
  }
  .menu-button > span {
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    text-align: center;
    line-height: 1;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    transition: transform 0.3s ease 0s, opacity 0.3s ease 0s, visibility 0.3s linear 0s;
  }
  .menu-button > span[menu-text=close] {
    visibility: hidden;
    opacity: 0;
    transform: scale(1.2, 1.2);
    color: var(--white);
  }
  .menu-button > span[menu-text=open] {
    visibility: visible;
    opacity: 1;
    transform: scale(1, 1);
  }
  .menu-button.open > div {
    --close-width: 30px;
    background-color: var(--white);
  }
  .menu-button.open > div:nth-child(1) {
    width: var(--close-width);
    transform: translate(-50%, -8px) rotate(-225deg);
  }
  .menu-button.open > div:nth-child(2) {
    transform: translate(-50%, -7px) scaleX(0);
  }
  .menu-button.open > div:nth-child(3) {
    width: var(--close-width);
    transform: translate(-50%, -8px) rotate(225deg);
  }
  .menu-button.open > span[menu-text=open] {
    visibility: hidden;
    opacity: 0;
    transform: scale(1.2, 1.2);
  }
  .menu-button.open > span[menu-text=close] {
    visibility: visible;
    opacity: 1;
    letter-spacing: 0;
    transform: scale(1, 1);
  }
}

.header__nav-sublist {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  background-color: var(--white);
  border: 1px solid var(--border-gray);
  box-shadow: 2px 6px 8px rgba(0, 0, 0, 0.1);
  z-index: 20;
  min-width: 180px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.header__nav-sublist li {
  padding: 0;
  margin: 0;
  text-align: left;
}
.header__nav-sublist li a {
  display: block;
  font-size: 1rem;
  padding: 16px;
}
@media screen and (max-width: 900px) {
  .header__nav-sublist {
    display: block;
    box-shadow: none;
    z-index: auto;
    background-color: transparent;
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 8px;
    min-width: 100%;
  }
  .header__nav-sublist li a {
    padding: 8px 40px;
  }
}

.header__nav-item {
  position: relative;
}
@media (hover: hover) {
  .header__nav-item:hover .header__nav-sublist {
    display: block;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  margin: 40px 0 0;
  background-color: var(--bg-gray);
  padding: 60px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

.totop {
  width: 48px;
  height: 48px;
  position: absolute;
  right: 20px;
  top: -24px;
  border-radius: 999px;
  background-color: var(--white);
  border: 1px solid var(--bg-gray);
  overflow: hidden;
  text-indent: -999px;
}
.totop::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--black);
  border-right: 2px solid var(--black);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -28%) rotate(-45deg);
}

.footer__search {
  background-color: var(--white);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gray) 30%, var(--white));
}
.footer__search .search-form {
  display: flex;
  align-items: center;
  width: 100%;
}
.footer__search .search-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 24px;
  font-size: 1rem;
  color: var(--black);
  width: 100%;
}
.footer__search .search-field::placeholder {
  color: #AAA;
}
.footer__search .search-submit {
  background-color: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer__search .search-submit:hover {
    background-color: color-mix(in srgb, var(--green-dark) 80%, black);
  }
}
@media screen and (max-width: 900px) {
  .footer__search {
    max-width: 100%;
  }
  .footer__search .search-field {
    padding: 10px 16px;
    font-size: 0.875rem;
  }
  .footer__search .search-submit {
    padding: 8px 20px;
  }
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer__nav {
  display: flex;
  justify-content: center;
  justify-content: space-between;
  list-style: none;
  width: 880px;
  margin: 0 auto 28px;
  padding: 0;
}
.footer__nav > li > a:not([target=_blank]) {
  background: url(./assets/img/icon-triangle-right.png) no-repeat left center/6px 9px;
  padding-left: 10px;
}
.footer__nav a {
  text-decoration: none;
  color: var(--black);
}
.footer__nav-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0.25em 0 0;
  padding: 0 0 0 10px;
  list-style: none;
}
.footer__nav-sub li {
  margin: 0;
  font-size: 0.875rem;
  display: flex;
}
.footer__nav-sub li::before {
  content: "-";
  margin-right: 2px;
  flex-shrink: 0;
}
.footer__header-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer__header-link img:nth-child(1) {
  height: 16px;
}
.footer__header-link img:nth-child(2) {
  height: 32px;
}
.footer__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 40px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.footer__info-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer__info-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer__info-details p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.5em;
}
.footer__info-details p a {
  text-decoration: none;
}
.footer__info-label p {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--black);
  font-feature-settings: "palt";
  letter-spacing: 0.025em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.5), 0 -2px 0 rgba(255, 255, 255, 0.5), 2px 0 0 rgba(255, 255, 255, 0.5), -2px 0 0 rgba(255, 255, 255, 0.5);
}
.footer__info-label {
  border: 1px solid rgba(58, 222, 165, 0.2);
  border-radius: 4px;
  background-color: rgba(58, 222, 165, 0.05);
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(58, 222, 165, 0.1) 2px, rgba(58, 222, 165, 0.1) 4px);
  display: flex;
  padding: 12px 12px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}
.footer__info-title {
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0;
  margin: 0;
  text-align: center;
}
.footer__copyright {
  text-align: center;
  font-size: 0.75rem;
}
@media screen and (max-width: 900px) {
  .footer__info {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__info-block {
    gap: 8px;
  }
  .footer__info-label {
    padding: 8px;
  }
  .footer__header-link {
    gap: 8px;
  }
  .footer__header-link img:nth-child(2) {
    height: 28px;
  }
}

/*
Theme Name: 公益財団法人 福岡県教育文化奨学財団
Theme URI: 
Author: Calamari Inc.
Author URI: 
Description: 福岡県教育文化奨学財団のオリジナルテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: bunkashinkouzaidan
Tags: custom-theme
*/
.hero_area {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  max-height: 740px;
  min-height: 400px;
  position: relative;
  margin: 64px 0 0 0;
  color: var(--white);
  overflow: hidden;
}
.hero_area .hero_slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero_area .hero_slider_item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-image: var(--sp-bg);
}
@media screen and (min-width: 901px) {
  .hero_area .hero_slider_item {
    background-image: var(--pc-bg);
  }
}
.hero_area .hero_slider_item.is-active {
  opacity: 1;
}
.hero_area .hero_slider:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
  mix-blend-mode: multiply;
}
.hero_area .info {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: calc(33.25rem + 40px);
  z-index: 1;
  padding: 20px;
  border-radius: 8px;
}
.hero_area .info_cta {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.hero_area .info_cta a {
  display: block;
  width: fit-content;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 20px 34px 20px 16px;
  line-height: 1;
  position: relative;
  background: rgba(0, 0, 0, 0.05) url(./assets/img/arrow-circle-right.svg) no-repeat right 12px center/18px 18px;
  transition: background-color 0.3s ease 0s;
  text-shadow: 0px 0.5px 2px rgba(0, 0, 0, 0.5);
  font-feature-settings: "palt";
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .hero_area .info_cta a:hover {
    background-color: color-mix(in srgb, var(--green) 20%, transparent);
  }
}
.hero_area h1 {
  font-size: 2.375rem;
  line-height: 1.4;
  margin-bottom: 8px;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
}
.hero_area p {
  text-align: justify;
  text-shadow: 0px 0.5px 2px rgba(0, 0, 0, 0.5);
  font-feature-settings: "pkna";
}
@media screen and (max-width: 900px) {
  .hero_area {
    aspect-ratio: 2/3;
    max-height: 78svh;
    min-height: 100vw;
  }
  .hero_area .hero_slider:after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.4) 100%);
  }
  .hero_area .info {
    right: auto;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 0);
    width: calc(100% - 48px);
    padding: 0;
  }
  .hero_area .info_cta {
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
  }
  .hero_area .info_cta a {
    min-width: calc(50% - 4px);
    color: var(--white);
    padding: 12px 30px 12px 12px;
    line-height: 1;
    border-radius: 4px;
    background: url(./assets/img/arrow-circle-right.svg) no-repeat right 10px center/16px 16px;
  }
  .hero_area h1 {
    font-size: 6vw;
  }
  .hero_area p {
    line-height: 1.8;
  }
}

/*
Theme Name: 公益財団法人 福岡県教育文化奨学財団
Theme URI: 
Author: Calamari Inc.
Author URI: 
Description: 福岡県教育文化奨学財団のオリジナルテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: bunkashinkouzaidan
Tags: custom-theme
*/
@scope (.about) {
  table td:first-child {
    white-space: nowrap;
    padding-right: 2em;
    font-weight: 600;
  }
}
/*
Theme Name: 公益財団法人 福岡県教育文化奨学財団
Theme URI: 
Author: Calamari Inc.
Author URI: 
Description: 福岡県教育文化奨学財団のオリジナルテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: bunkashinkouzaidan
Tags: custom-theme
*/
@scope (.page) {
  .page-title {
    font-size: 2.375rem;
    padding: 0;
    margin: 0 auto 60px;
    width: fit-content;
  }
  .wp-block-separator {
    border: none;
    height: 1px;
    margin: 80px auto;
    border-bottom: 1px dotted var(--gray);
  }
  .green {
    color: var(--green-dark);
  }
  h2.green {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
  }
  h3.green {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 60px 0 12px;
  }
  h3:has(+ ul) {
    margin-bottom: 0.4em;
  }
  ul:has(+ h3) {
    margin-bottom: 1.5em;
  }
  .ol-green {
    color: var(--green-dark);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 8px;
    font-feature-settings: "tnum";
  }
  ul + .ul-next {
    display: flex;
    gap: 0.75em;
    padding-left: 1.5em;
    margin: 0 0 1.5em;
  }
  ul + .ul-next dt,
  ul + .ul-next dd {
    padding: 0;
    margin: 0;
    position: relative;
  }
  ul + .ul-next dt {
    white-space: nowrap;
    font-weight: 600;
  }
  ul + .ul-next dt::after {
    content: " … ";
  }
  ul:has(+ .ul-next) {
    margin-bottom: 0;
  }
  .undeline-green {
    color: var(--green-dark);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 28px 0 20px;
    padding: 8px 2px;
    line-height: 1;
    width: fit-content;
    border-bottom: 1px solid var(--green-dark);
    font-feature-settings: "tnum";
  }
  .wp-block-table table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
  }
  .wp-block-table tr {
    border-bottom: 1px dotted var(--gray);
  }
  .wp-block-table th,
  .wp-block-table td {
    border: none;
    padding: 24px 0;
  }
  .wp-block-table .subtext {
    font-size: 0.875rem;
  }
  .wp-block-table.plane table {
    width: fit-content;
    margin-bottom: 1.5rem;
  }
  .wp-block-table.plane th,
  .wp-block-table.plane td {
    padding: 8px 0.5em;
    text-align: center;
    line-height: 1.3;
  }
  .wp-block-table.plane th:first-child,
  .wp-block-table.plane td:first-child {
    text-align: left;
    width: auto;
  }
  p:has(+ .plane) {
    margin-bottom: 0;
  }
  .bg-green:has(table) {
    background-color: var(--bg-green);
    padding: 20px;
    border-radius: 16px;
    margin: 0 0 32px 0;
  }
  .bg-green:has(table) tr {
    border: none;
  }
  .bg-green:has(table) th,
  .bg-green:has(table) td {
    padding: 4px;
  }
  .bg-green:has(table) th:first-child,
  .bg-green:has(table) td:first-child {
    font-weight: 600;
    padding-right: 0.25em;
  }
  .bg-green:has(table) .wp-block-table + ul {
    font-size: 0.875rem;
    margin: 4px 0 0 0;
    padding: 0 0 0 1.5em;
  }
  .bg-green:has(table) .wp-block-table + ul li {
    margin-bottom: 0;
  }
  .table1 {
    margin: 0 0 2rem 1.5rem;
  }
  .table1 tr {
    border-bottom: 1px dotted var(--gray);
  }
  .table1 th,
  .table1 td {
    padding: 8px 0;
  }
  .table1 td:first-child {
    width: 8em;
    padding-right: 24px;
    font-weight: 600;
  }
  .table1 + .has-text-align-right {
    margin-top: -1.5rem;
    font-size: 0.875rem;
  }
  .table1:has(+ .table1) {
    margin-bottom: 0;
  }
  .table2 table {
    border-radius: 8px;
    margin: 0 0 1rem;
    border-collapse: separate;
    overflow: hidden;
    border: 1px solid #CCCCCC;
  }
  .table2 th,
  .table2 td {
    padding: 12px 16px;
    border-bottom: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
  }
  .table2 th:last-child,
  .table2 td:last-child {
    border-right: none;
  }
  .table2 th {
    border-bottom: none;
  }
  .table2 tr:last-child td {
    border-bottom: none;
  }
  .table2 th {
    background-color: var(--bg-gray);
    width: 8em;
  }
  h2 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1rem;
  }
  h4:has(+ ul), h4:has(+ ol) {
    margin-bottom: 0.3em;
  }
  p:has(+ .table1) {
    margin: 1em 0 0 1.5rem;
    font-feature-settings: "palt";
  }
  .subtext {
    font-size: 0.875rem;
  }
  blockquote {
    padding: 0 0 0 12px;
    margin-left: 1.5rem;
    border-left: 4px solid color-mix(in srgb, var(--green-dark) 100%, white 100%);
  }
  blockquote p {
    font-size: 0.875rem;
  }
  .page-contact {
    margin: 0;
  }
  .page-contact p {
    width: 100%;
    margin: 0;
    line-height: 1.7;
  }
  .page-contact .tel {
    font-size: 1.5rem;
  }
  .page-contact h3 {
    font-size: 1.25rem;
    font-weight: 500;
  }
  .page-contact p.subtext {
    line-height: 1.65;
  }
  @media screen and (max-width: 900px) {
    .page-title {
      font-size: 2rem;
      padding: 0 0 24px;
    }
    h2.green {
      font-size: 1.75rem;
      color: var(--green-dark);
      font-weight: 500;
      margin-bottom: 40px;
    }
    .ol-green {
      color: var(--green-dark);
      font-size: 1.25rem;
      font-weight: 500;
      margin-bottom: 8px;
    }
    .wp-block-table th,
    .wp-block-table td {
      padding: 16px 0;
    }
    .wp-block-table td:first-child {
      padding-right: 1em;
      width: 6em;
    }
    h2 {
      font-size: 1.625rem;
    }
    .table2 th {
      width: auto;
      white-space: nowrap;
    }
    .table2 th,
    .table2 td {
      padding: 8px;
    }
    .bg-green:has(table) {
      padding: 16px;
    }
  }
}
ol,
ul {
  margin: 0 auto 20px;
  padding: 0 0 0 2.5em;
  /*&:last-child {
      margin-bottom: 0;
  }*/
}
ol li,
ul li {
  line-height: 1.6;
  margin-bottom: 8px;
}
ol li:last-child,
ul li:last-child {
  margin-bottom: 0;
}
ol li:has(a),
ul li:has(a) {
  color: var(--blue);
}
ol li:has(a) a,
ul li:has(a) a {
  color: var(--blue);
  text-decoration: underline;
}
ol li:has(a) a[href*=".pdf"]::after,
ul li:has(a) a[href*=".pdf"]::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("./assets/img/icon-file.png");
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  top: 2px;
  filter: opacity(0.6);
  margin-left: 8px;
}
ol li:has(a) span,
ul li:has(a) span {
  color: var(--gray);
  font-size: 0.875rem;
}
ol li:has(a) p,
ul li:has(a) p {
  color: var(--black);
  padding: 0.3em 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.download-list,
.download-list-zipped {
  list-style: none;
  margin: 0 0 2rem;
}
.download-list li,
.download-list-zipped li {
  list-style-type: disc;
}
.download-list li span,
.download-list-zipped li span {
  font-size: 0.875rem;
}
.download-list__children,
.download-list-zipped__children {
  margin-top: 8px;
  list-style-type: none !important;
  list-style: none !important;
}
.download-list__children .download-list,
.download-list__children .download-list-zipped,
.download-list-zipped__children .download-list,
.download-list-zipped__children .download-list-zipped {
  padding-left: 1.5em;
}
.download-list__children li,
.download-list-zipped__children li {
  list-style: circle;
  font-size: 1rem;
}
.download-list a,
.download-list-zipped a {
  color: var(--blue);
  text-decoration: underline;
}
.download-list a::after,
.download-list-zipped a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("./assets/img/icon-file-plane.png");
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  top: 2px;
  filter: opacity(0.6);
  margin-left: 8px;
}
.download-list a[href*=".pdf"]::after, .download-list a[href*=".txt"]::after,
.download-list-zipped a[href*=".pdf"]::after,
.download-list-zipped a[href*=".txt"]::after {
  background-image: url("./assets/img/icon-file.png");
}

ol.download-list li,
ol.download-list-zipped li {
  list-style: decimal;
}

/*------------------------------------------------------------------

Page Navigation

--------------------------------------------------------------------*/
.pagenavi {
  padding: 0;
  margin: 80px auto;
  font-size: 0;
  text-align: center;
}
.pagenavi a, .pagenavi > span {
  font-size: 1.125rem;
  margin: 0 12px;
  outline: none;
  display: inline-block;
}
.pagenavi a {
  color: var(--blue);
}
.pagenavi .current {
  font-weight: bold;
}
.pagenavi .next,
.pagenavi .prev {
  width: 24px;
  height: 24px;
  overflow: hidden;
  font-size: 0;
  position: relative;
  top: 6px;
}
.pagenavi .next:after,
.pagenavi .prev:after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  transform: rotate(45deg) scale(0.8, 0.8);
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -8px 0 0 -8px;
}
.pagenavi .prev:after {
  transform: rotate(-135deg) scale(0.8, 0.8);
}
.pagenavi span.prev, .pagenavi span.next {
  opacity: 0.1;
}
@media screen and (max-width: 900px) {
  .pagenavi {
    padding: 0 20px;
    margin: 60px auto;
  }
}

/* ==========================================================================
   検索結果
   ========================================================================== */
.search_list {
  margin-top: 40px;
  list-style: none;
  padding: 0;
}
.search_list__item {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
}
.search_list__item a {
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.search_list__header {
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
}
.search_list__date {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0;
  padding: 0;
  width: 100%;
}
.search_list__excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
}
.search_list__excerpt p {
  margin: 0;
}

/*
Theme Name: 公益財団法人 福岡県教育文化奨学財団
Theme URI: 
Author: Calamari Inc.
Author URI: 
Description: 福岡県教育文化奨学財団のオリジナルテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: bunkashinkouzaidan
Tags: custom-theme
*/
@scope (.kyoikubunka, .support, .scholarship, .dormitory, .faq) {
  .section {
    max-width: min(680px, 100vw);
  }
  h1.page-title {
    margin-bottom: 36px;
  }
  @media screen and (max-width: 900px) {
    h1.page-title {
      margin-bottom: 16px;
    }
  }
}
@scope (.scholarship, .dormitory) {
  h1.page-title + p {
    text-align: center;
    margin: -42px 0 42px;
  }
}
@scope (.dormitory) {
  .wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 4px !important;
    font-size: 0;
  }
  .wp-block-gallery figure {
    width: calc((100% - 8px) / 3);
  }
  .wp-block-gallery figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  @media screen and (max-width: 900px) {
    .wp-block-gallery figure {
      width: calc((100% - 4px) / 2);
    }
  }
}
.kyoikubunka-two {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  padding: 8px 0 0;
  margin: 0 auto 40px;
}
.kyoikubunka-two__jyosei::before, .kyoikubunka-two__shinkou::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(./assets/img/icon-bunka-jyosei.png) no-repeat center center/contain;
}
.kyoikubunka-two__jyosei, .kyoikubunka-two__shinkou {
  display: flex;
  position: relative;
  align-items: center;
  line-height: 1;
  color: var(---green-dark, #009762);
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  min-width: 192px;
  padding: 16px 32px;
  justify-content: center;
  gap: 4px;
  align-self: stretch;
  border-radius: 12px;
  border: 4px solid var(---Green-dark, #009762);
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(58, 222, 165, 0.1) 2px, rgba(58, 222, 165, 0.1) 4px);
}
.kyoikubunka-two__jyosei > a, .kyoikubunka-two__shinkou > a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.kyoikubunka-two__shinkou::before {
  background: url(./assets/img/icon-bunka-shinkou.png) no-repeat center center/contain;
}
.kyoikubunka-two::before {
  content: "";
  display: block;
  width: 10em;
  height: 50px;
  background: url(./assets/img/two-line.svg) no-repeat center top/contain;
  position: absolute;
  bottom: calc(100% - 8px);
  left: 50%;
  transform: translate(-50%, 2px);
}
@media screen and (max-width: 900px) {
  .kyoikubunka-two {
    padding: 8px 0 0;
    margin: 0 auto 32px;
  }
  .kyoikubunka-two__jyosei, .kyoikubunka-two__shinkou {
    font-size: 1.125rem;
    min-width: auto;
    padding: 12px 16px 12px 15px;
  }
  .kyoikubunka-two__jyosei::before, .kyoikubunka-two__shinkou::before {
    width: 24px;
    height: 24px;
  }
}

.title-jyosei,
.title-shinkou {
  position: relative;
  margin-top: 160px;
  margin-bottom: 0.3em;
}
.title-jyosei::before,
.title-shinkou::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translate(-50%, 0);
  background: url(./assets/img/icon-bunka-jyosei.png) no-repeat center top/contain;
}

.title-shinkou::before {
  background: url(./assets/img/icon-bunka-shinkou.png) no-repeat center top/contain;
}

.jyosei h1.page-title,
.shinkou h1.page-title {
  position: relative;
  margin-top: 40px;
}
.jyosei h1.page-title::before,
.shinkou h1.page-title::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translate(-50%, 0);
  background: url(./assets/img/icon-bunka-jyosei.png) no-repeat center top/contain;
}

.shinkou h1.page-title::before {
  background: url(./assets/img/icon-bunka-shinkou.png) no-repeat center top/contain;
}

.cta-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: fit-content;
  margin: 40px auto 0;
}
.cta-flex a {
  margin: 0;
  width: 100%;
}

@scope (.jyosei, .shinkou) {
  .section {
    max-width: 688px;
  }
  ol.download-list {
    list-style-type: circle;
    width: fit-content;
  }
}
.comment {
  background: var(--bg-gray);
  padding: 20px;
  margin: 8px 0;
  border-radius: 12px;
}
.comment div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.comment p {
  font-size: 0.875rem;
  line-height: 1.8;
  padding: 0;
  margin: 0;
}
.comment p:last-child {
  text-align: right;
  position: relative;
  width: fit-content;
}
.comment p:last-child::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  mask: url(./assets/img/icon_person.png) no-repeat center center/contain;
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translate(0, -50%);
}
.comment.blue p:last-child {
  color: var(--c-blue);
}
.comment.blue p:last-child::after {
  background-color: var(--c-blue);
}
.comment.pink p:last-child {
  color: var(--c-pink);
}
.comment.pink p:last-child::after {
  background-color: var(--c-pink);
}

@scope (.faq) {
  section {
    counter-reset: question;
  }
  .question {
    position: relative;
    color: var(--green-dark);
    line-height: 1.6;
    margin-top: 3rem;
    display: flex;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }
  .question::before {
    counter-increment: question;
    content: "問" counter(question);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    border-right: 1px solid var(--green-dark);
    padding-right: 16px;
    white-space: nowrap;
  }
  ul,
  ol {
    padding-left: 1.5em;
  }
  ul em,
  ol em {
    font-style: normal;
    color: var(--c-pink);
  }
  ul li:has(a),
  ol li:has(a) {
    color: unset;
  }
  h4.green {
    font-size: 1.25rem;
    margin: 2rem 0 0.5rem;
  }
}
.anchor-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.anchor-flex > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.anchor-flex p {
  color: var(--green-dark);
  font-size: 0.875rem;
}
.anchor-flex a.button-round {
  margin-bottom: 4px;
}
@media screen and (max-width: 900px) {
  .anchor-flex {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.anchor-flex-column {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin: 0 auto;
  gap: 20px;
}
.anchor-flex-column a {
  width: 100%;
  margin: 0;
}
.anchor-flex-column > p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: -8px;
}
.anchor-flex-column > p a {
  color: var(--green-dark);
}

.call-closed {
  background-color: color-mix(in srgb, var(--green-dark) 5%, transparent);
  border: 2px solid color-mix(in srgb, var(--green-dark) 40%, transparent);
  padding: 32px 20px 24px;
  border-radius: 12px;
  margin: 40px auto;
  color: var(--green-dark);
}
.call-closed h3 {
  font-size: 1.5rem;
}
.call-closed a {
  mix-blend-mode: multiply;
}

.table-wrapper {
  margin: 1rem auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  min-width: 100%;
}
.table-wrapper + .table-wrapper {
  margin: 4rem auto 0.5rem;
}
@media screen and (max-width: 900px) {
  .table-wrapper {
    width: 100%;
  }
}

.table-taikei {
  display: table;
  font-size: 0.875rem;
}
.table-taikei th,
.table-taikei td {
  border: 1px solid var(--gray);
  padding: 8px 12px;
  white-space: nowrap;
  /*
  &[colspan],
  &[rowspan] {
      white-space: nowrap;
  }*/
}
.table-taikei th a,
.table-taikei td a {
  text-decoration: underline dotted;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--gray) 50%, transparent);
}
@media (hover: hover) and (pointer: fine) {
  .table-taikei th a:hover,
  .table-taikei td a:hover {
    color: var(--green-dark);
    text-decoration: none;
  }
}
.table-taikei th {
  font-weight: 600;
  background-color: color-mix(in srgb, var(--green) 3%, #FAFAFA 100%);
}
@media screen and (max-width: 900px) {
  .table-taikei {
    font-size: 0.75rem;
  }
  .table-taikei th,
  .table-taikei td {
    padding: 6px;
    white-space: unset;
  }
}

ol.custom-katakana {
  list-style: none;
  counter-reset: item;
  padding-left: calc(2em + 2px);
}

ol.custom-katakana li {
  position: relative;
  counter-increment: item;
}

ol.custom-katakana li::before {
  content: "(" counter(item, katakana) ") ";
  font-weight: 600;
  position: absolute;
  left: -2em;
  width: 2em;
}

/*
Theme Name: 公益財団法人 福岡県教育文化奨学財団
Theme URI: 
Author: Calamari Inc.
Author URI: 
Description: 福岡県教育文化奨学財団のオリジナルテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: bunkashinkouzaidan
Tags: custom-theme
*/
@scope (.support) {
  h1.page-title {
    margin-bottom: 80px;
  }
  h2:has(+ p) {
    line-height: 1.2;
  }
}
.info-block {
  width: min(472px, 100%);
  margin: 0 auto;
  border: 2px solid var(--bg-gray);
  border-radius: 20px;
  padding: 24px;
}
.info-block h3 {
  font-weight: 500;
}
.info-block h3 + p {
  font-size: 1rem;
  padding-left: 0;
  text-indent: 0;
}
.info-block p {
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 0.875rem;
  margin: 0;
  padding-left: 1em;
  text-indent: -1em;
}
.info-block h4 {
  color: var(--green-dark);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0.25em 0;
}

.tel-p strong,
.tel-p b {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--green-dark);
}

.link-to-qa {
  font-size: 0.875rem;
}
.link-to-qa a {
  color: var(--green-dark);
}/*# sourceMappingURL=style.css.map */