@charset "utf-8";

/* 共通設定(スマホビュー) */
/* リセットCSS: A Modern CSS Reset */
*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}

body {
  margin: 0px;
  padding: 0px;
  color: #333;
  font-size: 1em;
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", メイリオ, meiryo, sans-serif;
  border-top: #333 6px solid;
}
.pc,
.pc-only { display: none; }
.sp,
.sp-header { display: block; }
img { display: block; }

/* レイアウト */
#wrapper {
  width: 97%;
  max-width: 340px;
  margin: 0 auto;
}
/* ヘッダー */
#sp-header .logo {
  width: 55%;
  max-width: 220px;
  margin: auto 0;
}
#sp-header {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}
#gnavi-toggle-btn {
  cursor: pointer;
  width: 48px;
  height: 48px;
  background-color: #333;
  border: none;
  color: #fff;
  margin: 0 10px 0 auto;
  padding-left: 8px;
}
#gnavi-toggle-btn span,
#gnavi-toggle-btn span::before,
#gnavi-toggle-btn span::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  display: block;
  cursor: pointer;
}
#gnavi-toggle-btn span::before {
  bottom: 10px;
}
#gnavi-toggle-btn span::after {
  bottom: -10px;
}
#gnavi-toggle {
  background: rgb(21,95,228);
  background: linear-gradient(180deg, rgba(21,95,228,1) 0%, rgba(17,120,228,1) 100%);
  position: absolute;
  z-index: 1;
  top: 3rem;
  right: 0;
  overflow-x: hidden;
  text-align: center;
  width: 0;
  height: 100%;
  transition: .5s;
}
#gnavi-toggle.open-menu {
  width: 100%;
}
#gnavi-toggle ul {
  padding: 0;
}
#gnavi-toggle ul li {
  list-style: none;
  height: 4em;
  border-bottom: 1px solid #fff;
  padding: 1em;
}
#gnavi-toggle ul li:last-child {
  border-bottom: none;
}
#gnavi-toggle ul li a {
  display: block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
