@charset "UTF-8";

:root {
  --mincho: "Shippori Mincho", serif;
  --gothic: "Zen Kaku Gothic New", sans-serif;
  --condensed: "Roboto Condensed", sans-serif;
  --font16: clamp(0.875rem, 1.82vw, 1rem);
  --font18: clamp(1.0625rem, 2.21vw, 1.125rem);
  --font20: clamp(1.125rem, 2.08vw, 1.25rem);
  --font22: clamp(1.25rem, 2.6vw, 1.375rem);
  --font24: clamp(1rem, 2.08vw, 1.5rem);
  --font28: clamp(1.375rem, 2.86vw, 1.75rem);
  --font32: clamp(1.5rem, 3.12vw, 2rem);
  --font40: clamp(1.75rem, 3.65vw, 2.5rem);
  --font48: clamp(2rem, 4.17vw, 3rem);
  --font64: clamp(3rem, 6.25vw, 4rem);
  --font72: clamp(4rem, 8.34vw, 4.5rem);
  --font96: clamp(4.5rem, 9.38vw, 6rem);
  --space16: clamp(0.5rem, 1.04vw, 1rem);
  --space24: clamp(0.75rem, 1.56vw, 1.5rem);
  --space32: clamp(1rem, 2.08vw, 2rem);
  --space48: clamp(1.5rem, 3.12vw, 3rem);
  --space64: clamp(2rem, 4.17vw, 4rem);
  --space96: clamp(3rem, 6.25vw, 6rem);
  --space128: clamp(4rem, 8.34vw, 8rem);
  --space192: clamp(6rem, 12.51vw, 12rem);
}

/* CSS Document */
* {
  margin: 0;
  padding: 0;
  table-layout: fixed;
  list-style: none;
  box-sizing: border-box;
  border-collapse: collapse;
  line-break: normal;
  word-break: break-all;
}

body {
  font-family: sans-serif;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.6rem;
  color: #323232;
}

img {
  border: 0;
  vertical-align: top;
  max-width: 100%;
}

a,
a:link,
a:visited {
  transition: all 0.6s linear;
  color: #303b40;
  text-decoration: none;
}

a.current {
  color: rgba(238, 72, 58, 1);
  font-weight: bold;
}

.header {
  margin: auto;
  padding: 30px;
  padding-bottom: 10px;
  padding-top: 10px;
  background-color: #fafafa;
}

.header_logo {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 767px) {
  .header_logo {
    justify-content: center;
    align-items: center;
  }
}

