body {
  color: #4D4D4D;
  font-family: 'Noto sans Jp','Yu Gothic black',sans-serif,'メイリオ';
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}



/* =============================================
ヘッダーのCSSはここから
============================================= */

header.header02 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

div.logo {
  width: 400px;
  height: 50px;
}

div.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

nav.nav ul.item {
  display: flex;
  align-items: center;
}

nav.nav ul.item li.list {
  padding-left: 1.5rem;
}

nav.nav ul.item li.list a {
  font-weight: bold;
}

nav.nav ul.item li.contact a {
  display: inline-block;
  background: linear-gradient(to right, #0054BD, #91D2E5);
  color: #fff;
  font-size: 1.2rem;
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
}

#menu-btn,
.nav-hidden {
  display: none;
}

/* キービジュアル */
.fv-container {
  width: 100%;
  height: 80vh;
  background-size: cover;
}

/* SPここから */

@media (max-width: 768px) {
  header.header02 #menu-btn {
    display: block;
    width: 30px;
    height: 20px;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3;
  }

  #menu-btn span,
  #menu-btn span::before,
  #menu-btn span::after {
    content: "";
    height: 2px;
    width: 100%;
    border-radius: 3px;
    background: #3656a7;
    position: absolute;
    transition: 0.2s;
  }

  #menu-btn span {
    top: 0;
  }

  #menu-btn span:before {
    top: 8px;
  }

  #menu-btn span:after {
    top: 16px;
  }

  #nav-input:checked~#menu-btn span {
    top: 8px;
    transform: rotate(45deg);
  }

  #nav-input:checked~#menu-btn span::before {
    opacity: 0;
  }

  #nav-input:checked~#menu-btn span::after {
    top: 0;
    transform: rotate(-90deg);
  }

  div.logo {
    width: 400px;
    height: 50px;
    margin: 0 auto;
  }

  nav.nav {
    width: 230px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    transition: 0.5s;
  }

  nav.nav ul.item {
    display: block;
    padding: 4rem 2rem;
  }

  nav.nav ul.item li.list {
    padding-left: 0;
    padding-bottom: 1.5rem;
  }

  nav.nav ul.item li.contact {
    text-align: center;
    padding-top: 0.5rem;
  }

  nav.nav ul.item li.contact a {
    width: 100%;
    padding: 0.8rem;
  }

  #nav-input:checked~nav.nav {
    opacity: 1;
    visibility: visible;
  }
}

.image-scene{
  box-shadow: 15px 15px 0 #406ea8;
}

.breadcrumb {
    display: flex;
    gap: 0 15px;
    list-style: none;
    padding: 0;
    font-size: .9em;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:first-child::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%23333333'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}

.breadcrumb li:not(:last-child)::after {
    display: inline-block;
    margin-left: 15px;
    color: #4D4D4D;
    content: '/';
}

.breadcrumb-002 a {
    color: #4D4D4D;
    text-decoration: none;
}

/* =============================================
フッターのCSSはここから
============================================= */

footer.footer01 {
  padding: 2rem 1rem 1rem;
  background: #006BB6;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto 3rem;
}


.nav-footer ul.item-f {
  display: flex;
}

.nav-footer ul.item-f li.list-f {
  padding-left: 1.5rem;
}

.nav-footer ul.item-f li.list-f a {
  font-weight: bold;
  color: #fff;
  font-size: 0.8rem;
}

p.copyright {
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 768px) {
  footer.footer01 {
    padding: 2rem 1rem 1rem;
  }

 .footer-container {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 414px;
    margin-bottom: 2rem;
  }

  div.logo {
    margin-bottom: 1.5rem;
  }

  nav.nav-f ul.item-f {
    flex-wrap: wrap;
    justify-content: center;
  }

 nav.nav ul.item-f li.list-f {
    padding: 0.5rem;
  }
}

#page_top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #063079;
  opacity: 0.;
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after{
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}



/* =============================================
メインのCSSはここから
============================================= */

.main-wrap {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding: 5rem 3rem;
}

.link-topik {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.8rem;
}

.main-human-wrap {
  margin-left: auto;
  margin-right: auto;
   max-width: 1260px;
  
}




.example {
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #999;

  }
  
  .example a {
    position: absolute;
    bottom:350px;
    left:400px;
    max-width: 430px;
    margin:0;
    font-size: 36px;
    border: solid white 2px; 
    padding:35px;
    color: white;
    text-decoration: none;
    }
  
  .example a:hover{
    background: rgba(255, 255, 255, 0.3);
    }
  
  .example-top {
    max-width: 978px;
    vertical-align: bottom;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    
    }

.back {
  background-image: url(../img/backimage.jpg);
     background-repeat: no-repeat;
     height: auto;
     width: 100%;

}


table{
  border-collapse: collapse;
  width: 100%;
  line-height: 2.5;
}
.tb01 th,
.tb01 td{
  padding: 10px;
  border: solid 1px #ccc;
  box-sizing:border-box;
}
.tb01 th {
  font-weight: bold;  
  text-align:center;
  background-color: #dbedff;
}

.tb01 td img {
 max-width: 80px;
 text-align:left;
}
@media screen and (max-width: 640px) {
  .tb01 {
    width: 100%;
  }
  table.tb01 th,
  table.tb01 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  .tb01 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}


.flow_design03 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
}

