@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}
body {
  margin: 0;
  background: #B9000A;
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  font-family: Josefin Sans, "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}


/* --------------------------------
 * parts
 * -------------------------------- */
.heading {
  position: relative;
  display: inline-block;
  margin: 30px 0 15px;
  padding-bottom: 15px;
  letter-spacing: 2px;
  font-size: 4rem;
}
.heading::before,
.heading::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #fff;
}
.heading::before {
  bottom: 5px;
}
.button {
  display: inline-block;
  width: 200px;
  padding: px;
  border-radius: 4px;
  background-color: #fff;
  color: #3af;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 1.2rem;
}
.button:hover {
  opacity: 0.9;
}
.button-showy {
  padding: 15px;
  width: 200px;
  background-color: #fff;
  color: #D29E04;
}
.button-ghost {
  border: 1px solid #fff;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
}


/* --------------------------------
 * header
 * -------------------------------- */
.header {
  background-color: #bb0204;
  padding: 0 0 0;
  margin: 0 0 0;
}
.site-title-sub {
  margin: 0 0 30px;
  letter-spacing: 1px;
  font-size: 2.2rem;
}
.site-title-sub::before,
.site-title-sub::after {
  content: '';
  display: inline-block;
  width: 140px;
  height: 2px;
  margin: 0 30px;
  background-color: #fff;
  vertical-align: middle;
}
.site-title {
  margin: 50px 0 40px;
  font-size: 7.6rem;
}
.site-description {
  margin-bottom: 50px;
  color: #888;
  font-size: 1.6rem;
}
.buttons .button {
  margin: 10px;
}


/* --------------------------------
 * philosophy
 * -------------------------------- */
.philosophy {
  padding: 200px 25px;
  background: #ffaa00 url('../images/philosophy.png') no-repeat fixed top;
  background-size: cover;
  color: #fff;
}
.philosophy-text {
  margin: 30px 0;
  line-height: 2.5;
  font-size: 20px;
  font-weight: bold;
}
.philosophy-description {
  margin: 30px 0;
  line-height: 2.5;
}
.philosophy-wrapper {
  display: table;
  width: 80%;
  margin: 50px auto 0;
  table-layout: fixed;
}
.philosophy-box {
  display: table-cell;
}
.philosophy-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 30px;
  border: 4px solid;
  border-radius: 50%;
  color: #f1b400;
  font-size: 8rem;
  line-height: 142px;
}
.philosophy-title {
  margin: 0 20px 20px;
  font-size: 2rem;
}

.philosophy-logoarea {
  margin : 0 auto;
}

.philosophy-logoarea img {
  max-width: 100%;
}

.philosophy-logoarea_image-smp {
  display: none;
}

/* --------------------------------
 * news - not in use at the moment
 * -------------------------------- */
.news {
  padding: 80px 30px;
  background: #151515 url('../images/news.png') no-repeat fixed top;
  background-size: cover;
  color: #333;
}
.news-text {
  margin: 30px 0;
  line-height: 2.5;
}


/* --------------------------------
 * program
 * -------------------------------- */
.program {
  padding: 80px 0;
  background: #33aaff url('../images/program.png') no-repeat fixed top;
  background-size: cover;
  color: #fff;
}
.program-wrapper {
  display: table;
  width: 80%;
  margin: 50px auto 0;
  table-layout: fixed;
}
.program-box {
  display: table-cell;
}
.program-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 30px;
  border: 4px solid;
  border-radius: 50%;
  color: #f1b400;
  font-size: 8rem;
  line-height: 142px;
}
.program-title {
  margin: 0 20px 20px;
  font-size: 2rem;
}
.program-text {
  margin: 0 20px;
  line-height: 2;
}

.program-release {
  margin-top: 80px;
}
.program-release-button {
  margin: 0 10%;
  padding: 1rem;
  font-size: 1.6rem;
  width: auto;
}

/* --------------------------------
 * work
 * -------------------------------- */
.work {
  padding: 80px 0;
  background: #000d4d url('../images/company.png') no-repeat fixed top;
  background-size: cover;
  color: #fff;
}
.work-wrapper {
  display: table;
  width: 100%;
  margin-top: 60px;
  table-layout: fixed;
}
.work-box {
  position: relative;
  display: table-cell;
}
.work-image {
  display: block;
  width: 100%;
  margin: 0 0 60%;
}
.work-description {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 50%;
  overflow-y: auto;
}
.work-description-inner {
  display: table;
  width: 100%;
  height: 100%;
  padding: 20px;
}
.work-text {
  display: table-cell;
  vertical-align: middle;
  font-size: 1.2rem;
  line-height: 2;
}
.work-text .button {
  width: 60%;
  margin-top: 20px;
  padding: 3px;
}
.work-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: no-repeat;
  background-size: 100% 100%;
  opacity: 0.2;
  transform: scaleY(-1);
}
.work-box.tree::after {
  background-image: url('../images/os.png');
}
.work-box.building::after {
  background-image: url('../images/rr.png');
}
.work-box.lake::after {
  background-image: url('../images/ea.png');
}
.work-box.sky::after {
  background-image: url('../images/0.png');
}
.work-box:nth-child(odd) .work-image {
  margin: 60% 0 0;
}
.work-box:nth-child(odd) .work-description,
.work-box:nth-child(odd)::after {
  top: 0;
}


