@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&family=Outfit:wght@300;400;500&display=swap');

/* ===== Reset CSS ===== */
*, *::before, *::after { box-sizing: border-box; } ul[class], ol[class] { padding: 0; } body, h1, h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, blockquote, dl, dd { margin: 0; } body { min-height: 100vh; scroll-behavior: smooth; text-rendering: optimizeSpeed; } ul[class], ol[class] { list-style: none; } a:not([class]) { text-decoration-skip-ink: auto; } img { max-width: 100%; } article > * + * { margin-top: 1em; } input, button, textarea, select { font: inherit; } @media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* ===== Gloval ===== */
body {
  width: 100%;
  color: #111;
  font: normal 16px 'Outfit', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 2.0;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 728px) {
  body {
  line-height: 1.4;
  }
}
a {
  color: #107563;
  transition: 0.2s;
}
a:hover {
  color: #e60012;
}
a:active {
  color: #243267;
}
a img {
  transition: opacity 0.4s;
}
a img:hover {
  opacity: 0.7;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.4;
}
h1 {
  font-size: 2.0em;
}
h2 {
  font-size: 1.6em;
}
h3 {
  font-size: 1.2em;
}
h4 {
  font-size: 1.0em;
}
p {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
em {
  font-style: italic;
}
strong {
  color: #ba1a26;
  font-weight: 500;
}
table {
  width: 100%;
  margin-bottom: 1em;
  background: #fff;
  border-collapse: collapse;
}
thead th {
  padding: 10px 20px;
  color: #fff;
  text-align: center;
  background: #2980b9;
  border-right: 1px solid #e7e7e7;
  border-left: 1px solid #e7e7e7;
}
th {
  padding: 14px 20px;
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
  vertical-align: middle;
  white-space: nowrap;
  background: #f1f1f1;
  border: 1px solid #ddd;
}
td {
  padding: 14px 20px;
  text-align: left;
  line-height: 1.6;
  border: 1px solid #ddd;
}
hr {
  clear: both;
  height: 0;
  margin: 80px 0;
  padding: 0;
  border: none !important;
  border-top: 1px dashed #8c8b8b !important;
}
@media screen and (min-width: 729px) {
  th {
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
  }
  td {
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
  }
}

/* ===== Utility CSS ===== */
.alignright, .right {
  float: right;
}
.alignleft, .left {
  float: left;
}
.aligncenter, .center {
  display: block;
  margin: 0 auto;
}
.clear {
  clear: both;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.text-right {
  text-align: right !important;
}
.text-left {
  text-align: left !important;
}
.text-center {
  text-align: center !important;
}
.mfont {
  font-family: serif;
}
.gfont {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
}
.small {
  font-size: 0.80em;
}
.large {
  font-size: 1.20em;
}
.bold {
  font-weight: 500;
}
.light {
  font-weight: 300;
}
.sitecolor {
  color: #107563;
}
.sitesubcolor {
  color: #19a58a;
}
.accent-color {
  color: #e79f00;
}
.bg-gray {
  background: #f1f1f1;
}
.white {
  color: #fff;
}
.blue {
  color: #296da7;
}
.red {
  color: #b84451;
}
.wp-caption-text {
  line-height: 1.4;
}
.indent {
  margin-left: 1em;
  text-indent: -1em;
}
.hide {
  display: none !important;
}
.nowrap {
  white-space: nowrap;
}
.LinkBtn {
  margin: 30px 20px;
}
.LinkBtn a {
  display: inline-block;
  padding: 6px 40px;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  background: #105520;
  border: 1px solid #105520;
  border-radius: 6px;
  vertical-align: middle;
}
.LinkBtn a::after {
  display: inline-block;
  content: url('../img/btn-arrow.png');
  vertical-align: middle;
  margin-left: 10px;
  transform: scale(0.5);
}
.LinkBtn a:hover {
  opacity: 0.8;
}
@media (max-width: 728px) {
  .LinkBtn a {
    display: block;
    width: 100%;
    padding: 6px 0;
    text-align: center;
  }
}

@media screen and (min-width: 729px) {
  .pchide {
    display: none !important;
  }
}
@media screen and (max-width: 728px) {
  .smhide {
    display: none !important;
  }
}
img.alignright, img.right {
  margin-left: 20px;
  margin-bottom: 20px;
}
img.alignleft, img.left {
  margin-right: 20px;
  margin-bottom: 20px;
}
@media screen and (max-width: 728px) {
  img.alignright, img.right, img.alignleft, img.left, .wp-caption.alignleft, .wp-caption.alignright {
    float: none;
    margin: 20px auto 10px !important;
  }
}

/* ===== FORM CSS ===== */
form input[type=text],
form input[type=tel],
form input[type=email],
form input[type=url],
form select {
  width: 20rem;
  padding: 8px 10px;
  color: #666;
  font-size: 1rem;
  background: #fbfbfb;
  border: solid 1px #ccc;
  border-radius: 5px;
}
form input[type=text]:focus,
form input[type=tel]:focus,
form input[type=email]:focus,
form input[type=url]:focus,
form select:focus {
  background: #fff;
  border-color: #83B6C2;
  outline: none;
  box-shadow: 2px 2px 4px rgba(143, 183, 222, 0.6), -2px -2px 4px rgba(143, 183, 222, 0.6), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
form input[type=tel] {
  width: 20rem;
}
form input[type=tel]::after {
  content: "0000-00-0000";
}
form input[type=email] {
  width: 20rem;
}
form input[type=url] {
  width: 20rem;
}
form input[type=radio] {
  margin-right: 0.5rem;
}
form input[type=checkbox] {
  margin-bottom: 1rem;
}
form textarea {
  width: 94%;
  padding: 8px 10px;
  color: #666;
  font-size: 1rem;
  background: #fbfbfb;
  border: solid 1px #ccc;
  border-radius: 5px;
}
form label {
  margin-right: 0.5em;
}
form .btn {
  display: block;
  margin: 0 0.5em;
  padding: 0.4em 2em;
  color: #333;
  font-size: 1em;
  text-transform: uppercase;
  background: #ececec;
  border: solid 1px #ccc;
  border-radius: 5px;
  cursor: pointer;
}
form .btn:hover {
  color: #fff;
  background: #e46c0a;
}
form .wpcf7-submit {
  display: block;
  margin: 0 auto;
  padding: 0.5em 2em;
  color: #333;
  font-size: 1.2em;
  text-transform: uppercase;
  background: #ececec;
  border: solid 1px #ccc;
  border-radius: 5px;
  cursor: pointer;
}
form .wpcf7-submit:hover {
  color: #fff;
  background: #e46c0a;
}

/* ===== Layout CSS ===== */
.inner {
  position: relative;
  clear: both;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}
.inner::after {
   content: "";
   display: block;
   clear: both;
}
#masthead {
  margin: 0;
  padding: 0;
}
#mastfoot {
  width: 100%;
  background: url('../img/bg-dot2.png') repeat #fff;
  border-top: 4px solid #e79f00;
}
.edit-link {
  text-align: right;
}
.edit-link a {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 12px;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  background: #0073aa;
  border-radius: 4px;
}
.edit-link a:hover {
  background: #005177;
}
.link-list li {
  margin: 0;
}
.link-list a {
  display: block;
  margin: 3px 1px;
  padding: 2em;
  color: #107563;
  text-decoration: none;
  text-align: left;
  font-weight: normal;
  line-height: 1;
  border: 1px solid #107563;
  border-radius: 3px;
  transition: all 0.2s ease 0s;
}
.link-list a:hover {
  color: #e60012;
  border: 1px solid #e60012;
}
.link-list a::after {
  float: right;
  font-family: "Font Awesome 5 Free";
  content: "\f138";
  padding-right: 0.5em;
  font-weight: 900;
}
@media (min-width: 729px) {
  #wrap {
    display: flex;
    flex-wrap: wrap;
  }
  #side {
    position: sticky;
    top: 0;
    box-sizing: border-box;
    width: 280px;
    padding: 0 0 80px;
    background: #f9f9f9;
    box-shadow: 0 0 10px #999;
    z-index: 1;
  }
  .sticky {
    position: sticky;
    top: 0;
  }
  .main {
    flex: 1;
    width: calc(100% - 280px);
    padding: 0 0 80px;
    border-left: 1px solid #e3e3e3;
  }
  #mastfoot {
    padding-top: 20px;
  }
}
@media (max-width: 1080px) {
  .inner {
    width: 100%;
    margin: 0;
    padding: 0 2%;
  }
}
@media (max-width: 728px) {
  #wrap {
    border-top: 4px solid #107563;
  }
}

