@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&display=swap");

:root {
  --base-color: #c52d70;
  --base-color-rgb: 197,45,112;
  --text-color: #203449;
  --font-gothic: "M PLUS Rounded 1c",
    "Hiragino Maru Gothic ProN",
    "HG丸ｺﾞｼｯｸM-PRO",sans-serif;
  --font-en: var(--font-gothic);
  --font-marugothic: var(--font-gothic);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #203449;
  font-family: var(--font-gothic) !important;
  font-size: 18px;
  line-height: 1.95;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
  word-break: normal;
}

h1,h2,h3,h4,h5,h6,
a,p,li,dt,dd,th,td,
button,input,textarea,select {
  font-family: var(--font-gothic) !important;
}

h1,h2,h3,h4,p,ul,ol,figure {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

iframe {
  max-width: 100%;
}

a {
  color: #086f98;
  text-underline-offset: 4px;
}

a:hover {
  color: #b02363;
}

a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #087da8;
  outline-offset: 4px;
}

#container {
  width: 100%;
}

#container .inner,
#content,.pageTtl,#pnkz {
  width: calc(100% - 80px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ステーション名 */
header {
  width: calc(100% - 80px);
  max-width: 1200px;
  min-width: 0;
  min-height: 138px;
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fff;
}

header #siteTtl {
  display: block;
  flex: 1;
  width: auto;
  min-width: 0;
  font-size: clamp(28px,2.8vw,42px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .015em;
}

header #siteTtl a {
  display: inline-block;
  padding: 7px 0 13px;
  border-bottom: 5px solid #d4377c;
  color: #203449;
  text-decoration: none;
}

header #siteTtl img {
  width: auto;
  max-width: 100%;
  max-height: 90px;
  height: auto;
}

header .headNav {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  padding: 0;
  list-style: none;
  letter-spacing: normal;
}

header .headNav li {
  margin: 0;
  list-style: none;
}

header .headNav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 22px;
  border: 1px solid #bdddea;
  border-radius: 28px;
  background: #e6f6fc;
  color: #185475;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

header .headNav li.contactNav a {
  background: #c52d70;
  border-color: #c52d70;
  color: #fff;
}

header .headNav a:hover {
  opacity: .85;
}

/* メニュー */
#mainNav {
  position: relative;
  z-index: 20;
  margin-bottom: 32px;
  border-top: 4px solid #199bc8;
  border-bottom: 1px solid #b7dfea;
  background: #e6f6fc;
}

#mainNav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#mainNav #nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  letter-spacing: normal;
}

#mainNav li.parent {
  position: relative;
  flex: 1;
  min-width: 0;
  list-style: none;
  border-right: 1px solid #c3e3ee;
}

#mainNav li.parent:last-child {
  border-right: none;
}

#mainNav li.parent > a {
  display: flex;
  height: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  padding: 18px 15px;
  color: #203449;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}

#mainNav li.parent:hover > a,
#mainNav li.parent:focus-within > a {
  background: #c8eaf7;
  color: #075e83;
}

#mainNav .child {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  width: 290px;
  padding: 10px;
  border: 1px solid #d5e5ed;
  border-radius: 0 0 16px 16px;
  background: #fff;
  box-shadow: 0 12px 25px #2034491a;
  text-align: left;
}

#mainNav li.parent:hover > .child:not(:empty),
#mainNav li.parent:focus-within > .child:not(:empty) {
  display: block;
}

#mainNav .child:empty {
  display: none !important;
}

#mainNav li.parent:last-child .child {
  left: auto;
  right: 0;
}

#mainNav .child a {
  display: block;
  padding: 14px;
  border-radius: 8px;
  color: #203449;
  font-size: 16px;
  line-height: 1.7;
  text-decoration: none;
}

#mainNav .child a:hover {
  background: #fff0f6;
  color: #b02363;
}

/* メイン画像 */
.mainSlideIn {
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: 0 auto 64px;
}

#mainSlide {
  margin: 0;
  padding: 0;
  list-style: none;
}

#mainSlide li {
  position: relative;
  height: clamp(320px,36vw,460px) !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #eef5f8;
  list-style: none;
}

#mainSlide li img {
  position: absolute;
  top: 0 !important;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

.mainSlideIn .bx-wrapper {
  margin: 0 auto 45px;
}

.mainSlideIn .bx-wrapper .bx-viewport {
  left: 0;
  border: none;
  border-radius: 22px;
  background: #eef5f8;
  box-shadow: none;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  width: 11px;
  height: 11px;
  margin: 0 7px;
  border-radius: 50%;
  background: #b8d5e0;
}

.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:hover {
  background: #c52d70;
}

.mainSlideIn .bx-wrapper .bx-controls-direction a {
  top: 50%;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-radius: 50%;
  background: #203449cc;
  text-indent: -9999px;
}

.mainSlideIn .bx-wrapper .bx-prev {
  left: 15px;
}

.mainSlideIn .bx-wrapper .bx-next {
  right: 15px;
}

