body {
  margin: 0;
  color: #4d4d4d;
  
	font-size: 16px;
  /* font-family: "Noto Sans JP", sans-serif; */
  font-family: "Meiryo", "メイリオ", "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.75em;
}
.f-kiwi {
  font-family: "Kiwi Maru", serif;
}
.f-biz {
  font-family: 'BIZ UDGothic', sans-serif;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }
}

/* --------------------------------- div.wrap */
body > div.wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* --------------------------------- header */
header {
  width: 100%;
  padding: 18px 16px;
}
header div.inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto 0 auto;
}
header h1.logo,
header div.logo {
  width: 100%;
  max-width: 397px;
}
header h1.logo a,
header div.logo a {
  transition: opacity 0.3s;
}
header h1.logo a:hover,
header div.logo a:hover {
  opacity: 0.6;
}
header a.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 165px;
  border-radius: 60px;
  background-color: #f89a71;
  border: 1px solid #f89a71;
  color: #ffffff;
  padding: 7px 0;
}
header a.btn-contact svg {
  width: 26px;
  fill: #ffffff;
  stroke: none;
  margin-right: 6px;
}
header a.btn-contact:hover {
  background-color: #ffffff;
  color: #f89a71;
}
header a.btn-contact:hover svg {
  fill: #f89a71;
}

/* toggle */
div.toggle {
  display: none;
}

@media screen and (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 150;
    background-color: #ffffff;
    padding: 0 0 0 16px;
  }
  header div.inner {
    height: 100%;
  }
  header a.btn-contact {
    display: none;
  }
  header h1.logo,
  header div.logo {
    max-width: 273px;
    margin-right: 24px;
  }
  
  div.toggle {
    position: relative;
    display: block;
    flex-shrink: 0;
    
    width: 70px;
    height: 100%;
    color: #fff;
    text-align: center;
    background-color: #f89a71;
  }
  div.toggle span {
    position: absolute;
    left: 50%;
    width: 43px;
    height: 1px;
    display: block;
    background: #fff;
    transform: translateX(-50%);
    transform-origin: center;
    transition-duration: 0.6s;
    transition-timing-function: ease-in-out;
  }
  div.toggle span:first-child {
    top: 15px;
  }
  div.toggle span:nth-child(2) {
    top: 26px;
  }
  div.toggle span:nth-child(3) {
    top: 37px;
  }
  div.toggle::after {
    content: 'メニュー';
    font-family: "Kiwi Maru", serif;

    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #fff;
    font-size: 0.86em;
    text-align: center;
  }

  .open div.toggle span:nth-child(1) {
    top: 22px;
    transform: translateX(-50%) rotate(45deg);
  }
  .open div.toggle span:nth-child(2) {
    top: 22px;
    width: 0;
    left: 50%;
  }
  .open div.toggle span:nth-child(3) {
    top: 22px;
    transform: translateX(-50%) rotate(-45deg);
  }
}

/* --------------------------------- nav */

nav.global {
  position: relative;
  width: 100%;
  max-width: 800px;
  background-color: #ffffff;
  border-radius: 10px 10px 0 0;

  margin: -30px auto 20px;
  z-index: 100;
}
nav.global ul li a {
  color: #4d4d4d;
}

nav.global ul.first {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 88px;
  width: 100%;
}
nav.global ul.first > li {
  display: flex;
  align-items: stretch;

  cursor: pointer;
  text-align: center;
}
nav.global ul.first > li:first-of-type,
nav.global ul.first > li:nth-of-type(3) {
  flex: 1;
}
nav.global ul.first > li:nth-of-type(2) {
  flex: 2;
}
nav.global ul.first > li span {
  display: block;
}
nav.global ul.first > li:not(:last-of-type) span {
  border-right: 1px solid #4d4d4d;
}
nav.global ul.first > li > a,
nav.global ul.first > li > p {
  flex-grow: 1;
  align-content: center;
}
nav.global ul.first > li.open a,
nav.global ul.first > li a:hover,
nav.global ul.first > li.open p,
nav.global ul.first > li p:hover {
  color: #ffffff;
  background-color: #f89a71;
}
nav.global ul.first > li:first-of-type a:hover {
  border-radius: 10px 0 0 10px;
}
nav.global ul.first > li:nth-of-type(4) p:hover {
  border-radius: 0 10px 0 0;
}