.flow_design03 ul {
  padding: 0;
}

.flow_design03 li {
  list-style-type: none;
}

.flow_design03 dd {
  margin-left: 0;
}

.flow03 {
  position: relative;
}

.flow03::before {
  content: "";
  width: 15px;
  height: 100%;
  background: #eee;
  margin-left: -129px;
  display: block;
  position: absolute;
  top: 0;
  left: 120px;
  border-radius: 20px;
}

.flow03 > li {
  position: relative;
}

.flow03 > li:not(:last-child) {
  margin-bottom: 60px;
}

.flow03 > li .icon03 {
  font-size: 0.8em;
  width: 2em;
  height: 2em;
  line-height: 2;
  text-align: center;
  font-weight: bold;
  border-radius: 100vh;
  color: #fff;
  background: #006BB6;
  display: inline-block;
  margin-right: 0.3em;
}

.flow03 > li dl {
  padding-left: 70px;
  position: relative;
}

.flow03 > li dl::before,
.flow03 > li dl::after {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
}

.flow03 > li dl::before {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  background: #006BB6;
  border-radius: 50%;
  left: -4px;
}

.flow03 > li dl::after {
  width: 50px;
  border-bottom: 1px dashed #999;
  position: absolute;
  left: 5px;
}

.flow03 > li dl dt {
  font-size: 1.3em;
  font-weight: 600;
  color: #006BB6;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
}

.section-main {
  text-align: center;
  font-size: 24px;
}


a.btn_17 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	position: relative;
	width: 300px;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	color: #006BB6;
	background: #e1f3f9;
	transition: 0.3s ease-in-out;
}
a.btn_17::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 2px solid #27acd9;
  transition: 0.2s;
}
a.btn_17:hover {
	background: #27acd9;
	color: #fff;
}
a.btn_17:hover::before {
  top: 0;
  left: 0;
}


.qa-list dl {
    position: relative;
    margin: 30px 0 0;
    cursor: pointer;
    border: 1px solid #DDD;
}
.qa-list dl:first-child {
  margin-top: 0;
}
.qa-list dl::after {
    position: absolute;
    top: 27px;
    right: 26px;
    display: block;
    width: 7px;
    height: 7px;
    margin: auto;
    content: '';
    transform: rotate(135deg);
    border-top: 2px solid #000;
    border-right: 2px solid #000;
}
.qa-list .open::after {
    transform: rotate(-45deg);
}
.qa-list dl dt {
    position: relative;
    margin: 0;
    padding: 20px 20px 20px 60px;
    font-weight: bold;
    background: #DDD;
}
.qa-list dl dt::before {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 20px;
    display: block;
    content: 'Q.';
    color: #3285bf;
}
.qa-list dl dd::before {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    left: 20px;
    display: block;
    content: 'A.';
    font-weight: bold;
    color: #3285bf;
}
.qa-list dl dd {
    position: relative;
    margin: 0;
    padding: 20px 20px 20px 60px;
}
.qa-list dl dd p {
    margin: 30px 0 0;
}
.qa-list dl dd p:first-child{
    margin-top: 0;
}

