@charset 'UTF-8';

:root {
  --ShipporiMinchoB1: "Shippori Mincho B1", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HG明朝B", "MS PMincho", serif;
  --NotoSans: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
}

html {
  min-width: 320px;
  font-size: calc(10 / 390 * 100vw);
  overflow: auto;
  scroll-padding-top: 8.4em;
}
@media screen and (min-width: 768px) {
  html {
    font-size: min(10 / 1280 * 100vw, 62.5%);
  }
}
@media screen and (min-width: 1920px) {
  html {
    font-size: calc(10 / 1920 * 100vw);
  }
}
html:not(.nosmooth) {
  scroll-behavior: smooth;
}
body {
  padding: 0 2.6rem;
  font-family: var(--ShipporiMinchoB1);
  font-size: 1.4rem;
  color: rgb(160, 144, 110);
  background-color: rgb(242, 242, 242);
  overflow-x: clip;
}
@media screen and (min-width: 768px) {
  body {
    padding: 0;
    font-size: 1.5rem;
  }
}
#wrapper {
  padding-top: 8.4rem;
  margin: 0 auto;
  max-width: 113.8rem;

  /* outline: 1px solid magenta; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
section p {
  text-align: justify;
  text-justify: inter-ideograph;
  font-feature-settings: "palt";
}
nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
img,
svg,
video,
object,
canvas {
  max-width: 100%;
  height: auto;
}
img,
svg {
  vertical-align: middle;
}
svg {
  fill: currentColor;
}
label[for] {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
  a,
  button:not(:disabled) {
    transition: opacity 0.2s ease-out;
  }
  a:hover,
  button:not(:disabled):hover {
    opacity: 0.75;
  }
}
br.pc {
  display: none;
}
@media screen and (min-width: 768px) {
  br.pc {
    display: inline;
  }
  br.sp {
    display: none;
  }
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* header */
#wrapper > header {
  padding: 0 2.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  min-height: 8.4rem;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  #wrapper > header {
    padding: 0 calc(26 / 1366 * 100vw);
  }
}
#wrapper > header label,
#wrapper > header a {
  pointer-events: auto;
}
@media screen and (min-width: 768px) {
  #wrapper > header a[href^="tel:"] {
    pointer-events: none;
  }
}
#wrapper > header h1 {
  margin: 0;
}
#wrapper > header .logo {
  position: relative;
  z-index: 10;
}
@media screen and (min-width: 768px) {
  #wrapper > header .logo {
    position: static;
    z-index: auto;
  }
}
#wrapper > header .logo a {
  display: block;
  width: 15.7rem;
  line-height: 1;
}
#wrapper > header .logo img {
  width: 100%;
  vertical-align: top;
}

/* header label */
#drawer {
  display: none;
}
#wrapper > header label {
  padding: 1.4rem 0 1.4rem 1.4rem;
  display: block;
  position: relative;
  z-index: 10;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(0.64 / 16 * 1em);
  cursor: pointer;
  transition: 0.2s opacity ease-out;
}
@media screen and (min-width: 768px) {
  #wrapper > header label {
    transition: 0.2s opacity ease-out;
  }
  #wrapper > header label:hover {
    opacity: 0.75;
  }
}
#drawer:checked + header label span:not(.icon) {
  font-size: 0;
}
#drawer:checked + header label::before {
  content: "Close";
}
#wrapper > header label .icon {
  display: inline-block;
  vertical-align: sub;
  width: 1em;
  height: 1em;
  position: relative;
}
#wrapper > header label .icon::before,
#wrapper > header label .icon::after {
  content: "";
  margin: auto;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 50%;
  background-color: currentColor;
}
#wrapper > header label .icon::before {
  rotate: 45deg;
}
#wrapper > header label .icon::after {
  rotate: -45deg;
}
#drawer:checked + header label .icon::before,
#drawer:checked + header label .icon::after {
  width: 1px;
  height: 1px;
  border-radius: 0;
  scale: 14 1;
  transition: 0.2s width linear, 0.2s height linear, 0s border-radius 0.2s, 0.2s scale ease-out 0.2s;
}
#drawer:not(:checked) + header label .icon::before,
#drawer:not(:checked) + header label .icon::after {
  transition: 0.2s scale linear, 0s border-radius 0.2s, 0.2s width ease-out 0.2s, 0.2s height ease-out 0.2s;
}

