@charset "UTF-8";
@import url("reset.css");
@import url("../font/style.css");
html.open, body.open {
  overflow: hidden;
  -ms-overflow-style: none;
  /* IE, Edge 対応 */
  scrollbar-width: none;
  /* Firefox 対応 */
}

html.open::-webkit-scrollbar, body.open::-webkit-scrollbar {
  /* Chrome, Safari 対応 */
  overflow: hidden;
  display: none;
}

body {
  color: #595757;
  font-size: 16px;
  font-family: sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 26px;
  letter-spacing: 1px;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0;
}

.nobr {
  display: none;
}

a {
  color: #3d3732;
  text-decoration: none;
}

a:hover, a:focus {
  color: #dd0000;
  text-decoration: underline;
}

img {
  vertical-align: bottom;
}

hr {
  border-bottom: 1px solid #909090;
  margin: 30px 0;
}

.red {
  color: #dd0000;
}

.bold {
  font-weight: bold;
}

.line {
  text-decoration: underline;
}

.bg_white {
  background-color: #ffffff;
}

.fs_14 {
  font-size: 14px;
}

.fs_16 {
  font-size: 16px;
}

.fs_18 {
  font-size: 18px;
}

.fs_20 {
  font-size: 20px;
}

.ma {
  margin: auto !important;
}

.mt_10 {
  margin-top: 10px;
}

.mt_50 {
  margin-top: 50px;
}

.mt_60 {
  margin-top: 60px;
}

.mb_10 {
  margin-bottom: 10px;
}

.mb_20 {
  margin-bottom: 20px;
}

.mb_30 {
  margin-bottom: 30px;
}

.mb_50 {
  margin-bottom: 50px;
}

.mb_60 {
  margin-bottom: 60px;
}

.pt_10 {
  padding-top: 10px;
}

.pt_20 {
  padding-top: 20px;
}

.pt_30 {
  padding-top: 30px;
}

.pt_60 {
  padding-top: 60px;
}

.pb_1 {
  padding-bottom: 1px;
}

.pb_10 {
  padding-bottom: 10px;
}

.pb_20 {
  padding-bottom: 20px;
}

.pb_30 {
  padding-bottom: 30px;
}

.pb_60 {
  padding-bottom: 60px;
}

.pl_20 {
  padding-left: 20px;
}

.text_center {
  text-align: center;
}

.text_right {
  text-align: right;
}

