@charset "UTF-8";

/* CSS Document */
:root {
  /* フォントは日本語サイト（../style.css）と同じ。ゴシックは端末のシステムフォント、明朝は Shippori Mincho */
  --kakugo: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "YuGothic M", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --mincho: "Shippori Mincho", serif;
  --serif: "Shippori Mincho", serif;
}

* {
  padding: 0;
  margin: 0;
  border-collapse: collapse;
  border: 0;
  box-sizing: border-box;
  word-wrap: break-word;
  table-layout: fixed;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

body {
  color: #222;
  font-family:
    -apple-system, BlinkMacSystemFont, Verdana, "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "Noto Sans", "Noto Sans CJK JP", "モトヤLシーダ3等幅",
    MotoyaLCedar, "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8rem;
  -webkit-text-size-adjust: 100%;
  letter-spacing: 0.05rem;
  display: block;
}

a:link,
a:visited {
  text-decoration: none;
  color: #222;
}

/* ヘッダーの見た目は日本語サイト（../style.css）に合わせる。文字はゴシック（読み込みなしの端末のフォント）、色は紺 */
header {
  width: 100%;
  margin: auto;
  text-align: center;
  color: #163267;
  font-family: var(--kakugo);
}

header a.appobtn,
header a.appobtn:visited {
  background-color: rgba(17, 92, 167, 1);
  padding: 6px 20px;
  text-align: center;
  font-weight: 600;
  color: white;
}

.header_inner {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  padding: 0;
  max-width: 1180px;
  margin: auto;
  align-items: center;
}

@media (max-width: 767px) {
  .header_inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px;
  }
}

.header_inner .logo {
  flex: 1 1 50%;
  min-width: 0;
  padding: 12px 0 0;
  text-align: left;
}

.header_inner .logo img {
  display: block;
  width: 100%;
  max-width: 470px;
  height: auto;
}

/* 中間の幅では画面の端に付かないよう、左右に余白を取る */
@media (min-width: 768px) and (max-width: 1212px) {
  .header_inner {
    gap: 16px;
    padding: 8px 16px 0;
  }
}

@media (max-width: 767px) {
  .header_inner .logo {
    flex: 0 1 auto;
    padding: 0;
  }

  .header_inner .logo img {
    max-width: 210px;
  }
}

.header_inner .headmenu {
  margin: auto;
  padding: 0;
  flex: 0 0 50%;
}

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