/* Nav CSS */
.nav a::after {
  float: right;
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  padding-right: 0.5em;
  color: #bbdbd3;
  font-size: 0.9em;
  font-weight: 900;
}
.nav .current-menu-item a::after {
  content: "\f061";
}
@media (min-width: 729px) {
  .side-nav {
    margin-bottom: 20px;
  }
  .side-nav .close {
    display: none;
  }
  .nav li {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #e3e3e3;
  }
  .nav li:first-child {
    border-top: 1px solid #e3e3e3;
  }
  .nav a {
    display: block;
    padding: 24px 0 24px 20px;
    color: #111;
    font-size: 0.9em;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.06em;
    line-height: 1;
    background: #fff;
  }
  .nav a:hover {
    background: #e1edd6;
  }
  .nav .current-menu-item > a,
  .nav .current-menu-parent > a {
    color: #fff;
    background: #19a58a;
  }
  .nav .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 999;
    min-width: 220px;
  }
  .nav .sub-menu li {
    border: none;
  }
  .nav li:hover > .sub-menu {
    display: block;
  }
  .nav li {
    position: relative;
  }
  .spnav {
    display: none;
  }
}
@media (max-width: 728px) {
  #navigation {
    position: fixed;
    z-index : 1;
    top  : 0;
    left : -100%;
    width: 100%;
    height: 100vh;
    background: rgba(16,117,99,0.9);
    transform: translateX(-100%);
    transition: all 0.6s;
  }
  #navigation div {
    margin: 14px 14px 0;
    padding: 10px;
    color: #fff;
  }
  #navigation div img {
    width: auto;
    height: 20px;
  }
  #navigation div .close {
    float: right;
    font-size: 20px;
  }
  #navigation ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
  }
  #navigation li {
    margin: 10px;
    padding: 0;
    list-style: none;
  }
  #navigation li ul {
    display: none;
  }
  #navigation a {
    display: block;
    color: #fff;
    padding: 10px 20px;
    text-decoration :none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
  }
  #navigation a:active {
    background: rgba(64,168,198,0.9);
  }
  #navigation.active {
    opacity: 100;
    display: block;
    left : 0;
    transform: translateX(0%);
  }
  #navigation a br {
    display: none;
  }







  .spnav {
    float: right;
    font-size: 1rem;
  }
  .spnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .spnav li {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .spnav a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    color: #111;
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    background: #eee;
  }
  .spnav a:hover {
    opacity: 0.8;
  }
  .spnav i.close {
    display: none;
  }
  .spnav .active i.open {
    display: none;
  }
  .spnav .active i.close {
    display: block;
  }







  #subNav .navCont {
    display: none;
  }
  #fixNav {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 70px;
    margin: 0;
    font-size: 0.75em;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #ccc;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2)
  }
  #fixNav ol {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #fixNav li {
    float: left;
    width: 33.33%;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #fixNav li.menu {
    background: url('../img/ico-menu.png') center 14px no-repeat;
    background-size: 38px;
  }
  #fixNav li.menu.open {
    background: url('../img/ico-menu-open.png') center 14px no-repeat;
    background-size: 38px;
  }
  #fixNav li.home a {
    background: url('../img/ico-home.png') center 14px no-repeat;
    background-size: 38px;
  }
  #fixNav li.navtop a {
    background: url('../img/ico-pagetop.png') center 14px no-repeat;
    background-size: 38px;
  }
  #fixNav a,
  #fixNav span {
    display: block;
    padding-top: 35px;
    height: 56px;
    color: #333;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
  }
}