@media screen and (max-width: 767px) {
 .qa-list dl {
    margin: 10px 0 0;
}
.qa-list dl:after {
    top: 20px;
    right: 20px;
    width: 7px;
    height: 7px;
}
.qa-list dl dt {
    padding: 16px 16px 16px 50px;
    font-size: 14px;
}
.qa-list dl dt::before {
    font-size: 14px;
    top: 20px;
    left: 20px;
}
.qa-list dl dd::before {
    font-size: 14px;
    left: 20px;
    margin-top: 5px;
}
.qa-list dl dd {
    margin: 0;
    padding: 16px 16px 16px 50px;
    font-size: 14px;
}
.qa-list dl dd p {
    margin: 30px 0 0;
}
.qa-list dl dd p:first-child{
    margin-top: 0;
}
}


.heading-24 {
    position: relative;
    padding-top: 1.5em;
    color: #4D4D4D;
}

.heading-24::before {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: #d9f4ff;
    font-size: 3em;
    line-height: 1;
    content: attr(data-number);
    pointer-events: none;
}

.text-center {
  padding: 1em;
  text-align: center;
  line-height: 1.8;

}

.text-csc{
  font-size: 16px;
  text-align: left;
  margin: 0 auto;
  font-weight: bold;
}

.image-csc img {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem;

}

        .list-recipe li{
          padding: 1em;

          display:flex;
          justify-content: center;
          align-items:center;
          margin-top: 1rem;
        }
      
        .list-recipe li:nth-child(2){
          flex-direction: row-reverse;
        }
              
        .list-recipe li:nth-child(4){
          flex-direction: row-reverse;
        }

        .list-recipe li:nth-child(6){
          flex-direction: row-reverse;
        }

          @media screen and (max-width: 768px) {
           .list-recipe li {
              display: block;
              font-size: 1.325em;
              padding: 1rem;
              text-align: center;
  }
}

       .setumei-title-blue {
          letter-spacing: .06em;
          line-height: 1.312em;
          color: #006BB6;
          font-size: 24px;
          font-weight: bold;
          padding-left: 2rem;

        }

          @media screen and (max-width: 768px) {
            .item-comparison  {
                font-size: 16px;
                text-align: center;
      }
    }

    .section-staff {
        margin-left: auto;
        margin-right: auto;
        background-image: linear-gradient(transparent, #bcf0ff80 64%, #aadbff);
        padding-bottom: 2rem;
    }  
    
    
    
    @media screen and (max-width: 768px) {
.section-staff  {
    padding: 2rem;
  }
}



      .recipi-info {
            padding: 2rem;
          }

       .sideimage {
          object-fit: cover;
          max-width: 520px; 
          height: auto;
          margin: 10;
          padding: 0;
          overflow: hidden;
          position: relative;
        }

        .recipi-image {
          text-align: center;
        }
        

        .recipi-image img{
          height: auto;
          max-width: 100%;
        }

        .recipe-info{
          max-width: 520px; 
          color: #4D4D4D;
        }
     
        
  /* 企業沿革向けタイムラインCSS */
.history-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* 縦線 */
.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 120px; /* 年表示の幅に合わせる */
  width: 3px;
  background: #e0e0e0;
}

.timeline-year {
  margin-bottom: 40px;
  position: relative;
}

.year-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  background: #2673c1;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}

.timeline-items {
  padding-left: 150px;
  padding-top: 50px; /* 年表示の高さ分余白を取る */
}

.history-timeline .timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 30px;
}

.history-timeline .timeline-item::before {
  content: '';
  position: absolute;
  top: 10px;
  left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3498db;
  border: 3px solid #fff;
  z-index: 2;
}

.history-timeline .timeline-date {
  font-weight: bold;
  margin-bottom: 5px;
  color: #2c3e50;
}

.history-timeline .timeline-content {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 10年単位など特別な年のマーカースタイル */
.timeline-year.milestone .year-marker {
  background: #e74c3c;
}

.timeline-year.milestone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 120px;
  width: 20px;
  height: 20px;
  background: #e74c3c;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.naiyou {
  font-size: 16px;
  line-height: 1.5;
  padding: 2rem;

}

