/* --------------------
   Top Page
-------------------- */
.top {
  position:relative;
  width: 100%;
  min-height:350px;
  background: url(../images/bg_top_01.jpg) center -90px no-repeat;
  background-attachment: fixed;
  background-size: cover;
  text-align:center;
}
.subtitle {
  margin-bottom: 50px;
  font-size: 2.4rem;
}
.subtitle h2 {
  line-height: 1.5;
}
.subtitle span {
  font-size: 1.4rem;
  font-weight: normal;
}
@media screen and (min-width: 768px) {
  .top {
    min-height:440px;
  }
}
.top h1 {
  font-size: 3.8rem;
  line-height: 1.7;
  text-shadow: 0 0 8px rgb(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  position:absolute;
	right:0;
  bottom:120px;
  left:0;
}
@media screen and (max-width: 767px) {
  .top {
    position: relative;
    width: 100%;
    min-height: 350px;
    background: url(../images/bg_top_01.png) center 30px no-repeat;
    background-size: cover;
    text-align: center;
  }
  .top h1 {
    padding: 20px 10px;
    font-size: 2.6rem;
    bottom: 20px;
  }
}

/* --------------------
   Top Animation
-------------------- */
.p-anima-6__item {
  display: inline-block;
  position: relative;
}
.p-anima-6__item::before {
  content: "";
  display: block;
  background-color: #10679f;
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  bottom: 0;
}
.p-anima-6.__anima .p-anima-6__item::before {
  animation: anima_bg_6 0.9s ease-out 1 forwards;
}

.p-anima-6__item:nth-of-type(2)::before {
  animation-delay: 0.3s !important;
}

.p-anima-6__item span {
  position: relative;
  z-index: 1;
  opacity: 0;
}
.p-anima-6.__anima .p-anima-6__item span {
  animation: anima_fadein_6 0.5s ease-out 0.9s 1 forwards;
}

@keyframes anima_fadein_6 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes anima_bg_6 {
  0% {
    left: 0;
    right: 100%;
  }
  40% {
    left: 0;
    right: 0;
  }
  60% {
    left: 0;
    right: 0;
  }
  100% {
    left: 100%;
    right: 0;
  }
}

/* --------------------
   Top Page / News
-------------------- */

.news-list{
  font-size: 1.5rem;
  width: 700px;
  margin: 0 auto 40px;
  list-style: none outside;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 120px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: #10679f;
  text-decoration: underline;
  transition: all 0.2s ease;
}

@media screen and (max-width: 767px){
  .news-list {
    font-size: 1.4rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
  }
  .news-list .item a{
    flex-wrap: wrap;
    line-height: 1.5;
  }
  .news-list .item .date{
    min-width: 100px;
  }
}

/* --------------------
   Top Page / Banner
-------------------- */
.bnr-area {
  margin-top: 40px;
  text-align: center;
}
.bnr-area a {
  transition: all 0.2s ease;
  display: block;
}
.bnr-area a:hover {
  opacity: 0.7;
}
.bnr-area .bnr-image {
  width: 700px;
}
@media screen and (max-width:767px) {
  .bnr-area {
    padding: 0 20px;
  }
  .bnr-area .bnr-image {
    width: 100%;
  }
}

/* --------------------
   Top Page / Service
-------------------- */
#service {
  padding: 60px 0 80px;
  font-size: 1.rem;
  background: #E7F0F5;
  background: linear-gradient(90deg,rgba(231, 240, 245, 1) 0%, rgba(249, 251, 252, 1) 100%);
}
#service ul {
  display: flex;
  width: 1080px;
  margin: 0 auto 60px;
  align-items: flex-start;
  gap: 60px 40px;
  flex-wrap: wrap;
  justify-content: space-around; 
}
#service ul li {
  width: calc((100% - 40px) / 2);
}
#service .img-serivce {
  width: 520px;
  height: 279px;
  margin-right: 20px;
}
#service ul img {
  width: 520px;
}
#service h3 {
  font-size: 2.0rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 10px;
}
#service ul p {
  line-height: 1.8;
}
#service .service-detail {
  padding: 20px 10px;
}
#service .service-detail .moreLink {
    width: 45%;
    text-align: right;
    font-size: 1.5rem;
    float: right;
    margin-top: 5px;
}
#service .service-detail .moreLinkText {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}
#service .service-detail .moreLinkText:hover .lineArrow  {
  border-bottom: 1px solid #10679f;
  border-right: 1px solid #10679f;
}
#service .service-detail .moreLinkText:hover,
#service .service-detail .moreLinkText:hover .text-link {
  opacity: 0.8;
  color: #10679f;
}
#service .service-detail .text-link {
  text-decoration: none;
  color: #333;
  padding-right: 55px;
}
#service .service-detail .lineArrow {
  width: 100%;
  height: 15px;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  transform: skew(45deg);
  margin: -10px 0 0 -20px;
}

@media screen and (max-width:767px) {
  #service {
    padding: 40px 0;
  }
  #service ul {
    width: 100%;
    margin: 0 0 40px;
    flex-direction: column;
    gap: 40px;
  }
  #service ul li {
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    flex-direction: column;
  }
  #service .img-serivce {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
  }
  #service .img-serivce img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  #service ul p {
    font-size: 1.4rem;
  }
  #service .service-detail .moreLink {
    width: 65%;
    margin-top: 10px;
    font-size: 1.4rem;
  }
}
/* --------------------
   Top Page / Message
-------------------- */
.contents.message {
  padding: 0;
  text-align: center;
}
.contents.message .subtitle {
  margin-bottom: 30px;
  font-size: 2.4rem;
}
.contents.message .subtitle h2 {
  line-height: 1.5;
}
.message-contents {
  padding: 60px 0;
}
.message-text {
  margin-bottom: 30px;
  font-size: 1.5rem;
}
.message-text span {
  display: block;
}
@media screen and (max-width:767px) {
  .message-contents {
    padding: 40px 20px;
  }
  .message-contents h2 {
    font-size: 2rem;
    text-align: left;
  }
  .message-contents h2 br {
    display: none;
  }
  .message-text {
    text-align: left;
  }
  .message-text span {
    display: inline;
  }
}