
@media screen and (min-width:480px) { /* 480以上 */
  body {}
}
@media screen and (min-width:768px) { /* 768以上 */
  body {}
}
@media screen and (min-width:1024px) { /* 1024以上 */
  body {}
}

/* --------------------------------- preset */

.f-kiwi {
  font-family: "Kiwi Maru", sans-serif;
}
.f-biz {
  font-family: 'BIZ UDGothic', sans-serif;
  font-weight: 700;
}

.title-border {
  text-align: center;
  margin: 0 0 30px;
}
.title-border span {
  font-family: 'Kiwi Maru', sans-serif;
  color: #9ec855;
  font-size: 1.87em;
  line-height: 1.8em;
  border-bottom: 3px dotted #9ec855;
}

/* --------------------------------- body */

body {
  color: #4d4d4d;
	font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.75em;
}

/* --------------------------------- header */

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 70px;
  background-color: #ffffff;
}
header h1.logo {
  width: calc(100% - 70px);
  padding: 0 16px 0 16px;
  max-width: calc(397px - 32px);
}

header a.btn-contact {
  display: none;
  visibility: hidden;
  opacity: 0;
}

@media screen and (min-width:768px) {
  header {
    position: static;
    height: auto;
    padding: 18px 16px;
  }
  header h1.logo {
    max-width: 397px;
    padding: 0;
  }

  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;
    visibility: visible;
    opacity: 1;
  }
  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;
  }

/* 
  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 a {
    transition: opacity 0.3s;
  }
  header h1.logo a:hover {
    opacity: 0.6;
  }
*/
}

/* --------------------------------- toggle */

  div.toggle {
    position: relative;
    display: block;
    width: 70px;
    height: 70px;
    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);
  }

@media screen and (min-width:768px) {
  div.toggle {
    display: none;
    visibility: hidden;
    opacity: 0;
  }
}

/* --------------------------------- nav */

nav {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: 100;
  top: 70px;
  width: 100%;
  background-color: #f89a71;
  border-radius: 0 0 10px 10px;
  padding: 10px 16px 20px;
  transform: translate(0, -120%);
  transition: opacity 0.6s, transform 0.6s, visibility 0.6s;
}
.open nav {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
}

nav ul.first {
  display: flex;
  flex-direction: column;
  width: 100%;
}
nav ul.first > li {
  width: 100%;
  border-bottom: 1px dotted #ffffff;
}
nav ul.first > li > a,
nav ul.first > li > p {
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 12px 20px 12px 0;
}
nav ul.first > li > a::before,
nav 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 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 ul.first > li.open p::after {
  transform: rotate(-45deg);
}
nav ul.first > li a span ,
nav ul.first > li p span {
  flex-grow: 1;
}

nav div.second {
  width: 90%;
  color: #ffffff;
  border-radius: 0 0 10px 10px;
  background-color: #f89a71;
  padding: 0 0;
  margin: 0 0 0 auto;
}
nav div.second > ul {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
nav div.second > ul li {
  width: 100%;
  border-bottom: 1px dotted #fff;
}
nav div.second > ul li:last-of-type {
  border-bottom: unset;
}
nav div.second > ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  padding: 10px 20px;
}
nav div.second > ul li a::after {
  content: '';
  display: block;
  width: 10px;
  height: 8px;
  background: url('../images/icon-arw.svg') no-repeat;
  background-size: contain;
  margin-left: 10px;
  transition: transform 0.5s;
}
nav div.second > ul li a:hover {
  opacity: 0.6;
}
nav div.second > ul li a:hover::after {
  transform: translateX(6px);
}

