@charset "utf-8";

* {
  box-sizing: border-box;
  padding: 0;

}

html {
  color: #222;
  margin: 0 auto;

  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  color: #3e3a39;
  font-family: "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500;
}

.modal {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.671);
  display: none;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 100;
}

.modal button {
  aspect-ratio: 1 / 1;
  color: rgba(255, 255, 255, 0.795);
  font-size: 2rem;
  font-weight: 2000;
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3rem;
}

.modal .content {
  align-items: center;
  display: flex;
  height: 90%;
  justify-content: center;
  width: 90%;
}

.content img {
  object-fit: contain;
  max-height: 100%;
  width: 90%;
}


table {
  text-align: left;
}

select {
  width: fit-content !important;
}

li {
  list-style: none;

}

img {
  border: 0;
  height: auto;
  object-fit: contain;
  width: 100%;
}

h1 {
  border-bottom: 6px solid #094;
  position: relative;
  padding: 1rem 2rem;
  margin: 0;
  padding: 0.67em 0;
}

h1:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: #00cc5b;
}

hr {
  border: 2px solid #0AC817;
}

a {
  text-decoration: none;
  color: #000000;
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  text-decoration: none;
}

button {
  background-color: transparent;
  border: none;
}

a,
button {
  border-radius: 10px;
  transition: 0.2s;
}

.screen_transition {
  margin-top: 1%;
}

.screen_transition a {
  display: inline;
  color: #0AC817;
  font-size: 1rem;
  text-decoration: underline;
}

.screen_transition a:hover {
  opacity: 0.7;
}

.title {
  position: relative;
}

.title,
.logo {
  text-align: center;
}

.logo img {
  width: 80px;
}

.logo a:hover {
  opacity: 0.7;
}

.container {
  margin: 0 auto;
  width: 90%;
}

