@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter&display=swap");
* {
  box-sizing: border-box
}

*:before, *:after {
  box-sizing: inherit
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-weight: normal
}

body {
  line-height: 1
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}

nav ul {
  list-style: none
}

blockquote, q {
  quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

del {
  text-decoration: line-through
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help
}

table {
  border-spacing: 0
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0
}

input, select {
  vertical-align: middle
}

@font-face {
  font-family: 'hiragino_go';
  src: url("./assets/font/hiraginoW3.woff") format("woff")
}

@font-face {
  font-family: 'hiragino_go6';
  src: url("./assets/font/hiraginoW6.woff") format("woff")
}

@font-face {
  font-family: 'hiragino_min';
  src: url("./assets/font/hiragino_minchoW3.woff") format("woff")
}

@font-face {
  font-family: 'hiragino_min6';
  src: url("./assets/font/hiragino_minchoW6.woff") format("woff")
}

.font-hiragino_go {
  width: 100%;
  font-family: 'hiragino_go'
}

.font-hiragino_go6 {
  width: 100%;
  font-family: 'hiragino_go6'
}

.font-hiragino_min {
  width: 100%;
  font-family: 'hiragino_min'
}

.font-hiragino_min6 {
  width: 100%;
  font-family: 'hiragino_min6'
}

.font-dmserif {
  font-family: 'DM Serif Display', serif
}

.font-inter {
  font-family: 'Inter', sans-serif
}

@media (min-width: 769px) {
  .pc {
    display: block !important
  }
}

@media only screen and (max-width: 768px) {
  .pc {
    display: none !important
  }
}

@media (min-width: 769px) {
  .sp {
    display: none !important
  }
}

@media only screen and (max-width: 768px) {
  .sp {
    display: block !important
  }
}

html {
  height: -webkit-fill-available;
  min-height: 100vh
}

body {
  font-family: 'Inter', "hiragino_go", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
  line-height: 1.8;
  font-size: 14px;
  color: #5C5C5C;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  letter-spacing: 0.02em
}

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

h1 {
  font-size: 36px
}

h2 {
  font-size: 28px
}

h3 {
  font-size: 20px
}

a {
  cursor: pointer
}

img {
  vertical-align: bottom;
  width: 100%;
  height: 100%
}
/* /default css */

/* transition */
.text-box ul {
}

/* .contens-wrap */
body .contents-wrap {
  background-image: url("../img/background.jpg");
  /* display: flex;
  align-items: center; */
}

/* text-en */
.text-wrap .text-en {
  line-height: 1;
  width: 100%;
  text-align: center;
  font-family: 'DM Serif Display', serif;
  font-size: 0
}
.text-wrap .text-en span {
  font-size: 128px;
  transition: 0.6s;
  transform: translate(0, 100%);
}
@media only screen and (max-width: 768px) {
  .text-wrap .text-en span {
    font-size: 68px
  }
}
/* text-jp */
.text-wrap .text-jp {
  font-family: 'hiragino_min6';
  font-size: 18px;
  text-align: center;
  letter-spacing: 0.12em
}
@media only screen and (max-width: 768px) {
  .text-wrap .text-jp {
    font-size: 15px;
  }
}
.text-wrap .text-jp span {
  transition: 0.6s;
  transform: translate(0, 100%)
}

/* text */
.text-wrap {
  color: #ffffff;
}

/* leaf-image */
.img-wrap {
  opacity: 0;
  transition: 0.8s;
  transition-delay: 0.4s;
  transform: translate(0, 40%)
}
.img-wrap {
  opacity: 1;
  transform: translate(0, 0%)
}
@media only screen and (max-width: 768px) {
  .img-wrap:before {
    padding-top: 105.333%
  }
}
.img-wrap figure {
  display: flex;
  position: relative;
}
.img-wrap figure img {
  width: 50%;
  height: auto;
  margin: auto;
  z-index: 2;
}
.img-wrap figure>.vertical {
  background-color: #FFFFFF;
  width: 2vw;
  height: 26%;
  position: absolute;
  top: 74%;
  left: 50%;
}

/* vertical-line */
.row {
  display: flex;
  flex-direction: row;
}
.row>.left {
  width: 45%;
  margin-left: 5%;
}
.row>.right {
  width: 43%;
  margin-right: 5%;
}
.row>.branch+.right {
  width: 23%;
  margin-right: 5%;
}
.row>.vertical {
  background-color: #FFFFFF;
  width: 1%;
  height: auto;
}

/* branch */
.row>.text-box>h2 {
  display: flex;
  position: relative;
  font-size: 24px;
}
.row>.text-box li {
  font-size: 14px;
  text-indent: -1.2em;
  padding: 0 0 0 1em;
}
@media only screen and (max-width: 768px) {
  .row>.text-box>h2 {
    font-size: 18px;
    text-decoration: underline;
  }
  .row>.text-box li {
    font-size: 13px;
  }
}
.row>.left>h2::after {
  content: "";
  flex-grow: 1;
	height: 1vw;
	background: #FFFFFF;
	display: block;
  transform: rotate(-15deg);
  transform-origin: 15% -500%;
}
.row>.left.upper>h2::after {
  transform: rotate(10deg);
  transform-origin: -18% 700%;
}
@media only screen and (max-width: 768px) {
  .row>.left.upper>h2::after {
    transform: rotate(15deg);
    transform-origin: -18% 700%;
  }
}
.row>.branch {
  background-color: #FFFFFF;
  width: 20%;
  height: 1vw;
  transform: rotate(-20deg);
  transform-origin: 150% 1000%;
}

/* logo */
.row>.logo,
.contact .logo {
  background-color: #ffffff;
  width:  10vw;
  height: 10vw;
  border-radius: 50%;
  object-fit:cover;
  object-position:0px 0px;
  margin-left: 46%;
}
.contact .logo {
  margin-left: 0%;
}

/* footer */
.footer-content {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.footer-content>* {
  margin: auto;
}
.contact a {
  position: relative;
  margin: 10px;
  display: block;
  width: 10vw;
  height: 10vw;
}
.contact>a>img {
  width: 7vw;
  z-index: 2;
  position: absolute;
  left: 25%;
}
.contact .circle {
  width: 10vw;
  height: 10vw;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  z-index: 1;
  left: 11%;
}
.page-top a {
  width: 100%;
  height: 100%;
  display: block;
  background: url(../assets/img/icon_pagetop.svg) center center no-repeat;
}

/* contact-page */
body.contact .contact {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
body.contact .contact p {
  margin: auto;
}
.googleform-wrapper {
  position: relative;
  width: 100%;
  height: 800px;
  overflow-y: scroll;
}
.googleform-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