@media screen and (min-width:768px) {
  nav {
    visibility: visible;
    opacity: 1;
    position: relative;
    top: 0;
    background-color: unset;
    border-radius: unset;
    padding: 0;
    transform: unset;
    transition: unset;
  }

  nav ul.first {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 10px;
    margin: -30px auto 20px;
  }
  nav ul.first > li {
    display: flex;
    align-items: stretch;
    border-bottom: unset;
    cursor: pointer;
  }
  nav ul.first > li:nth-of-type(1) {flex: 1;}
  nav ul.first > li:nth-of-type(2) {flex: 2;}
  nav ul.first > li:nth-of-type(3) {flex: 1;}
  nav ul.first > li > a::before ,
  nav ul.first > li > p::before {
    content: unset;
    display: none;
  }
  nav ul.first > li > a,
  nav ul.first > li > p {
    flex-grow: 1;
    align-content: center;
    padding: 30px 0;
  }
  nav ul.first > li p::after {
    content: unset;
    display: none;
  }
  nav ul.first > li a:hover,
  nav ul.first > li p:hover {
    background-color: #f89a71;
  }
  nav ul.first > li.open a,
  nav ul.first > li.open p {
    background-color: #f89a71;
  }
  nav ul.first > li a span ,
  nav ul.first > li p span {
    display: block;
    width: 100%;
    color: #4d4d4d;
    text-align: center;
    border-right: 1px solid #4d4d4d;
  }
  nav ul.first > li:last-child span {
    border-right: unset;
  }
  nav ul.first > li:hover a span ,
  nav ul.first > li:hover p span {
    color: #FFF;
  }

  nav div.second {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    padding: 20px 30px 20px;
    width: 100%;
  }
  nav div.second > ul li {
    width: calc((100% - 32px) / 3);
    margin-right: 16px;
  }
  nav div.second > ul li:nth-child(3n) {
    margin-right: 0;
  }
  nav div.second > ul li a {
    padding: 10px;
  }
}

/* --------------------------------- footer */

footer {
  width: 100%;
  margin-top: auto;
}

footer div.cta {
  width: 100%;
  padding: 40px 20px 50px;
}
footer div.cta::before,
footer div.cta::after {
  display: none;
}

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;
  align-items: center;
  font-family: 'M PLUS 1p', sans-serif;
  color: #f89a71;
  font-size: 1.75em;
  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.1em;
  text-align: center;
  margin: 0 0 10px;
}
footer div.cta div.tel p {
  font-size: 1.1em;
  text-align: center;
}
footer div.cta p.addr {
  width: 100%;
  max-width: 520px;
  font-size: 0.875em;
  border-top: 1px solid #808080;
  padding: 15px 0 0;
  margin: 0 auto;
}

footer div.sitemap {
  display: none;
}

footer div.copyrignt {
  width: 100%;
  color: #ffffff;
  font-size: 0.75em;
  text-align: center;
  background-color: #9ec855;
  padding: 16px 20px;
}
footer div.copyrignt a {
  display: inline-block;
  color: #ffffff;
  margin-bottom: 10px;
}

@media screen and (min-width:768px) {

  footer div.cta {
    position: relative;
    max-width: 1050px;
    text-align: center;
    margin: 0 auto;
  }

  footer div.cta div.tel a {
    font-size: 2.8em;
  }
  footer div.cta div.tel h3 {
    font-size: 1.25em;
  }
  footer div.cta div.tel p {
    font-size: 1.25em;
  }

  footer div.sitemap {
    display: block;
    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: 768px;
    margin: 0 auto;
  }
  footer div.sitemap ul.external {
    border-left: 1px solid #9ec855;
    padding-left: 3%;
  }
  footer div.sitemap ul li {
    display: flex;
    align-items: center;
  }
  footer div.sitemap ul li:first-child {
    margin: 0 0 6px 0;
  }

  footer div.sitemap ul li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #9ec855;
    margin: 0 10px 0 0;
  }
  footer div.sitemap ul li:first-child::before {
    width: 10px;
    height: 14px;
    border-radius: unset;
    background: url('../images/icon-green-arw.svg') no-repeat;
    background-size: contain;
    margin: 0 6px 0 0;
  }

  footer div.sitemap ul li a {
    color: #4d4d4d;
    font-size: 0.938em;
    transition: opacity 0.3s;
  }
  footer div.sitemap ul li a:hover {
    opacity: 0.6;
  }

}
@media screen and (min-width:1024px) {
  footer div.cta::before,
  footer div.cta::after {
    content: '';
    position: absolute;
    display: block;
    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;
  }
}