/* globalnav */
#globalnav {
  padding: 8.4rem 2.6rem 0 2.6rem;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
  pointer-events: auto;
  background: rgb(242, 242, 242) url(../images/bg_gnav.svg) no-repeat;
  background-position: calc(100% + 10 / 390 * 100vw) calc(100% + 60 / 390 * 100vw);
  background-size: calc(560 / 390 * 100vw) auto;
}
@media screen and (min-width: 768px) {
  #globalnav {
    padding-left: calc(26 / 1366 * 100vw);
    padding-right: calc(26 / 1366 * 100vw);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    background-position: calc(100% + 10 / 758 * 100svh) 50%;
    background-size: auto calc(898 / 758 * 100svh);
  }
  #globalnav .home {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  #globalnav .contents {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  #globalnav .contact {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
}
#drawer:not(:checked) + header #globalnav {
  translate: 100% 0;
  opacity: 0;
  transition: 0.4s opacity ease-out, 0s translate 0.4s;
}
#drawer:checked + header #globalnav {
  transition: 0.4s opacity ease-out;
}
#globalnav .home {
  display: none;
}
@media screen and (min-width: 768px) {
  #globalnav .home {
    padding: 0 calc(84 / 1366 * 100vw);
    margin: auto 0;
    display: block;
  }
}
#globalnav .home a {
  display: block;
  width: 33rem;
}
@media screen and (min-width: 768px) {
  #globalnav .home a {
    width: calc(330 / 1366 * 100vw);
  }
}
#globalnav .home a img {
  width: 100%;
}
#globalnav .contents {
  padding: 2.8rem 0;
  margin: 0 auto;
  flex-grow: 1;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (min-width: 768px) {
  #globalnav .contents {
    margin: auto 0;
  }
}
#globalnav .contents li {
  border-bottom: 1px solid rgb(203, 195, 178);
}
@media screen and (min-width: 768px) {
  #globalnav .contents li {
    padding: calc(6 / 1366 * 100vw) 0;
    border-bottom: none;
  }
}
#globalnav .contents a {
  padding: 2.8rem;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  #globalnav .contents a {
    padding: calc(28 / 1366 * 100vw);
    flex-direction: row;
    align-items: flex-end;
  }
}
#globalnav .contents .ja {
  padding-top: 1em;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(0.84 / 14 * 1em);
  text-indent: calc(0.84 / 14 * 1em);
}
@media screen and (min-width: 768px) {
  #globalnav .contents .ja {
    padding-top: 0;
    margin-left: 1em;
    font-size: calc(14 / 1366 * 100vw);
  }
}
#globalnav .contents .en {
  order: -10;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: calc(1.92 / 32 * 1em);
}
@media screen and (min-width: 768px) {
  #globalnav .contents .en {
    font-size: calc(32 / 1366 * 100vw);
  }
}
#globalnav .contact {
  padding: 0.7rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  min-height: 8.4rem;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #globalnav .contact {
    padding: calc(7 / 1366 * 100vw) 0;
    flex-wrap: nowrap;
  }
}
#globalnav .contact .policy {
  padding-right: 0;
  order: 10;
  flex-basis: 100%;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #globalnav .contact .policy {
    margin-right: auto;
    order: 0;
    flex-basis: auto;
  }
}
#globalnav .contact li {
  padding-right: 1em;
}
@media screen and (min-width: 768px) {
  #globalnav .contact li {
    padding-right: 0;
  }
}
#globalnav .contact li a,
#globalnav .contact li span {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  display: block;
  font-weight: 500;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  #globalnav .contact li:not(:first-of-type) a,
  #globalnav .contact li:not(:first-of-type) span {
    padding-left: 0.5em;
  }
  #globalnav .contact li:not(:last-of-type) a,
  #globalnav .contact li:not(:last-of-type) span {
    padding-right: 0.5em;
  }
}
#globalnav .contact li:not(.policy) a,
#globalnav .contact li:not(.policy) span {
  font-size: 1.4rem;
  letter-spacing: calc(0.56 / 14 * 1em);
  text-indent: calc(0.56 / 14 * 1em);
}
@media screen and (min-width: 768px) {
  #globalnav .contact li:not(.policy) a,
  #globalnav .contact li:not(.policy) span {
    font-size: calc(14 / 1366 * 100vw);
  }
}
#globalnav .contact .policy a {
  margin-left: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.2rem;
}
@media screen and (min-width: 768px) {
  #globalnav .contact .policy a {
    font-size: calc(12 / 1366 * 100vw);
  }
}

/*  main  */
#wrapper > main {
}

/*  footer  */
#wrapper > footer {
  padding: 2.1rem 2.6rem;
  margin: 0 calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 20rem;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #wrapper > footer {
    padding-left: calc(26 / 1366 * 100vw);
    padding-right: calc(26 / 1366 * 100vw);
    min-height: 30rem;
  }
}
#wrapper > footer .contact {
  padding: 1.6rem 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
  #wrapper > footer .contact {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}
#wrapper > footer .contact li {
  font-size: 1.4rem;
}
#wrapper > footer .contact li:not(:last-of-type) {
  padding-right: 1em;
}
#wrapper > footer .contact li a,
#wrapper > footer .contact li span {
  padding: 0.3em 0;
  display: block;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: calc(0.56 / 14 * 1em);
  text-indent: calc(0.56 / 14 * 1em);
}
#wrapper > footer small {
  padding: 0.1em 0;
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
}
#wrapper > footer small a {
  display: block;
}

/* components */

/* cmp_heading */
.cmp_heading {
  margin: 0;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .cmp_heading {
    padding: 1.6rem 0;
    flex-direction: row;
    align-items: flex-end;
  }
}
.cmp_heading .ja {
  padding-top: 1em;
  padding-bottom: 1em;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(0.84 / 14 * 1em);
  text-indent: calc(0.84 / 14 * 1em);
}
@media screen and (min-width: 768px) {
  .cmp_heading .ja {
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 1em;
    font-size: 1.4rem;
  }
}
.cmp_heading .en {
  padding-top: 0.5em;
  order: -10;
  font-size: 2.8rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: calc(1.92 / 32 * 1em);
}
@media screen and (min-width: 768px) {
  .cmp_heading .en {
    padding-top: 0;
    font-size: 3.2rem;
  }
}

/* fadein @common.js */
.fadein:not(.outside) {
  transition: opacity 0.8s ease-in-out 0.4s, transform 0.8s ease-out 0.4s;
}
.fadein.outside {
  opacity: 0;
  transform: translate(0, 4.4rem);
}