.headmenu ul {
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.headmenu .link_call a {
  display: block;
}

.headmenu .link_call img {
  display: block;
  width: 240px;
  height: auto;
}

.headmenu a.request {
  display: block;
  width: 240px;
  padding: 0.8rem 0.5rem;
  color: white;
  background-color: #163267;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.8rem;
  text-align: center;
  white-space: nowrap;
}

.headmenu a.lang {
  color: #163267;
  font-size: 16px;
  white-space: nowrap;
}

header h1 {
  font-size: 1.2rem;
  line-height: 1.2rem;
  font-weight: 500;
  text-align: right;
  color: rgb(59, 91, 153);
}

/* 電話番号・診療時間・フッターのロゴは見出しにしない（h1 は各ページのタイトル）。見た目は元の h2・h3・h1 と同じ */
header h2,
header .tel_number {
  font-size: 26px;
  line-height: 34px;
  font-weight: 600;
  text-align: right;
  color: rgb(59, 91, 153);
}

@media (max-width: 767px) {
  header h2,
  header .tel_number {
    text-align: center;
  }
}

header h3 {
  font-size: 0.9rem;
  line-height: 1.2rem;
  font-weight: 300;
  text-align: right;
  color: rgb(59, 91, 153);
}

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

header .copy {
  font-size: 0.8rem;
  padding: 0;
}

header .name {
  padding: 0;
  font-size: 1rem;
  font-weight: 300;
}

footer {
  text-align: center;
  padding: 40px;
  color: #fff;
  width: 100%;
  margin: auto;
  background-color: rgba(0, 45, 90, 1);
}

@media (max-width: 767px) {
  footer {
    padding-bottom: 120px;
  }
}

.footer_inner {
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.footer_inner .table {
  display: flex;
  gap: 24px;
}

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

.footer_inner .table>* {
  flex: 1 1 calc((100% - (24px * 2)) / 3);
}

.footer_inner #menu {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.footer_inner .hours {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.footer_inner .location {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

footer h1,
footer .footer_logo {
  font-size: 1.2rem;
  text-align: left;
}

footer .footer_logo {
  font-weight: bold;
}

footer h2 {
  font-size: 0.8rem;
  opacity: 0.5;
  padding: 0;
  margin: 0;
  margin-bottom: 15px;
  margin-top: 15px;
}

footer a:link,
footer a:visited {
  display: inline-block;
  color: #fff;
}

footer li {
  text-align: left;
  line-height: 2.4rem;
}

footer .table>* {
  text-align: left;
  padding: 0;
}

.footercopy {
  font-size: 0.9rem;
  font-weight: 300;
  text-align: left;
  color: #eee;
}

blockquote {
  margin: 40px;
  padding: 2em 1em;
  position: relative;
  text-align: center;
  font-size: 1.4rem;
  line-height: 2.4rem;
  border: 3px double #222;
  border-collapse: separate;
  background-color: #fafafa;
}

blockquote:before {
  content: "“";
  font-size: 6rem;
  line-height: 1em;
  font-family: sans-serif;
  color: #222;
  position: absolute;
  left: 0;
  top: 0;
}

blockquote:after {
  content: "”";
  font-size: 6rem;
  line-height: 0em;
  font-family: "ＭＳ Ｐゴシック", sans-serif;
  color: #222;
  position: absolute;
  right: 0;
  bottom: 0;
}

.container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.inner {
  max-width: 1100px;
  padding: 0 32px;
  margin: auto;
}

@media (max-width: 767px) {
  .inner {
    max-width: 1100px;
    padding: 0 24px;
    margin: auto;
  }
}

.paper_pad0 {
  width: 100%;
  margin: auto;
  max-width: 1100px;
  text-align: center;
  position: relative;
  padding: 0;
  background: #fff;
}

.breadcrumb {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px;
}

.content {
  width: 100%;
  margin: auto;
  max-width: 1100px;
  padding: 64px 32px;
}

@media (max-width: 767px) {
  .content {
    width: 100%;
    margin: auto;
    max-width: 1100px;
    padding: 0 24px;
  }
}

.content table {
  table-layout: fixed;
  width: 100%;
}

.content th {
  border-bottom: 2px solid rgba(0, 89, 175, 1);
  padding: 5px;
}

.content td {
  border-bottom: 1px solid rgba(0, 89, 175, 1);
  padding: 5px;
}

.content td:last-child {
  text-align: right;
}

.content table {
  border-top: 1px solid rgba(0, 89, 175, 1);
  width: 80%;
  background-color: #fafafa;
  margin: 32px auto;
}

/* パンくずリスト。日本語サイト（../style.css）と同じ */
.breadcrumbs {
  max-width: 1180px;
  margin: auto;
  width: 100%;
  padding: 8px 16px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: sans-serif;
}

.breadcrumbs li a {
  color: #3a5b9b;
  text-decoration: underline;
  font-weight: 500;
}

/* ページの見出し。日本語サイト（../style.css の .card h1）と同じ見た目 */
.content h1 {
  font-family: var(--mincho);
  position: relative;
  margin: 42px 0;
  line-height: 1.6;
  font-size: 2rem;
  color: #163267;
  text-align: center;
  font-weight: 400;
}

@media (max-width: 767px) {
  .content h1 {
    font-size: 1.8rem;
  }
}

.content h1::after {
  content: "";
  display: block;
  width: 70px;
  margin: 16px auto 0;
  border-bottom: 3px solid #b3ce68;
}

.pageheader {
  margin: auto;
  display: block;
  text-align: center;
  overflow: hidden;
  width: 100%;
  position: relative;
  text-align: left;
  text-align: center;
}

.pageheader h1 {
  position: absolute;
  display: block;
  top: 50px;
  left: 50px;
  font-size: 2.4rem;
  line-height: 3rem;
  font-family: "Arbutus Slab", serif;
  background-color: rgba(255, 255, 255, 0.3);
  background-image: url(images/stripe04.webp);
  color: rgba(0, 89, 175, 1);
  text-align: left;
  padding: 20px;
}

.pageheader h1 span {
  font-size: 1rem;
  display: block;
  line-height: 1.8rem;
}

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

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

.flex {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.card {
  overflow: hidden;
  background-color: #fff;
  vertical-align: top;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.card h2 {
  padding: 0;
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  vertical-align: middle;
  line-height: 2.4rem;
  color: rgba(59, 91, 153, 1);
  text-align: center;
}

.card h3 {
  font-size: 1.6rem;
  background-color: #eee;
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 15px;
  display: block;
}

.card h4 {
  font-size: 1.4rem;
  display: block;
  line-height: 2rem;
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 5;
  text-align: center;
  color: #666;
}

.card h5 {
  font-size: 1.2rem;
  border-left: 2px solid #2d86d5;
  margin-top: 30px;
  margin-bottom: 15px;
  display: block;
}

.card figure img {
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  display: block;
}

.card ul li {
  list-style: square inside;
  font-weight: 600;
  padding: 15px;
  border-bottom: 2px dashed rgba(255, 255, 255, 1);
}

.card ul li:last-child {
  border: 0;
}

.card ul {
  margin: 40px;
  margin: 15px;
  background-color: #eef2f4;
}

.eyecatch {
  width: 300px;
  height: 300px;
  display: block;
  background-size: cover;
  background-position: center;

  margin: 0;
  padding: 0;
  text-align: center;
}

.eyecatch span {
  font-size: 1.8rem;
  font-weight: 100;
  text-align: center;
  display: block;
  width: 280px;
  height: 280px;
  border-radius: 140px;
  /*background-color:rgba(255,255,255,0.3);
	border:3px solid #fff;*/
  font-family: "Zen Kaku Gothic New", sans-serif;
  overflow: hidden;
  margin: auto;
  color: #3c7621;
  padding: 0;
  padding-top: 40%;
}

.overview {
  display: block;
  overflow: hidden;
  padding: 20px;
}

a.readmore {
  background-color: #0e4b1a;
  color: #fff;
  padding: 10px;
  width: 100%;
  display: block;
  text-align: right;
  margin-top: 20px;
  font-size: 1rem;
  position: absolute;
  bottom: 0;
}

.news {
  background-image: url(images/denim_gray.webp);
  background-repeat: repeat;
  width: 100%;
}

.news strong {
  background-color: rgba(222, 251, 61, 0.3);
  font-weight: 500;
}

/*---------------------------
　
　ドロップダウンメニュー
　
---------------------------*/
.menubar_wrapper {
  border-bottom: 1px solid rgba(230, 230, 230, 1);
  padding: 0;
}

@media (max-width: 767px) {
  /* SPではハンバーガーメニューに集約するため、PC用ドロップダウンメニューバーは非表示 */
  .menubar_wrapper {
    display: none;
  }
}

.menubar {
  position: relative;
  z-index: 20;
  margin: auto;
  background-color: white;
  max-width: 1180px;
  padding: 16px 0;
}

/* 日本語サイトの .ddmenu と同じ見た目（項目を等間隔に並べる） */
.menubar #menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.menubar #menu>li {
  position: relative;
  margin: 0;
  flex: 1 1 220px;
  cursor: pointer;
  white-space: nowrap;
}

.menubar #menu>li a {
  display: block;
  width: 100%;
  background-color: white;
  color: #163267;
  line-height: 40px;
  text-align: center;
  font-weight: bold;
}

.menubar #menu>li a:hover {
  background-color: #163267;
  color: white;
}

/* SP用ヘッダー右側(日本語リンク + ハンバーガーボタン) */
.sp_header_actions {
  display: none;
}

@media (max-width: 767px) {
  .sp_header_actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
  }
}