/* Slideshow CSS */
.slider {
  margin: 0 !important;
  padding: 0;
}
.slider li {
  position: relative;
}
.slider li img {
  width: 100%;
  height: auto;
  transform-origin: center center;
  transform: scale(1); /* 初期状態 */
}
.slider li figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #fff;
}
.slider ul {
  margin: 0 !important;
  padding: 0 !important;
}

/* アニメーション */
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Breadcrumbs CSS */
.breadcrumbs {
  width: 100%;
  padding: 8px 20px;
  font-size: 0.8em;
  background: #fff;
  overflow: hidden;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}
.breadcrumbs::after {
  content: "";
  display: block;
  clear: both;
}
.breadcrumbs ol {
  margin: 0 !important;
  padding: 0 !important;
}
.breadcrumbs li {
  float: left;
  display: inline;
  margin: 0;
  padding: 0;
  color: #999;
  list-style: none;
}
.breadcrumbs li::before {
  content: '»';
  margin: 0 0.5em;
}
.breadcrumbs li:first-child::before {
  content: none;
  margin: 0;
}
.breadcrumbs li a {
  color: #999;
}
.breadcrumbs li a:hover {
  color: #e46c0a;
}

/* Pagination CSS */
.pagination {
  clear: both;
  margin: 50px 0;
  text-align: center;
  overflow: hidden;
}
.pagination::after {
  content: "";
  display: block;
  clear: both;
}
.pagination ul {
  display: inline;
  border: none !important;
}
.pagination li {
  display: inline;
  margin: 0 1px !important;
  padding: 0;
  list-style: none;
}
.pagination li::before {
  padding-right: 0 !important;
  content: "" !important;
}
.pagination a {
  padding: 0.6em 0.8em 0.5em;
  color: #666;
  text-decoration: none !important;
  background: #fff;
  border: solid 1px #f5f5f5;
  border-radius: 6px;
  transition: 0.3s;
}
.pagination a:hover {
  border: solid 1px #999;
}
.pagination .current {
  padding: 0.4em 0.8em 0.3em !important;
  color: #fff;
  text-decoration: none;
  background: #999;
  border-radius: 6px;
}

