@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@500;700&display=swap');
:root {
  --text: #333333;
  --bg: #faf4f3;
  --main: #ee8c8e;
  --sub: #fdd000;
  --white: #ffffff;
  --radius-l: 16px;
  --radius-m: 8px;
  --radius-s: 4px;
}
* { margin: 0; padding: 0;}
body {
  font-family: Avenir, Arial, 'Kosugi Maru', sans-serif;
  /* font-family: 'Kosugi Maru', sans-serif; */
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}
a { text-decoration: none; color: var(--text);}
img { width: 100%; height: auto; vertical-align: bottom;}
ul { list-style-type: none;}
section {
  width: 85%;
  max-width: 1200px;
  box-sizing: border-box;
  background-color: var(--white);
  border-radius: var(--radius-l);
  margin: 96px auto 0;
  padding: 96px 100px;
}
.btn a, .btn input {
  display: inline-block;
  background-color: var(--main);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 32px;
  position: relative;
}
.btn a:hover, .btn input:hover {
  background-color: var(--sub);
  transition: all 0.5s ease;
}
.sec-title {
  font-family: 'Avenir', 'Arial', 'M PLUS Rounded 1c', sans-serif;
  font-weight: 500;
  font-size: 40px;
  margin-bottom: 64px;
  line-height: 1.485;
}
.office-head-subtitle { font-size: 24px;}
.bg { background-color: var(--bg); padding-bottom: 96px;}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 5%;
  height: 112px;
  box-sizing: border-box;
}
.header .logo { width: 200px;}
.global-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 16px;
}
.global-nav li { position: relative;}
.global-nav li.nav-komachi { padding-left: 64px;}
.global-nav li.nav-oota { padding-left: 60px;}
.global-nav li::before {
  content: "";
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  margin: auto;
}
.global-nav li.nav-komachi::before { width: 45px; height: 42px; background: url(img/icon-komachi.png) no-repeat; background-size: contain;}
.global-nav li.nav-oota::before { width: 37px; height: 35px; background: url(img/icon-oota.png) no-repeat; background-size: contain;}
.global-nav li.nav-contact a { padding-left: 60px;}
.global-nav li.nav-contact::before {
  width: 20px;
  height: 16px;
  top:21px;
  bottom: auto;
  left: 32px;
  background: url(img/icon-mail-w.png) no-repeat;
  background-size: contain;
  z-index: 1;
}
.main-visual {
  font-family: 'Avenir', 'Arial', 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  width: 90%;
  margin-left: 10%;
  height: calc(100vh - 112px);
  background: url(img/main-visual.jpg) no-repeat;
  background-size: cover;
  border-radius: var(--radius-l) 0 0 var(--radius-l);
  padding-top: 17vh;
  padding-right: 16%;
  box-sizing: border-box;
}
.mv-text {
  font-size: 36px;
  font-weight: 700;
  text-align: right;
  width: 100%;
}
.mv-text span {
  color: var(--main);
  font-size: 48px;
}
.sec-office .office-head { position: relative; z-index: 1;}
.sec-office .sec-title { position: relative; margin: 0 auto 64px;}
.sec-komachi .sec-title { width: 428px;}
.sec-komachi .sec-title::before {
  content: "";
  display: block;
  position: absolute;
  background: var(--white) url(img/bg-komachi.png) no-repeat;
  background-size: contain;
  left: -158px;
  top: -80px;
  width: 225px;
  height: 225px;
  z-index: -1;
}
.sec-komachi .office-head::before {
  content: "";
  display: block;
  position: absolute;
  width: 41.6%;
  max-width: 416px;
  height: 245px;
  background: url(img/img-komachi.png) no-repeat;
  background-size: contain;
  top: -138px;
  right: -17.5%;
}
.sec-oota .sec-title { width: 248px;}
.sec-oota .sec-title::before {
  content: "";
  display: block;
  position: absolute;
  background: var(--white) url(img/bg-oota.png) no-repeat;
  background-size: contain;
  left: -171px;
  top: -94px;
  width: 287px;
  height: 288px;
  z-index: -1;
}
.office-head { text-align: center;}
.office-head-subtitle { font-size: 24px;}
.office-head-text { margin-top: 32px;}
.office-info { display: flex; align-items: center; gap: 64px; margin-top: 64px;}
.office-info > div { width: calc((100% - 64px) / 2);}
.office-info dl { display: flex; margin-bottom: 16px;}
.office-info dt {
  width: 90px;
  background-color: var(--main);
  color: var(--white);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  margin-right: 32px;
}
.office-info dd { width: calc(100% - 122px);}
.office-info .tel { display: block; position: relative; padding-left: 21px;}
.office-info .tel::before {
  content: "";
  display: block;
  position: absolute;
  width: 16px; height: 17px;
  background: url(img/icon-tel.png) no-repeat;
  background-size: contain;
  top: 0; bottom: 0;
  left: 0;
  margin: auto;
}
.office-service { display: flex; gap: 64px; position: relative;}
.office-service > dl {
  width: calc((100% - 64px) / 2);
  background-color: var(--bg);
  border-radius: var(--radius-m);
  margin-top: 64px;
  padding: 64px 32px;
}
.office-service dl::before { content: ""; display: block; position: absolute;}
.office-service dl:first-child:before {
  width: 16%;
  max-width: 160px;
  height: 268px;
  background: url(img/img-oota1.png) no-repeat;
  background-size: contain;
  top: -120px;
  left: -8%;
}
.office-service dl:last-child:before {
  width: 20.8%;
  max-width: 208px;
  height: 198px;
  background: url(img/img-oota2.png) no-repeat;
  background-size: contain;
  top: -92px;
  right: -96px;
}
.office-service dt { font-size: 24px; font-weight: bold; margin-bottom: 32px;}
.office-service li { text-align: left; position: relative; padding-left: 24px;}
.office-service li::before {
  content: "";
  display: block;
  width: 18px;
  height: 32px;
  background: url(img/dot.png) no-repeat;
  background-size: contain;
  position: absolute;
  top: 7px; left: 0;
}
.btn-dl { text-align: center; margin-top: 64px;}
.btn-dl a { padding-right: 64px;}
.btn-dl a::after {
  content: "";
  display: block;
  position: absolute;
  background: url(img/icon-dl.png);
  background-size: contain;
  width: 24px;
  height: 24px;
  top: 0; bottom: 0;
  right: 32px;
  margin: auto;
}
.office-map { margin-top: 48px; height: 357px;}
.office-map iframe { width: 100%; height: 100%;}
.sec-contact { padding: 0; background-color: transparent;}
.contact-wrap {
  background-color: var(--sub);
  text-align: center;
  padding: 64px 0;
  border-radius: var(--radius-l);
  position: relative;
}
.contact-wrap::before, .contact-wrap::after { content: ""; position: absolute;}
.contact-wrap::before { width: 9.16%; height: 96px; background: url(img/icon-contact.png) no-repeat; background-size: contain; top: 55px; left: 12%;}
.contact-wrap::after { width: 18%; height: 197px; background: url(img/img-contact.png) no-repeat; background-size: contain; bottom: 30px; right: 8.33%;}
.sec-contact .sec-title { font-size: 32px; margin-bottom: 32px;}
.sec-contact .btn { margin-top: 32px;}
.sec-contact .btn a { padding-right: 60px; border: 1px solid var(--main)}
.sec-contact .btn a:hover { border-color: var(--white);}
.sec-contact .btn a::after {
  content: "";
  display: block;
  position: absolute;
  right: 32px;
  top: 24px;
  width: 20px;
  height: 16px;
  background: url(img/icon-mail-w.png) no-repeat;
  background-size: contain;
}
.footer {
  background-color: var(--main);
  color: var(--white);
  padding: 64px;
}
.footer-wrap { display: flex; align-items: center; justify-content: space-between; max-width: 1312px; margin: auto;}
.footer-logo { width: 200px;}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 64px;
  font-size: 16px;
}
.footer-nav a { color: var(--white);}
.footer-nav li { position: relative;}
.footer-nav li.nav-komachi { padding-left: 32px;}
.footer-nav li.nav-oota { padding-left: 31px;}
.footer-nav li::before {
  content: "";
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  margin: auto;
}
.footer-nav li.nav-komachi::before { width: 23px; height: 22px; background: url(img/icon-komachi.png) no-repeat; background-size: contain;}
.footer-nav li.nav-oota::before { width: 20px; height: 19px; background: url(img/icon-oota-w.png) no-repeat; background-size: contain;}
.footer-nav li.nav-contact a { padding-left: 60px; color: var(--main); background-color: var(--white);}
.footer-nav li.nav-contact a:hover { background-color: var(--sub); color: var(--white);}
.footer-nav li.nav-contact::before { width: 20px; height: 16px; top: 21.5px; bottom: auto; left: 32px; background: url(img/icon-mail.png) no-repeat; background-size: contain; z-index: 1;}
.copy { text-align: center; font-size: 12px; margin-top: 64px;}

