@charset "utf-8";

/* カスタムプロパティ */
:root {
  --brand-color: #eac34b;
  --title-color: #e0aa00;
  --brand-font: 'Poppins', sans-serif;
}

body {
  background: #eac34b; /*遷移アニメーションと同じ色*/
  font-family: 'Noto Serif JP', serif;
  color: #555;
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%; /*スマホを横にしても文字が拡大されない */
  word-wrap: break-word;
  letter-spacing: 0.2em;
}

body.appear {
  background: #f8f9fa; /*画面を開いた時の背景色 */
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #555;
  text-decoration: none;
  outline: none;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

* {
  box-sizing: border-box;
}

/* font-family */

h1,
#menu h2,
#about h2,
#blog h2,
#contact-form h2,
#footer dl dd,
#splash-logo {
  font-family: 'Yellowtail', cursive;
}

/* heading */
#menu h2,
#about h2,
#contact-form h2,
#blog h2 {
  font-size: 4rem;
  text-align: center;
  margin: 0 0 50px 0;
  font-weight: normal;
  color: var(--title-color);
}

.sub-page {
  padding-top: 80px;
}

@media screen and (max-width: 768px) {
  #menu h2,
  #blog h2,
  #about h2 {
    font-size: 3rem;
  }
}

/* area */
#container {
  overflow-x: hidden;
}
.inner {
  width: 100%;
  margin: 0 auto;
  padding: 70px;
}

@media screen and (max-width: 940px) {
  .inner {
    padding: 30px;
  }
}

/* header */
.header-area {
  position: fixed;
  width: 80%;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
}
.header-area h1 {
  display: block;
  font-size: 6vw;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0;
  padding: 0 10px;
}
.header-area p {
  font-size: min(2vw, 1.4rem);
  letter-spacing: 0.4em;
  margin: 0 0 20px 0;
}
.header-area p br {
  display: block;
}
.header-logo {
  width: 130px;
  margin-bottom: 30px;
}

@media screen and (max-width: 960px) {
  .header-are h1 {
    font-size: 4rem;
  }
  .header-area p {
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .header-are p br {
    display: block;
  }
}

/* gnavi */
#g-nav-list li:nth-child(1) a {
  font-family: var(--brand-font);
  text-transform: none;
  font-weight: normal;
  white-space: nowrap;
  font-size: 1.3rem;
  line-height: 1.4em;
  margin: 0 0 20px 0;
}

/* lead */

#lead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 140px;
}
#lead .lead-img {
  width: 46%;
  min-height: 400px;
  background: url('../img/adpDSC_2764.jpg') no-repeat center;
  background-size: cover;
}
#lead .lead-area {
  width: 52%;
}

#lead .lead-area h2 {
  line-height: 2.5;
  font-size: 1.4rem;
  margin: 0 0 30px 0;
  padding: 0 0 0 15%;
}

#lead .lead-area p {
  padding: 0 0 0 50px;
  line-height: 2.8;
}

@media screen and (max-width: 768px) {
  #lead .lead-img {
    width: 100%;
  }
  #lead .lead-area {
    width: 100%;
  }
  #lead .lead-area h2 {
    line-height: 2.5;
    font-size: 1.4rem;
    margin: 30px 0;
    padding: 0;
  }

  #lead .lead-area p {
    padding: 0;
    line-height: 2.8;
  }
}

@media screen and (max-width: 540px) {
  #lead .lead-area h2 {
    font-size: 1rem;
    line-height: 1.8;
  }

  #lead .lead-area p {
    font-size: 0.8rem;
    line-height: 2.3;
  }
}

/* menu about*/
#menu,
#about {
  padding: 70px 0;
}

#menu section,
#about section {
  background-color: #fff;
  margin: 0 0 10px 0;
}

#menu section h3 {
  font-size: 0.9rem;
  margin: 0 0 10px 0;
}

#menu section p,
#about section p {
  font-size: 0.8rem;
}

#menu .menu-area {
  padding: 20px;
  box-shadow: 5px 0 10px #ccc;
}

#menu .menu-btn {
  text-align: center;
  margin: 50px 0 0 0;
}

/* about */
.about-inner {
  width: 100%;
  margin: 0 auto;
  padding: 20px 70px 70px;
}
.about-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.about-info-li-i {
  display: flex;
  padding: 1rem 0 1rem;
}
.about-info-li-i:not(:last-of-type) {
  border-bottom: 1px solid #ccc;
}

.about-info-li-term {
  width: 10rem;
  padding-right: 0.5rem;
}
.about-info-li-desc {
  width: calc(100% - 10rem);
}
.about-info-map {
  width: 50%;
  height: 360px;
  overflow: hidden;
  position: relative;
}
.about-info-map iframe {
  width: 100%;
  position: absolute;
  bottom: 0;
  filter: grayscale(30%);
  transition: all 0.7s ease;
}

@media screen and (max-width: 1200px) {
  .about-info-map {
    width: 40%;
  }
}
@media screen and (max-width: 1040px) {
  .about-info-map {
    width: 100%;
  }
  .about-info-text {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 540px) {
  .about-info-text {
    font-size: 0.8rem;
  }
  .about-info-li-term {
    width: 6rem;
  }
  .about-info-li-desc {
    width: calc(100% - 6rem);
  }
  .about-inner {
    padding: 20px 30px 70px;
  }
}

/* contact */

#contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

#contact .contact-img {
  width: 70%;
  min-height: 300px;
  background: url('../img/pexels-evgeny-tchebotarev-2187966.jpg') no-repeat center;
  background-size: cover;
}

#contact .contact-area {
  width: 25%;
  text-align: center;
}

@media screen and (max-width: 1190px) {
  #contact .contact-img {
    width: 60%;
  }
  #contact .contact-area {
    width: 35%;
  }
}

@media screen and (max-width: 768px) {
  #contact .contact-img {
    width: 48%;
  }
  #contact .contact-area {
    width: 48%;
  }
}

@media screen and (max-width: 600px) {
  #contact .contact-img,
  #contact .contact-area {
    width: 100%;
  }
  #contact .contact-img {
    margin: 0 0 50px 0;
  }
}

#contact .contact-area h2 {
  font-size: 1.3rem;
  margin: 0 0 10px 0;
}

#contact .contact-area dt {
  font-size: 1.2rem;
  margin: 0 0 10px 0;
}

#contact .contact-area dd {
  font-size: 0.8rem;
  margin: 0 0 30px 0;
}

/* footer */

#footer {
  border-top: 1px solid #ccc;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#footer dl {
  width: 30%;
}

#footer dl dt {
  font-size: 0.8rem;
}
#footer .footer-logo {
  font-family: var(--brand-font);
  line-height: 1;
  letter-spacing: 0;
}

#footer dl dd {
  font-size: 2rem;
}

@media screen and (max-width: 900px) {
  #footer dl {
    margin: 50px 0;
  }
}

@media screen and (max-width: 768px) {
  #footer dl dd {
    font-size: 1.5rem;
  }
}

#footer .footer-list {
  width: 65%;
  text-align: right;
}

#footer ul li {
  display: inline-block;
  padding: 0 10px;
  font-size: 0.8rem;
  line-height: 3;
}

#footer small {
  text-align: right;
  margin: 20px 0 0 0;
  display: block;
  width: 100%;
  font-size: 0.7rem;
}

#footer #page-top span {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
  transform: rotate(45deg);
}

@media screen and (max-width: 900px) {
  #footer dl,
  #footer .footer-list,
  #footer small {
    width: 100%;
    text-align: center;
  }
}