a.sp_link_ja {
  display: none;
}

@media (max-width: 767px) {
  a.sp_link_ja {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    /* 高さを固定し、CJK(日本語)フォントのフォールバックで縦に膨らむのを防ぐ
       （英語サイトの「English」ボタンと同じ高さに揃える） */
    height: 32px;
    padding: 0 14px;
    line-height: 1;
    box-sizing: border-box;
    border: 1.5px solid rgba(22, 50, 103, 0.4);
    border-radius: 999px;
    background-color: white;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    color: rgba(22, 50, 103, 1);
    white-space: nowrap;
  }
}

/* ハンバーガーボタン(白背景ヘッダー用に濃色バー) */
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}

.menu-trigger {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(22, 50, 103, 1);
  border-radius: 3px;
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}

.menu-trigger span:nth-of-type(2) {
  top: 13px;
}

.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}

.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(14px) rotate(-45deg);
}

.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-14px) rotate(45deg);
}

.sp {
  display: none;
}

.pc {
  display: block;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.pad0 {
  padding: 0;
}

.pad12 {
  padding: 12px;
}

.pad24 {
  padding: 24px;
}

.pad36 {
  padding: 35px;
}

.pad48 {
  padding: 48px;
}

.mar0 {
  margin: 0;
}

.mar12 {
  margin: 12px;
}

.mar24 {
  margin: 24px;
}

.mar36 {
  margin: 36px;
}

.mar48 {
  margin: 48px;
}


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

  .sp {
    display: block;
  }

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

  .table>* {
    display: block;
    width: 100%;
  }

  .banners {
    max-width: 1280px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
  }

  .banners>* {
    padding: 12px 0;
    margin: 6px;
  }
}