/* 真ん中に重ねる要素 */
.position {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.none_position {
  display: none;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
}

.header .logo {
  align-items: center;
  display: flex;
  padding-left: 3%;
  width: 12%;
}

.header .h_menu {
  align-items: center;
}

.header .logo a img {
  max-width: 100px;
  width: 70%;
}

.header .h_menu ul {
  display: flex;
  justify-content: end;
}

.header .h_menu li {
  margin-top: auto;
  padding-right: 1.7rem;
}

.hm {
  display: none;
}

h2 {
  font-size: 3rem;
  font-weight: normal;
  text-align: center;
}

h3 {
  font-size: 1rem;
}

/* ハンバーガーメニュー */
/* Navbar & Navmenu color */
:root {
  --background-navbar: rgba(55, 55, 55, 0.98);
}

/* Navbar Container */
.navtext-container {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 52px;
  justify-content: space-around;
  position: absolute;
  width: 100%;
}

/* Navbar Text */
.navtext {
  color: #ddd;
  font-size: 28px;
  letter-spacing: 4px;
  position: relative;
  text-transform: uppercase;
}

.menu-btn,
.menu-icon,
.ham_menu {
  display: none;
  z-index: 998;
}

.menu {
  display: flex;
  justify-content: end;
}

.menu li {
  margin-top: auto;
  padding-right: 1.7rem;
}



/* ハンバーガーメニューを表示 */
.menu-btn,
.menu-icon,
.ham_menu {
  display: inline-block;
}

/* Nav items */
.ham_menu {
  background: var(--background-navbar);
  clear: both;
  display: flex;
  flex-direction: column;
  height: auto;
  left: 0;
  list-style: none;
  margin-top: 0px;
  padding: 20px 60px;
  position: fixed;
  top: 0;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  transform: scale(1, 0);
  transform-origin: top;
  width: 100%;
}

/* Hamburger menu button */
.menu-btn:checked~.ham_menu {
  transform: scale(1, 1);
  transform-origin: top;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/* Hamburger menbu text */
.ham_menu a {
  color: white;
  display: block;
  font-size: 1rem;
  letter-spacing: 0.2rem;
  opacity: 0;
  padding-bottom: 15px;
  padding-top: 15px;
  text-transform: capitalize;
  transition: 0.5s;
  width: 100%;
}

.ham_menu li {
  border-bottom: 1.5px solid rgb(75, 75, 75);
}

.menu-btn:checked~.ham_menu a,
.menu-btn:checked~.ham_menu li {
  opacity: 1;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
  display: none;
}

.menu-icon {
  display: none;
}

.navicon {
  background: white;
  display: block;
  height: 3px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  width: 26px;
}

.navicon:before,
.navicon:after {
  background: white;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  width: 100%;
}

.navicon:before {
  top: 9px;
}

.navicon:after {
  bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked~.menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked~.menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
  top: 0;
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
  bottom: 0;
}

.menu-btn:checked~.menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/* Hamburger Menu Animation End */
/* ハンバーガーメニューのレスポンシブ表示 */
.hm {
  display: none;
}

/* サイドバー */
.main-frame {
  display: flex;
}

.right-content {
  z-index: 999;
}

.left-content {
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1080px;
  width: 88%;
}

.fix-btn {
  display: flex;
  position: fixed;
  right: 0;
  top: 90px;
  writing-mode: vertical-rl;
}

.fix-btn a {
  background-color: black;
  border-radius: 20px 5px 5px 20px;
  margin-bottom: 1rem;
  padding: 3rem 0.6rem;
}

.fix-item {
  color: white;
}

/* フッター */
footer {
  margin-top: 3rem;
}

footer img {
  max-width: 110px;
}

.footer {
  display: flex;
  justify-content: space-evenly;
  padding: 3% 6% 1% 6%;
}

.footer .address {
  letter-spacing: 0.1rem;
  width: 40%;
}

.footer .f_menu {
  display: flex;
  justify-content: space-evenly;
  width: 60%;
}

.footer_li_1,
.footer_li_2 {
  width: 30%;
}

.footer_li_1 li,
.footer_li_2 li {
  padding-bottom: 5px;
}

footer h3 {
  margin: 0;
}

/* under margin */
.under2 {
  margin-bottom: 2rem;
}

.under3 {
  margin-bottom: 3rem;
}

.under4 {
  margin-bottom: 4rem;
}

.under5 {
  margin-bottom: 5rem;
}



/* 背景色 */

.gray {
  background-color: #eeeeee;
}

/* ホバー時の動作 */
.line,
.hm_line {
  padding-bottom: 5px;
  position: relative;
}

.line::before,
.hm_line:hover::before {
  background: gray;
  bottom: 0;
  content: '';
  height: 2px;
  left: 0;
  margin: auto;
  position: absolute;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
  width: 100%;
}

.swiper-slide:hover .line::before,
.line:hover::before,
.hm_line:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

img {
  border: 0;
  height: auto;
  object-fit: contain;
  width: 100%;
}

address {
  font-style: normal;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
}

/* フッター */
footer {
  margin-top: 3rem;
}

footer img {
  max-width: 110px;
}

.footer {
  display: flex;
  justify-content: space-evenly;
  padding: 3% 6% 1% 6%;
}

.footer .address {
  letter-spacing: 0.1rem;
  width: 40%;
}

.footer .f_menu {
  display: flex;
  justify-content: space-evenly;
  width: 60%;
}

.footer_li_1,
.footer_li_2 {
  width: 30%;
}

.footer_li_1 li,
.footer_li_2 li {
  padding-bottom: 5px;
}

footer h3 {
  margin: 0;
}


/* ヘルパークラス */
.center {
  text-align: center;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

.dis-blo {
  display: block;
}

.dis-inblo {
  display: inline-block;
}

/*一時的非表示*/
.scr-hid {
  visibility: hidden;
}

/*選択時のテキストシャドウを削除*/
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*ギャップを削除 audio, canvas, iframes, images, videos https://github.com/h5bp/html5-boilerplate/issues/440*/
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*fieldset のデフォルトスタイルを削除*/
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*テキストエリアのY方向の自動リサイズを許可*/
textarea {
  resize: vertical;
}

/*Clearfix: floatの解除用*/
.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* サブ画面のタイトルロゴ */
.title_logo {
  margin-top: 0.5rem;
}

/* スワイパー */
.swiper {
  width: 100%;
}

.swiper-wrapper {
  width: 1vh;
  align-items: center;
}

.swiper-slide {
  border-radius: 10%;
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
}

.swiper-slide p {
  left: 50%;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.swiper-slide a {
  background-color: #ffffff;
  border-radius: 10%;
  display: block;
  height: 100%;
  width: 100%;
}

/* スワイパー_左の矢印カスタマイズ */
.swiper-button-prev:after {
  content: "";
  /*デフォルトの矢印を上書き*/
  border: 0;
  border-right: solid 0.2rem #ffffff;
  border-top: solid 0.2rem #ffffff;
  bottom: 0;
  height: 1.1rem;
  left: 5px;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 1.1rem;
}

.swiper-button-prev:after {
  transform: rotate(-135deg);
}

/* スワイパー_右の矢印カスタマイズ */
.swiper-button-next:after {
  content: "";
  /*デフォルトの矢印を上書き*/
  border: 0;
  border-right: solid 0.2rem #ffffff;
  border-top: solid 0.2rem #ffffff;
  bottom: 0;
  height: 1.1rem;
  left: 0;
  margin: auto;
  position: absolute;
  right: 5px;
  top: 0;
  width: 1.1rem;
}

.swiper-button-next:after {
  transform: rotate(45deg);
}

/* スワイパー_ページネーション */
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -20px;
  position: absolute;
}

/* 共通_リンクボタン */
.link {
  margin-bottom: 10%;
}

.link .btn {
  border: 1px solid black;
  border-radius: 30px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  object-fit: cover;
  padding: 15px 45px 15px 45px;
  text-decoration: none;
  transition: .3s;
}

.link .btn:hover {
  background-color: black;
  color: white;
}



/* iPad Air 4 (横向き) */
@media screen and (min-width: 820px) and (max-width: 1180px) and (orientation: landscape) {
  h1 {
    font-size: 1.4rem;
  }

  .logo img {
    width: 50px;
  }

  .logout button {
    font-size: 1.1rem;
  }

  .confirm_alert,
  .confirm_alert02 {
    font-size: 1.6rem;
  }
}

/* iPad Mini (横向き) */
@media screen and (min-width: 768px) and (max-width: 820px) and (orientation: landscape) {
  h1 {
    font-size: 1.3rem;
  }

  .logo img {
    width: 50px;
  }

  .logout button {
    font-size: 1rem;
  }

  .confirm_alert,
  .confirm_alert02 {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 900px) {

  h1 {
    font-size: 1.3rem;
  }

  .logo img {
    width: 50px;
  }

  .logout button {
    font-size: 1rem;
  }

  .confirm_alert,
  .confirm_alert02 {
    font-size: 1.6rem;
  }

  .menu {
    display: none;
  }

  .fix-btn {
    display: none;
  }

  .menu-icon {
    background-color: black;
    cursor: pointer;
    display: inline-block;
    right: 0;
    padding: 24px 14px;
    position: fixed;
    top: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    z-index: 999;
  }

}