@charset "UTF-8";

/* 
font-family: "Hina Mincho", serif；
font-family: "Roboto", sans-serif;
font-family: "Instrument Serif", serif;
} */

/* * {
  outline: 1px solid red;
} */
html {
  font-size: 100%;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-size: 1rem;
  font-family: "Hina Mincho", serif;
  background-color: #fff;
  overflow-x: hidden;
  width: 100%;
}
video {
  max-width: 100%;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
a {
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
textarea {
  resize: none;
}

/*--------------------------------------------------------- 
共通 
---------------------------------------------------------*/

svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.wrapper {
  width: 90%;
  margin: 0 auto;
}

.group {
  width: 50%;
  text-align: center;
}
.group h2 {
  margin-top: 50px;
  font-size: 2rem;
  padding-bottom: 5px;
  border-bottom: #111 1px solid;
  display: inline-block;
}

.group p {
  margin-top: 10px;
  margin-bottom: 50px;
}
.group h3 {
  margin-bottom: 50px;
}
.group .btn a {
  color: #111;
  border-bottom: #111 1px solid;
  padding-bottom: 5px;
}
.group .btn a:hover {
  opacity: 0.8;
}



.container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.container-logo {
  position: absolute;
  z-index: 3;
  opacity: 1;
  animation: fadeOutLogo 0.8s ease 1.5s forwards;
}

.container-logo img {
  max-width: 200px;
  height: auto;
}

.gradient-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(83, 151, 212, 1), rgba(26, 192, 200, 1));
  transform: translateY(100%);
  z-index: 1;
  animation: rollUp 1.2s ease 1.5s forwards;
}

.main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  animation: fadeInImage 1.5s ease 2.7s forwards;
}

.container-content {
  position: relative;
  z-index: 4;
  opacity: 0;
  padding: 0 20px;
  animation: fadeInContent 1s ease 3s forwards;
  text-align: center;
}

.container-content .main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.container-content .sub-title {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0 0 2rem;
  letter-spacing: 0.05em;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 47%;
  transform: translateX(-47%);
  z-index: 4;
  opacity: 0;
  animation: fadeInContent 1s ease 4s forwards;
}

.scroll-hint::before {
  content: "";
  display: block;
  width: 1px;
  height: 80px;
  background: #fff;
  margin: 0 auto 10px;
  animation: scrollLine 1.5s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

@keyframes fadeOutLogo {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes rollUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0%);
  }
}

@keyframes fadeInImage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.4;
  }
}

@keyframes fadeInContent {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0% {
    height: 0;
    opacity: 0;
  }
  50% {
    height: 80px;
    opacity: 1;
  }
  100% {
    height: 0;
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }
  .sub-title {
    font-size: 1.4rem;
  }
}

.sp-br {
  display: none;
}