/* PageTOP CSS */
.pagetop {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 2;
}
.pagetop a {
  display: inline-block;
  width: 80px;
  height: 80px;
  text-align: center;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 0 3px #fff;
  border-radius: 40px;
}
.pagetop a:hover {
  opacity: 0.8;
  text-decoration: none;
}
.pagetop img {
  width: 80px;
  height: 80px;
  border: 2px solid #fff;
  border-radius: 40px;
}
@media (max-width: 728px) {
  .pagetop {
    display: none !important;
  }
}

/* ===== Header CSS ===== */
.site-branding .site-title {
  padding: 10px 20px;
  background: url('../img/bg-dot.png') repeat #105520;
}
@media (max-width: 728px) {
  .site-branding {
    height: 45px;
    padding: 0;
  }
  .site-branding .site-title {
    float: left;
    width: 180px;
    padding: 0;
    background: #fff;
  }
}

/* ===== Page Header CSS ===== */
#page_header {
  margin-bottom: 20px;
}
#page_header h1 {
  padding: 0 20px 20px;
  color: #107563;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: url('../img/bg-dot2.png') repeat #fff;
  border-bottom: 4px solid #107563;
}
#page_header h1 .small {
  font-size: 0.6em;
  font-weight: 400;
  letter-spacing: 0.04em;
}
@media (min-width: 729px) {
  #page_header {
    margin-bottom: 40px;
  }
  #page_header h1 {
    padding: 70px 80px 30px;
    font-size: 2.4em;
  }
}

/* ===== Main CSS ===== */
.main section {
  margin-bottom: 20px;
}
.main h2 {
  margin-top: 30px;
  padding: 20px;
  font-weight: 500;
  background: url('../img/bg-dot2.png') repeat #fff;
}
.main h2:first-child {
  margin-top: 0;
}
.main h3 {
  font-weight: 500;
  margin: 2em 0 1em;
  padding: 20px 10px 10px;
  background: url('../img/bg-dot2.png') repeat #fff;
  border-bottom: 1px solid #19a58a;
  border-left: 1px solid #19a58a;
}
.main h4 {
  margin: 2em 10px 0.5em;
  font-weight: 500;
}
.main p, .main ul, .main ol, .main dl {
  margin: 0 10px 2em;
}
.main li {
  margin: 0;
}
.main ol.lower-alpha li { /* 小文字のASCII文字 */
  list-style-type: lower-alpha;
}
.main ol.lower-roman li { /* 小文字のローマ数字 */
  list-style-type: lower-roman;
}
.main .w1000 {
  max-width: 1000px;
}
.main #conts {
  padding: 0 10px;
}
.main #conts .sub-menu {
  margin-bottom: 40px;
}
.main #conts .sub-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main #conts .sub-menu li {
  display: flex;
  width: calc(50% - 5px);
}
.main #conts .sub-menu a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  box-sizing: border-box;
}
.main #conts .sub-menu a:hover {
  border: 1px solid #e60012;
}
.main .borderBox {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.main table.formtable {
  margin-top: 20px;
}
.main table.formtable th {
  width: 18em;
  text-align: left;
  white-space: normal;
}
.main table.formtable p {
  margin: 0;
  padding: 0;
}
@media (min-width: 1081px) {
  .main #conts .sub-menu li {
    width: calc(33.33% - 7px);
  }
}
@media (min-width: 729px) {
  .main section {
    margin-bottom: 60px;
  }
  .main #conts {
    padding: 0 80px;
  }
  .main h2 {
    padding: 40px 20px;
  }
  .main p, .main ul, .main ol, .main dl {
    margin-bottom: 1em;
  }
  .main .borderBox {
    margin: 20px 40px;
  }
  .main #conts .sub-menu a {
    padding: 30px 10px;
  }
}
@media (max-width: 728px) {
  .main table.formtable {
    width: 98%;
    margin: 10px 1%;
  }
  .main table.formtable th,
  .main table.formtable td {
    display: block;
    width: 100%;
  }
  .main form  table.formtable input,
  .main form table.formtable textarea {
    width: 96%;
    padding: 12px 2%;
  }
}

/* ===== Side CSS ===== */
.side-bnr ul {
  margin: 0;
  padding: 20px;
  list-style: none;
}
.side-bnr li {
  margin: 0 0 5px;
  padding: 0;
  list-style: none;
  border: 1px solid #e3e3e3;
}
#links {
  margin-top: 60px;
}
#links h2 {
  margin: 0;
  padding: 8px;
  font-size: 1em;
  text-align: center;
  background: #f4f4f4;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}