#gnavi-toggle ul li a:hover,
#gnavi-toggle ul li a:active {
  color: #fff;
}
/* フッター */
footer {
  width: 100%;
  align-items: center;
  background: #333;
  color: #fff;
  font-size: 0.9em;
}
#footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0 auto;
  width: 90%;
  max-width: 380px;
}
#footer-links ul {
  display: flex;
  justify-content: space-around;
  padding-left: 0;
}
footer ul li {
  list-style: none;
  margin: 0 15px;
}
footer a:link,footer a:active,
footer a:hover,footer a:visited {
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;
}
#copyright {
  width: 100%;
  padding-bottom: 10px;
  text-align: center;
}
/* アセット */
#page-title img {
  height: 90px;
  object-fit: cover;
  object-position: top left;
}
h2,h3,h4,h5 {
  margin: 20px 0;
}
h2 {
  font-size: 1.6em;
}
h3 {
  font-size: 1.2em;
}
.stripe {
  background-size: auto auto;
  background-color: rgba(255, 255, 255, 1);
  background-image: repeating-linear-gradient(135deg, transparent, transparent 2px, rgba(209, 229, 251, 1) 2px, rgba(209, 229, 251, 1) 6px );
}
h2.stripe,
h3.stripe {
  width: 98%;
  border-left: 8px #000 solid;
  padding: 0.3em 12px;
  font-weight: bold;
}
p {
  margin: 1em 3px;
}
.section-box a {
  color: #1583ea;
}
.section-box a:hover,
.section-box a:active {
  color: #fe0001;
}
.section-box a:visited {
  color: #aaa;
}
.section-box,
.bnr-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 10px;
}
.section-box p {
  width: 100%;
  margin: 0 0 0 10px;
  text-align: left;
}
.tel,.fax {
  vertical-align: bottom;
  
}
.tel::before {
  content: "Tel";
  width: 10px;
  margin-right: 2px;
  padding: 0 6px;
  background-color: #fe0001;
  color: #fff;
  font-size: 0.8em;
  font-weight: bold;
  vertical-align: middle;
}
.fax::before {
  content: "Fax";
  width: 10px;
  margin-right: 2px;
  padding: 0 4px;
  background-color: #018001;
  color: #fff;
  font-size: 0.8em;
  font-weight: bold;
  vertical-align: middle;
}
.bnr-img {
  margin: 10px 5px;
}
.bnr-img:last-child {
  padding-right: 15px;
}
iframe {
  width: 100%;
  margin: 10px 0;
}
.section-box h4 {
  width: 100%;
}
.sec-inner h4 {
  margin: 20px 0 10px 10px;
  border-bottom: #d1e5fb 1px solid;
}
h4.hoyu,
h4.souko-table-h {
  margin: 10px auto 5px 20px;
}
h4#tomakomai,
h4#asahikawa {
  width: 50%;
  margin-left: 1em;
  border-bottom: 2px solid #000;
}
.sec-table {
  width: 100%;
}
.daisu-left, .daisu-right,
.souko-table {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.daisu-left dt,.daisu-right dt,
.souko-table dt {
  width: 75%;
  height: 2em;
  margin: 0;
  padding: 5px 10px 0 0;
  background-color: #d1e5fb;
  border-bottom: 1px #fff solid;
  text-align: right;
}
.daisu-left dd,.daisu-right dd,
.souko-table dd {
  width: 25%;
  margin: 0;
  padding: 5px 10px 0 0;
  text-align: right;
  border: 1px #d1e5fb solid;
  border-bottom: none;
}
.daisu-left dt:last-child,.daisu-right dt:last-child,
.daisu-left dd:last-child,.daisu-right dd:last-child,
.souko-table dt:last-child, .souko-table dd:last-child{
  border-bottom: 1px #d1e5fb solid;
}
.souko-table dt {
  width: 40%;
}
.souko-table dd {
  width: 60%;
}
dt.souko-hinmoku {
  height: 4em;
  padding-top: 1em;
}
.fsec1-1 {
  background: url("../img/fcilities-sec1-01.jpg") right bottom no-repeat;  
}
.fsec1-2 {
  background: url("../img/fcilities-sec1-02.jpg") right bottom no-repeat;
}
.fsec1-3 {
  background: url("../img/fcilities-sec1-03.jpg") right bottom no-repeat;
}
.fsec1-4 {
  background: url("../img/fcilities-sec1-04.jpg") right bottom no-repeat;
}
.fsec1-5 {
  background: url("../img/fcilities-sec1-05.jpg") right bottom no-repeat;
}
.fsec1-6 {
  background: url("../img/fcilities-sec1-06.jpg") right bottom no-repeat;
}
.fsec1-1,.fsec1-2,.fsec1-3,
.fsec1-4,.fsec1-5,.fsec1-6 {
  background-size:150%;
  width: 100%;
  margin: 0 auto;
  max-width: 320px;
  height: 300px;
  max-height: 300px;
}
.fsec1-1 h4,.fsec1-2 h4,.fsec1-3 h4,
.fsec1-4 h4,.fsec1-5 h4,.fsec1-6 h4 {
  width: 90%;
  margin: 30px auto 10px 10px;
  color: #137ae5;
  font-size: 1.1em;
  font-weight: bold;
  border-bottom: #137ae5 1px solid;
}
.fsec1-1 p,.fsec1-2 p,.fsec1-3 p,
.fsec1-4 p,.fsec1-5 p,.fsec1-6 p {
  font-size: 1em;
  width: 90%;
  margin-left: 10px;
}
.safty-sec1 dl {
  margin-top: 15px;
}
.safty-sec1 img {
  width: 260px;
}
.copy,
.bold {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1em;
  font-weight: bold;
}
.copy {
  font-size: 1.3em;
  text-align: center;
}
.copy-s {
  font-size: 0.8em;
}
.copy-b {
  color: #137ae5;
}
.right-aligned {
  text-align: right;
}
p.top-back {
  width: 98%;
  text-align: right;
  margin: 10px auto;
}
p.top-back::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(to right, #d0e5fa 60%, #155fe4 100%);
  margin: 10px 0;
}
.top-back a {
  color: #137ae5;
  text-decoration: none;
}
#shaze {
  margin: 10px auto;
  width: 70%;
}
#greeting-footer img {
  width: 100%;
  height: 60px;
  object-fit: cover;
	object-position: right bottom;
  margin: 0;
  padding: 0;
}
#summary dl,#history dl {
  display: flex;
  flex-wrap:wrap;
  width: 98%;
  margin: 10px;
}
#summary dt {
  width: 95%;
  background-color: #d1e5fb;
  padding: 3px 10px;
  font-weight: bold;
}
#summary dd {
  width: 95%;
  padding: 3px 10px 3px 20px;
  border: 1px #d1e5fb solid;
  border-bottom: none;
}
#summary dd:last-child {
  border-bottom: 1px #d1e5fb solid;
}
#history dt {
  width: 95%;
  position: relative;
  padding-left: 1em;
  border-left: 1px solid #333;
  font-weight: bold;
}
#history dd {
  width: 95%;
  padding-left: 1.5em;
  border-left: 1px solid #333;
}
#history dt::before {
  content: "●";
  position: absolute;
  top: -0.1em;
  left: -0.5em;
  color: #137ae5;
  font-size: 1em;
}
iframe#mailform {
  width: 100%;
  height: 900px;
  border: none;
}