/*--------------------------------------------------------- 
メインビジュアル
---------------------------------------------------------*/

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bg-a {
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: linear-gradient(135deg, #003399 50%, #ffffff 50%);
  z-index: -1;
  transform: rotate(-5deg);
  opacity: 0;
  transition: all 1s;
}
.hero-bg-b {
  position: absolute;
  top: 80%;
  right: -20%;
  width: 200%;
  height: 10px;
  background: linear-gradient(135deg, #FFF 50%, #003399 100%);
  z-index: 0;
  transform: rotate(5deg) translate(100px, -100px);
}
.hero-bg-c {
  position: absolute;
  top: 50%;
  right: -20%;
  width: 200%;
  height: 10px;
  background: linear-gradient(135deg, #FFF 50%, #003399 100%);
  z-index: 0;
  transform: rotate(-20deg) translate(100px, 100px); 
}
.hero-bg-d {
  position: absolute;
  left: -15%;
  right: -20%;
  width: 200%;
  height: 10px;
  background: linear-gradient(135deg, #FFF 50%, #003399 100%);
  z-index: 0;
  transform: rotate(30deg) translate(-100px, 100px);
}

.hero-bg-b,
.hero-bg-c,
.hero-bg-d {
  opacity: 0;
  transition: all 1s ease;
  position: absolute;
}



/* アクティブ時に本来の位置へ */
.hero-bg-a.active {
  opacity: 1;
}
.hero-bg-b.active {
  transform: rotate(5deg) translate(0, 0);
  opacity: 1;
}
.hero-bg-c.active {
  transform: rotate(-20deg) translate(0, 0);
  opacity: 1;
}
.hero-bg-d.active {
  transform: rotate(30deg) translate(0, 0);
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #003399;
  background-color: #EEEEEE;
  padding: 150px 150px;
  box-shadow: 2px 2px 10px #000;
  transition: all 2s;
  opacity: 0;
  width: 60%;
}
.hero-content.active {
  opacity: 1;
}

.logo {
  width: 80px;
  margin-bottom: 20px;
}

.title {
  font-size: 4rem;
  letter-spacing: 2px;
  font-weight: bold;
  font-family: "Instrument Serif", serif;
  letter-spacing: 1rem;
}
.sub-title {
  font-family: "Instrument Serif", serif;
  letter-spacing: 0.1rem;
}

.tagline {
  font-size: 1.5rem;
  letter-spacing: 3px;
  margin-top: 10px;
  color: #003399;
}

/*--------------------------------------------------------- 
ハンバーガーメニュー
---------------------------------------------------------*/

.burger {
  width: 50px;
  height: 50px;
  transition: all 0.5s;
  position: relative;
  cursor: pointer;
  position: fixed;
  top: 50px;
  right: 50px;
  z-index: 100;
}
.burger span {
  display: block;
  background-color: #111;
  width: 100%;
  height: 2px;
  transition: all 0.5s;
  position: absolute;
}
.burger span:nth-child(1) {
  top: 25%;
}
.burger span:nth-child(2) {
  top: 50%;
}
.burger span:nth-child(3) {
  top: 75%;
}

.open .burger span:nth-child(1) {
  transform: rotate(-45deg);
  top: 50%;
  background-color: #FFF;
}
.open .burger span:nth-child(2) {
  opacity: 0;
}
.open .burger span:nth-child(3) {
  transform: rotate(45deg);
  top: 50%;
  background-color: #FFF;
}


.mask {
  display: none;
  transition: all 0.5s;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00349A;
  cursor: pointer;
  z-index: 99;
}
.open .mask {
  display: block;
}

/*--------------------------------------------------------- 
ナビメニュー
---------------------------------------------------------*/

.nav-menu {
  display: flex;
  justify-content: center;
  position: absolute;
  position: fixed;
  top: 50px;
  right: 100px;
  z-index: 100;
  color: #FFF;
  opacity: 0;
  transition: all .5s;
  pointer-events: none;
}
.open .nav-menu {
  opacity: 1;
  transition: all .5s;
  pointer-events: auto;
}

.nav-menu-left ,
.nav-menu-right {
  padding: 50px;
}

.nav-column {
  margin-bottom: 40px;

  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}
.nav-column.show {
  opacity: 1;
  transform: translateY(0);
}

.nav-column h2 {
  margin-bottom: 10px;
  border-bottom:#FFF 1px solid ;
}
.nav-column h2 a {
  color: #FFF;
}
.nav-column h2:hover {
  opacity: 0.7;
}

/*--------------------------------------------------------- 
about
---------------------------------------------------------*/
#about {
  position: relative;
  height: 1000px;
  z-index: -10;
}
.about-slide {
  margin-top: 100px;
  transform: translateX(600px);
  transition: all 2s;
  opacity: 0;
}
.about-slide.show {
  opacity: 1;
  transform: translateX(0);
}

.about-slide li {
  position: absolute;
  top: 200px;
  right: 0;
  width: 70%;
  opacity: 0;
  z-index: 0;
}
.about-slide li.active {
  opacity: 1;
  z-index: 1;
}
.about-slide video {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 20px;
}
.about-slide li.fixed {
  position: fixed;
  top: 20%;
  right: 0;
  transition: all 1s;
  z-index: -5;
}

.about-title {
  position: absolute;
  left: 10%;
  top: 500px;
  z-index: 1;
  transform: translateY(-600px);
  transition: all 6s;
  opacity: 0;
}
.about-title.show {
  transform: translateY(0);
  opacity: 1;
}
.about-title h2 {
  font-size: 2rem;
  padding: 10px 30px;
  color: #FFF;
  line-height: 2.5;
  background: #00349A;
  display: inline;
  box-decoration-break: clone;
}


/*--------------------------------------------------------- 
slide-word
---------------------------------------------------------*/


.slide-word {
  overflow: hidden;
  white-space: nowrap;
}
.marquee {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}
.marquee p {
  font-size: 8rem;
  padding-right: 4rem;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  color: #00349A;
}
  
/* アニメーション定義 */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


/*--------------------------------------------------------- 
about-detail
---------------------------------------------------------*/


#about-detail {
  position: relative;
  overflow: hidden;
}
#about-detail video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.about-detail {
  position: relative;
  padding: 130px 0;
  width: 80%;
  margin: 0 auto;
  color: #FFF;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  z-index: 1;
}
.about-detail-card {
  width: 80%;
  border: #FFF solid 1px;
  padding: 30px;
  backdrop-filter: blur(20px);
  transition: all 5s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.about-detail-card.show {
  transform: translateY(0);
  opacity: 1;
}
.about-detail-card h2 {
  height: 55%;
  margin-top: 50px;
}
.about-detail-card img {
  height: 45%;
}
.in-a {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 3s ease, transform 3s ease; /* 3秒かけて表示 */
  transition-delay: 0.3s;
}
.in-b {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 3s ease, transform 3s ease; /* 3秒かけて表示 */
  transition-delay: 0.6s;
}
.in-c {
  opacity: 0;
  transform: translateY(100px); 
  transition: opacity 3s ease, transform 3s ease; /* 3秒かけて表示 */
  transition-delay: 0.9s;
}



/*--------------------------------------------------------- 
company
---------------------------------------------------------*/
#company {
  z-index: 5;
}
.company {
  background-color: #00349A;
  color: #FFF;
  display: flex;
  justify-content: space-between;
  padding: 100px 0 400px;
}
.company-left {
  width: 60%;
  margin-left: 100px;
  position: relative;
}
.company-left img {
  width: 70%;
  border-radius: 20px;
}
.image-left {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(300px);
  transition: all 2s;
}
.image-right {
  position: absolute;
  top: 200px;
  left: 40%;
  opacity: 0;
  transform: translateY(-300px);
  transition: all 2s;
}
.image-left.show ,
.image-right.show {
  opacity: 1;
  transform: translateY(0);
}
#company .group h2 {
  border-bottom: #FFF 1px solid;
}
#company .group .btn a {
  color: #FFF;
  border-bottom: #FFF 1px solid;
}