#links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#links li {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #e3e3e3;
}
#links a {
  display: block;
  padding: 14px 0 14px 20px;
  color: #111;
  font-size: 0.9em;
  text-decoration: none;
  line-height: 1;
  background: #fff;
}
#links a::before {
  content: '▶︎';
  padding-right: 1em;
  color: #107563;
  font-size: 0.4em;
}
#links a:hover {
  text-decoration: none;
  background: #f9f9f9;
}
@media (max-width: 728px) {
  .side-bnr {
    display: none;
  }
  #links {
    display: none;
  }
}

/* ===== Footer CSS ===== */
.site-footer a {
  padding: 4px 5px;
  color: #107563;
  text-decoration: none;
  border-bottom: 1px solid #107563;
}
.site-footer a:hover {
  text-decoration: none;
  border-bottom: 1px solid #fff;
}
.foot-branding {
  padding: 10px 0;
}
.foot-branding dl {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.foot-branding dt {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 10px;
}
.foot-branding dt a,
.foot-branding dt a:hover {
  padding: 0;
  border: none;
}
@media (min-width: 729px) {
  .foot-branding dd {
    line-height: 1.4;
  }
}
@media (max-width: 728px) {
  .foot-branding dt {
  margin: 20px auto;
  }
}
.foot-bottom {
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.foot-bottom ul {
  margin: 0;
  padding: 20px 10px;
  text-align: center;
}
.foot-bottom li {
  display: inline;
  margin: 0;
  padding: 0 5px;
  list-style: none;
}
.copyright {
  padding: 10px;
  font-size: 12px;
  font-weight: 300;
  text-align: center;
  background: #111;
}
.copyright a {
  border: none;
}
.copyright a:hover {
  border: none;
}

/* ===== Home Page CSS ===== */
#home #home-menu {
  padding: 20px;
  background: #f1f1f1;
}
#home #home-menu .sub-menu {
  margin: 0;
}
#home #topics {
  margin: 40px 0;
}
#home #topics h2 {
  margin-bottom: 40px;
  padding-bottom: 20px;
  font-weight: 500;
  color: #444;
  text-align: center;
  letter-spacing: 0.1em;
  border: none;
  border-bottom: 1px solid #e79f00;
}
#home #topics h2 span {
  padding: 20px;
  color: #e79f00;
  border-bottom: 3px solid #e79f00;
}
#home #topics.contents .topicspost {
  max-height: 300px;
  overflow: auto;
}
#home #topics.contents .topicspost::after {
  content: "";
  display: block;
  clear: both;
}
#home #topics.contents .topicspost::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
#home #topics.contents .topicspost::-webkit-scrollbar-track {
  background: #eee;
}
#home #topics.contents .topicspost::-webkit-scrollbar-thumb {
  background: #0066b4;
}
#home #topics .LinkBtn {
  margin: 10px 20px 30px;
}

#home #about {
  margin-top: 20px;
  padding: 10px 0 40px;
  background: url('../img/home-about.jpg') right top no-repeat;
}
#home #about h2 {
  font-weight: 500;
}
#home #about .aboutTxt p {
  text-shadow: 1px 1px 1px #fff;
}
@media (min-width: 729px) {
  #home #about h2 {
    padding: 40px;
  }
}
@media (max-width: 728px) {
  #home #about {
    background: url('../img/home-about-sm.jpg') right top no-repeat;
  }
}

#home #teacher h2 {
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-weight: 500;
  color: #444;
  letter-spacing: 0.1em;
  border-bottom: 3px solid #107563;
}
#home #teacher .teacherBox div {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 6px;
}
#home #teacher .teacherBox div h3 {
  margin: 0;
  padding: 20px 10px 10px;
  font-size: 1.2em;
}
#home #teacher .teacherBox div p {
  margin: 0;
  padding: 0 10px 10px;
  color: #444;
  line-height: 1.8;
}
#home #teacher .teacherBox div p:first-child {
  padding: 0;
}
#home #teacher .teacherBox div img {
  border-radius: 6px;
}
@media (min-width: 729px) {
  #home #teacher {
    padding: 40px;
  }
  #home #teacher h2 {
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid #107563;
  }
  #home #teacher h2 span {
    padding: 20px;
    border-bottom: 3px solid #107563;
  }
  #home #teacher .teacherBox {
    display: flex;
    flex-wrap: wrap;
    gap: 2%
  }
  #home #teacher .teacherBox div {
    width: 32%;
  }
  #home #teacher .teacherBox div p {
    font-size: 0.9em;
  }
}