footer li {
  text-align: left;
  line-height: 1.4rem;
  font-size: 1rem;
}

footer small {
  font-size: 0.9rem;
}

.content td:last-child {
  text-align: right;
}

footer input,
footer textarea {
  width: 100%;
  padding: 6px;
  font-size: 1rem;
  background-color: rgba(205, 205, 205, 1);
}

footer button {
  padding: 10px;
  font-size: 1.1rem;
  background-color: rgba(0, 89, 175, 1);
  color: #fff;
  margin-top: 10px;
  margin-right: 0;
  margin-left: auto;
  margin-bottom: 10px;
  display: block;
}

footer .twitter-share-button,
footer .fb-like {
  display: inline-block;
}

footer small {
  color: white;
}

/* CSS Document */
.colona img {
  max-width: 640px;
  margin: auto;
  width: 100%;
}

.topgallery {
  background: url(images/interiors/1.webp);
  background-size: cover;
  background-position: center;
  height: 460px;
  width: 100%;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
  position: relative;
}

.topgallery a {
  display: block;
  position: absolute;
  right: 0px;
  top: 140px;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 1.8rem;
  padding: 80px 35px 80px 35px;
  font-family: "Bree Serif", serif;
}

.topgallery a i {
  margin-left: 20px;
}

.topcard {
  box-shadow: 0px 2px 2px rgba(0, 89, 175, 1);
  transition: transform 0.3s linear;
  z-index: 1;
  position: relative;
}

.topcard:hover {
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
  transform: scale(1.02);
  z-index: 10;
}

.yoyaku a {
  background-color: rgba(255, 103, 2, 1);
  font-size: 1rem;
  color: #fff;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.index .card {
  display: block;
  width: 100%;
}

.index h2 {
  display: block;
  background-color: rgba(0, 89, 175, 1);
  color: #fff;
  margin: 24px auto;
  padding: 16px 32px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  max-width: 920px;
}

.index p {
  max-width: 920px;
  margin: 24px auto;
  padding: 6px 24px;
  text-align: left;
}

.grid {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}

.grid-item {
  background: #fff;
  margin: 5px;
  overflow: hidden;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 240px;
}

.grid-item a {
  width: 100%;
  height: 100%;
  display: block;
}