nav.global div.second {
  display: none;

  position: absolute;
  top: 88px;
  left: 0;

  width: 100%;
  background-color: #f89a71;
  color: #ffffff;
  border-radius: 0 0 10px 10px;
  padding: 20px 30px 20px;
}
nav.global div.second > ul {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
nav.global div.second > ul li {
  width: calc((100% - 32px) / 3);
  border-bottom: 1px dotted #fff;
}
nav.global div.second > ul li:not(:nth-of-type(3n)) {
  margin-right: 16px;
}
nav.global div.second > ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #ffffff;
  padding: 10px;
}
nav.global div.second > ul li a::after {
  content: '';
  display: block;
  background: url('../images/icon-arw.svg') no-repeat;
  background-size: contain;
  width: 10px;
  height: 8px;
  margin-left: 10px;
  transition: transform 0.5s;
}
nav.global div.second > ul li a:hover {
  opacity: 0.6;
}
nav.global div.second > ul li a:hover::after {
  transform: translateX(6px);
}

@media screen and (max-width: 768px) {
  nav.global {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 70px;
    
    background-color: #f89a71;
    border-radius: 0 0 10px 10px;
    padding: 10px 16px 20px;
    margin: 0;

    transform: translate(0, -120%);
    transition: opacity 0.6s, transform 0.6s, visibility 0.6s;
  }
  .open nav.global {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
  }


  nav.global ul.first {
    height: auto;
    flex-direction: column;
  }
  nav.global ul.first > li {
    width: 100%;
    text-align: left;
    flex-wrap: wrap;
  }
  nav.global ul.first > li:not(:last-of-type) {
    border-bottom: 1px dotted #ffffff;
  }
  nav.global ul.first > li > a,
  nav.global ul.first > li > p {
    display: flex;
    align-items: center;
    color: #ffffff;
    padding: 12px 20px 12px 0;
  }
  nav.global ul.first > li > a::before,
  nav.global ul.first > li > p::before {
    content: '';
    display: block;
    width: 9px;
    height: 8px;
    background: url(../images/icon-arw.svg) no-repeat;
    margin-right: 10px;
    transition: transform 0.5s;
  }
  nav.global ul.first > li:not(:last-of-type) span {
    border: unset;
  }

  nav.global ul.first > li p span {
    flex-grow: 1;
  }
  nav.global ul.first > li p::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    transform: rotate(135deg);
    transition: 0.2s ease-in-out;
    border-top: 2px solid rgb(255, 255, 255);
    border-right: 2px solid rgb(255, 255, 255);
  }
  nav.global ul.first > li.open p::after {
    transform: rotate(-45deg);
  }

  nav.global div.second {
    width: 90%;
    position: static;
    /* display: block; */
    padding: 0 0;
    margin-left: auto;
  }
  nav.global div.second > ul li {
    width: 100%;
  }
  nav.global div.second > ul li:not(:nth-of-type(3n)) {
    margin-right: 0;
  }
  nav.global div.second > ul li:last-of-type {
    border-bottom: unset;
  }
  nav.global div.second > ul li a {
    padding: 10px 20px;
  }
}
@media screen and (max-width: 520px) {
  nav.global {
    max-width: 280px;
    right: 0;
    border-radius: 0 0 0 10px;

    transform: translate(120%, 0);
  }
}


/* --------------------------------- footer */
footer {
  margin-top: auto;
}