/* お問い合わせ */
.form-head { text-align: center; margin-bottom: 32px;}
.form-table { border-spacing: 32px; width: 100%;}
.form-table th {
  text-align: left;
  font-weight: 400;
  padding: 16px 32px;
}
input, textarea {
  width: 100%;
  border: none;
  background-color: var(--bg);
  padding: 16px 32px;
  box-sizing: border-box;
  font-size: 18px;
  font-family: 'Avenir', 'Arial', 'Kosugi Maru', sans-serif;
}
input[type=submit] { width: auto;}
.req { color: #C40034; margin-left: 8px;}
.sec-form .btn { text-align: center; margin-top: 32px;}
.sec-form .btn input { width: 200px; cursor: pointer; margin: 0 16px;}
.sec-form .btn input.back {
  border: 2px solid var(--main);
  background: var(--white);
  color: var(--main);
}
.sec-form .btn input.back:hover{
  background-color: var(--sub);
  border-color: var(--sub);
  color: var(--white);
}
@media screen and (min-width:1401px){
  .tb { display: none;}
}
@media screen and (max-width:1400px){
  .no-tb { display: none;}
}
@media screen and (min-width:1051px){
  .nav-sp { display: none !important;}
}
@media screen and (max-width:1050px){
  body.active { overflow: hidden;}
  .header { display: block; padding: 0 5%; height: 64px; position: relative; z-index: 999;}
  .header.active { padding: 0;}
  .header.active .logo { display: none;}
  .global-nav {
    position: fixed;
    width: 100%;
    height: 100vh;
    display: block;
    margin: 0;
    padding-top: 154px;
    text-align: center;
    background-color: var(--main);
    position: relative;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: -1;
  }
  .global-nav.active { opacity: 1; pointer-events: auto; transition: opacity 0.5s ease; z-index: 0;}
  .global-nav::before {
    content: "";
    display: block;
    background: url(img/logo-w.svg) no-repeat;
    background-size: 183px;
    background-position-x: 16px;
    width: 100%;
    height: 64px;
    position: absolute;
    top: 0;
  }
  .global-nav a { color: var(--white);}
  .global-nav li {
    display: inline-block;
    margin-top: 32px;
  }
  .global-nav li.nav-komachi, .global-nav li.nav-oota { padding-left: 32px;}
  .global-nav li.nav-komachi::before { width: 24px; height: 23px; background: url(img/icon-komachi.png) no-repeat; background-size: contain;}
  .global-nav li.nav-oota::before { width: 24px; height: 23px; background: url(img/icon-oota-w.png) no-repeat; background-size: contain;}
  .global-nav li.nav-contact { margin-top: 48px;}
  .global-nav li.nav-contact a { padding-left: 60px; color: var(--main); background-color: var(--white);}
  .global-nav li.nav-contact::before { width: 20px; height: 16px; top: 21.5px; bottom: auto; left: 32px; background: url(img/icon-mail.png) no-repeat; background-size: contain; z-index: 1;}
  .nav-open, .nav-close {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 12px;
    right: 16px;
    cursor: pointer;
  }
  .nav-open { background: url(img/icon-menu.png) no-repeat; background-size: contain;}
  .nav-open.active { display: none;}
  .nav-close { background: url(img/icon-close.png) no-repeat; background-size: contain; display: none;}
  .nav-close.active { display: block;}
  .office-head { text-align: left;}
  .office-head .sec-title { text-align: center;}
  .office-info { margin: 0;}
  .office-info > div { margin-top: 32px;}
  .office-info > div, .office-info dt, .office-info dd { width: 100%;}
  .office-info,.office-info dl { display: block;}
  .office-info dl, .office-info dt { margin-bottom: 8px;}
  .office-service { display: block;}
  .office-service > dl { width: 100%; box-sizing: border-box; margin-top: 48px; padding: 32px 16px; position: relative;}
  .office-service dl:first-child:before { width: 80px; height: 134px; top: -98px; left: auto; right: -4px;}
  .office-service dl:last-child:before { width: 104px; height: 99px; top: -67px; left: -14px; right: auto;}
  .office-service dt { font-size: 20px; text-align: center; margin-bottom: 16px;}
  .office-service li::before { width: 16px; height: 25px; top: 6px;}
  .footer { padding: 32px 16px;}
  .footer-wrap, .footer-nav { display: block;}
  .footer-logo { margin: auto; margin-bottom: 16px;}
  .footer-nav { text-align: center;}
  .footer-nav li { display: inline-block; margin-top: 8px;}
  .footer-nav .nav-contact { margin-top: 16px;}
  .copy { margin-top: 32px;}
}
@media screen and (min-width:901px){
  .sp { display: none !important;}
}
@media screen and (max-width:900px){
  body { font-size: 16px;}
  section { width: 90%; margin-top: 48px; padding: 48px 5%;}
  .sec-title { font-size: 32px; margin-bottom: 32px; text-align: center;}
  .pc { display: none !important;}
  .pc-blank::after { content: '\A'; white-space: pre;}
  .bg { padding-bottom: 48px;}
  .main-visual {
    height: 400px;
    width: 95%;
    margin-left: 5%;
    padding-top: 48px;
    padding-right: 9.21%;
  }
  .mv-text { font-size: 24px;  }
  .mv-text span { font-size: 30px;}
  .sec-office .sec-title { margin-bottom: 32px;}
  .office-head-subtitle { font-size: 20px;}
  .office-head-text { margin-top: 16px;}
  .sec-komachi .sec-title { width: 232px;}
  .sec-komachi .sec-title::before {
    left: -28px;
    top: -37px;
    width: 102px;
    height: 102px;
  }
  .sec-oota .sec-title { width: 199px;}
  .sec-oota .sec-title::before {
    left: -44.5px;
    top: -37px;
    width: 102px;
    height: 102px;
  }
  .sec-komachi .office-head { padding-bottom: 104px;}
  .sec-komachi .office-head::before {
    width: 208px;
    height: 122.14px;
    top: auto;
    bottom: -25.14px;
    right: -9px;
  }
  .sec-oota .office-head-subtitle { padding-bottom: 16px; min-height: 108px;}
  .btn-dl { margin-top: 32px;}
  .contact-wrap { padding: 48px 5% 96px;}
  .contact-wrap::before {
    width: 56px;
    height: 49px;
    background-position-y: top;
    top: -17px;
    left: 28px;
  }
  .contact-wrap::after {
    width: 108px;
    height: 98.5px;
    background-position-y: bottom;
    bottom: -10px;
    right: 12px;
  }
  .sec-contact .sec-title { font-size: 24px; margin-bottom: 16px;}
  .sec-contact .btn { margin-top: 16px;}
  .sec-contact .btn a { padding: 16px 50.5px 16px 22.5px;}
  .sec-contact .btn a::after { top: 22px; right: 22.5px;}
  .form-head { text-align: left;}
  .form-table { border-spacing: 0;}
  .form-table th, .form-table td { display: block;}
  .form-table th { padding: 8px 0;}
  .form-table td { margin-bottom: 32px;}
  input, textarea { padding: 16px;}
  .sec-form .btn { margin-top: 0;}
}
@media screen and (max-width:500px){
  .main-visual { background-position-x: -40px;}
  .contact-wrap p { text-align: left;}
}