/*--------------------------------------------------------- 
business
---------------------------------------------------------*/

#business {
  display: flex;
}
.business-slide {
  width: 60%;
  margin-top: 100px;
  padding: 0 0 100px 20px;
}
.business-slide li img {
  width: 80%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.8;
}

/*--------------------------------------------------------- 
service
---------------------------------------------------------*/

.service {
  background: #00349A;
  display: flex;
  padding: 100px 0;
  color: #FFF;
}
.service .group {
  padding-top: 50px;
  margin-left: 40px;
}
.service-video {
  width: 40%;
  margin: 50px 30px 0;
}
.service-video video  {
  border-radius: 20px;
}
#service .group h2 {
  border-bottom: #FFF 1px solid;
}
#service .group .btn a {
  color: #FFF;
  border-bottom: #FFF 1px solid;
}


/*--------------------------------------------------------- 
Recruit
---------------------------------------------------------*/

#recruit {
  display: flex;
  flex-wrap: wrap;
  padding: 100px 20px;
}

#recruit .group {
  width: 30%;
  box-sizing: border-box;
  padding: 20px 5px;
}

#recruit .recruit-slide {
  width: 70%;
  box-sizing: border-box;
  padding: 20px;
}


.recruit-slide-top,
.recruit-slide-bottom {
  margin: 0 auto;
}

.recruit-slide img {
  width: 100%;
  height: 250px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 20px;
  opacity: 0.8;
}






/*--------------------------------------------------------- 
footer
---------------------------------------------------------*/