footer div.cta {
  position: relative;
  width: 100%;
  max-width: 1050px;
  text-align: center;
  margin: 0 auto;
  padding: 40px 20px 50px;
}
footer div.cta::before,
footer div.cta::after {
  content: '';
  position: absolute;
  width: 228px;
  height: 228px;
}
footer div.cta::before {
  top: 40px;
  right: 0;
  background: url(../images/footer-contact-01.webp) center top no-repeat;
}
footer div.cta::after {
  bottom: 50px;
  left: 0;
  background: url(../images/footer-contact-02.webp) center top no-repeat;
}

footer div.cta a.mail {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 352px;
  background-color: #f89a71;
  border: 1px solid #f89a71;
  color: #ffffff;
  padding: 16px 20px 16px 16px;
  margin: 0 auto 35px;
  transition: all 0.3s;
}
footer div.cta a.mail svg.mail {
  display: block;
  width: 28px;
  fill: #ffffff;
  stroke: unset;
}
footer div.cta a.mail::after {
  content: '';
  display: block;
  width: 9px;
  height: 8px;
  background: url('../images/icon-arw.svg') no-repeat;
  transition: transform 0.5s;
}
footer div.cta a.mail:hover {
  background-color: #ffffff;
  color: #f89a71;
}
footer div.cta a.mail:hover svg {
  fill: #f89a71;
}
footer div.cta a.mail:hover::after {
  background: url('../images/icon-arw-on.svg') no-repeat;
  transform: translateX(6px);
}

footer div.cta div.tel {
  margin: 0 0 40px;
}
footer div.cta div.tel a {
  display: flex;
  text-align: center;
  justify-content: center;
  
  font-family: 'M PLUS 1p', sans-serif;
  transform: rotate(0.05deg);
  color: #f89a71;
  font-size: 2.8em;
  transition: opacity 0.3s;
}
footer div.cta div.tel a:hover {
  opacity: 0.6;
}
footer div.cta div.tel img {
  width: 46px;
  margin: 0 15px 0 0;
}
footer div.cta div.tel h3 {
  font-size: 1.25em;
  margin: 0 0 10px;
}
footer div.cta div.tel p {
  font-size: 1.25em;
}
footer div.cta p.addr {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-top: 1px solid #808080;
  padding: 15px 0 0;
}

/* sitemap */
footer div.sitemap {
  font-size: 0.93em;
  background-color: #f0f7e5;
  padding: 30px 20px 40px;
}
footer div.sitemap div.inner {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}
footer div.sitemap ul {
  margin: 0 1%;
}
footer div.sitemap ul li {
  display: flex;
}
footer div.sitemap ul li:first-child {
  position: relative;
  align-items: baseline;
}
footer div.sitemap ul li:first-child::before {
  content: '';
  display: block;
  width: 10px;
  height: 14px;
  background: url('../images/icon-green-arw.svg') no-repeat;
  background-size: contain;
  margin-right: 5px;
}
footer div.sitemap ul li:not(:first-child) {
  padding-left: 1em;
}
footer div.sitemap ul li:not(:first-child)::before {
  content: '・';
}
footer div.sitemap ul li a {
  color: #4d4d4d;
  transition: opacity 0.3s;
}
footer div.sitemap ul li a:hover {
  opacity: 0.6;
}
footer div.sitemap ul.external {
  border-left: 1px solid #9ec855;
  padding-left: 3%;
  margin-left: 2%;
}

/* copyright */
footer div.copyrignt {
  text-align: center;
  font-size: 0.75em;
  color: #ffffff;
  background-color: #9ec855;
  padding: 15px 20px;
}
footer div.copyrignt a {
  color: #ffffff;
  margin-bottom: 10px;
  transition: opacity 0.3s;
}
footer div.copyrignt a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 1050px) {
  footer div.cta::before,
  footer div.cta::after {
    display: none;
  }
}
@media screen and (max-width: 768px) {  
  footer div.sitemap {
    display: none;
  }
}
@media screen and (max-width: 520px) {
  footer div.cta div.tel a {
    font-size: min(8.75vw, 2.4em);
  }
}

