@charset "UTF-8";

:root {
  --primary: #66c0a9;
  --secondary: #a3cd78;
  --tertiary: #f2f2ea;
  --quaternary: #ffcd2e;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 10px; }
body { color: #111; font-family: "M PLUS 1p", sans-serif; font-size: 1.6rem; line-height: 1.6; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; border: 0; vertical-align: top; transition: all .3s ease; -ms-interpolation-mode: bicubic; }
button { background: transparent; border: none; appearance: none; cursor: pointer; outline: none; }
a { transition: all .3s ease; }
a:link { color: #; text-decoration: none; }
a:visited { color: #; text-decoration: none; }
a:hover { color: #; text-decoration: underline; }
a:hover img { opacity: 0.8; }

.en { font-family: "Jost", sans-serif; font-optical-sizing: auto; }

@media screen and (max-width: 768px) {
  body { font-size: 1.5rem; }
}

/* --------------------------------------------------
  汎用クラス
-------------------------------------------------- */

.d-block { display: block; }
.d-flex { display: flex; }
.d-none { display: none; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.clearfix::after { content: ''; display: block; clear: both; }

/* --------------------------------------------------
  グローバルヘッダ
-------------------------------------------------- */

#header { position: relative; }
#header .inner { margin: 0 auto; padding: 0 24px; height: 100px; display: flex; align-items: center; justify-content: space-between; }
#header #logo { width: 360px; }
#navi { font-size: 1.8rem; font-weight: 700; }
#navi ul { border-left: solid 1px #111; list-style: none; display: flex; }
#navi li { border-right: solid 1px #111; position: relative; }
#navi li a { padding: 10px 30px; height: 100%; color: #111; letter-spacing: .04em; line-height: 1.3; text-align: center; display: flex; align-items: center; justify-content: center; }
#navi li a:hover { color: var(--primary); text-decoration: none; }
#navi .submenu { padding: 40px; width: 100%; height: 0; background: #e8f6f2; position: absolute; left: 0; top: 100%; z-index: 2; display: flex; justify-content: center; gap: 60px; overflow: hidden; visibility: hidden; opacity: 0; transition: all .3s; }
#navi .submenu a { margin-bottom: 10px; color: #66c0a9; display: inline-block; }
#navi .submenu ul { margin-left: 1.8rem; border-left: 0; font-size: 1.6rem; font-weight: 400; flex-direction: column; gap: 5px 0; }
#navi .submenu li { border-right: 0; }
#navi .submenu li a { margin-bottom: 0; padding: 0; color: #111; }
#navi .submenu li a::after { display: none; }
#navi .submenu li a:hover { color: #66c0a9; }
#sp { display: none; }

body.service-on #navi .submenu { height: auto; overflow: visible; visibility: visible; opacity: 1; }

@media screen and (max-width: 768px) {
  #header .inner { padding: 0; height: 75px; }
  #header #logo { margin-left: 15px; width: 240px; }
  #navi { display: none; }
  #sp { width: 75px; height: 75px; background: var(--primary); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
  #sp span { width: 45px; height: 2px; background: #fff; transition: all .3s ease; }
  
  
  
  body.sp-on { position: fixed; }
  body.sp-on #sp { position: relative; z-index: 3; }
  body.sp-on #sp span { position: absolute; }
  body.sp-on #sp span:nth-of-type(1) { transform: rotate(45deg); }
  body.sp-on #sp span:nth-of-type(2) { display: none; }
  body.sp-on #sp span:nth-of-type(3) { transform: rotate(-45deg); }
  
  
}

/* --------------------------------------------------
  グローバルフッタ
-------------------------------------------------- */

#footer {}
#recommend { background: var(--primary); }
#recommend .inner { margin: 0 auto; padding: 50px 0; max-width: 880px; color: #fff; }
#recommend strong { margin-bottom: 30px; font-size: 2rem; letter-spacing: .1em; line-height: 1; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; }
#recommend strong::after { content: 'CONTENTS'; font-family: "Open Sans", sans-serif; font-size: 4.2rem; font-weight: 500; letter-spacing: 0; }
#recommend ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 23px 29px; }
#recommend li {}
#recommend li img { width: 274px; height: 92px; /* 後で削除 */ background: #ccc; }
#contact { background: var(--tertiary); }
#contact .inner { margin: 0 auto; padding: 60px 0; max-width: 880px; display: flex; flex-direction: row-reverse; justify-content: space-between; }
#contact .sitemap { font-size: 1.7rem; letter-spacing: .04em; }
#contact .sitemap strong { margin-bottom: 20px; color: var(--primary); font-family: "Open Sans", sans-serif; font-size: 2.7rem; font-weight: 400; font-optical-sizing: auto; line-height: 1; display: block; }
#contact .sitemap div { display: flex; gap: 30px; }
#contact .sitemap ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
#contact .sitemap li { font-size: 1.7rem; letter-spacing: .04em; }
#contact .sitemap li::before { content: '－'; }
#contact .sitemap li a { color: #111; }
#contact .contact {}
#contact .contact strong { margin-bottom: 30px; color: var(--primary); font-size: 2rem; font-weight: 500; letter-spacing: 0.1em; line-height: 1; display: flex; flex-direction: column-reverse; gap: 10px; }
#contact .contact strong::after { content: 'CONTACT'; font-family: "Open Sans", sans-serif; font-size: 4.2rem; font-weight: 500; font-optical-sizing: auto; }
#contact .contact address { font-style: normal; letter-spacing: .04em; }
#contact .contact address div p { font-size: 2.1rem; font-weight: 700; }
#contact .contact address div span { font-size: 1.7rem; }
#contact .contact address ul { margin: 20px 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
#contact .contact address li { font-family: "Jost", sans-serif; font-optical-sizing: auto; letter-spacing: .04em; line-height: 1; display: flex; align-items: end; gap: 0 10px; }
#contact .contact address li img { width: 30px; }
#contact .contact address li span { width: 1.2em; font-size: 2.2rem; }
#contact .contact address li p { font-size: 2.85rem; }
#contact .contact .mail { padding: 10px 20px; background: var(--primary); border-radius: 100vw; color: #fff; font-size: 1.8rem; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 5px; }
#contact .contact .mail img { width: 30px; }
#contact #copyright { background: #fff; }
#contact #copyright p { margin: 0 auto; padding: 10px 0; max-width: 880px; font-size: 1.5rem; letter-spacing: .04em; text-align: center; }

@media screen and (max-width: 768px) {
  #recommend .inner { padding: 30px 10px; }
  #recommend strong { font-size: 1.8rem; }
  #recommend strong::after { font-size: 3.6rem; }
  #recommend li { width: 45%; }
  #recommend li img { width: 100%; height: auto; }
  #contact .inner { padding: 30px 10px; flex-direction: row; justify-content: center; }
  #contact .sitemap { width: 0; height: 0; overflow: hidden; visibility: hidden; opacity: 0; transition: all .3s; }
  #contact .sitemap div { flex-direction: column; }
  #contact .sitemap li::before { content: ''; }
  #contact .sitemap li a { color: #fff; }
  #contact .contact strong { font-size: 1.8rem; }
  #contact .contact strong::after { font-size: 3.6rem; }
  body.sp-on #footer .sitemap { padding: 30px; width: 100%; height: 100vh; background: var(--primary); overflow: auto; visibility: visible; opacity: 1; position: absolute; left: 0; top: 0; z-index: 2; }
}