.header_logo dd h1,
.header_logo dd div {
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.header_logo dt img {
  max-width: 320px;
  margin: auto;
}

@media (max-width: 767px) {
  .header_logo dt img {
    max-width: 280px;
  }
}

.header_logo dd {
  text-align: right;
  font-size: 1rem;
  line-height: 1.6rem;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

@media (max-width: 767px) {
  .header_logo dd {
    display: none;
  }
}

.header_logo dd a {
  font-size: 1.6rem;
  color: rgba(238, 72, 58, 0);
}

.header .telnum {
  color: rgba(238, 72, 58, 1);
  font-family: var(--condensed);
  font-size: 2.4rem;
}

.header_menu {
  margin: 16px auto 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.header_menu li {
  text-align: center;
  transition: all 0.4s linear;
  padding-bottom: 8px;
  transition: all 0.6s linear;
  border-bottom: 2px solid rgba(238, 72, 58, 0);
  width: calc(100% / 7);
}

.header_menu li:hover {
  border-bottom: 2px solid rgba(238, 72, 58, 0.6);
}

.standards {
  display: grid;
  place-content: center;
  padding: 48px 24px;
}

.standards a {
  display: grid;
  place-content: center;
  border: 1px solid gray;
  padding: 16px 32px;
  font-size: 20px;
  max-width: 480px !important;
  width: 100% !important;
  border-radius: 999px;
}

.wbr {
  display: inline-block;
}

button {
  background-color: transparent;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  border: 0px;
  cursor: pointer;
}

.table {
  display: table;
  width: 100%;
}

@media (max-width: 767px) {
  .table {
    display: flex;
    flex-direction: column;
  }
}

.table>* {
  display: table-cell;
  vertical-align: top;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

.container {
  margin: auto;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.main {
  margin-left: auto;
  margin-right: auto;
  width: 920px;
  background-color: #fff;
}

.page_title {
  font-family: var(--gothic);
  font-size: var(--font28);
  text-align: center;
  display: block;
  padding-bottom: 32px;
  font-weight: 600;
}

.pagectl {
  text-align: right;
  color: #666;
  margin-bottom: 20px;
  margin-top: 20px;
}

.profimg {
  margin-left: 17px;
  margin-top: 24px;
}

.current_post {
  background-color: #fee37b;
  font-size: 13px;
  padding: 5px;
}

.clm1 {
  background-color: #fff;
  font-size: 13px;
  padding: 5px;
  text-decoration: none;
  color: #320;
  display: block;
}

.clm2 {
  background-color: #eee;
  font-size: 13px;
  padding: 5px;
  text-decoration: none;
  color: #320;
  display: block;
}

.main_right {
  height: 1100px;
  width: 270px;
  background-image: url(images/top_sidebg.png);
  background-repeat: repeat-y;
  background-position: top;
}

.timetable {
  background-color: #fff;
  border-color: #ccc;
  border-width: 1px;
  border-style: solid;
  border-collapse: collapse;
  margin-top: 10px;
}

.timetable td {
  border-width: 1px;
  border-style: solid;
  border-color: #ccc;
}

.news_title {
  background-image: url(images/top_news_title.png);
  background-repeat: repeat-y;
}

a#pageTop {
  display: grid;
  place-content: center;
  z-index: 999;
  border-radius: 64px;
  width: 48px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.59);
  margin: auto;
  text-align: center;
  position: fixed;
  bottom: 28px;
  right: 12px;
}

@media (max-width: 767px) {
  a#pageTop {
    bottom: 120px;
  }
}

a#pageTop a:hover {
  text-decoration: none;
  background-color: rgba(0, 0, 0, 1);
}

.overflow {
  width: 100%;
  overflow: auto;
}

.section_title {
  font-family: var(--mincho);
  font-size: var(--font32);
  font-style: normal;
  line-height: 160%;
  text-align: center;
  margin: auto;
  margin-bottom: var(--space32);
}

.section_title .small {
  font-size: var(--font24);
}

.header_inner {
  width: 100%;
  margin: auto;
  max-width: 1280px;
}

.inner {
  padding: 0 var(--space48);
  width: 100%;
  margin: auto;
  max-width: 1024px;
}

.wrapper {
  padding: var(--space48) 0;
  width: 100%;
  margin: auto;
}

.footer {
  padding-bottom: 128px;
  background-color: #f9f9f9;
}

.footer_clm {
  display: flex;
  gap: var(--space48);
  padding: var(--space48);
  max-width: 1280px;
  margin: auto;
}

@media (max-width: 767px) {
  .footer_clm {
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }
}

.footer_clm>* {
  flex: 1 1 calc((100% - (48px * 1)) / 2);
}

.footer_timetable {
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0 10px;
  border: 0
}

.footer_timetable td:nth-child(1) {
  background: #3286A7;
  color: white;
  font-weight: 600;
  border: 0;
  vertical-align: center;
}

.footer_timetable td:nth-child(2) {
  background: white;
  border: 0;
  vertical-align: center;
}

.footer_timetable td.close {
  background-color: #aaa;
  color: white;
  font-weight: 600;
}

.footer_timetable td.sat {
  background: #34AF94;
  color: white;
  font-weight: 600;
}

.footer h3 {
  color: #F87474;
  font-size: var(--font18);
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  text-align: left;
  margin-top: 32px;
}

@media (max-width: 767px) {
  .footer h3 {
    text-align: center;
  }
}

.footer h4 {
  font-size: var(--font16);
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  text-align: left;
}

.footer_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  gap: 24px;
}

@media (max-width: 767px) {
  .footer_info {
    flex-direction: column;
    gap: 12px;
  }
}

.footer_logo {
  flex: 0 1 300px;
}

@media (max-width: 767px) {
  .footer_logo {
    flex: 1 1 auto;
  }
}

.footer_logo img {
  max-width: 300px;
  min-width: 150px;
}

.footer_lead {
  flex: 1;
}

@media (max-width: 767px) {
  .footer_lead {
    flex: 1 1 auto;
    text-align: center;
  }
}

.footer_lead p {
  padding: 0;
  font-size: 15px;
  margin: 4px 0;
  line-height: 100%;
  white-space: nowrap;
}

.footer_tel {
  display: flex;
  flex: 1 1 auto;
  white-space: nowrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .footer_tel {
    flex: 1 1 auto;
  }
}

.footer_tel_text {
  display: grid;
  place-content: center;
  width: fit-content;
  margin: auto;
  gap: 10px;
  border-radius: 32px;
  background: #555;
  color: white;
  padding: 6px 16px;
  white-space: nowrap;
  font-size: 15px;
}

a.footer_tel_num {
  color: #EE483A;
  font-family: var(--condensed);
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  text-align: right;
}

.footer_bottom {
  text-align: center;
}

.footer_sitemap ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  justify-content: flex-start;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .footer_sitemap ul {
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer_sitemap ul li {
    flex: 1 1 calc((100% - (24px * 1)) / 2);
  }
}

.banner_drfile {
  max-width: 240px;
  margin: auto;
  margin-left: 0;
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .banner_drfile {
    margin-left: auto;
  }
}

.banner_insta {}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.header_sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.accessible_text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*---------------------
menu_sp
-----------------------*/
.menu_sp {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 12px 16px 32px 16px;
  justify-content: space-evenly;
  align-items: center;
  gap: 24px;
  z-index: 999;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  /* 必要に応じて調整 */
  height: 100%;
  background-color: #fafafa;
  padding: 24px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 9999;
}

.side-menu.active {
  transform: translateX(0);
  opacity: 1;
}

.side-menu nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.side-menu nav>* {
  font-size: 18px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .sp {
    display: none;
  }
}

@media (max-width: 767px) {
  .pc {
    display: none;
  }
}