.mainSlideIn .bx-wrapper .bx-prev::after,
.mainSlideIn .bx-wrapper .bx-next::after {
  content: "";
  position: absolute;
  top: 15px;
  width: 11px;
  height: 11px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.mainSlideIn .bx-wrapper .bx-prev::after {
  left: 17px;
  transform: rotate(-135deg);
}

.mainSlideIn .bx-wrapper .bx-next::after {
  right: 17px;
  transform: rotate(45deg);
}

/* 本文 */
#content {
  display: grid;
  grid-template-columns: minmax(0,1fr) 250px;
  gap: 44px;
  align-items: start;
  margin-bottom: 80px;
}

#content::before,
#content::after {
  display: none;
}

#main,#side {
  float: none;
  width: auto;
  min-width: 0;
}

#top #side {
  padding-top: 0;
}

/* 新着情報 */
#news {
  padding: 28px 30px;
  margin-bottom: 48px;
  border-top: 4px solid #199bc8;
  border-radius: 18px;
  background: #e6f6fc;
}

#news .contTtl {
  padding-bottom: 16px;
  border-bottom: 1px solid #add6e7;
  color: #155e80;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.6;
}

#news ul {
  max-height: 280px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
}

#news ul li {
  position: static;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #bedfea;
  font-size: 17px;
  line-height: 1.9;
  list-style: none;
}

#news ul .day {
  position: static;
  flex: 0 0 110px;
  width: auto;
  color: #155a7b;
  font-size: 16px;
  font-weight: 700;
}

/* 丸みのある見出し */
.articleBox {
  margin-bottom: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid #dce5ec;
}

.articleBox::after {
  content: "";
  display: block;
  clear: both;
}

#main .articleBox .contTtl {
  margin-bottom: 26px;
  padding: 12px 20px;
  border: none;
  border-radius: 16px;
  background: #fff0f6;
  color: #a92761;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .025em;
}

#main .articleBox:nth-child(even) .contTtl {
  background: #e6f6fc;
  color: #155e80;
}

.articleBox .txtArea {
  float: left;
  width: calc(100% - 310px);
  font-size: 19px;
  font-weight: 400;
  line-height: 2;
}

.articleBox.noImg .txtArea {
  float: none;
  width: 100%;
}

.articleBox .txtArea p {
  margin-bottom: 1.3em;
}

.articleBox .txtArea p:last-child {
  margin-bottom: 0;
}

.articleBox .txtArea strong {
  font-weight: 700;
}

.articleBox .imgArea {
  float: right;
  width: 280px;
}

.articleBox figure {
  margin: 0 0 20px;
}

.articleBox figure img {
  border-radius: 16px;
}

.articleBox figcaption {
  padding-top: 10px;
  font-size: 15px;
  line-height: 1.8;
}

.articleBox ul,
.articleBox ol {
  padding-left: 1.5em;
  margin: 18px 0;
}

.articleBox li {
  margin-bottom: 8px;
}

.articleBox table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.articleBox table th,
.articleBox table td {
  padding: 16px;
  border: 1px solid #c9dce6;
  text-align: left;
}

.articleBox table th {
  background: #e6f6fc;
}

/* お問い合わせ */
.contactBtn {
  width: 480px;
  max-width: 100%;
  margin: 46px auto;
}

.contactBtn a {
  display: block;
  padding: 23px 28px;
  border: none;
  border-radius: 40px;
  background: #c52d70;
  color: #fff;
  box-shadow: 0 8px 20px #c52d7026;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}

.contactBtn a:hover {
  background: #a22059;
  color: #fff;
}

/* サイド案内 */
#side #leadTxt {
  margin-bottom: 34px;
  padding: 25px;
  border-top: 4px solid #d4377c;
  border-radius: 18px;
  background: #fff0f6;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
}

#side .sideTtl {
  padding: 0 0 14px;
  border-bottom: 2px solid #199bc8;
  color: #155e80;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

#sideCont,#side #blog,#side #mobile {
  margin-bottom: 36px;
}

#sideCont ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sideCont ul li {
  border-bottom: 1px solid #cddfe8;
  list-style: none;
}

#sideCont ul li a {
  display: block;
  padding: 21px 12px;
  color: #203449;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

#sideCont ul li a:hover {
  background: #e6f6fc;
}

#side #mobile figure {
  padding: 24px 14px;
  text-align: center;
}

#side #mobile figure img {
  width: 110px;
  height: 110px;
}

#side #mobile figcaption {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

#side #blog dl {
  margin: 0;
}

#side #blog dt {
  padding: 18px 0 4px;
  font-size: 15px;
}

#side #blog dd {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #d5e2e9;
  font-size: 16px;
}

#side #blog .btn a {
  display: block;
  margin-top: 16px;
  padding: 12px;
  border-radius: 20px;
  background: #087da8;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