.grid-item span {
  background: rgba(0, 89, 175, 1);
  display: block;
  width: auto;
  overflow: hidden;
  padding: 10px;
  color: #fff;
  position: absolute;
  top: 0px;
}

.w100 {
  width: 100%;
}

.w32 {
  width: 32%;
}

.w49 {
  width: 49%;
}

.w69 {
  width: 69%;
}

.w29 {
  width: 29%;
}

.width1 {
  width: 240px;
}

.width2 {
  width: 490px;
}

.width1_5 {
  width: 360px;
}

.width3 {
  width: 740px;
}

.carousel {
  max-width: 1240px;
  width: 100%;
  margin: auto;
}

.owl-carousel {
  box-shadow: 0px 2px 2pxrgba (0, 89, 175, 1);
  -webkit-box-shadow: 0px 2px 2pxrgba (0, 89, 175, 1);
  -moz-transition: -moz-transform 0.3s linear;
  -webkit-transition: -webkit-transform 0.3s linear;
  -o-transition: -o-transform 0.3s linear;
  -ms-transition: -ms-transform 0.3s linear;
  transition: transform 0.3s linear;
  z-index: 1;
  position: relative;
  width: 100%;
}

.owl-carousel:hover {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
  -moz-transform: scale(1.02);
  -webkit-transform: scale(1.02);
  -o-transform: scale(1.02);
  -ms-transform: scale(1.02);
  transform: scale(1.02);
  z-index: 10;
}