.section10 {
  background: linear-gradient(rgba(42, 97, 155, 0.85), rgba(83, 237, 227, 0.85)),url(../img/entry.png);
  background-size: cover;
  height: 280px;
  padding: 2rem;
}

.button-left{
  margin: 2em;
}

.button-left a {
  font-size: 20px;
  letter-spacing: 0.1em;
  color: #FFF;
  font-weight: 700;
  border: 1px solid #FFF;
  display: block;
  position: relative;
  box-sizing: border-box;
  max-width: 350px;
  text-align: center; 
  padding: 16px 64px;
  margin: 24px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  z-index:999;
  transition: all 0.3s;
  background-color: darkblue;
}

.button-left a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 60px;
  height: 1px;
  background: #FFF;
  transition: all 0.3s ease;
}

.button-left a:hover::after {
  animation: OutIn-Line 700ms;
  transition: all 0.3s;
}

@keyframes OutIn-Line {
    0% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
        -webkit-transform-origin: 100% 0;
        transform-origin: 100% 0
    }

    50% {
        -webkit-transform: scale3d(0,1,1);
        transform: scale3d(0,1,1);
        -webkit-transform-origin: 100% 0;
        transform-origin: 100% 0
    }

    50.1% {
        -webkit-transform: scale3d(0,1,1);
        transform: scale3d(0,1,1);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0
    }

    100% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0
    }
}


.button-right{
  margin: 2em;
}


.button-right a {
  font-size: 18px;
  letter-spacing: 0.1em;
  color: #FFF;
  font-weight: 700;
  border: 1px solid #FFF;
  display: block;
  position: relative;
  box-sizing: border-box;
  max-width: 350px;
  text-align: center; 
  padding: 16px 64px;
  margin: 24px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  z-index:999;
  transition: all 0.3s;
  background-color: #3498db;
}

.button-right a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 60px;
  height: 1px;
  background: #FFF;
  transition: all 0.3s ease;
}

.button-right a:hover::after {
  animation: OutIn-Line 700ms;
  transition: all 0.3s;
}

.cta-wrap {
   display: flex;
   justify-content: center;
}

  @media screen and (max-width: 768px) {
.cta-wrap  {
    display: block;
  }
}

.entry-btn {
  font-size: 32px;
  padding-top: 0.5em;
  color: #FFF;
  font-weight: bold;
  text-align: center;
}


/* timeline */
.timeline04 {
  max-width: 650px;
  margin: 0 auto;
}

.mb-5 {
  margin-bottom: 5rem;
}

.timeline04 .list {
  padding-left: 4rem;
  padding-bottom: 1rem;
  counter-increment: section;
  position: relative;
}

.timeline04 .list:last-child {
  padding-bottom: 0.5rem;
}

.timeline04 .list::before {
  content: "";
  width: 5px;
  height: 100%;
  background-color: #e7e8ea;
  position: absolute;
  top: 0;
  left: 0;
}

.timeline04 .list::after {
  content: counter(section, decimal-leading-zero);
  font-size: 1.3rem;
  font-weight: bold;
  background-image: linear-gradient(120deg, #24dbf3 0%, #2a83dc 100%);
  color: #fff;
  border-radius: 30px;
  padding: 5px 8px;
  position: absolute;
  top: 0;
  left: -2.8rem;
}

.timeline04 .title {
  color: #006BB6;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.timeline04 .image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -3rem;
}

.timeline04 .list:nth-child(1) .image {
  background: url(./img/timeline-img01.jpg) no-repeat;
  background-size: cover;
}

.timeline04 .list:nth-child(2) .image {
  background: url(./img/timeline-img02.jpg) no-repeat;
  background-size: cover;
}

.timeline04 .list:nth-child(3) .image {
  background: url(./img/timeline-img03.jpg) no-repeat;
  background-size: cover;
}

.timeline04 .list:nth-child(4) .image {
  background: url(./img/timeline-img04.jpg) no-repeat;
  background-size: cover;
}

.timeline04 .list:nth-child(5) .image {
  background: url(./img/timeline-img05.jpg) no-repeat;
  background-size: cover;
}

.time-text {
background-color: #c7e3ff;
color: #05416c;
font-size: 16px;
padding: 1em;
}

@media screen and (max-width: 768px) {
  .timeline04 {
    width: 70%;
  }

  .timeline04 .list {
    padding-left: 3.4rem;
    padding-bottom: 4rem;
  }

  .timeline04 .title {
    font-size: 1rem;
  }

  .timeline04 .image {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -2.3rem;
  }
}

.section3 {
 padding: 1.5rem;

}

.heading-28 {
    color: #4D4D4D;
    font-weight: 400;
    font-size: .75rem;
    letter-spacing: .04em;
    text-align: center;
    padding: 1.2rem;
}

.heading-28::before {
    display: block;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1.5;
    letter-spacing: .02em;
    content: attr(data-label);
}

.heading-7 {
    display: inline-block;
    position: relative;

 
}

.heading-7:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #2589d0;
}