#footer {
  display: flex;
  justify-content: space-between;
  padding: 40px 5px;
}
.footer-column {
  width: 33%;
  padding: 30px 20px;
}
.footer-nav {
  text-align: center;
  padding-top: 80px;
  font-family: "Instrument Serif", serif;
  letter-spacing: 0.1rem;
  transition: all 4s;
  opacity: 0;
}
.footer-nav.show {
  opacity: 1;
}
.footer-nav li {
  margin: 20px 0;
}
.footer-nav li:hover {
  opacity: 0.7;
}
.footer-nav li a {
  font-size: 1.5rem;
}
.footer-nav li a img {
  width: 200px;
}
.footer-logo {
  text-align: center;
  margin-top: 20px;
}
.footer-logo img {
  width: 150px;
}

#news {
  background: #00349A;
  color: #FFF;
  border-radius: 30px 0 0 0;
}
#news .group {
  margin: 0 auto;
  padding-bottom: 300px;
  transform: translateY(400px);
  transition: all 3s;
  opacity: 0;
}
#news .group.show {
  transform: translateY(0);
  opacity: 1;
}
#news .group h2 {
  border-bottom: #FFF 1px solid;
}
#news .group .btn a {
  color: #FFF;
  border-bottom: #FFF 1px solid;
}

#contact {
  background: #00349A;
  color: #FFF;
  border-radius: 0 30px 0 0;
}
#contact .group {
  margin: 0 auto;
  padding-top: 300px;
  transform: translateY(-400px);
  transition: all 3s;
  opacity: 0;
}
#contact .group.show {
  transform: translateY(0);
  opacity: 1;
}
#contact .group h2 {
  border-bottom: #FFF 1px solid;
}
#contact .group .btn a {
  color: #FFF;
  border-bottom: #FFF 1px solid;
}


/*--------------------------------------------------------- 
index.html以外の　footer設定
---------------------------------------------------------*/

.footer-box {
  background: #00349A;
  padding: 100px;
}
.footer-box p {
  text-align: center;
  padding-top: 40px;
  color: #FFF;
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
}
.footer-list {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-family: "Instrument Serif", serif;
}
.footer-list li {
  padding: 0 30px;
}
.footer-list li:hover {
  opacity: 0.7;
}
.footer-list li a {
  font-size: 1.125rem;
  color: #FFF;
}


/*--------------------------------------------------------- 
company.html
---------------------------------------------------------*/

.company-pickup {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 200px 0;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s;
}
.company-pickup.show {
  opacity: 1;
  transform: translateX(0);
}
.company-pickup-left {
  width: 50%;
  text-align: center;
  border-right: #111 1px solid;
  padding: 50px 0;
  font-size: 1.5rem;
  font-family: "Instrument Serif", serif;
}
.company-pickup-right {
  width: 50%;
  margin-left: 200px;
}
.company-pickup-right h2:nth-child(2) {
  margin-left: 80px;
}

.company-text {
  display: flex;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  margin: 100px 0;
}
.company-text-left {
  width: 50%;
  line-height: 2rem;
}
.company-text-right {
 width: 50%;
}
.company-text-right img {
  border-radius: 30px;
}

.company-detail {
  margin-bottom: 80px;
}
.company-detail .inner {
  width: 60%;
  padding: 30px;
}
.company-detail .inner h2 {
  margin-bottom: 40px;
}
.company-detail-description {
  display: flex;
  flex-wrap: wrap;
}
.company-detail-description dt {
  width: 20%;
  text-align: center;
  border-bottom: #111 1px dotted;
  margin-bottom: 20px;
  padding-bottom: 8px;
}
.company-detail-description dd {
  width: 80%;
  border-bottom: #111 1px dotted;
  margin-bottom: 20px;
}





/*--------------------------------------------------------- 
business.html
---------------------------------------------------------*/

.business-content {
  padding: 150px 0;
}
.business-content-box {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-bottom: 40px;
}
.business-content-detail {
  width: 50%;
}
.business-content-detail h2 {
  margin-bottom: 20px;
}
.business-content-detail h3 {
  padding: 0 80px;
}
.business-content-image {
  width: 50%;
}
.business-content-image img {
  border-radius: 20px;
  opacity: 0.9;
}

