@charset "UTF-8";
/*
$serif: 'Shippori Mincho', "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
$roman: 'Shippori Mincho', "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
*/
@import url("global.css");
ul.tab {
  margin-bottom: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-top: #252122 2px solid;
  border-bottom: #252122 2px solid;
}
ul.tab li {
  width: 25%;
  border-right: #252122 2px solid;
  border-left: #252122 2px solid;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
ul.tab li a {
  display: block;
  text-align: center;
  padding: 4px 7px 20px 10px;
  font-weight: bold;
  font-size: 19px;
  letter-spacing: 3px;
  position: relative;
  color: #fff;
  background-color: #252122;
  overflow: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
ul.tab li a::before {
  content: "\f0d7";
  font-family: "Font Awesome 5 free";
  font-size: 32px;
  line-height: 32px;
  width: 32px;
  position: absolute;
  color: #fff;
  left: 50%;
  margin-left: -16px;
  transition: all 0.5s cubic-bezier(0.52, 0.08, 0.18, 1) 0s;
  -webkit-transition: all 0.5s cubic-bezier(0.52, 0.08, 0.18, 1) 0s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  bottom: 0;
  opacity: 0.5;
}
ul.tab li a:hover {
  color: #252122;
  background-color: #fff;
  padding: 4px 7px 20px 10px;
}
ul.tab li a:hover::before {
  color: #F08803;
  bottom: 0;
  opacity: 1;
}

section .title {
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.4;
}
section .title span {
  display: block;
}
section .title .en {
  margin-bottom: 5px;
  letter-spacing: -1px;
  line-height: 1.1;
  font-family: "Poppins", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "游ゴシック Medium", "Yu Gothic Medium", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Meiryo", "メイリオ", Helvetica, sans-serif;
  font-size: 42px;
  font-weight: 700;
}
section .title .ja {
  font-size: 18px;
  font-weight: bold;
  font-family: "Zen Old Mincho", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

#philosophy {
  position: relative;
}
#philosophy .imgarea {
  width: 63%;
}
#philosophy .imgarea .img {
  width: 100%;
  height: 0;
  padding-top: 66%;
  position: relative;
  overflow: hidden;
  -webkit-clip-path: polygon(0% 0%, 85% 5%, 100% 100%, 0% 100%);
          clip-path: polygon(0% 0%, 85% 5%, 100% 100%, 0% 100%);
}
#philosophy .imgarea .img > img {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#philosophy .textarea {
  width: 540px;
  position: absolute;
  left: 50%;
  top: 55%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
#philosophy .textarea::before {
  content: "";
  width: 100%;
  height: 100%;
  background: #F08803;
  position: absolute;
  right: -15px;
  bottom: -15px;
  z-index: 1;
}
#philosophy .textarea .inner {
  background: #fff;
  padding: 60px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  z-index: 2;
}
#philosophy .textarea .inner p:not([class]) {
  text-align: left;
  line-height: 2;
  font-size: 18px;
}
#philosophy .textarea .inner .name {
  line-height: 1.6;
  text-align: right;
  margin-top: 40px;
  font-size: 18px;
  font-family: "Zen Old Mincho", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
#philosophy .textarea .inner .name span {
  display: block;
  font-size: 16px;
}

#development {
  background: #eee;
  padding: 80px 0;
  margin-bottom: 100px;
}
#development .ls {
  width: 85%;
  margin: 0 auto 40px;
}
#development .f_inner {
  width: 85%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
#development .f_inner .inner {
  width: 48%;
}
#development .f_inner .inner p {
  margin-bottom: 30px;
}
#development .f_inner .inner p:last-of-type {
  margin-bottom: 0;
}
#development .f_inner .inner p a {
  display: block;
  background: #fff;
  padding: 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#cominfo table {
  width: 85%;
  border-collapse: collapse;
  margin: 0 auto 70px;
}
#cominfo table tr:nth-of-type(odd) {
  background: rgba(238, 238, 238, 0.5);
}
#cominfo table th {
  width: 30%;
  padding: 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
  font-weight: bold;
}
#cominfo table td {
  padding: 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
#cominfo .maparea {
  width: 100%;
  height: 0;
  padding-top: 20%;
  overflow: hidden;
  position: relative;
}
#cominfo .maparea iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

#cm {
  background: #eee;
  padding: 80px 0;
  margin-bottom: 100px;
}
#cm ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
#cm ul li {
  width: 25%;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-bottom: 40px;
}
#cm ul li .inner {
  height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #fff;
  padding: 10px;
}
#cm ul li .mv {
  width: 100%;
  height: 0;
  padding-top: 55%;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