.owlitem {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.owlitem .table {
  table-layout: auto;
}

.owlitem a:first-child {
  width: 30%;
  vertical-align: middle;
  overflow: hidden;
  height: 300px;
}

.owlitem a:last-child {
  width: auto;
  height: 300px;
  line-height: 3rem;
  padding: 0 20px 0 20px;
  font-size: 1.5rem;
  font-weight: 600;
  vertical-align: middle;
  text-align: center;
  overflow: hidden;
  color: #002c5b;
}

.owlitem img {
  width: auto !important;
  max-width: none !important;
  height: 300px !important;
}

.banner {
  margin: auto;
  margin-top: 50px;
  margin-bottom: 30px;
}

.blog_header {
  background-image: url(images/stripe08.webp);
  width: 100%;
  display: block;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 30px;
  padding: 7px;
}

.news {
  background-image: url(images/denim.webp);
  margin: auto;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: left;
  max-width: 1240px;
  box-shadow: 0px 2px 2pxrgba (0, 89, 175, 1);
  -webkit-box-shadow: 0px 2px 2pxrgba (0, 89, 175, 1);
}

.news .news_stripe {
  background-image: url(images/stripe02.webp);
  background-position: left;
  background-repeat: repeat-y;
  padding: 15px;
}

.news .date {
  width: 250px;
  text-align: right;
  padding: 10px;
  padding-right: 30px;
  font-size: 1.2rem;
  border-bottom: 2px dashed #fff;
}

.news .entry {
  width: auto;
  text-align: left;
  padding: 10px;
  border-bottom: 2px dashed #fff;
}

.news .entry h3 {
  font-size: 1.2rem;
}

.endperiomov {
  width: 800px;
  height: auto;
}

@media screen and (max-width: 1024px) {
  .carousel {
    max-width: 1200px;
    width: 100%;
    margin: auto;
  }

  .owl-carousel {
    box-shadow: 0px 2px 2pxrgba (0, 89, 175, 1);
    -webkit-box-shadow: 0px 2px 2pxrgba (0, 89, 175, 1);
    -moz-transition: -moz-transform 0.3s linear;
    -webkit-transition: -webkit-transform 0.3s linear;
    -o-transition: -o-transform 0.3s linear;
    -ms-transition: -ms-transform 0.3s linear;
    transition: transform 0.3s linear;
    z-index: 1;
    position: relative;
    width: 100%;
  }

  .owl-carousel:hover {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
    -moz-transform: scale(1.02);
    -webkit-transform: scale(1.02);
    -o-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    z-index: 10;
  }

  .owlitem {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }

  .owlitem .table {
    table-layout: auto;
  }

  .owlitem a:first-child {
    width: 100%;
    vertical-align: middle;
    overflow: hidden;
    height: auto;
  }

  .owlitem a:last-child {
    width: auto;
    height: 300px;
    line-height: 3rem;
    padding: 0 20px 0 20px;
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
    color: #002c5b;
  }

  .grid {
    width: 100%;
  }

  .grid-item {
    background-size: contain;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .width1 {
    width: 100%;
    height: auto;
  }

  .width2 {
    width: 100%;
    height: auto;
  }

  .news .news_stripe {
    background-image: none;
  }

  .news .date {
    width: 100%;
    text-align: center;
    border-bottom: none;
  }

  .news .entry {
    width: 100%;
    text-align: left;
  }

  .news_header {
    text-align: center;
  }
}

.index video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.right {
  text-align: right;
}

.table {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.table>* {
  display: table-cell;
  padding: 3px;
}

.contact {
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.contact p {
  padding: 0;
}

.contact input[type="text"],
.contact input[type="date"],
.contact textarea {
  border: 0;
  border: none;
  border-width: 0;
  padding: 6px;
  font-size: 1.2rem;
  background-color: #fafafa;
  border: 2px solid #eee;
  display: block;
}

.contact .smalllabel {
  font-size: 0.8rem;
  color: #666;
}

.contact textarea {
  width: 100%;
  height: 200px;
}

.contact input[type="text"] {
  width: 100%;
  height: auto;
  max-width: 480px;
  min-width: 100px;
}

.contact input[type="date"] {
  max-width: 300px;
  height: auto;
}

.contact button {
  padding: 15px;
  font-size: 1.2rem;
  background-color: rgba(0, 27, 88, 1);
  color: #fff;
  min-width: 200px;
  display: block;
  margin: 50px auto;
}

.contact select {
  font-size: 1.1rem;
  margin: 5px;
  border: 2px solid #eee;
  padding: 12px;
}

.contact input[type="radio"] {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin: 15px 3px;
  padding: 12px;
}

.contact strong {
  color: rgba(255, 85, 85, 1);
  font-size: 17px;
}

.attention {
  background-color: #ffcccc;
  padding: 10px;
  margin: 10px;
}

a.backbtn {
  background-color: #333;
  color: white;
  padding: 10px 30px;
  margin: auto;
  text-align: center;
  display: block;
  max-width: 200px;
  cursor: pointer;
}

label {
  display: block;
  margin: 36px 0 6px 0;
  color: #72737d;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(0, 27, 88, 1);
}

.username_area {
  max-width: 800px;
}

.message_area {
  max-width: 800px;
}

@media screen and (max-width: 600px) {
  .table {
    display: block;
  }

  .table>* {
    display: block;
  }
}

/* CSS Document */

.staff>h2 {
  font-family: "FOT-筑紫A丸ゴシック Std M";
  background-color: rgba(17, 92, 167, 0.1);
  line-height: 2.2rem;
  font-size: 1.4rem;
  color: rgba(0, 89, 175, 1);
  display: block;
  margin: 40px 0 40px 0;
}

.profcard {
  width: 100%;
  margin: 30px 0 0 0;
  border: 1px solid #eeeeee;
  display: table;
}

.profcard figure {
  background-color: rgba(233, 240, 240, 0.6);
  background-image: url(images/stripe02.webp);
  padding: 0;
  text-align: center;
  width: 300px;
  display: table-cell;
  vertical-align: top;
}

.profcard>div {
  text-align: left;
  width: auto;
  padding: 20px;
  display: table-cell;
  vertical-align: top;
}

.profcard img {
  width: 300px;
}

.profcard h2 {
  color: rgba(0, 89, 175, 1);
  font-size: 1.5rem;
  line-height: 2.4rem;
  margin: 30px 0 0 0;
  padding: 0;
  font-family: "FOT-筑紫A丸ゴシック Std B";
}

.profcard h3 {
  color: rgba(17, 92, 167, 1);
  line-height: 1.6rem;
  font-size: 1.1rem;
  font-family: "FOT-筑紫A丸ゴシック Std M";
}

.profcard h4,
.profcard .prof_role {
  font-weight: bold;
  color: rgba(17, 92, 167, 1);
  font-family: "FOT-筑紫A丸ゴシック Std M";
}

.profcard h5,
.profcard .prof_career {
  font-weight: bold;
  margin-top: 30px;
  color: rgba(100, 100, 100, 1);
  line-height: 1.6rem;
  font-size: 0.9rem;
  font-family: "FOT-筑紫A丸ゴシック Std R";
}

.comment {
  background-color: rgba(233, 240, 240, 0.6);
  display: block;
  width: 100%;
  padding: 20px;
  text-align: left;
  background-image: url(images/staff_bg.webp);
  border: 1px solid #eeeeee;
  border-top: 0;
  font-family: "FOT-筑紫A丸ゴシック Std R";
}

.philosophy h2 {
  font-family: "FOT-筑紫A丸ゴシック Std B";
  line-height: 2.4rem;
  font-size: 1.8rem;
  color: rgba(17, 92, 167, 1);
}

.philosophy {
  background-image: url(images/philosophy_bg.webp);
  font-family: "FOT-筑紫A丸ゴシック Std M";
  line-height: 2.2rem;
  font-size: 1.2rem;
  padding: 30px;
}

@media screen and (max-width: 640px) {
  .profcard figure {
    padding: 0;
    text-align: center;
    width: 100%;
    display: block;
  }

  .profcard>div {
    text-align: center;
    width: 100%;
    display: block;
    padding: 0;
  }

  .profcard img {
    width: 100%;
  }
}

.allstaff img {
  width: 100%;
}

.services figure {
  width: 100%;
}

.services .card img {
  margin: auto;
  max-width: 600px;
  max-height: 800px;
  object-fit: contain;
}

.services .card p {
  width: 80%;
  margin: auto;
}

.online figure {
  width: 100%;
}

.online article img {
  margin: auto;
  width: 100%;
  object-fit: contain;
}

.online article p {
  width: 100%;
  margin: auto;
}

.appo_btn {
  padding: 12px 24px;
  border-radius: 50px;
  background-color: rgba(0, 89, 175, 1);
  text-align: center !important;
  font-size: 20px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  margin: 24px auto !important;
  display: block !important;
  width: fit-content !important;
}

.appo_btn a {
  display: block;
  width: 100%;
  height: 100%;
  color: white;
}

.youtube {
  width: 100%;
  max-width: 960px;
  /* 任意。外枠の最大幅 */
  margin: 0 auto;
  /* 任意。中央寄せ */
}

.youtube iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  /* 比率キープ */
  height: auto;
  /* 高さは自動 */
  display: block;
}

.gotomenu {
  display: none;
}

@media (max-width: 767px) {
  .gotomenu {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 45, 90, 0.85);
    color: white;
    display: flex;
    text-align: center;
    vertical-align: middle;
    z-index: 20;
    justify-content: center;
    align-items: stretch;

    overflow: hidden;
    padding: 16px;
    padding-bottom: 24px;
    gap: 32px;
  }

  .gotomenu a {
    color: white;
    font-size: 1.1rem;
    display: flex;
    padding: 0;
  }

  .gotomenu>*:nth-child(1) {
    flex-basis: 10vw;
    padding: 0;
  }

  .gotomenu>*:nth-child(2) {
    padding: 0;
  }

  .gotomenu>*:nth-child(3) {
    flex-basis: 10vw;
    padding: 0;
  }

  .gotomenu .material-icons {
    margin-right: 8px;
    font-size: 32px;
  }

  #spmenu_panel {
    background-color: rgba(0, 45, 90, 0.85);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 64px;
    width: 100%;
    z-index: 19;
    overflow: auto;
    transition: all 0.4s;
  }

  .fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    overflow: hidden;
  }

  .show {
    display: block;
  }

  .hidden {
    display: none;
  }
}