/* タブレットビュー */
@media screen and (min-width:768px)  { 
  body {
    background: rgb(216,255,255);
    background: linear-gradient(180deg, rgba(216,255,255,1) 0%, rgba(225,255,240,1) 30%, rgba(255,255,255,1) 80%);
    border-top: 6px solid #333;
  }
  .pc,
  .sp-header { display: block; }
  .sp,
  .pc-only { display: none; }

  /* レイアウト */
  #wrapper {
    max-width: 700px;
    background: #fff;
  }
  #main-contents {
    width: 75%;
    margin: 0 auto;
  }
  /* ヘッダー */
  #sp-header .logo {
    margin: auto 1em;
  }
  #gnavi-toggle.open-menu {
    width: 100%;
  }
  #gnavi-toggle ul li {
    text-align: center;
  }
  /* フッター */
  #footer-wrapper {
    width: 100%;
    max-width: 700px;
  }
  #footer-links {
    width: 60%;
    margin: 0;
  }
  #copyright {
    width: 100%;
    padding-bottom: 20px;
  }
  /* アセット */
  #page-title img {
    margin: 0 auto;
  }
  .section-box {
    width: 100%;
    margin: 20px 0;
    justify-content: space-around;
  }
  .sec-img {
    width: 50%;
  }
  .sec-inner {
    width: 50%;
  }
  .sec-inner h4 {
    margin: 0 0 10px 10px;
  }
  .bnr-box {
    display: flex;
    flex-wrap: nowrap;
  }
  iframe {
    width: 100%;
    height: 200px;
    margin: 20px auto;
  }
  h4.hoyu {
    margin-left: 45%;
  }
  h4.col2-table {
    margin: 10px auto 5px 20%;
  }
  .sec-table {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 0 0 auto; 
  }
  .daisu-right {
    width: 70%;
    margin: 0 0 0 auto;
  }
  .daisu-left, .col2-table .daisu-right {
    width: 50%;
  }
  .fsec1-1,.fsec1-2,.fsec1-3,
  .fsec1-4,.fsec1-5,.fsec1-6 {
    background-size:100%;
    width: 100%;
    max-width: 700px;
    height: 240px;
  }
  .fsec1-1 h4,.fsec1-2 h4,.fsec1-3 h4,
  .fsec1-4 h4,.fsec1-5 h4,.fsec1-6 h4 {
    border-bottom: none;
    position: relative;
    top: 96px;
  }
  .fsec1-1 p,.fsec1-2 p,.fsec1-3 p,
  .fsec1-4 p,.fsec1-5 p,.fsec1-6 p {
    position: relative;
    top: 90px;
    font-size: 0.9em;
  }
  .fsec1-1 p {
    width: 230px;
  }
  .fsec1-2 p {
    width: 250px;
  }
  .fsec1-3 p,.fsec1-4 p,
  .fsec1-5 p,.fsec1-6 p {
    width: 180px;
  }
  .safty-sec1 .sec-inner {
    width: 100%;
  }
  .safty-sec1 dl {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: flex-start;
    padding: 10px;
  }
  .safty-sec-dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    
    width: 48%;
  }
  
  #greeting-footer img {
    height: 130px;
  }
  #summary,#history {
    width: 100%;
  }
  #summary dt {
    width: 20%;
    border-bottom: 1px #fff solid;
  }
  #summary dd {
    width: 75%;
    padding: 3px 10px;
  }
  #history dt {
    width: 25%;
  }
  #history dd {
    width: 75%;
    padding-left: 0.3em;
    padding-bottom: 10px;
    border-left: none;
  }
  #history dt::before {
    top: -0.1em;
    left: -0.6em;
  }
}