/* 各ページ */
.pageTtl {
  margin-top: 12px;
  margin-bottom: 22px;
  padding: 40px 25px;
  border: none;
  border-radius: 20px;
  background: #e6f6fc;
}

.pageTtl h2 {
  color: #155e80;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

#pnkz {
  margin-bottom: 42px;
  padding: 0;
  font-size: 15px;
  text-align: right;
  list-style: none;
}

#pnkz li {
  display: inline;
}

#pnkz li::after {
  content: "›";
  margin: 0 12px;
}

#pnkz li:last-child::after {
  content: none;
}

.mainImgIn {
  margin-bottom: 35px;
}

.mainImgIn .inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}

.mainImgIn #mainImg {
  flex: 0 1 365px;
}

.mainImgIn #leadTxt {
  flex: 1;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
}

/* 法人概要・地図・フォーム */
#main.profile table,
#main.map table,
#main.form table {
  width: 100%;
  margin-bottom: 40px;
  border-collapse: collapse;
  font-size: 18px;
  line-height: 1.9;
}

#main.profile table th,
#main.profile table td,
#main.map table th,
#main.map table td,
#main.form table th,
#main.form table td {
  padding: 22px 18px;
  border-top: 1px solid #ccdde7;
  border-bottom: 1px solid #ccdde7;
  text-align: left;
  vertical-align: top;
}

#main.profile table th,
#main.map table th,
#main.form table th {
  width: 28%;
  background: #e6f6fc;
  font-weight: 700;
}

#main.profile .txtBox,
#main.map .txtBox,
#main.form .txtBox,
.freeArea {
  margin-bottom: 36px;
  font-size: 19px;
  line-height: 2;
}

.txtBox p {
  margin-bottom: 24px;
}

#main.map #frame {
  margin-bottom: 38px;
}

#main.map #frame iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 16px;
}

#main.form .requiredMark {
  color: #b51f56;
}

#main.form .inputArea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #a9c4d4;
  border-radius: 10px;
  background: #fff;
}

#main.form .inputArea.short {
  width: 200px;
  max-width: 100%;
  display: inline-block;
}

#main.form .inputArea input,
#main.form .inputArea textarea {
  width: 100%;
  border: none;
  background: transparent;
  color: #203449;
  font-size: 18px;
  line-height: 1.7;
}

#main.form .inputArea textarea {
  min-height: 200px;
  resize: vertical;
}

#main.form #submit td {
  padding-top: 30px;
  text-align: center;
}

#main.form #submit input {
  display: inline-block;
  width: 220px;
  max-width: 45%;
  margin: 8px;
  padding: 17px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

#main.form #submit .submitBtn {
  background: #c52d70;
  color: #fff;
}

#main.form #submit .resetBtn {
  background: #e4edf2;
  color: #203449;
}

/* 住所・フッター */
#foot-area {
  margin-top: 36px;
  padding: 30px 34px;
  border-top: 4px solid #199bc8;
  border-radius: 18px;
  background: #e6f6fc;
  color: #203449;
  font-size: 18px;
  line-height: 1.9;
}

#foot-area > div:first-child {
  font-weight: 700;
}

#foot-area > div:nth-child(2) {
  margin-bottom: 14px;
  color: #155e80;
  font-size: 23px;
  font-weight: 700;
}

#foot-area img,#side-area img {
  max-width: 100%;
  height: auto;
}

footer {
  padding: 32px 24px;
  border-top: 5px solid #d4377c;
  background: #203449;
}

footer .copy {
  width: auto;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

#pageTop {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 100;
  display: none;
}

#pageTop a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #203449;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

#pageTop a:hover {
  background: #c52d70;
}

@media screen and (max-width:1100px) {
  header {
    flex-wrap: wrap;
    gap: 20px;
  }

  header #siteTtl {
    flex-basis: 100%;
    font-size: 36px;
  }

  header .headNav {
    margin-left: auto;
  }

  #mainNav li.parent > a {
    padding: 16px 10px;
    font-size: 16px;
  }

  #content {
    grid-template-columns: minmax(0,1fr) 220px;
    gap: 28px;
  }

  .articleBox .txtArea,
  .articleBox .imgArea {
    float: none;
    width: 100%;
  }

  .articleBox .imgArea {
    margin-top: 25px;
  }
}

@media screen and (max-width:800px) {
  header,#container .inner,
  #content,.pageTtl,#pnkz,.mainSlideIn {
    width: calc(100% - 40px);
  }

  #content {
    grid-template-columns: minmax(0,1fr);
  }

  header #siteTtl {
    font-size: 30px;
  }

  #mainNav #nav {
    flex-wrap: wrap;
  }

  #mainNav li.parent {
    flex: 1 1 30%;
  }

  #mainNav .child {
    width: 240px;
  }

  #news ul li {
    display: block;
  }

  #news ul .day {
    display: block;
    margin-bottom: 6px;
  }

  .mainImgIn .inner {
    display: block;
  }

  .mainImgIn #leadTxt {
    margin-top: 20px;
  }
}