@charset "UTF-8";

*,*::before,*::after {
  box-sizing: border-box;
}

:root {
  --main:#172C75;
  --sub: #ABBBF5;
  --acc: #6C80CA;
  --back: #DDE4FF;
  --txt: #333;
  --txt2: #000E42;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--txt);
  background: var(--back);
}

.header-inner {
  background-color: #fff;
}

.header-inner > div {
  max-width: 1000px;
  margin: 0 auto;
}

.header-logo {
  vertical-align: middle;
  display: inline-block;
  padding-right: 1em;
}

.site-header .header-inner div {
  padding: 10px;
  font-size: 1.3rem;
  color: var(--txt);
  background: #fff;
  font-weight: bold;
}

.no-deco {
  text-decoration: none;
  color: var(--txt);
}

h1 {
  background: linear-gradient(90deg,var(--acc),rgb(178, 191, 255)) ;
  font-size: 1.5rem;
  color: #fff;
  padding: 21px 34px;
  margin: 2rem 0;
}


/* ナビゲーション */
.global-nav {
  background-color: var(--main);
  max-width: 1000px;
  margin: 0 auto;
}
.global-nav ul {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.global-nav li {
  width: calc(100% / 4);
}

.global-nav a {
  display: block;
  padding: 0.5em 0;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

/* 現在のページ */
.global-nav a.is-active {
  background-color: var(--acc);
  border-bottom: 3px solid var(--sub);
}

/* スライダー全体 */
.slider {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  aspect-ratio: 46 / 33;
  background: #000;
  overflow: hidden;
}

.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slides img.is-active {
  opacity: 1;
}

/* ナビボタン共通 */
.btn {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.45);
  cursor: pointer;
  transform: translateY(-50%);
}

.btn::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: auto;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.prev {
  left: 12px;
}
.prev::before {
  transform: rotate(-135deg);
}

.next {
  right: 12px;
}
.next::before {
  transform: rotate(45deg);
}


@media (hover: hover) {
  /* ホバー時 */
  .global-nav a:hover {
    background-color: var(--acc);
  }

  .btn:hover {
    background: var(--acc);
  }
}


main {
  padding: 10px 20px 30px;
  max-width: 1000px;
  margin: 0 auto 2rem;
  background: #fff;
  position: relative;
}

.pagetop {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  margin: 0;
}

.pagetop a {
  display: block;
  color: var(--txt2);
  font-size: 20px;
  text-decoration: none;
  text-align: center;
  -webkit-text-size-adjust: none;
  width: 50px;
  line-height: 46px;
  border-radius: 25px;
  border: 2px solid var(--txt2);
  background: #fff;
}

.site-footer {
  color: #fff;
  background-color: var(--main);
}

.site-footer div {
  padding: 20px;
  margin: 0 auto;
  max-width: 1000px;
  font-weight: bold;
}

.site-footer p {
  font-size: 0.9em;
  font-weight: normal;
  margin: 2em 0 1em;
}

.email {
  vertical-align: bottom;
}


/* index */
.flex-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.logo {
  display: block;
}


/* about */
.about h2 {
  margin: 3rem 0 1rem;
}
.motto {
  font-size: 1.2em;
  line-height: 1.6;
  font-family: serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--txt2);
  margin-bottom: 2em;
}

.about-ul {
  list-style-type: disc;
  padding-left: 40px;
  margin: 1em 0;
  line-height: 1.6;
}

.org-chart {
  width: 90%;
  max-width: 809px;
  margin: 1em auto;
}

/* members */
.table-size {
  width: 767px;
  margin: 0 auto;
}
.table-size .font-s {
  text-align: right;
  font-size: 0.9em;
}

table {
  border-collapse: collapse;
}

.members-table th {
  background-color: #f0f0f0;
  letter-spacing: 5px;
}

.members-table th,
.members-table td {
  border: 1px solid #333;
  padding: 2px 5px;
}

.members-table td {
  white-space: nowrap;
}

.members-table td:first-child,
.members-table td:nth-child(2) {
  letter-spacing: 1px;
}

/* activities */
.activities h2,
.about h2 {
  padding-left: 5px;
  border-bottom: 2px solid var(--acc);
  font-size: 1.2rem;
}

.activities h2 {
  margin: 2rem 0 1rem;
}

.activities > h2:nth-child(2) {
  margin-top: 1rem;
}

.nen-chart {
  display: flex;
  flex-wrap: wrap;
}

.one-year {
  display: flex;
  margin: 2px 0;
}

.nen-chart .one-year {
  flex-basis: 50%;
}
.nen-chart .one-year.oneline {
  flex-basis: 100%;
}

.one-year dt, 
.one-year dd {
  margin-left: 0;
}

.one-year dt {
  flex: 0 0 130px; /* 日付固定幅 */
}

.one-year dd {
  flex: 1;
  min-width: 0;
}

.pdf {
  width: 100%;
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.pdf img {
  padding-right: 5px;
}




/* レスポンシブ */
@media screen and (max-width:828px) {
  .site-header {
    padding: 0;
  }

  .header-logo {
    display: block;
    margin: 0 auto 10px;
  }

  .site-header .header-inner div {
    font-size: 1.2rem;
    text-align: center;
  }

}

@media screen and (max-width:768px) {
  .global-nav a {
    font-size: 10pt;
  }

  .motto {
    font-size: 1em;
  }

  main {
    padding: 10px;
    overflow-x: hidden;
  }

  h1 {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.1rem;
  }
  .table-size {
    width: 100%;
  }

  .logo {
    margin: auto;
  }

  .org-chart img {
    max-width: 100%;
  }

  .members-table {
    display: block;
    width: 100%;
    overflow-x: scroll;
    font-size: 14px;
  }

  .nen-chart .one-year  {
    flex-basis: 100%;
  }

  .one-year dt,
  .one-year dd {
    font-size: 14px;
  }

  .nen-chart2 .one-year {
    flex-direction: column;
    margin: 0 0 10px;
  }
  .nen-chart2 .one-year dt {
    flex-basis: auto;
  }
}


@media print {
  @page {
    size: A4;
    margin: 10mm;
  }
  
  :root {
    --back: #fff;
    --txt: #333;
  }

  body {
    background: #fff;
    font-size: 10pt;
  }

  .pagetop,.pagetop a {
    display: none;
  }
}