.slide-left {
  opacity: 0;
  transform: translateX(-200px);
  transition: all 1s;
}
.slide-right {
  opacity: 0;
  transform: translateX(200px);
  transition: all 1s;
}
.slide-left.show,
.slide-right.show {
  opacity: 1;
  transform: translateX(0);
}

/*--------------------------------------------------------- 
service.html
---------------------------------------------------------*/
.product {
  text-align: center;
  margin: 200px 0;
}
.product p {
  margin-bottom: 80px;
}
.sub-title {
  margin-bottom: 20px;
}
.product-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.product-item {
  border: #111 1px solid;
  padding: 20px;
  transform: translateY(200px);
  transition: all 2s;
  opacity: 0;
}
.product-item.show {
  transform: translateY(0);
  opacity: 1;
}
.product-item h3 {
  margin-bottom: 40px;
}
.product-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.service-detail {
  margin-bottom: 200px;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.service-detail video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}
.sub-title-detail {
  margin-bottom: 80px;
}
.service-detail-description {
  margin-bottom: 50px;
}
.service-detail-description h3 {
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: #111 1px solid;
  display: inline-block;
}

.service-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.service-block {
  padding: 40px;
  border: #111 1px solid;
}
.service-block h3 {
  margin-bottom: 10px;
}
.service-block p {
  margin-bottom: 30px;
  font-size: 0.875rem;
}
.service-block img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}



/*--------------------------------------------------------- 
Recruit.html
---------------------------------------------------------*/



.recruit-title {
  margin-top: 200px;
  text-align: center;
}
.recruit-title h2 {
  margin-bottom: 100px;
}
.recruit-title p {
  margin-bottom: 200px;
}
.recruit-box {
  text-align: center;
  margin-bottom: 80px;
}

.recruit-box h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.recruit-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  gap: 60px;
  padding-bottom: 200px;
}

.recruit-items {
  position: sticky;
  top: 20px;
  padding-top: calc(var(--index) * 50px);
}

.card1, .card2 {
  --index: 1;
}
.card3, .card4 {
  --index: 2;
}
.card5, .card6 {
  --index: 3;
}
.card7, .card8 {
  --index: 4;
}

.card-body {
  padding: 10px;
  background: #fff;
  border: 1px solid #111;
  border-radius: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #EEFFFF;
}

.card-detail {
  text-align: left;
  line-height: 1.6;
  font-size: 0.95rem;
}

.card-detail h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.card-detail p,
.card-detail ul,
.card-detail dl {
  margin-bottom: 20px;
}

.card-detail ul {
  padding-left: 20px;
  list-style: disc;
}

.card-detail dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card-detail dt {
  width: 20%;
  margin-bottom: 5px;
  text-align: center;
}

.card-detail dd {
  width: 80%;
  margin-bottom: 5px;
}

.place {
  margin-top: 8px;
}







/*--------------------------------------------------------- 
news.html
---------------------------------------------------------*/

.news {
  padding: 150px 50px;
}
.news .sub-title {
  text-align: center;
  margin-bottom: 80px;
  font-size: 2rem;
}

.news dt {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 30px;
}
.news time {
  margin-right: 40px;
}

.news-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  border-bottom: #00349A dotted 2px;
  padding-bottom: 40px;
  margin-top: 80px;
}
.news-image {
  width: 20%;
  object-fit: cover;
}
.news-image img {
  border-radius: 20px;
  width: 70%;
  border: #8EB8FF 1px solid;
  box-shadow: 5px 5px 0px 0px rgba(7, 71, 241, 0.4), 10px 10px 0px 0px rgba(18, 69, 228, 0.3), 15px 15px 0px 0px rgba(8, 112, 229, 0.2), 20px 20px 0px 0px rgba(56, 85, 238, 0.1);
}
.news-detail {
  width: 70%;
}
  
/*--------------------------------------------------------- 
contact.html
---------------------------------------------------------*/

