@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 400;
  font-family: Montserrat, "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  line-height: 2;
  letter-spacing: -0.01em;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-width: 1100px;
}

p {
  text-align: justify;
}

a {
  color: #000;
  text-decoration: none;
  transition: .3s;
  backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

a:hover {
  opacity: .3;
}

br.smp,
span.smp {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Serif JP", sans-serif;
  font-weight: 600;
  font-size: 140%;
  letter-spacing: .03em;
}

ul {
  list-style: disc;
  padding-left: 30px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.fade {
  opacity: 0;
  transition: 1.5s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.fade.show {
  opacity: 1;
}

.fade > * {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: 1.5s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.fade.show > * {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#loading {
  background: #fff;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  transition: opacity 1s, visibility 1s;
  width: 100%;
  z-index: 1333;
}

#loading div {
  animation: spin 1s ease infinite normal;
  border: 1px solid rgba(128,128,128,.1);
  border-top-color: #000;
  border-radius: 50%;
  height: 40px;
  left: 50%;
  position: fixed;
  top: 50%;
  margin: -20px 0 0 -20px;
  width: 40px;
}

@keyframes spin {
  from {
  }

  to {
    transform: rotate(360deg);
  }
}

#loading.hide {
  opacity: 0;
  visibility: hidden;
}

#loading.hide div {
  display: none;
}

header {
  position: fixed;
  left: 80px;
  top: 25px;
  z-index: 1000;
}

header h1 {
  width: 180px;
  margin-bottom: 87px;
}

header a {
  display: block;
}

header nav a {
  font-family: "EB Garamond", sans-serif;
  font-size: 17px;
  padding: 6px 0;
  letter-spacing: .02em;
}

header nav a.active {
  font-weight: 600;
}

header nav a img {
  width: 7px;
  margin: 10px auto 0 0;
}

main {
  display: block;
  margin: 0 auto;
}

section {
  padding: 135px 8% 50px 24%;
}

section:last-of-type {
  padding-bottom: 200px;
  margin-bottom: 100px;
}

section > * {
  max-width: 680px;
  margin: 0 auto;
}

.accordion  {
  display: block;
  cursor: pointer;
  opacity: .5;
}

.accordion:hover {
  text-decoration: underline;
}

.accordion + .body {
  display: block;
  padding: 5%;
  background: rgba(0, 0, 0, .03);
  margin-top: 10px;
}

#top {
  background: url("../img/top_bg.png") center bottom no-repeat;
  background-size: 100% 50%;
  text-align: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin: 0;
}

#top .cover {
  position: absolute;
  left: 50%;
  top: 22.5%;
  width: 100%;
  height: 75%;
  transform: translateX(-40%);
  z-index: 2;
}

#top .cover a {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin-left: -30px;
}

#top .cover a::after {
  display: block;
  content: '';
  border: 1px solid #000;
  border-radius: 0;
  border-width: 0 1px 1px 0;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  margin: 20px auto;
}

#top .cover h2 {
  font-size: 108%;
}

#top .cover img {
  width: 134px;
  margin: 20px auto 0;
}

#top .words {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  max-width: inherit;
  z-index: 1;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  padding: 0 10% 0 20%;
}

.slide {
  width: 450px;
  height: 100%;
  outline: none;
  position: relative;
  transform: scale(1.2);
  transition: 1s;
}

/* IE */

.ie .slide {
  opacity: 0.1;
  transform: scale(1);
}

.ie .slide.current {
  opacity: 1;
  transform: scale(1.2);
}

/* other */

.non-ie .slide {
  filter: blur(6px);
}

.non-ie .slide.current {
  filter: blur(0);
}

.slide p {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Noto Serif JP", sans-serif;
  font-weight: 400;
  font-size: 120%;
  letter-spacing: .05em;
  color: #fff;
  text-align: center;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  overflow: inherit;
  height: 100%;
}

.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  z-index: 100;
  border: 1px solid #fff;
  border-radius: 0;
  border-width: 0 1px 1px 0;
  background: transparent;
  color: transparent;
  outline: none;
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.slick-prev {
  left: 300px;
  transform: translateY(-50%) rotate(135deg);
}

.slick-next {
  right: 100px;
  transform: translateY(-50%) rotate(-45deg);
}

