@charset "utf-8";

/* COMMON
========================================== */
html,
body {
  font-size: 100%;
  height: 100%;
  /* font-family: "Noto Sans JP", serif; */
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  font-family: "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", sans-serif;
  box-sizing: border-box;
  color: #333;
  /* -webkit-tap-highlight-color: transparent; */
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a {
  text-decoration: none;
}

body a:hover {
  cursor: pointer;
  transition: .4s;
}

ul,
li {
  list-style: none;
}

:root {
  --green: #008946;
  --orange: #ff6d00;
  --pink: #f0718e;
  --grey: #ccc;
  --yellow: #f4dd64;
  --blue: #0bd;
  --dark-pink: #db4065;
  --light-grey: #eee;
  --light-green: #edf9f3;
  --dark-green: #006400;
  --dark-yellow: #d8b500;
  --dark-blue: #0ac;
  --light-pink: #ffd1dc;
}

.wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  width: 13rem;
  font-weight: bold;
}

/* オートコンプリート背景色 */
input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fffdda inset;
}

/* HEADER
========================================== */
.header {
  background-color: #fff;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  box-shadow: 3px 0 3px rgba(0, 0, 0, .3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
}

/* ロゴ */
.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  transform: scale(0.6);
}

.logo p {
  font-size: 1.25rem;
  /* margin-left: 5px; */
  color: var(--green);
  font-weight: bold;
}

.logo:hover {
  cursor: pointer;
}

.logo img {
  display: block;
  width: 80px;
  height: auto;
}

/* ナビメニュー */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li a {
  margin-left: 3rem;
  font-weight: bold;
}

.nav-menu li a:hover {
  color: rgba(0, 0, 0, .4);
}

.nav-menu .fas {
  display: none;
}

/* ハンバーガー */
.hamburger {
  display: none;
}

/* MAIN
========================================== */
main {
  flex: 1;
  padding-top: 70px;
}

.eye-catch {
  background-image: url(../images/bg-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  place-items: center;
  width: 100%;
  height: 250px;
  position: relative;
}

.eye-catch-text {
  text-align: center;
  font-weight: bold;
}

.eye-catch-text h1 {
  font-size: 1.5rem;
  background-color: var(--green);
  color: #fff;
  padding: 6px 16px;
  display: inline-block;
}

.eye-catch-text p {
  color: var(--green);
  font-size: 2.5rem;
  margin-top: 1rem;
  text-shadow: 3px 3px 3px #fff;
}

.logout {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0 2rem 0.5rem 0;
  padding: 0;
  color: var(--dark-green);
  font-weight: normal;
  text-decoration: underline;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.logout:focus {
  outline: none;
}

section {
  margin: 2rem auto;
  /* border: solid 1px #ccc; */
}

/* FOOTER
========================================== */
footer {
  background-color: #333;
}

.footer-inner {
  color: #fff;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

 .footer-inner ul {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.footer-inner ul li {
  padding: 0 20px;
  text-align: center;
  border-left: solid 1px rgba(255, 255, 255, .5);
  text-decoration: underline;
}

.footer-inner ul li:last-child {
  border-right: solid 1px rgba(255, 255, 255, .5);
}

footer a:hover {
  color: var(--yellow);
}

.contact {
  text-align: center;
}

.free {
  display: flex; 
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto;
  background-color: var(--orange);
  width: 250px;
  padding: 5px;
}

.free span {
  display: block;
  width: 40px;
  aspect-ratio: 139/80;
  margin-right: 5px;
  background-image: url(../images/free.gif);
  background-size: cover;
  background-position: center;
}

.free p {
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
}

/* MOBILE SIZE
========================================== */
@media screen and (max-width:767px) {

/* MOBILE COMMON
================ */
html,
body {
  font-size: 14px;
}

.wrapper {
  padding: 0 1rem;
}

/*HEADER
================ */
  .header {
    height: 50px;
  }
  .header-inner {
    position: relative;
  }

  .header-nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 50px;
    width: 100%;
    height: calc(100vh - 50px);
    transform: translateX(100%);
    background-color: rgba(51, 51, 51, .9);
    transition: ease .4s;
  }

  .header-nav.active {
    transform: translateX(0);
  }
    
  .nav-menu {
    flex-direction: column;
    height: inherit;
    justify-content: center;
  }

  .nav-menu .fas {
    display: block;
    color: #ddd;
    font-size: 12px;
  }

  .nav-menu li {
    border-bottom: solid 1px #ccc;
    color: #fff;
    width: 80%;
    padding: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu li:first-child {
    border-top: 1px solid #ccc;
  }

  .nav-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 0;
    width: 100%;
  }

  .nav-menu li a:hover {
    color: #fff;
  }

  /* ロゴ */
  .logo img {
    width: 70px;
  }

  .logo p {
    font-size: 1.125rem;
  }

  /* ハンバーガーメニュークリック前のスタイル */
  .hamburger {
    width: 30px;
    height: 30px;
    background-color: var(--green);
    border-color: transparent;
    z-index: 100;
    display: block;
  }

  .hamburger span {
    width: 60%;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: ease .4s;
    display: block;
  }

 .hamburger span:nth-child(1) {
  top: 0;
  margin: 0 auto;
 }

 .hamburger span:nth-child(2) {
  margin: 4px auto;
 }

 .hamburger span:nth-child(3) {
  top: 0;
  margin: 0 auto;
 }
 
 /* ハンバーガーメニュークリック後のスタイル */
 .header-nav.active {
  transform: translateX(0);
 }

 .hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
 }

 .hamburger.active span:nth-child(2) {
  opacity: 0;
 }

 .hamburger.active span:nth-child(3) {
  top: -7px;
  transform: rotate(-45deg);
 }

/* MAIN
================ */
  main {
    padding-top: 50px;
  }

  .eye-catch {
    height: 150px;
  }

  .eye-catch-text h1 {
    font-size: 1rem;
  }

  .eye-catch-text p {
    font-size: 2rem;
    margin-top: 0;
  }

  .logout {
    margin: 0 1rem 0.3rem 0;
  }

  /* FOOTER
================ */
  .footer-inner {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }

  .footer-inner ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-inner ul li {
    display: flex;
    line-height: 1.4;
    padding: 0.5rem 1rem;
    text-align: center;
    border: none;
  }

  .footer-inner ul li:nth-child(4) {
    border-right: none;
  }

  .free {
    width: 200px;
  }

  /* a[href*="tel:"]:hover {
    color: #fff;
  } */  
}

/* iPad Mini以上の電話リンクを無効化 */
/* MOBILE SIZE
========================================== */
@media screen and (min-width:768px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}