.contact-text {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 100px;
  text-align: left;
}
.contact-text p {
  margin-bottom: 50px;
}
.form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}
.form dl {
  margin-bottom: 40px;
}
.form dd {
  border: #111 1px solid;
  margin-bottom: 20px;
  padding: 8px 8px;
}
.send {
  text-align: center;
  padding-bottom: 200px;
}
.send input {
  color: #00349A;
  border: #00349A 1px solid;
  padding: 8px 16px;
  transition: all 1s;
}
.send input:hover {
  background-color: #00349A;
  color: #FDFDF9;
  transform: scale(1.2,1.2);
  transition: all 1s;
}








/*--------------------------------------------------------- 
sp
---------------------------------------------------------*/

@media screen and (max-width:1248px) {


/* --------- #company ----------*/

.company {
  padding: 100px 0 200px;
}
.company-left {
  width: 40%;
  margin-left: 50px;
  position: relative;
}
.company-left img {
  width: 70%;
  border-radius: 20px;
}


/* --------- #company.html ----------*/

.company-pickup {
  flex-direction: column;
  text-align: center;
}
.company-pickup-left {
  border-right: none;
  border-bottom: #111 1px solid;
  width: 30%;
}
.company-pickup-right {
  width: 90%;
  margin-left: 0;
  padding-top: 40px;
}
.company-pickup-right h2:nth-child(2) {
  margin-left: 0;
}
.company-text-left {
  width: 50%;
  line-height: 2rem;
  padding: 20px;
}

/* --------- recruit.html ----------*/

.recruit-group {
  gap: 40px;
}
.card-body {
  padding: 25px;
}




}




@media screen and (max-width:1000px) {



/* --------- group ----------*/

.group {
  width: 40%;
  margin: 0 auto;
}


/* --------- #about ----------*/

.about-detail {
  padding: 100px;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 10px;
}
.about-detail-card {
  width: 100%;
  transition: all 3s ease;
  height: 300px;
}
.about-detail-card h2 {
  margin-top: 20px;
}

/* --------- #company ----------*/

.company-left {
  width: 40%;
  margin-left: 50px;
}
.company-left img {
  width: 100%;
}
.image-left {
  position: initial;
}
.image-right {
  position: initial;
}


/* --------- service.html ----------*/

.product-group {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* --------- recruit.html ----------*/

.recruit-group {
    grid-template-columns: 1fr;
  }
  .recruit-items {
    position: relative;
    padding-top: 0;
  }

}






@media screen and (max-width:768px) {

/* --------- .scroll-hint ----------*/

.scroll-hint {
  left: 45%;
  transform: translateX(-45%);
}

/* --------- group ----------*/

.group {
  width: 40%;
  margin: 0 auto;
}
.group h2 {
  margin-top: 30px;
  font-size: 1.5rem;
  padding-bottom: 5px;
  border-bottom: #111 1px solid;
  display: inline-block;
}

.group p {
  margin-top: 10px;
  margin-bottom: 30px;
}
.group h3 {
  margin-bottom: 20px;
  font-size: 1rem;
}



/* --------- header ----------*/

.hero {
  height: calc(100vh - 200px);
}
.hero-content {
  padding: 50px 50px;
}
.title {
  font-size: 3rem;
}
.tagline {
  font-size: 1rem;
  letter-spacing: 3px;
  margin-top: 10px;
  color: #003399;
}


/* --------- #about ----------*/

#about {
  position: relative;
  height: 500px;
  z-index: -10;
}
.about-slide {
  margin-top: 100px;
  transform: translateX(200px);
  transition: all 1s;
}
.about-slide li {
  top: -100px;
}
.about-slide video {
  width: 100%;
  height: 400px;
}
.about-title {
  left: 5%;
  top: 250px;
  transform: translateY(-200px);
  transition: all 2s;
}
.about-title h2 {
  font-size: 1.5rem;
  padding: 10px 20px;
}


/* --------- .about-detail ----------*/

.about-detail {
  padding: 40px;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 10px;
}
.about-detail-card h2 {
  font-size: 1.25rem;
}


/* --------- .company ----------*/

.company {
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
}

.company-left {
  width: 100%;
  margin-left: 0;
  padding-top: 50px;
  order: 1;
}

.company-image {
  display: flex;
  justify-content: center;
  gap: 10px; /* 画像間のスペース */
  position: relative;
  flex-wrap: wrap;
}

.company-left img {
  width: 45%; /* 2枚並ぶよう調整 */
  border-radius: 10px;
  position: static; /* スマホではabsolute解除 */
  transform: none;
  opacity: 1;
  transition: none;
}

.image-left,
.image-right {
  position: static;
  transform: none;
  opacity: 1;
  transition: none;
}

.group {
  width: 100%;
  text-align: center;
  padding-top: 30px;
}



/* --------- ＃business ----------*/

#business {
  display: flex;
  flex-direction: column;
}
.business-slide {
  width: 100%;
  margin-top: 100px;
  order: 1;
}


