@charset "UTF-8";

/* main
-----------------------------------------------*/
#main {
  background-image: url("/img/aboutus/bgi_philosophy.svg");
  background-color: #f7f6f0;
  background-position: bottom 0 center;
  background-repeat: no-repeat;
  height: 400px;
}
#main h1 {
  font-size: 42px;
  color: #00776a;
  padding-top: 180px;
  line-height: 1.4;
  text-align: center;
  padding-left: 0.5em;
}
/* fade */
#main {
  background-position: bottom -60px center;
  opacity: 0;
  transition: background 1s cubic-bezier(0.21, 0.6, 0.35, 1),
    opacity 1s cubic-bezier(0.21, 0.6, 0.35, 1);
}
#main.fade {
  opacity: 1;
  background-position: bottom 0px center;
}
#main h1 {
  opacity: 0;
  transition: opacity 2.2s cubic-bezier(0.21, 0.6, 0.35, 1);
  transition-delay: 0.8s;
}
#main.fade h1 {
  opacity: 1;
}
@media only screen and (max-width: 767px) {
  #main {
    background-size: 220px;
    background-position: bottom -40px center;
    height: 200px;
  }
  #main h1 {
    font-size: 24px;
    padding-top: 85px;
  }
  /* fade */
  #main {
    background-position: bottom -70px center;
  }
  #main.fade {
    background-position: bottom -40px center;
  }
}

/* section
-----------------------------------------------*/
.section {
  padding: 100px 40px;
  text-align: center;
}
.section:first-child {
  padding-top: 80px;
}
.section:nth-child(even) {
  background-color: #f2f2f2;
}
.section .inner {
  max-width: 1080px;
  margin: 0 auto;
}
.section h2::before {
  content: "";
  display: block;
  width: 100px;
  height: 1px;
  background: #00776a;
  margin: 70px auto;
}
.section h2:first-child::before {
  display: none;
}
.section h2 strong {
  display: block;
  font-weight: normal;
  font-size: 20px;
  line-height: 2;
}
.section h2 span {
  display: block;
  font-weight: normal;
  font-size: 16px;
  margin-top: 5px;
}
.section h3 {
  margin-top: 40px;
  color: #00776a;
  font-size: 28px;
  line-height: 2;
}
.section h3 span {
  display: block;
  font-size: 20px;
  margin-top: -10px;
}
.section .inner > p {
  margin-top: 40px;
  color: #00776a;
  font-size: 16px;
  line-height: 2;
}
.section .col2 {
  overflow: hidden;
  font-size: 0;
  margin-top: 40px;
}
.section h2 + .col2 {
  margin-top: 0;
}
.section .col2 .col {
  display: inline-block;
  text-align: left;
  color: #00776a;
  margin: 0 20px;
}
.section .col2 .col:first-child {
  margin-left: 0;
}
.section .col2 .col:last-child {
  margin-right: 0;
}
.section .col2 .col h3 {
  text-align: left;
  margin-top: 60px;
  line-height: 1.5;
}
.section .col2 .col p {
  font-size: 16px;
  line-height: 2;
  margin: 5px 0 0 25px;
}
.section .col2 .col ul {
  margin-left: 25px;
}
.section .col2 .col ul li {
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0 0 1em;
  text-indent: -1em;
}
@media only screen and (max-width: 1080px) {
  .section .col2 {
    display: inline-block;
  }
  .section .col2 .col {
    display: block;
    margin: 0;
  }
}
@media only screen and (max-width: 767px) {
  .section {
    padding: 60px 20px;
  }
  .section:first-child {
    padding-top: 40px;
  }
  .section h2::before {
    width: 80px;
    margin: 50px auto;
  }
  .section h2 strong {
    font-size: 16px;
  }
  .section h2 span {
    font-size: 14px;
  }
  .section h3 {
    margin-top: 30px;
    font-size: 18px;
  }
  .section h3 span {
    font-size: 14px;
  }
  .section .inner > p {
    margin-top: 30px;
    font-size: 14px;
  }
  .section .col2 {
    display: block;
    margin-top: 30px;
  }
  .section .col2 .col h3 {
    margin-top: 20px;
  }
  .section .col2 .col p {
    font-size: 14px;
    margin: 0 0 0 18px;
  }
  .section .col2 .col ul {
    margin-left: 18px;
  }
  .section .col2 .col ul li {
    font-size: 14px;
    margin: 8px 0 0 1em;
  }
}

/* fade
-----------------------------------------------*/
.section h2,
.section h3,
.section .inner > p,
.section .col2 ul,
.section .col2 p {
  opacity: 0;
  transition: opacity 2.2s cubic-bezier(0.21, 0.6, 0.35, 1);
}
.section h2.fade,
.section h3.fade,
.section .inner > p.fade,
.section .col2 ul.fade,
.section .col2 p.fade {
  opacity: 1;
}

/* button
-----------------------------------------------*/
.btnlink {
  text-align: center;
  margin-top: 60px;
}

.btnlink a {
  position: relative;
  z-index: 1;
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 62px;
  font-weight: bold;
  text-align: center;
  width: 304px;
  margin: 0 auto;
  opacity: 1;
  transition: color 0.3s cubic-bezier(0.21, 0.6, 0.35, 1);
}
.btnlink a::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -2;
  width: 0;
  height: 100%;
  transition: width 0.6s cubic-bezier(0.21, 0.6, 0.35, 1);
  background-color: #017062;
}
.btnlink.fade a::before {
  width: 100%;
}
.btnlink a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  transition: width 0.3s cubic-bezier(0.21, 0.6, 0.35, 1);
  background: #fff;
  opacity: 0.3;
}
.btnlink a:hover {
  color: #fff;
}
.btnlink a:hover::after {
  width: 100%;
}
.btnlink a span {
  display: block;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.21, 0.6, 0.35, 1);
  transition-delay: 0.4s;
}
.btnlink.fade a span {
  opacity: 1;
}

@media only screen and (max-width: 767px) {
  .section h2 {
    font-size: 40px;
  }
  .btnlink {
    margin-top: 40px;
  }
  .btnlink a {
    font-size: 14px;
    line-height: 52px;
    width: 100%;
    max-width: 280px;
  }
}