#home #utility {
  margin: 0;
  background: url('../img/bg-utility.jpg') center top no-repeat;
  background-size: cover;
}
#home #utility h2 {
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-weight: 500;
  color: #444;
  letter-spacing: 0.1em;
  border-bottom: 3px solid #107563;
}
#home #utility .utilityBox .utilityChildBox {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
}
#home #utility .utilityBox a {
  display: block;
  transition: opacity 0.4s;
}
#home #utility .utilityBox a:hover {
  opacity: 0.7;
}
#home #utility .utilityBox dl {
  background: #fff;
  border-radius: 6px;
}
#home #utility .utilityBox a img:hover {
  opacity: 1;
}
#home #utility .utilityBox dt.fig img {
  border-radius: 6px;
}
#home #utility .utilityBox dt.title {
  margin: 0;
  padding: 20px 20px 10px;
  font-size: 1.2em;
}
#home #utility .utilityBox dt.title::after {
  display: inline-block;
  content: url('../img/utility-arrow.png');
  vertical-align: middle;
  margin-left: 10px;
  transform: scale(0.6);
}
#home #utility .utilityBox dd {
  margin: 0;
  padding: 0 20px 20px;
  color: #444;
  font-size: 0.9em;
  line-height: 1.8;
}
#home #utility .utilityBox a {
  color: #111;
  text-decoration: none;
}

@media (min-width: 729px) {
  #home #utility {
    padding: 80px 40px 40px;
  }
  #home #utility h2 {
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid #107563;
  }
  #home #utility h2 span {
    padding: 20px;
    border-bottom: 3px solid #107563;
  }
  #home #utility .utilityBox {
    display: flex;
    flex-wrap: wrap;
    gap: 2%
  }
  #home #utility .utilityBox .utilityChildBox {
    width: 32%;
  }
}

/* ===== Page Page CSS ===== */
.page .main h2,
.single .main h2 {
  margin-top: 60px;
  margin-bottom: 20px;
  color: #e79f00;
  border: 2px dotted #e79f00;
}
.page .main ul,
.page .main ol {
  margin-left: 40px;
  padding: 0;
}
.page .main ul.links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.page .main ul.links li {
  margin: 2px 0;
  padding: 0;
  list-style: none;
}
.page .main ul.links a {
  display: block;
  margin-bottom: 10px;
  padding: 10px 20px;
  color: #666;
  font-size: 0.9em;
  font-weight: 400;
  text-decoration: none;
  background: url('../img/ar-r.png') right center no-repeat #fff;
  background-size: 40px;
  border: 1px solid #ccc;
  border-radius: 20px;
  vertical-align: middle;
}
.page .main ul.links a:hover {
  border: 1px solid #666;
}
.page .main .gallery img {
  border-radius: 8px;
}
.page .main .image-gallery {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}
.page .main .image-gallery img {
  height: auto;
  border-radius: 8px;
}
.page .main .wp-caption-text {
  margin-top: 10px;
  text-align: center;
}
@media (min-width: 729px) {
  .page .main ul.links {
   display: flex;
   flex-wrap: wrap;
   margin: 0 20px;
   padding: 0;
   list-style: none;
   gap: 1%;
  }
  .page .main ul.links li {
    width: 49%;
  }
  .page .main ul.links a {
    margin-bottom: 5px;
  }
}

/* ===== Single Page CSS ===== */
.post-date {
  margin-bottom: 20px;
  text-align: right;
}
.post-nav {
  margin: 40px 0;
  text-align: center;
}
.post-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: space-between;
}
.post-nav-list li {
  display: inline-block;
}
.post-nav-list .btn {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  background-color: #19a58a;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.post-nav-list .btn:hover {
  background-color: #45a049;
}

/* ===== Teacher Page CSS ===== */
.main #teacherList {
  margin-bottom: 40px;
}
.main #teacherList ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 1%;
}
.main #teacherList li {
  width: 49%;
  margin: 2px 0;
  padding: 0;
  list-style: none;
}
.main #teacherList a {
  display: block;
  margin-bottom: 5px;
  padding: 10px 20px;
  color: #666;
  font-size: 0.9em;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.4;
  background: url('../img/ar-b.png') right center no-repeat #fff;
  background-size: 40px;
  border: 1px solid #ccc;
  border-radius: 20px;
  vertical-align: middle;
}
.main #teacherList a:hover {
  border: 1px solid #666;
}
.main .researchBox {
  border-bottom: 4px solid #e1edd6;
}
.main .researchBox h2 {
  margin: 0 40px;
  padding: 40px 0 20px;
  font-size: 1.4em;
  border: none;
}
.main .researchBox .research {
  margin: 0 30px 10px;
  padding: 5px 10px;
  background: #e1edd6;
  border-radius: 6px;
}
.main .researchBox .researchImg {
  margin: 0 30px;
  padding: 5px 10px;
  border-radius: 6px;
}
.main .researchBox .teacherLinks {
  margin: 20px 40px;
  padding: 0;
  list-style: none;
}
.main .researchBox .teacherLinks li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.main .researchBox .teacherLinks a {
  display: block;
  margin-bottom: 5px;
  padding: 6px 20px;
  color: #666;
  font-size: 0.9em;
  font-weight: 400;
  text-decoration: none;
  background: url('../img/ar-r.png') right center no-repeat #fff;
  background-size: 40px;
  border: 1px solid #ccc;
  border-radius: 20px;
  vertical-align: middle;
}
.main .researchBox .teacherLinks a:hover {
  border: 1px solid #666;
}
@media (min-width: 729px) {
  .main #teacherList li {
    width: 32.33%;
  }
  .main #teacherList {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
  }
  .main #researchList {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
  }
  .main .researchBox {
    width: 49%;
    margin-bottom: 2%;
    border-left: 4px solid #e1edd6;
  }
}