.slider button {
  transition: opacity .5s;
}

.slider button:hover {
  opacity: .5;
}

.slick-dots {
  list-style: none;
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
}

.slick-dots li {
  display: inline-block;
  padding: 10px;
  cursor: pointer;
}

.slick-dots button {
  display: block;
  border: 0;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: #000;
  text-indent: -99px;
  overflow: hidden;
  opacity: .1;
  outline: none;
}

.slick-dots .slick-active button {
  opacity: .3;
}

.next {
  margin: 0 8% 0 24%;
  position: relative;
}

.next a {
  display: block;
  position: absolute;
  bottom: 60px;
  left: 50%;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin-left: -30px;
}

.next a::after {
  display: block;
  content: '';
  border: 1px solid #000;
  border-radius: 0;
  border-width: 0 1px 1px 0;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  margin: 20px auto;
}

#service {
  background: url("../img/service_bg.png") center top 65px no-repeat;
  background-size: 100% 400px;
  padding-bottom: 0;
}

#service h3 {
  margin-bottom: 20px;
}

#service figure {
  margin: 50px auto;
}

#service .business {
  display: flex;
  justify-content: space-between;
}

#service .field {
  width: 65%;
}

#service .field:nth-of-type(2) {
  width: 35%;
}

#philosophy {
  background: url(../img/service_bg.png) center top 65px no-repeat;
  background-size: 100% 400px;
}

#philosophy h3 {
  margin-bottom: 20px;
}

#philosophy ul {
  list-style: decimal;
}

#philosophy ul li {
  padding: 6px 0;
}

#philosophy .factor ul {
  list-style: disc;
  margin-top: 5px;
}

#philosophy .factor li {
  padding: 0;
}

#philosophy .factor p:nth-of-type(n+2) {
  margin-top: 20px;
}

#philosophy .factor p:last-of-type {
  margin-top: 60px;
  position: relative;
}

#philosophy .factor p:last-of-type::after {
  content: '';
  display: block;
  position: absolute;
  top: -40px;
  left: 50px;
  z-index: 1;
  border: 1px solid #000;
  border-radius: 0;
  border-width: 0 1px 1px 0;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
}

#philosophy .factor ul:last-of-type {
  list-style: none;
  padding-left: 10px;
}

#solution {
  background: url("../img/solution_bg.png") right 20% bottom no-repeat;
  background-size: auto 95%;
}

.subject {
  font-family: 'EB Garamond', serif;
  font-size: 230%;
  font-weight: 600;
  margin-top: -10px;
}

#solution h2 {
  margin-bottom: 75px;
}

#solution h3 {
  margin-bottom: 20px;
  font-size: 133%;
  line-height: 1.5;
}

#solution > ul {
  list-style: none;
  padding-left: 0;
}

#solution > ul > li {
  margin-top: 35px;
}

#solution > ul > li h3 {
  margin-bottom: 5px;
}

#solution ul ul {
  list-style: decimal;
}

#solution ul ul li {
  padding: 6px 0;
  word-break: break-all;
}

#design-view .design-view {
  background: url("../img/service_bg.png") center top 65px no-repeat;
  background-size: 100% 400px;
}

#design-view .design-view:nth-of-type(n+2) {
  background: url("../img/service_bg_2.png") center top no-repeat;
  background-size: 100% 400px;
  padding-top: 65px;
}

#design-view h3 {
  margin-bottom: 20px;
}

#design-view .body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#design-view .body p {
  width: 65%;
}

#design-view .body figure {
  width: 30%;
}

#design-view .body figure img {
  margin: 0 0 0 auto;
}

#about {
  background: url("../img/service_bg.png") center top 65px no-repeat;
  background-size: 100% 400px;
}

#about .sign {
  text-align: right;
}

#about dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
}

#about dt {
  width: 15%;
}

#about dd {
  width: 85%;
}

#about dt:nth-of-type(n+2),
#about dd:nth-of-type(n+2) {
  margin-top: 20px;
}

#about .profile {
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
}

#about .profile .left {
  width: 35%;
  position: relative;
}

#about .profile .left h2 {
  letter-spacing: .5em;
  margin-bottom: 20px;
}

#about .profile .left figure {
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 400px;
  background: url("../img/ueda.jpg") center center no-repeat;
  background-size: cover;
}