/* --------- ＃service ----------*/

.service {
  padding: 100px 0;
  flex-direction: column;
}
.service .group {
  padding: 40px;
  margin-left: 0px;
}
.service-video {
  margin: 0 auto; 
  display: flex;
  justify-content: center; 
}
.service-block h3,
.service-block p {
  text-align: left;
}

/* --------- ＃recruit ----------*/


#recruit {
  flex-direction: column;
  padding: 50px 20px;
}

#recruit .group,
#recruit .recruit-slide {
  width: 100%;
  padding: 10px 0;
}

.recruit-slide img {
  width: 90%;          /* ← 幅を80%に小さく */
  height: auto;        /* 高さは比率を保ったまま */
  max-height: 160px;   /* ← 高さの上限を設定 */
  padding: 0;
  display: block;
  margin: 0 auto;      /* ← 中央揃え */
  box-sizing: border-box;
}

.recruit-slide-top,
.recruit-slide-bottom {
  margin: 0 auto;
  padding: 0;
}

.recruit-slide-top li,
.recruit-slide-bottom li {
  margin: 0;
  padding: 0;
}

/* --------- index.html以外のfooter ---------- */
.footer-box {
  padding: 40px 0;
}
.footer-list {
  flex-direction: column;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  padding: 0;
  gap: 5px;
}
.footer-list li {
  padding: 0;
}
.footer-list li a {
  font-size: 0.875rem;
}
.footer-list li:last-child {
  grid-column: 2 / 3; 
  justify-self: center; 
}


/* --------- company.html ----------*/

.company-pickup {
  margin: 50px 0 100px;
}
.company-text {
  flex-direction: column;
  margin: 0;
}
.company-text-left {
  width: 90%;
  line-height: 2rem;
}
.company-text-right {
 width: 50%;
}
.company-text-right img {
  border-radius: 30px;
}
.company-detail .inner {
  width: 100%;
  padding: 30px;
}


/* --------- business.html ----------*/

.business-content {
  padding: 40px 0;
}
.business-content-box {
  margin-bottom: 20px;
  flex-direction: column;
}
.business-content-detail {
  width: 100%;
  order: 0;
  margin-top: 100px;
}
.business-content-detail h3 {
  padding: 40px 0;
}
.business-content-image {
  order: 1;
}


/* --------- service.html ----------*/

