@charset "UTF-8";

/*共通パーツ　コンテンツ
-------------------------------------*/
/*横幅一杯のコンテンツ*/
.contents-full {
  position: relative;
  width: 100%;
}
/*横幅1460pxのコンテンツ*/
.contents {
  max-width: 1460px;
  margin: 0 auto;
}
@media screen and (max-width: 1470px) {
  .contents {
    max-width: 90%;
  }
}
@media screen and (max-width: 1195px) {
  .contents {
    max-width: 85%;
  }
}

/*コンテンツの章タイトル
-------------------------------------*/
h1.contents-title {
  position: relative;
  display: block;
  height: 42px;
  font-size: 2.6rem;
  letter-spacing: 0.3rem;
  color: #3b3b3b;
  margin-bottom: 40px;
}
h1.contents-title:after {
  position: absolute;
  bottom: -9px;
  left: 0;
  content: "";
  width: 220px;
  height: 10px;
  background-image: url(../img/common/h1-line.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 1195px) {
  h1.contents-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    height: 38px;
  }
  h1.contents-title:after {
    width: 157px;
    height: 9.37px;
    bottom: 0;
  }
}

/*最上部画像
-------------------------------------*/
.mainimg-area {
  position: relative;
  width: 100%;
  height: 550px;
  margin-bottom: 75px;
  overflow: hidden;
}
.mainimg-area img {
  position: absolute;
  top:0;
  left:0;
  opacity: 0;
  width: 100%;
  height: 550px;
  object-fit: cover;
  
  transform: scale(1.2);
  -webkit-animation: anime 18s 0s infinite;
  animation: anime 18s 0s infinite;
}
.mainimg-area img.main-b{
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}
.mainimg-area img.main-c{
  -webkit-animation-delay: 12s;
  animation-delay: 12s;
}
@keyframes anime {
  0% {
      opacity: 0;
  }

  16% {
      opacity: 1;
  }

  33% {
      opacity: 1;
  }

  66% {
      opacity: 0;
      transform: scale(1.1);
  }

  100% {
      opacity: 0
  }
}
.maintitle-area {
  position: absolute;
  top: 78px;
  left: 0;
  max-width: 695px;
  padding: 62px 140px;
  border-radius: 0 5px 5px 0;
  background: #fff;
}
.maintitle-area h1 {
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 4.5rem;
  letter-spacing: 0.9rem;
  line-height: 1.4;
  text-align: left;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-bottom: 5.3rem;
}
.maintitle-area h1:after {
  position: absolute;
  bottom: -15.3px;
  left: 0;
  content: "";
  width: 194.31px;
  height: 15.3px;
  background-image: url(../img/common/title-line.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
.maintitle-area p {
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  line-height: 1.9;
}
.news-area {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #fa6205;
  padding: 2.3rem;
  box-sizing: border-box;
  color: #fff;
}
.news-area-inner {
  display: flex;
  align-items: center;
}
.news-area h1 {
  font-size: 1.8rem;
  font-weight: 600;
  padding-right: 2rem;
}
.news-area p.date {
  font-size: 1.3rem;
  padding-right: 1rem;
}
.news-area p.txt a {
  font-size: 1.4rem;
  padding-right: 1rem;
  letter-spacing: 0.08rem;
  color: #fff;
}
.news-area img {
  width: 45.77px;
  height: 5.58px;
}
@media screen and (max-width: 1470px) {
  .maintitle-area {
    padding: 62px 75px;
  }
  .news-area {
    padding: 1.3rem 2rem 1.3rem;
  }
  .news-area-inner {
    display: block;
  }
  .news-area h1 {
    padding-right: 0;
    padding-bottom: 1.5rem;
  }
  .news-area p.date {
    padding-right: 0;
    padding-bottom: 0.8rem;
  }
  .news-area img {
    display: none;
  }
}
@media screen and (max-width: 1195px) {
  .mainimg-area,
  .mainimg-area img {
    height: 441px;
  }
  .mainimg-area {
    margin-bottom: 25px;
  }
  .maintitle-area {
    max-width: 70%;
    top: 71px;
    padding: 3%;
  }
  .maintitle-area h1 {
    font-size: 2.3rem;
    line-height: 1.4;
    letter-spacing: 0.5rem;
    margin-bottom: 2.9rem;
  }
  .maintitle-area h1:after {
    bottom: -7.25px;
    width: 92px;
    height: 7.25px;
  }
  .maintitle-area p {
    font-size: 1.6rem;
    line-height: 1.7;
  }
  .news-area {
    width: 100%;
  }
  .news-area h1 {
    font-size: 1.6rem;
    padding-bottom: 1rem;
  }
  .news-area p.date {
    font-size: 1.3rem;
  }
  .news-area p.txt {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 500px) {
  .maintitle-area {
    padding: 7%;
  }
  .maintitle-area p{
    font-size:1.45rem;
    line-height: 1.5;
  }
}

/*代表からのご挨拶
-------------------------------------*/
.president-img-area {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: calc(100vw / 3);
  height: 357px;
  background-image: url(../img/common/back.svg);
}
.president {
  width: 316px;
  margin-left: 73px;
  margin-top: 95px;
  text-align: center;
}
.president-img {
  width: 316px;
  height: 316px;
  object-fit: cover;
}
.president h1 {
  font-size: 1.8rem;
  padding: 22px 0;
}
.president-message {
  width: calc(100vw / 1.8);
  padding-bottom: 57px;
}
.president-message h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 3.2rem;
  letter-spacing: 0.3rem;
  color: #fa6205;
  padding-bottom: 15px;
}
.president-message p {
  font-size: 1.5rem;
  line-height: 160%;
  padding-bottom: 1.8rem;
}
.president-message ol {
  padding-bottom: 1.8rem;
}
.president-message ol li {
  list-style-type: decimal;
  font-size: 1.5rem;
  margin: 0 0 1rem 1.5rem;
  padding-left: 0.5rem;
}
@media screen and (max-width: 1470px) {
  .president-img-area {
    width: calc(100vw / 2.7);
  }
  .president {
    margin-left: 42px;
  }
  .president-message {
    width: calc(100vw / 1.9);
  }
}
@media screen and (max-width: 1195px) {
  .president-img-area {
    position: static;
    width: 100%;
    height: auto;
    padding: 10px 0 0 5%;
    margin-bottom: 30px;
    box-sizing: border-box;
    background-image: url(../img/common/back-sp.svg);
    background-repeat: repeat-x;
  }
  .president {
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
  }
  .president-img {
    width: 40%;
    height: auto;
  }
  .president-name {
    width: 53%;
  }
  .president h1 {
    font-size: 1.5rem;
    text-align: left;
  }
  .president-message {
    width: 100%;
    padding-bottom: 20px;
  }
  .president-message h1 {
    font-size: 2rem;
    padding-bottom: 17px;
  }
  .president-message p {
    font-size: 1.4rem;
  }
  .president-message ol {
    padding-bottom: 1rem;
  }
}

/*サービス内容
-------------------------------------*/
.service {
  padding: 73px 0;
  background: #fff4e3;
}
.service .left {
  float: left;
  width: 45%;
  padding: 50px 7% 0 0;
  box-sizing: border-box;
}
.service .right {
  float: left;
  width: 55%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.service .right-item {
  position: relative;
  width: 285px;
  height: 411px;
  margin: 30px 0 15px;
  box-sizing: border-box;
  letter-spacing: 0.1rem;
}
.service .right-item:nth-child(3),
.service .right-item:nth-child(4) {
  height: 340px;
}
.service .right-item h1 {
  display: block;
  width: 100%;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fa6205;
  text-align: center;
  margin-bottom: 3rem;
}
.service .right-item h2 {
  border-bottom:1px dotted #5e5a5a;
  font-size: 1.4rem;
  font-weight: 500;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}
.service .right-item:nth-child(4) h2 {
  margin-bottom: 14px;
}
.service .right-item p {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.service .right-item .service-img {
  display: block;
  width: 130px;
  margin: 0 auto 16px;
}
.service .right-item .service-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: block;
  width: 245.67px;
}
.service .example {
  padding: 56px 0;
  border-top: 1px solid #0a286a;
}
.service .example h1 {
  font-size: 2.6rem;
  font-weight: 600;
  color: #0a286a;
  text-align: center;
}
.example-box {
  margin-top: 46px;
  display: flex;
  justify-content: space-between;
}
.service .example-item {
  position: relative;
  flex: 1;
  height: 320px;
  background: #fff;
  box-sizing: border-box;
  padding: 40px 30px 39px;
  margin-right: 3%;
}
.service .example-item:last-child {
  margin-right: 0;
}
.service .example-item h1 {
  display: block;
  border-bottom: 1px solid #122766;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: #0a286a;
  text-align: left;
  letter-spacing: 0.1rem;
}
.service .example-item ul li {
  list-style-type: disc;
  margin-left: 1.5em;
  padding-bottom: 0.5em;
  font-size: 1.5rem;
}
.service .example-item p {
  font-size: 1.6rem;
  font-weight: 500;
  color: #0a286a;
  text-align: right;
}
.service .example-item a {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: auto;
  width: 245.67px;
}
@media screen and (max-width: 1195px) {
  .service{
    padding:40px 0 73px;
  }
  .service .left,
  .service .right {
    width: 100%;
  }
  .service .left {
    padding: 0 5%;
  }
  .service .right-item {
    height: auto;
    padding-bottom: 50px;
  }
  .service .right-item:nth-child(3),
  .service .right-item:nth-child(4) {
    height: auto;
  }
  .service .right-item .service-img {
    width: 27%;
    float: left;
    margin-right: 5%;
    margin-bottom: 30px;
  }
  .service .right-item h1 {
    width: 65%;
    float: left;
    padding-top: 2rem;
    text-align: left;
  }
  .service .right-item {
    width: 100%;
    padding-bottom: 10px;
  }
  .service .right-item h2 {
    clear: both;
    font-size: 1.4rem;
  }
  .service .right-item p {
    font-size: 1.4rem;
  }
  .service .example {
    padding: 36px 0 0;
    margin: 15px 0 0;
  }
  .service .example h1 {
    font-size: 1.6rem;
  }
  .example-box {
    margin-top: 15px;
    display: block;
  }
  .service .example-item {
    margin: 0 0 8%;
    height: auto;
    padding-bottom: 80px;
  }
  .service .example-item h1 {
    font-size: 1.6rem;
  }
  .service .example-item ul li {
    font-size: 1.4rem;
    padding-bottom: 1em;
  }
  .service .example-item p{
    text-align: center;
  }
}