/* ===== Topics Page CSS ===== */
.topicspost dl {
  margin: 10px 0;
  padding: 0 20px 10px;
  border-bottom: 1px solid #eee;
}
.topicspost dl a {
  color: #444;
  font-weight: 500;
  text-decoration: none;
}
.topicspost dl .cat a {
  padding: 4px 10px;
  color: #fff;
  font-size: 0.8em;
  line-height: 2;
  background: #107563;
  border-radius: 20px;
}
.topicspost dl .cat a.notice {
  background: #5c7e3f;
}
.topicspost dl .cat a.event {
  background: #964b7a;
}
.topicspost dl .cat a.award {
  background: #ffc947;
}
.topicspost dl .cat a.news {
  background: #807d9c;
}
.topicspost dl .cat a:hover {
  opacity: 0.8;
}
.topicspost dl .date {
  color: #666;
  font-weight: 300;
}
.topicspost dl .title a:hover {
  border-bottom: 1px solid #107563;
}
@media (min-width: 729px) {
  .topicspost dl {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 20px;
  }
  .topicspost dt.cat {
    width: 10em;
    padding-right: 2em;
    padding-left: 1em;
    text-align: center;
  }
  .topicspost dl .cat a {
    display: block;
  }
  .topicspost dd.date {
    width: 7em;
    padding-right: 1em;
  }
  .topicspost dd.title {
    width: calc(100% - 17em);
  }
}
@media (max-width: 728px) {
  .topicspost dt {
    margin: 6px 0;
  }
}

/* ===== Kyoin Page CSS ===== */
.kyoin-memo {
  display: flex;
  flex-wrap: wrap;
}
.kyoin-memo li {
  width: 25%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}
.kyoin-memo li:nth-child(-n+4) {
  border-top: 1px solid #ddd;
}
.kyoin-memo li:nth-child(4n+1) {
  border-left: 1px solid #ddd;
}
.kyoin-memo a {
  display: block;
  padding: 14px;
  text-decoration: none;
}
.single-kyoin table p {
  margin-bottom: 0.2em;
}
@media (min-width: 729px) {
  .single-kyoin table th {
    width: 10em;
  }
}

/* ===== Partners Page CSS ===== */
ul.company-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 0 20px !important;
  padding: 0;
  list-style: none;
}
.company-list li {
  display: flex;
  margin: 0;
  padding: 0;
  border: 2px solid #fff;
}
.company-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 12px 20px;
  color: #444;
  text-decoration: none;
  background: #efefef;
  border-radius: 5px;
  box-sizing: border-box;
}
@media (max-width: 728px) {
  ul.company-list {
    margin: 0;
  }
}