.tab-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;

}

.tab-2 > label {
    flex: 1 1;
    order: -1;
    opacity: .5;
    min-width: 70px;
    padding: .9em 1em;
    border-radius: 5px 5px 0 0;
    background-color: #2589d0;
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    cursor: pointer;
}

.tab-2 > label:hover {
    opacity: .8;
}

.tab-2 input {
    display: none;
}

.tab-2 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #f0fcff;
}

.tab-2 label:has(:checked) {
    opacity: 1;
}

.tab-2 label:has(:checked) + div {
    display: block;
    padding: 5rem;
}

.section-entry {
  text-align: center;
  margin: 0 auto;
  padding: 3rem;
}

.text-entry {
  font-size: 1em;
  font-weight: bold;
}


.section-entry img {
  max-width: 100%;
  padding-top: 2rem;
}


.cv-entry{
   display: flex;
   justify-content: center;
   align-items: center;
    

} 
  @media screen and (max-width: 768px) {
.cv-entry  {
    display: block;

  }
}

.section-nagare {
  margin: 0 auto;
  max-width: 1260px;
}

.nagare01 {
    padding: .5em .7em;
    border-left: 5px solid #2589d0;
    color: #4D4D4D;
    background-color: #e4f4ff;
    margin-top: 2em;
}

.button-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    margin:0 auto;
    padding: 1.2em 2em;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    background-color: #2589d0;
    color: #fff;
    font-weight: 600;
    font-size: 1em;

}




.button-3::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.button-3:hover {
    background-color: #1579c0;
}


/* カードレイアウト部分をラッピングし、
Flexboxを指定"space-between"で各アイテムを均等に配置し、
最初と最後のアイテムを端に寄せます。*/
#cardlayout-wrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    margin: 2em auto;
    max-width: 1160px;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 1rem;
}

/* リンクテキストの下線を非表示 */
a.card-link {
    text-decoration: none;
    background-color:#FFF;
}

/* カードレイアウト内の画像を幅いっぱいに表示 */
#cardlayout-wrap img {
    display: block;
    max-width: 100%;
    height: 200px;
    text-align: center;
    margin: 0 auto;
}

.card-figure {
    margin: 0;
    padding: 1em;
}

/* カードレイアウトのタイトル部分 */
.card-title {
    margin: 0.6em 0 0;
    text-align: center;
    font-size: 1.4em;
    color: #2673c1;
}

/* カードレイアウトの説明文部分 */
.card-text-tax {
    margin: 0;
    padding: 1em;
    color: #818181;
}


/* カードレイアウトを1カラムで配置 */
.card-list {
    margin: 0.5em auto;
    padding: 0;
    width: 100%;
    background: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* 画面幅768px以上の場合カードレイアウトを2カラムで配置 */
@media all and (min-width: 768px) {
    .card-list {
        margin: 0.5em 0;
        width: calc(100% / 2); /* 100%幅を2で割るという指定 */
    }
}

/* 画面幅992px以上の場合カードレイアウトを3カラムで配置 */
@media all and (min-width: 992px) {
    .card-list {
        width: calc(100% / 3); /* 100%幅を3で割るという指定 */
    }
    
/* 最後の行が3列より少ない場合左寄せにレイアウトさせる */
    #cardlayout-wrap::after{
        content: "";
        display: block;
        width: calc(100% / 3);
        
    }
}


.img-top-main img {
  width: 100%;

}

.img-top-main p {
  color: #0054BD;
  font-weight: bold;
}

.img-top-slide{
  padding-left: 15em;
  padding-top: 10em;
}