#cm ul li .mv iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#cm ul li p {
  line-height: 1.6;
  text-align: center;
  font-size: 18px;
}

#master .intro {
  position: relative;
}
#master .imgarea {
  width: 50%;
  margin-left: auto;
}
#master .imgarea .img {
  width: 100%;
  height: 0;
  padding-top: 66%;
  position: relative;
  overflow: hidden;
  -webkit-clip-path: polygon(0% 20%, 65% 0%, 100% 30%, 100% 100%, 0% 100%);
          clip-path: polygon(0% 20%, 65% 0%, 100% 30%, 100% 100%, 0% 100%);
}
#master .imgarea .img > img {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#master .text {
  width: 540px;
  position: absolute;
  right: 50%;
  top: 55%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  text-align: left;
  z-index: 2;
}
#master .text .lead {
  margin-bottom: 30px;
  font-size: 32px;
  font-family: "Zen Old Mincho", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
#master .masterarea {
  background: #eee;
  padding: 80px 0 60px;
  position: relative;
}
#master .masterarea::before {
  content: "";
  width: 100%;
  height: 100px;
  background: #eee;
  position: absolute;
  top: -100px;
  left: 0;
  z-index: -1;
}
#master .masterarea .wrapper {
  position: relative;
}
#master .masterarea h3 {
  position: absolute;
  left: 0;
  top: -100px;
}
#master .masterarea h3 .en {
  display: block;
  position: absolute;
  left: -50px;
  top: -10px;
  z-index: 1;
  letter-spacing: 0;
  line-height: 1;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  font-family: "Poppins", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "游ゴシック Medium", "Yu Gothic Medium", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Meiryo", "メイリオ", Helvetica, sans-serif;
}
#master .masterarea h3 .ja {
  display: block;
  position: relative;
  z-index: 2;
  letter-spacing: 0.2em;
  font-size: 26px;
  font-weight: bold;
}
#master .masterarea ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 -15px;
}
#master .masterarea ul li {
  width: 33.3333333333%;
  padding: 0 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-bottom: 40px;
}
#master .masterarea ul li .thumb {
  width: 100%;
  margin-bottom: 5px;
}
#master .masterarea ul li .textarea .name_img {
  text-align: center;
}
#master .masterarea ul li .textarea .name {
  line-height: 1.6;
  text-align: center;
  margin-bottom: 7px;
  font-size: 21px;
  font-family: "Zen Old Mincho", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: bold;
}
#master .masterarea ul li .textarea .name span {
  margin-right: 10px;
  font-size: 16px;
}
#master .masterarea ul li .textarea .comment {
  text-align: justify;
  line-height: 1.6;
  font-size: 15px;
}

/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-1 (1300px)

------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1300px) {
  #philosophy .imgarea .img {
    padding-top: 90%;
  }
  #philosophy .textarea {
    width: 45%;
    max-width: 450px;
    top: 60%;
  }
  #philosophy .textarea .inner {
    padding: 45px;
  }
  #philosophy .textarea .inner p:not([class]) {
    font-size: 17px;
  }
  #philosophy .textarea .inner .name {
    margin-top: 20px;
    font-size: 17px;
  }
  #development {
    margin-bottom: 80px;
  }
  #cominfo {
    margin-bottom: 80px;
  }
  #cominfo .maparea {
    padding-top: 30%;
  }
  #cm ul li {
    width: 33.3333333333%;
  }
  #master .imgarea .img {
    padding-top: 76%;
  }
  #master .text {
    width: calc(48% - 50px);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    right: auto;
    left: 50px;
    top: 12%;
    -webkit-transform: none;
            transform: none;
  }
  #master .text .lead {
    font-size: 32px;
  }
  #master .text p br {
    display: none;
  }
  #master .masterarea h3 {
    left: 50px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 960px )