/*
.btn {
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 2px;
    width: fit-content;
    padding: 15px 30px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #253e7f;
    &:hover,
    &:focus {
        color: #ffffff;
        background-color: #dd0000;
        text-decoration: none;
    }
    span {
        margin-left: 20px;
    }
}
*/
.btn {
  color: #253e7f;
  font-size: 18px;
  font-family: ibm-plex-sans-jp, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 2px;
  width: 360px;
  margin: 0 auto;
  padding: 15px 30px;
  border: 3px solid #253e7f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  -webkit-transition: height 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.btn::after {
  background-color: #253e7f;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: left top;
  transform-origin: left top;
  -webkit-transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.btn:hover, .btn:focus {
  color: #fff;
  text-decoration: none;
  border: 3px solid #8995b6;
}

.btn:hover::after, .btn:focus::after {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: -webkit-fill-available;
  -webkit-transition: margin-left 0.3s ease, width 0.3s ease;
  transition: margin-left 0.3s ease, width 0.3s ease;
}

header h1 {
  padding-bottom: 40px;
}

header h1 img {
  display: block;
  width: 158px;
  margin: auto;
}

header .vessel {
  height: 100%;
  padding: 40px 50px;
  overflow: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  scrollbar-width: none;
  scrollbar-base-color: #fff;
  scrollbar-arrow-color: #fff;
  background-color: #fff;
}

header .vessel::-webkit-scrollbar {
  width: 2px;
}

header .vessel::-webkit-scrollbar-track {
  background: transparent;
}

header .vessel::-webkit-scrollbar-thumb {
  background: #fff;
}

header nav .main,
header nav .sub {
  letter-spacing: 2px;
}

header nav .main li a,
header nav .sub li a {
  display: block;
}

header nav .main li a:hover, header nav .main li a:focus,
header nav .sub li a:hover,
header nav .sub li a:focus {
  color: #dd0000;
  text-decoration: none;
}

header nav .main li a:hover span, header nav .main li a:focus span,
header nav .sub li a:hover span,
header nav .sub li a:focus span {
  color: #dd0000;
  text-decoration: none;
}

header nav .main li a span,
header nav .sub li a span {
  color: #253e7f;
  margin-right: 5px;
}

header nav .main {
  font-size: 18px;
  padding: 20px 0;
  border-top: 1px solid #909090;
}

header nav .main li {
  padding: 0 0 5px 10px;
}

header nav .main li:last-child {
  padding: 0 0 0 10px;
}

header nav .sub {
  font-size: 14px;
  padding: 10px 0;
  border-top: 1px solid #909090;
  border-bottom: 1px solid #909090;
}

header nav .sub li {
  padding: 0;
}

header .tel {
  margin-top: 20px;
  text-align: center;
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  line-height: 30px;
  letter-spacing: 0;
}

header .tel a {
  color: #253e7f;
  font-size: 40px;
  font-family: alternate-gothic-no-3-d, sans-serif;
}

header .tel a:hover, header .tel a:focus {
  color: #dd0000;
}

header .tel span:last-child {
  line-height: 20px;
}

.s_header {
  display: none;
}

.s_header-btn.on {
  background-color: #253e7f !important;
}

.s_header-btn:hover {
  background-color: #dd0000;
}

.s_header button {
  border: none;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 40px;
  line-height: 0;
  display: none;
  background-color: #253e7f;
  width: 90px;
  height: 90px;
  color: #fff;
  border-radius: 6px 0 0 6px;
}

main {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin-left: 320px;
  position: relative;
}

main section {
  width: 100%;
  max-width: 900px;
  padding: 0;
  margin: 0 auto;
}

.footer {
  width: 100%;
  padding: 60px 0;
  background-color: #f2f2f3;
}

.footer_box {
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.footer_box-img {
  width: 90px;
  margin-right: 30px;
}

.footer_box-img img {
  width: 100%;
}

.footer_box-text {
  font-size: 13px;
  line-height: 18px;
}

.footer_box-text small {
  padding-top: 30px;
  display: block;
}

@media screen and (max-width: 1024px) {
  body {
    display: block;
  }
  .nobr {
    display: block;
  }
  header {
    margin-left: -320px;
    z-index: 1;
    height: 100vh;
  }
  header h1 {
    width: 300px;
    margin: 0 auto;
    display: block;
  }
  header h1 img {
    width: 100%;
  }
  header.open {
    width: calc(100% - 120px);
    position: fixed;
    margin-left: 0;
    -webkit-box-shadow: 0 0 8px gray;
            box-shadow: 0 0 8px gray;
  }
  .s_header {
    display: block;
    margin: 40px 0;
    width: 100%;
    height: 90px;
    position: relative;
    display: -ms-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .s_header-logo {
    position: relative;
    z-index: -1;
  }
  .s_header-btn {
    position: absolute;
    right: 0;
    top: 0;
  }
  .s_header-btn img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .s_header-btn-text {
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    margin-top: 15px;
  }
  .s_header button {
    display: -ms-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  main {
    margin: 0;
  }
  main section {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  header.open {
    width: calc(100% - 90px);
  }
  header h1 {
    width: 200px;
  }
  header .vessel {
    padding: 40px;
  }
  .s_header {
    height: 70px;
  }
  .s_header-btn-text {
    font-size: 11px;
    margin-top: 11px;
  }
  .s_header button {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }
}

@media screen and (max-width: 640px) {
  .btn {
    width: calc(100% - 40px);
  }
  .footer_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: calc(100%);
    padding: 0 20px;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .footer_box-img {
    margin: 0 0 30px 0;
  }
}