/* ===== Curriculum Plan Page CSS ===== */
.curriculum-plan .schedule h2 {
  padding: 10px 20px;
  color: #fff;
  background: #e79f00;
  border: none;
}
.schedule-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.schedule-wrapper table {
  flex: 1 1 45%;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.schedule table caption {
  padding: 4px 20px;
  text-align: left;
  background: #fbeacb;
}
.schedule th:first-child,
.schedule td:first-child {
  width: 50px;
}
.schedule th:nth-child(2),
.schedule td:nth-child(2) {
  width: 70px;
}
.schedule th:nth-child(n+3),
.schedule td:nth-child(n+3) {
  width: calc((100% - 160px) / 5);
}
.schedule table thead,
.schedule table tbody {
  font-size: 0.85em;
}
.schedule table th,
.schedule table td {
  padding: 10px 10px;
  text-align: center;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.schedule table thead th {
  padding: 4px 10px;
  color: #444;
  background: #f7d79d;
}
.subject-list {
  padding: 15px 20px;
  background-color: #fafafa;
  border: 1px solid #ccc;
  border-radius: 10px;
}
.subject-list dt {
  margin-top: 10px;
}
.subject-list dd {
  margin-left: 20px;
  margin-bottom: 10px;
  word-wrap: break-word;
}
.subject-list .kyoyo {
  color: #fedccf;
}
.subject-list .senmon {
  color: #d8dcf1;
}
.subject-list .lab {
  color: #fbeacb;
}
.schedule td.kyoyo {
  color: #444;
  background: #fedccf;
}
.schedule td.senmon {
  color: #444;
  background: #d8dcf1;
}
.schedule td.lab {
  color: #444;
  background: #fbeacb;
}

  .pickup-card {
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
.pickup-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
  .pickup-card h2.section-title {
    margin: 0 0 10px;
    padding: 14px;
    color: #666;
    font-size: 1.2em;
    text-align: center;
    background: url('../img/bg-dot2.png') repeat #fff;
  }
  .pickup-card h3.pickup-title {
    margin: 0;
    padding: 14px;
    color: #fff;
    text-align: center;
    background: #19a58a;
    border: none;
  }

  .pickup-subtitle {
    margin-bottom: 15px;
    color: #555;
    font-weight: 500;
    font-style: italic;
  }

.pickup-text {
  flex: 1 1 400px;
  margin-bottom: 15px;
  color: #444;
  line-height: 1.6;
}

.pickup-img {
  flex: 1 1 300px; /* 画像の幅を調整 */
  width: 300px;
  height: auto;
  border-radius: 8px;
}





@media (max-width: 1400px) {
  .schedule-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .schedule-wrapper table {
    flex: 1 1 100%;
    width: 100%;
    table-layout: fixed;
  }
}

/* ===== Q&A Page CSS ===== */
.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 1em 0;
}
.faq-question {
  position: relative;
  margin-left: 1.5em;
  padding-right: 1.5em;
  color: #2980b9;
  font-weight: 500;
  font-size: 1.1rem;
  text-indent: -1.5em;
  cursor: pointer;
}
.faq-question::after {
  position: absolute;
  content: "+";
  right: 0;
  font-size: 1.2rem;
  color: #2980b9;
}
.faq-answer {
  margin-top: 0.5em;
  margin-left: 1.5em;
  padding-left: 1em;
  color: #666;
  line-height: 1.6;
  text-indent: -1.5em;
}

/* ===== Voices Page CSS ===== */
#student-voice {
  padding: 10px 20px;
  background-color: #f9f9f9;
}

#student-voice h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
}

/* セクションごとの余白 */
.voice-section {
  margin-bottom: 40px;
}

.voice-section h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  text-align: center;
}

/* カード共通 */
.voice-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.voice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.voice-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
}

#alumni-message {
  margin: 2em 0;
}

#alumni-message .msg-card {
  background: #fff7ef;         /* 背景色 */
  border-left: 5px solid #f7d492; /* 左側ボーダー */
  padding: 1.5em;
  box-sizing: border-box;
  flex: 1 1 45%;               /* 横並びのときに適度な幅 */
  margin: 0.5em;
}

#alumni-message .msg-card h3 {
  margin-top: 0;
}

#alumni-message .msg-card dt {
  color: #e79f00;              /* 項目見出しの色 */
  font-weight: bold;
  margin-top: 1em;
}

#alumni-message .msg-card dd {
  margin: 0 0 1em 0;
}

#alumni-message .msg-wrapper {
  display: flex;
  flex-wrap: wrap;             /* 幅が狭いと折り返す */
  gap: 1em;
}

/* スマホ対応 */
@media (max-width: 768px) {
  #alumni-message .msg-wrapper {
    flex-direction: column;    /* 縦並び */
  }
  #alumni-message .msg-card {
    flex: 1 1 100%;            /* 幅いっぱい */
  }
}

/* レスポンシブ対応（スマホ） */
@media screen and (max-width: 728px) {
  .voice-card {
    padding: 15px;
  }
  #student-voice h2 {
    font-size: 1.5em;
  }
  .voice-section h3 {
    font-size: 1.2em;
  }
  .voice-card h4 {
    font-size: 1em;
  }
}

/* ===== Addmition Page CSS ===== */
#mission h4 {
  margin: 0;
}
#mission h4 span {
  display: inline-block;
  margin: 0;
  padding: 10px 2rem;
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
  background: #e79f00;
  border-radius: 2px;
}
#mission dl {
  margin-left: 2rem;
}
#mission dt {
  margin-top: 10px;
  color: #e79f00;
  font-size: 1.2em;
  font-weight: 500;
}
.page .main ul.att {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #666;
  font-size: 0.9em;
  line-height: 1.4;
}
.page .main ul.att li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.page .main ul.att li::before {
  content: '※';
  padding-left: 1em;
  text-indent: -1em;
}

/* ===== Gallery Page CSS ===== */
.gallery-item .gallery-icon {
  margin: 5px;
}
dl.gallery-item {
  margin: 0;
  padding: 0;
}
.gallery-item img {
  width: 100%;
  margin: 0;
  padding: 0;
  border: none !important;
}