------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  ul.tab li a {
    font-size: 16px;
  }
  #philosophy .imgarea .img {
    padding-top: 96%;
  }
  #philosophy .textarea {
    width: 55%;
    max-width: initial;
    left: 40%;
    top: 60%;
  }
  #philosophy .textarea::before {
    right: -10px;
    bottom: -10px;
  }
  #philosophy .textarea .inner {
    padding: 40px;
  }
  #philosophy .textarea .inner p:not([class]) {
    font-size: 16px;
  }
  #philosophy .textarea .inner .name {
    margin-top: 20px;
    font-size: 16px;
  }
  #philosophy .textarea .inner .name span {
    font-size: 15px;
  }
  #development {
    padding: 60px 0;
    margin-bottom: 60px;
  }
  #development .ls {
    margin: 0 auto 30px;
  }
  #cominfo {
    margin-bottom: 60px;
  }
  #cominfo table {
    width: 100%;
    margin: 0 auto 40px;
  }
  #cominfo .maparea {
    padding-top: 35%;
  }
  #cm {
    margin-bottom: 60px;
    padding: 60px 0;
  }
  #cm ul li {
    width: 50%;
    margin-bottom: 30px;
  }
  #master .imgarea {
    width: 100%;
    margin: 0;
  }
  #master .imgarea .img {
    padding-top: 52%;
    margin-bottom: 30px;
  }
  #master .text {
    padding: 0 20px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: auto;
    position: relative;
    right: auto;
    top: auto;
    left: auto;
    margin-bottom: 30px;
  }
  #master .text .lead {
    font-size: 28px;
  }
  #master .masterarea {
    padding: 60px 0 40px;
  }
  #master .masterarea::before {
    width: 0;
    height: 0;
  }
  #master .masterarea h3 {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 50px;
  }
  #master .masterarea h3 .en {
    left: -20px;
  }
  #master .masterarea ul li {
    width: 50%;
  }
  #master .masterarea ul li .textarea .name {
    font-size: 21px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )

------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  ul.tab {
    margin: 0 -20px 60px;
    /*flex-wrap: wrap;
    flex: 1;
    align-items: center;*/
  }
  ul.tab li {
    /*width: calc(100% / 3);
    &:nth-of-type(4), &:nth-of-type(5) {
    	width: calc(100% / 2);
    	border-top: 1px solid #fff;
    }*/
  }
  ul.tab li a {
    font-size: calc(90% + 3 * (100vw - 644px) / 370);
    padding: 4px 2px 20px 2px;
    letter-spacing: 1px;
  }
  section .title {
    margin-bottom: 30px;
  }
  section .title .en {
    font-size: 28px;
  }
  section .title .ja {
    font-size: 16px;
  }
  #philosophy .imgarea {
    width: 100%;
  }
  #philosophy .imgarea .img {
    padding-top: 70%;
    -webkit-clip-path: none;
            clip-path: none;
  }
  #philosophy .textarea {
    width: 90%;
    position: relative;
    left: auto;
    top: -50px;
    -webkit-transform: none;
            transform: none;
    margin: 0 auto;
  }
  #philosophy .textarea .inner {
    padding: 20px;
  }
  #development {
    padding: 40px 0;
    margin-bottom: 50px;
  }
  #development .ls {
    width: 100%;
    margin: 0 auto 20px;
  }
  #development .f_inner {
    width: 100%;
    display: block;
  }
  #development .f_inner .inner {
    width: 100%;
    margin-bottom: 10px;
  }
  #development .f_inner .inner:last-of-type {
    margin-bottom: 0;
  }
  #development .f_inner .inner p {
    margin-bottom: 10px;
  }
  #development .f_inner .inner p a {
    padding: 10px;
  }
  #cominfo {
    margin-bottom: 50px;
  }
  #cominfo table th {
    width: 100%;
    display: block;
    padding: 15px 15px 7px;
  }
  #cominfo table td {
    width: 100%;
    display: block;
    padding: 0 15px 15px;
  }
  #cominfo .maparea {
    padding-top: 50%;
  }
  #cm {
    margin-bottom: 50px;
    padding: 40px 0;
  }
  #cm ul {
    display: block;
  }
  #cm ul li {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
  #cm ul li .mv {
    margin-bottom: 10px;
  }
  #cm ul li p {
    font-size: 17px;
  }
  #master .text .lead {
    margin-bottom: 20px;
    font-size: 24px;
  }
  #master .masterarea {
    padding: 40px 0 20px;
  }
  #master .masterarea h3 .en {
    margin-bottom: 20px;
  }
  #master .masterarea h3 .ja {
    font-size: 18px;
  }
  #master .masterarea ul {
    margin: 0 -7px;
  }
  #master .masterarea ul li {
    padding: 0 7px;
    margin-bottom: 20px;
  }
  #master .masterarea ul li .textarea .name_img {
    max-width: 70%;
    margin: 0 auto;
  }
  #master .masterarea ul li .textarea .name {
    font-size: 19px;
  }
  #master .masterarea ul li .textarea .name span {
    display: block;
    margin-right: 0;
    font-size: 13px;
  }
  #master .masterarea ul li .textarea .comment {
    line-height: 1.4;
    font-size: 14px;
  }
}