.img-frame{
   position: relative;
   width: 100%;
   height: 380px;
   overflow: hidden;
   margin: 0 auto;
}

.img-01, .img-02, .img-03{
   position: absolute;
   top:0;
   left:0;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-repeat: no-repeat;
}
.img-01{
   background-image: url('../img/csc-img2.jpg');
   animation: slide-animation-01 24s infinite;
}
.img-02{
   background-image: url('../img/csc-img3.jpg');
   animation: slide-animation-02 24s infinite;
}
.img-03{
   background-image: url('../img/contact_entry-jpb02.jpg');
   animation: slide-animation-03 24s infinite;
}

@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  30% {opacity: 1;}
  40% {opacity: 0; transform: scale(1.15);}
  90% {opacity: 0}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  30% {opacity: 0; transform: scale(1.1);}
  40% {opacity: 1;}
  60% {opacity: 1;}
  70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
    0% {opacity: 0;}
  60% {opacity: 0;  transform: scale(1.0);}
  70% {opacity: 1;}
  90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.1);}
}


@media screen and (max-width: 767px){
.img-frame{
   width: 100%;
   height: 200px;
}

}
/* スクロール用の領域 */


.scroll-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.format-countup-container {
  display: flex;
   flex-wrap: wrap;     /* 要素を折り返して複数行にする */
  justify-content: space-around;
  align-items: center;
  min-height: 55vh;
  color: #4D4D4D;

}

.format-countup-item {
  text-align: center;
  padding: 2rem;
  background-color: azure;
  height: 80px;
  width: 25%;
}

.format-countup-list {
  text-align: center;
  padding: 2rem;
  background-color: azure;
  width: 25%;
}

  @media screen and (max-width: 768px) {
.format-countup-list  {
  text-align: center;
  padding: 2rem;
  background-color: azure;
  }
}

  @media screen and (max-width: 768px) {
.format-countup-item  {
  text-align: center;
  background-color: azure;
  width: 350px;
  }
}


.format-countup-item img{
  width: 250px;
  padding: 2rem;
  margin-top: 1em;
}


.format-countup-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.format-countup-text{
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 500;
 line-height: 90px; /* 親要素の高さと同じ値にする */
  text-align: center; /* 横方向の中央揃えも必要に応じて */

}


.format-countup-label {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 500;
}

@media (max-width: 768px) {
  .format-countup-container {
    flex-direction: column;
    gap: 2rem;
  }

  .format-countup-number {
    font-size: 2.2rem;
  }
}


.movie {
  margin: 0 auto;
  text-align: center;
  padding-top: 3em;
  
}

/* ①シンプルなカルーセルの個別CSS */

/* ----------------------*
 * コンテナー
 * ----------------------*/
.container-car {
  --item-width: 300px;
  --item-height: 200px;
  width: var(--item-width);
  position: relative;
  margin-bottom: 40px;
  /* 各パーツ配置をグリッドでレイアウト */
  display: grid;
  grid-template-areas: "item item item" "left markers right";
  grid-template-columns: 1fr 2fr 1fr;
  row-gap: 16px;
}


/* ----------------------*
 * カルーセル
 * ----------------------*/
.carousel {
  width: 100%;
  display: grid;
  /* アイテムを横並びにする */
  grid-auto-flow: column;
  grid-area: item;
  /* 次のスライドとの間隔 */
  gap: 120px;
  overflow-x: auto;
  /* X方向にスナップ */
  scroll-snap-type: x mandatory;
  /* 1度に1枚ずつ移動 */
  scroll-snap-stop: always;
  /* スムーズにスクロールさせる */
  scroll-behavior: smooth;
  /* インジケーターの表示 */
  scroll-marker-group: after;
  /* スクロールバー非表示 */
  scrollbar-width: none;


  /* 前へ・次へボタン */
  &::scroll-button(*) {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    padding: 0;
    color: rgb(15, 103, 180);
    border: 1px solid rgb(15, 103, 180);
    transition: background-color 0.2s, color 0.2s;
  }

  /* ホバー時スタイル */
  @media (any-hover: hover) {
    &::scroll-button(*):not(:disabled):hover {
      background-color: rgb(15, 103, 180);
      color: #fff;
      cursor: pointer;
    }
  }


  /* 非活性時スタイル */
  &::scroll-button(*):disabled {
    color: darkgray;
    border: 1px solid lightgray;
  }

  /* 前へボタン */
  &::scroll-button(left) {
    /* コンテンツ / 代替テキスト */
    content: "◀" / "前へ";
    grid-area: left;
    justify-self: end;
  }

  /* 次へボタン */
  &::scroll-button(right) {
    /* コンテンツ / 代替テキスト */
    content: "▶" / "次へ";
    grid-area: right;
  }

  /* インジケーター（コンテナー） */
  &::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    grid-area: markers;
    align-items: center;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }
}