#about .profile .right {
  width: 60%;
}

#contact {
  background: url("../img/service_bg.png") center top 65px no-repeat;
  background-size: 100% 400px;
}

#contact dl {
  margin-top: 50px;
}

#contact dt {
  margin-top: 25px;
}

#contact input,
#contact textarea {
  display: block;
  font-size: 16px;
  font-family: "游ゴシック", "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#contact input {
  line-height: 33px;
  background: #eee;
  border: 0;
  border-radius: 0;
  width: 100%;
  padding: 0 10px;
  margin-top: 5px;
}

#contact textarea {
  line-height: 2;
  background: #eee;
  border: 0;
  border-radius: 0;
  width: 100%;
  padding: 5px 10px;
  margin-top: 5px;
  height: 110px;
}

#contact input[type=submit] {
  background: #fff;
  border: 1px solid #000;
  width: 80px;
  margin: 25px auto 0;
  font-size: 12px;
}

@media screen and (max-width: 1000px) {
  body {
    font-size: 15px;
    min-width: inherit;
  }
  
  br.pc {
    display: none;
  }
  
  br.smp,
  span.smp {
    display: inline;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 130%;
  }
  
  li {
    word-break: break-all;
  }
  
  header {
    left: 0;
    top: 0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
  }
  
  header h1 {
    margin: 0;
    padding: 25px 5%;
    width: 100%;
  }
  
  header h1 img {
    width: auto;
    height: 23px;
  }
  
  header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1001;
    background: #fff;
    padding: 100px 5% 0;
    text-align: right;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
  }
  
  header nav.show {
    opacity: 1;
    visibility: visible;
  }
  
  header nav a {
    font-size: 140%;
  }
  
  header nav a img {
    margin-left: auto;
    margin-right: 0;
  }

  #smpnav_btn {
    position: fixed;
    top: 10px;
    right: 5%;
    transform: translateX(8px);
    width: 45px;
    height: 45px;
    z-index: 1002;
  }

  #smpnav_btn span,
  #smpnav_btn::before,
  #smpnav_btn::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: #000;
    position: absolute;
    top: 22px;
    left: 7px;
    transition: .5s;
  }

  #smpnav_btn::before {
    transform: translateY(-8px);
  }

  #smpnav_btn::after {
    transform: translateY(8px);
  }

  #smpnav_btn.x span {
    opacity: 0;
  }

  #smpnav_btn.x::before {
    transform: translateY(0) rotate(-45deg);
  }

  #smpnav_btn.x::after {
    transform: translateY(0) rotate(45deg);
  }
  
  section {
    padding: 135px 5%;
  }
  
  .accordion + .body {
    font-size: 90%;
    line-height: 1.66;
  }
  
  #top .cover {
    left: 5%;
    width: 90%;
    transform: translateX(0);
  }
  
  #top .cover img {
    width: auto;
    height: 16px;
  }
  
  #top .cover::after {
    bottom: 150px;
  }
  
  .slider {
    padding: 0;
  }
  
  .slide {
    transform: scale(1);
  }
  
  .slick-prev {
    left: 5%;
  }
  
  .slick-next {
    right: 5%;
  }

  .next {
    margin: 0 8%;
  }
  
  #philosophy {
    background-position: center 50px;
  }
  
  #service .business {
    display: block;
  }
  
  #service .field {
    width: 100% !important;
  }
  
  #service .field:nth-of-type(n+2) {
    margin-top: 35px;
  }
  
  #solution {
    background-position: center center;
  }

  #solution > ul > li h3 {
    font-size: 125%;
  }
  
  #design-view .chapter:nth-last-of-type(n+2) {
    margin-bottom: 50px;
  }
  
  #design-view .body {
    display: block;
  }
  
  #design-view .body p {
    width: 100%;
  }
  
  #design-view .body figure {
    width: 100%;
    margin: 50px auto 0;
  }

  #design-view .body figure img {
    margin: 0 auto;
  }
  
  #about .profile {
    display: block;
  }
  
  #about .profile .left {
    width: 100%;
  }
  
  #about .profile .left figure {
    position: static;
    margin-bottom: 40px;
    height: 90vw
  }
  
  #about .profile .right {
    width: 100%;
    margin-top: 40px;
  }
}