/* ＰＣビュー */
@media all and (min-width: 960px) {
  .pc,
  .pc-only { display: block; }
  .sp,
  #sp-header { display: none; }

  /* レイアウト */
  #wrapper {
    max-width: 960px;
  }
  #page-title {
    margin-bottom: 0;
  }
  #page-title img {
    height: 135px;
  }
  #main-contents {
    width: 60%;
  }
  
  /* ヘッダー */
  #header-top {
    display: flex;
    justify-content: space-between;
  }
  #header-top .logo {
    margin: 3px 40px;
  }
  #header-top .logo p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75em;
  }
  #header-top .logo h1 {
    height: 50px;
    font-weight: 900;
  }
  #header-top .logo h1::before {
    content: "";
    background: url("../img/logo.svg") no-repeat;
    width: 60px;
    height: 30px;
    display: inline-block;
    margin: 1px 3px;
  }
  #header-top .logo h1 #logo-s {
    font-size: 0.8em;
    font-weight: 900;
  }
  h1 {
    font-size: 1.5em;
  }
  #header-top .logo a {
    color: #333;
    text-decoration: none;
  }
  #header-rightside {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    margin: 8px 40px;
  }
  #header-adress {
    border-bottom: 1px #000 solid;
    width: auto;
    text-align: justify;
  }
  #header-telfax {
    display: flex;
  }
  #header-tel,#header-fax {
    vertical-align: bottom;
  }
  #header-tel::before {
    content: "Tel";
    width: 10px;
    margin-right: 2px;
    padding: 0 6px;
    background-color: #fe0001;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    vertical-align: middle;
  }
  #header-fax::before {
    content: "Fax";
    width: 10px;
    margin-right: 2px;
    padding: 0 4px;
    background-color: #018001;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    vertical-align: middle;
  }
  .logo p,
  p#header-adress {
    margin-bottom: 0;
  }
  #header-telfax p {
    margin-top: 0;
  }
  #gnavi-menu {
    width: 100%;
    background: linear-gradient(to bottom, #155fe4, #1178e4);
    margin: 0;
    padding: 0;
  }
  #gnavi-menu ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px;
    text-align: center;
  }
  #gnavi-menu ul li {
    display: block;
    width: 100%;
    height: 100%;
    list-style: none;
    border-right: 1px solid #fff;
    padding: 15px;
  }
  #gnavi-menu ul li:nth-child(5) {
    width: 100%;
    padding: 0.5em 15px;
    font-size: 0.9em;
  }
  #gnavi-menu ul li:last-child{
    border-right: none;
    margin-right: 50px;
  }
  #gnavi-menu ul li a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 1em 0;
  }
  #gnavi-menu ul li:hover,
  #gnavi-menu ul li:active{
    background: linear-gradient(to bottom, #1178e4,#155fe4);
  }
  /* サイドメニュー */
  #contents-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
  }
  #sidebar {
    margin: 0 10px 0 40px;
    width: 250px;
  }
  #sidebar ul {
    margin: 0;
    padding: 0;
  }
  #sidebar ul li {
    height: 70px;
    list-style: none;
    border-left: 10px solid #000;
  }
  #sidebar ul li a {
    display: block;
    height: 70px;
    padding: 15px;
    border-top: 1px solid #d0e5fa;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    background: linear-gradient(to bottom, #155fe4, #1178e4);
  }
  #sidebar ul li a:hover,
  #sidebar ul li a:active {
    background: linear-gradient(to bottom, #1178e4,#155fe4);
  }
  #sidebar img {
    width: 100%;
    margin: 50px auto;
  }
  /* フッター */
  #footer-wrapper {
    flex-wrap: nowrap;
    width: 90%;
    max-width: 960px;
  }
  #footer-links {
    width: 50%;
    margin: 0;
  }
  #copyright {
    width: 50%;
    margin-top: 1em;
    padding-bottom: 0;
  }
  /* アセット */
  #greeting-footer img {
    width: 100%;
    max-width: 960px;
    height: auto;
    margin: auto;
  }
  #history dt::before {
    left: -0.3em;
    font-size: 1.5em;
  }
  .safty-sec1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .safty-sec1 .sec-inner {
    width: 65%;
  }
  .safty-sec1 dl {
    flex-wrap: wrap;
    align-content: flex-start;
    width: 33%;
    margin: 0 0 0 5px;
  }
  .safty-sec-dl{
    width: 100%;
  }
  .safty-sec-dl dt {
    font-size: 0.9em;
  }

}