/* ----------------------*
 * カルーセルの画像アイテム
 * ----------------------*/
.item {
  width: var(--item-width);
  min-width: var(--item-width);
  height: var(--item-height);
  scroll-snap-align: center;

  /* インジケーター */
  &::scroll-marker {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-color: lightgray;
    border-radius: 50%;
    transition: background-color 0.2s;
    flex-shrink: 0;
  }

  /* インジケーターのカレントスタイル */
  &::scroll-marker:target-current {
    background-color: rgb(15, 103, 180);
  }

  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (width < 600px) {
  .container {
    --item-width: calc(100vw - 32px);
    width: var(--item-width);
    grid-template-columns: 1fr 3fr 1fr;
  }
}


#home {
  clip-path: url(#cache);
}

#red {
  fill: none;
  opacity: 0.15;
  stroke: #CE1B5F;
  stroke-width: 12;
  stroke-miterlimit:10;
  animation: show 4s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out; 
}

#blue {
  fill: none;
  opacity: 0.15;
  stroke: #06A1C4;
  stroke-width: 12;
  stroke-miterlimit:10;
  animation: show 4s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

#light-blue {
  fill: none;
  opacity: 0.15;
  stroke: #06A1C4;
  stroke-width: 6;
  stroke-miterlimit:10;
  stroke-dasharray: 200;
  stroke-dashoffset: 800;
  animation: draw 4s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;    
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
 }
    }

@keyframes show {
  0% {
    opacity: 0.15;
 }
  50% {
    opacity: 0.2;
 }
  100% {
    opacity: 0.15;
 }
    }



    /*--------------------------------------
  カード型_01
--------------------------------------*/
.l-wrapper_01 {
  margin: 1rem auto;
    max-width: 300px;
}

.l-wrapper_01:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
  transition: all .5s;
}

.card_01 {
  max-width: 300px;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, .16);
  color: #4D4D4D;
  text-decoration: none;
  padding: 0.5rem;
}

.card__header_01 {
  display: flex;
  flex-wrap: wrap;
}

.card__title_01 {
  padding: 1rem 1.5rem 0;
  font-size: 1.6rem;
  order: 1;
  margin-bottom: 0.6rem;
  font-weight: bold;
  text-decoration: none;
  color: #0054BD;
  margin-left: auto;
  margin-right: auto;
}

.card__thumbnail_01 {
  margin: 0;
  order: 0;
}

.card__image_01 {
  width: 100%;
}

.card__body_01 {
  padding: 0 1.5rem;
}

.card__text_01 {
  font-size: .8rem;
  text-align:center;
  text-decoration: none;
	padding-bottom: 0;
}

.card__text2_01 {
  font-size: .9rem;
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 500;
}

.card__text_01 + .card__text_01 {
  margin-top: .5rem;
}

.card__footer_01 {
  padding: 1rem;
}

.button_01 {
  display: inline-block;
  text-decoration: none;
  transition: background-color .3s ease-in-out;
  text-align: center;
}

.button_01 a {
  text-decoration: none;
}

.button_01.-compact {
  padding: .5rem 1rem;
  border-radius: .25rem;
  background-color: #4f96f6;
  color: #fff;
  font-weight: bold;
	text-decoration: none;
}

.button_01.-compact:hover,
.button_01.-compact:focus {
  background-color: #6bb6ff;
}

.card-wrap {
    display: flex;
  flex-wrap: wrap;
  max-width: 1160px;
  margin: 0 auto;
}

  @media screen and (max-width: 768px) {
.card-wrap  {
    display: block;
    margin: 0 auto;
  }
}
