@charset "UTF-8";
/* ============================================
   スキーム - Stylesheet
   ============================================ */

/* ---------- Variables ---------- */
:root {
  --color-primary: #0a337c;
  --color-secondary: #18181c;
  --color-challenge-red: #d4183d;
  --color-bg: #ffffff;
  --color-card-bg: #f8f9fa;
  --color-footer-bg: #dfe4ed;
  --color-hero-bg: rgba(241, 243, 247, 0.8);
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-display: 'Zen Kaku Gothic New', sans-serif;
  --font-mono: 'Montserrat', sans-serif;
  --font-open: 'Open Sans', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-secondary);
  background: var(--color-bg);
  line-height: 1.75;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,li {
    list-style-type: none;
}
section + section {
    margin-top: 60px;
}
/* ============================================
   Page 
   ============================================ */

.scheme__inner {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 56px;
}
.scheme__title {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.8px;
  text-align: center;
}
.scheme__title--sm {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.8px;
    text-align: center;
}
.scheme__leadtxt {
    margin-bottom: 20px;
    text-align: center;
}
.scheme__cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}
.scheme__card {
    width: 100%;
    padding: 20px 16px;
     border-radius: 20px;
     display: flex;
     flex-direction: column;
     gap: 20px;
}


.scheme__card--title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}
.scheme__card--icon {
    padding: .25em;
    margin-right: .25em;
    color: #fff;
    line-height: 1;
}
.scheme__list {
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    flex: 1;

}

.scheme__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    border: 2px solid #0e508e;
    border-radius: 9999px;
    background: var(--color-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.8px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.scheme__link:hover {
    opacity: .8;
}
.scheme_link-wrap {
    text-align: center;
}
.scheme__link-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1em;
}

.scheme__link-svg {
    width: 16px;
    height: 16px;
}
.scheme__list--name {
    font-size: 16px;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 1.4;
    font-weight: 700;
    font-weight: 500;
}
.scheme__list--subname {
    font-size: 14px;
    font-weight: 500;
}
.scheme__list--txt {
    padding-left: 1.25em;
    font-size: 14px;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 1.3;
}

/* アイコン */
.scheme__list--icon {
    margin-bottom: -0.1em;
    margin-right: .25em;
    width: 1em;
    height: 1em;

}
.scheme__list--link .scheme__list--icon {
    margin-bottom: -0.1em;
    margin-left: .5em;
    margin-right: 0;
}
.scheme__list--address {
}
.scheme__list--tel {
}
.scheme__list--link {
    word-break: break-all;
    line-height: 1.4;
}
.scheme__list--link a:hover {
    color: var(--color-primary);
    cursor: pointer;
}
/* カードの色分け */
/* 赤 */
.--bg-red {
    background: #fff5f5;
}
.--bg-red .scheme__card--icon {
    background: #c62928;
}
.--bg-red .scheme__list--box {
    border: solid 2px #c62928;
}

/* 緑 */
.--bg-gr {
    background: #f0f7f4
}
.--bg-gr .scheme__card--icon {
    background: #2e7d33
}
.--bg-gr .scheme__list--box {
    border: solid 2px #2e7d33;
}

/* 紫 */
.--bg-pur {
    background: #f6f0fa;
}
.--bg-pur .scheme__card--icon {
    background: #6a1b9b
}
.--bg-pur .scheme__list--box {
   border: solid 2px #6a1b9b;
}
/* 青 */
.--bg-bl {
    background: #f0f4f8;
} 
.--bg-bl .scheme__card--icon {
    background: #1565c0;
}
.--bg-bl .scheme__list--box {
    border: solid 2px #1565c0;
}

.d-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* ============================================
   構成機関一覧
   ============================================ */
/* ---------- カードにする場合 ---------- */
.scheme__member {
    width: 100%;
}
.scheme__agency--box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;

}
.member__list {
    width: 100%;
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    /* grid-auto-columns: minmax(0, 1fr);  */
    gap: 20px;
}

.member__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.member__card--link {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 20px 16px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.member__card--link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.member__list--name {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--color-primary);
}
.member__list--subname {
    font-size: 14px;
    font-weight: 500;

}
.member__list--txt {
    padding-left: 1.25em;
    font-size: 14px;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 1.3;
}
.member__list--txt + .member__list--txt {
    margin-top: 5px;
}
.member__list--link {
    word-break: break-all;
}
/* アイコン */
.member__card--icon {
    margin-bottom: -0.1em;
    margin-right: .25em;
    width: 1em;
    height: 1em;
}
/* 外部リンクアイコン */
.member__link--blank {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    color: var(--color-primary);
}
.member__link--blank .member__card--icon {
    margin-right: 0;
}

/* ---------- テーブルにする場合 ---------- */
.member {
}
.member__box {
    width: 100%;
}

.member__box * {
    word-break: break-all;
}
.member__box tr {
}
.member__box td, .member__box th {
    padding: .5em;
    border: solid 1px #fff;
    background-color: #f8f9fa;
}
.member__ttl th {
    
    background-color: #0a337c;
    color: #fff;
}
/* ◯◯団体をテーブルに入れる場合 */
/* 
.member__ttl--sub th {
    width: 1em;
    writing-mode: vertical-rl;
    letter-spacing: .25em;
}
*/
.member__box {
}
.member__box--name {
    text-align: left;
    line-height: 1.5;
}
.member__box--subname {
    display: inline-block;
    padding: 0;
    text-align: left;
    font-size: .8em;
    font-weight: 500;
    line-height: 1.3;
}
.member__box--url a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .25em;
}
.member__box--url a:hover {
    color: #0a337c;
    text-decoration: underline;
}
.member__link--icon {
    width: 1.05em;
    height: 1.05em;
    flex-shrink: 0;
}

.member__txt {
    line-height: 1.25;
}
.member__txt + .member__txt {
    margin-top: 10px;
}
.p-scroll-x__note {
    display: none;
}
@media screen and (max-width:768px) {
    .p-scroll-x {
        width: 100%;
        overflow-x: scroll;
    }
    .member__box {
        width: 1000px;
    }
    .p-scroll-x__note {
        display: block;
        color: var(--color-challenge-red);
        font-weight: 700;
    }
}