/* --------------------------------
 * partner
 * -------------------------------- */
.partner {
  padding: 80px 0;
  background: #800055 url('../images/partner.png') no-repeat fixed top;
  background-size: cover;
  color: #fff;
}
.partner-wrapper {
  display: table;
  width: 80%;
  margin: 50px auto 0;
  table-layout: fixed;
}
@media (min-width: 769px) {
  .partner-wrapper.has-oneperson {
    width: 40%;
  }
}
.partner-box {
  display: table-cell;
}
.partner-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 30px;
  border: 4px solid;
  border-radius: 50%;
  color: #f1b400;
  font-size: 8rem;
  line-height: 142px;
}
.partner-title {
  margin: 0 20px 20px;
  font-size: 2rem;
}
.partner-text {
  margin: 0 20px;
  line-height: 2;
}


/* --------------------------------
 * contact
 * -------------------------------- */
.contact {
  padding: 80px 5% 150px;
  background-color: #B9000A;
}
.contact-form-frame {
  width: 100%;
  max-width: 650px;
}

/* スマホ */
@media (max-width: 768px) {
  .contact-form-frame {
    height: 1000px;
  }
}


.contact-form {
  width: 50%;
  margin: 50px auto 0;
}
.contact-form input[type=text],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.7);
  color: #ccc;
}
.contact-form input[type=text]:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7) inset;
}
.contact-form textarea {
  height: 150px;
}
.contact-form input[type=submit] {
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.contact-form input[type=submit]:hover {
  background-color: rgba(255, 255, 255, 0.7);
}


/* --------------------------------
 * footer
 * -------------------------------- */
.footer {
  padding: 12px 0;
  background-color: #B9000A;
  font-size: 1.3rem;
}


/* --------------------------------
 * smart phone
 * -------------------------------- */
@media (max-width: 1024px) {
  /*body {
    background-image: width 100%;
  }*/
}
@media (max-width: 768px) {
  body {
    font-size: 1.3rem;
    background-size: auto 550px;
  }
  .heading {
    margin-top: 20px;
    font-size: 2.5rem;
  }

  .philosophy {
    background-attachment: scroll;
  }
  .philosophy-wrapper {
    width: 100%;
  }
  .buttons {
    padding: 0 5px;
  }
  .buttons .button {
    width: auto;
    margin: 0;
    padding: 10px 3px;
  }
  .button:hover {
    opacity: 1;
  }

  /* --- header --- */
  .header {
    padding-top: 60px;
    background: none;
  }
  .site-title-sub {
    font-size: 1.7rem;
  }
  .site-title-sub::before,
  .site-title-sub::after {
    display: block;
    width: 80%;
    margin: 10px auto;
  }
  .site-title {
    margin-top: 35px;
    font-size: 5rem;
  }

  /* --- about --- */
  .philosophy {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .phisolophy-text {
    line-height: 1.8;
  }

  .philosophy-logoarea_image-pc {
    display: none;
  }

  .philosophy-logoarea_image-smp {
    display: block;
  }

  /* --- program --- */
  .program {
    background-size: 120vw;
    background-position: top center;
    background-attachment: scroll;
    background-color: #64b8e4;
  }
  .program-wrapper,
  .program-box {
    display: block;
  }
  .program-image {
    display: none;
  }
  .program-description {
    position: relative;
  }
  .program-box::after {
    top: 0;
    height: 100%;
    background-size: cover;
  }

  /* --- works --- */
  .work-wrapper {
    display: block;
    margin: 0;
  }
  .work-box {
    position: relative;
    display: block;
    margin: 0;
    padding: 30px 0 0;
  }
  .work-wrapper .work-box:after {
    content: none;
  }
  .work-wrapper .work-box .work-image {
    margin: 0 auto;
    width: 80%;
  }
  .work-text .button {
    display: block;
    margin: 20px auto 0;
  }
  .work-description {
    position: relative;
  }

  /* --- company --- */
  .company-wrapper,
  .company-box {
    display: block;
  }
  .company-box {
    margin: 40px auto;
  }
  .company-icon {
    width: 100px;
    height: 100px;
    font-size: 5rem;
    line-height: 92px;
  }
  .company-text {
    margin: 0;
  }

    /* --- partner --- */
  .partner-wrapper,
  .partner-box {
    display: block;
  }
  .partner-wrapper {
    margin-top: 0;
  }
  .partner-box {
    padding-top: 30px;
  }
  .partner-image {
    display: none;
  }
  .partner-description {
    position: relative;
  }
  .partner-box::after {
    top: 0;
    height: 100%;
    background-size: cover;
  }


  /* --- contact --- */
  .contact {
    padding-bottom: 80px;
  }
  .contact-form {
    width: 100%;
  }
}


/*
.heading::before,
.heading::after {
  content: '';
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  margin: 0 0.5em;
  border: 1px solid;
  vertical-align: 0.2em;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.work-box {
  overflow: hidden;
}
.work-image {
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
}
.work-box:nth-child(odd) .work-image {
  -webkit-transform-origin: top center;
  transform-origin: top center;
}
.work-box:nth-child(even) .work-image {
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.work-box:hover .work-image {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
*/