.product-group {
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.product-item h3 {
  margin-bottom: 20px;
}
.product-item img {
  width: 100px;
  height: 100px;
}
.service-detail-description {
  text-align: left;
}
.service-detail-inner {
  padding: 20px;
}
.service-detail {
  margin-bottom: 50px;
}

.service-case {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* --------- recruit.html ----------*/

.card-body {
  padding: 20px;
  border-radius: 20px;
}
.card-detail h3 {
  font-size: 1.1rem;
}
.card-detail {
  font-size: 0.9rem;
}


/* --------- news.html ----------*/

.news {
  padding: 100px 0;
}
.news-image {
  display: none;
}
.news-detail {
  width: 100%;
}

}







@media screen and (max-width:480px) {


.sp-br {
  display: block;
}


/* --------- .scroll-hint ----------*/

.scroll-hint {
  left: 43%;
  transform: translateX(-43%);
}


/* --------- group ----------*/

.group {
  width: 100%;
  margin: 0 auto;
}
.group h2 {
  margin-top: 30px;
  font-size: 1.5rem;
  padding-bottom: 5px;
  border-bottom: #111 1px solid;
  display: inline-block;
}

.group p {
  margin-top: 10px;
  margin-bottom: 30px;
}
.group h3 {
  margin-bottom: 20px;
  font-size: 0.875rem;
}

/* --------- header burger ----------*/

.nav-menu-left ,
.nav-menu-right {
  padding: 10px;
}


/* --------- header ----------*/

.title {
  font-size: 2rem;
}
.sub-title {
  font-size: 1rem;
}

.about-detail-card h2 {
  font-size: 1.125rem;
}
.about-title h2 {
  font-size: 1.25rem;
  padding: 5px 10px;
}


/* --------- #company ----------*/

.company-pickup-right {
  font-size: 0.75rem;
  padding: 10px;
}
.company-text-left {
  text-align: left;
}
.image-left {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(0);
  transition: all 2s;
}
.image-right {
  position: absolute;
  top: 200px;
  left: 40%;
  opacity: 0;
  transform: translateY(0);
  transition: all 2s;
}
.image-left.show ,
.image-right.show {
  opacity: 1;
  transform: translateY(0);
}


/* --------- #business ----------*/

.business-content-detail h3 {
  text-align: left;
}


/* --------- #service ----------*/

.service {
  padding: 0 0 50px 0;
  flex-direction: column;
}
.service .group {
  margin: 0 auto;
}
.service-video {
  margin: 0 auto; 
  display: flex;
  justify-content: center; 
}
.product .sub-title p {
  text-align: left;
}
.sub-title-detail {
  text-align: left;
  padding: 0 10px;
}


/* --------- #footer ----------*/

#footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.footer-column {
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
}

#news {
  order: 1; /* 最初に表示 */
  border-radius: 30px 30px 0 0;
}

#contact {
  order: 2; /* 次に表示 */
  border-radius: 0 0 30px 30px;
}

.footer {
  order: 3; /* 最後に表示 */
  padding: 40px 0;
}

.footer-nav {
  opacity: 1; /* フェード不要 */
}

.group {
  width: 100%;
  text-align: center;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  padding: 10px 0;
  gap: 5px;
}

.footer-nav li:last-child {
  grid-column: 2 / 3; 
  justify-self: center; 
}
.footer-nav li a {
  font-size: 0.75rem;
}
.footer-nav li {
  margin: 5px 0;
}
#news .group,
#contact .group {
  padding: 20px 20px;
  transform: none !important;
  opacity: 1 !important;
}
#news .group h2,
#contact .group h2 {
  margin-top: 0;
}


/* --------- company.html ----------*/

.company-detail-description dt {
  width: 30%;
  text-align: center;
  border-bottom: #111 1px dotted;
  margin-bottom: 20px;
  padding-bottom: 8px;
}
.company-detail-description dd {
  width: 70%;
  border-bottom: #111 1px dotted;
  margin-bottom: 20px;
}


/* --------- business.html ----------*/

.business-content {
  padding: 40px 0;
}
.business-content-box {
  margin-bottom: 10px;
}
.business-content-detail {
  margin-top: 60px;
}
.business-content-detail h3 {
  padding: 20px 0;
  font-size: 0.875rem;
}
.business-content-image {
  order: 1;
}


/* --------- service.html ----------*/

.product {
  margin: 100px 0;
}
.product-group {
  grid-template-columns: 1fr;
  gap: 5px;
}
.service-detail .sub-title {
  font-size: 1.25rem;
}
.service-detail p {
  font-size: 0.875rem;
}
.service-detail {
  margin-bottom: 50px;
  padding: 50px 0;
}
.sub-title-detail {
  margin-bottom: 30px;
}
.service-detail-description {
  margin-bottom: 20px;
}

.service-block {
  padding: 20px 10px;
}
.service-block p {
  margin-bottom: 10px;text-align: left;
}

/* --------- recruit.html ----------*/

.recruit-box h2 {
  font-size: 1.5rem;
}
.card-detail dt {
  width: 40%;
}
.card-detail dd {
  width: 60%;
}


/* --------- news.html ----------*/

.news dt {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.news dd {
  font-size: 0.875rem;
}

}





