@import url(https://fonts.googleapis.com/css?family=Raleway:400);

body {
    font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: white;
    color: #333;
}

.brand-img { margin: 0; }
.brand-img a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-img img {
  height: 80px;
  width: auto;
  display: block;
}

.logo-oval {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:white;
}

@media (min-width: 768px) {
  .brand-img img { height: 80px; }
}


/* 画面にフィットさせつつ縦横比を保持 */
.header {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 72px;
  overflow: hidden;
}

.header .header-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  
  object-position: 50% 40%;
  z-index: 0;
}

@media (max-width: 600px){
  .hero-media{
    object-position: 50% 80%; 
  }
}

@media (max-aspect-ratio: 3/4){
  .hero-media{
    object-position: 50% 80%;
  }
}

/* 文字を前面に */
.header-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 8px 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  background-color: rgba(255,255,255,0.15); 
  display: flex;
  align-items: center;
}

.container {
    width: auto;
    /* max-width: 600px; */
    margin: 20px auto;
    padding: 20px;
    background: #f6f7f9;
}

/* コンテナの左右余白（はみ出し防止） */
.container {
  padding: 0 16px;
}

/* 画面端に貼り付き防止の左右余白 */
.container {
  padding: 0 16px;
}

.company-solution {
  margin: 48px auto 24px;  /* 中央寄せ */
  max-width: 70ch;         /* 読みやすい行幅 */
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

.company-solution h2 {
  color: #333;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.company-solution p {
  color: #444;
  line-height: 1.9;
  font-size: clamp(15px, 1.1vw, 17px);
  margin: 0;
  text-align: left;
  text-wrap: pretty;
}

.company-info-section {
  background: #f6f7f9;     /* 薄いグレー（左右まで広がる） */
  padding: 48px 16px;      /* 上下余白＋左右の画面端接触防止 */
}

.company-info {
  margin: 48px auto 24px; /* 中央寄せ */
  max-width: 70ch;        /* 読みやすい行幅（約70文字） */
  padding: 0;             /* 余白は見出し/本文側で調整 */
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.company-info h2 {
  color: #333;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.company-info p {
  color: #444;
  line-height: 1.9;
  font-size: clamp(15px, 1.1vw, 17px);
  margin: 0;
  text-align: left;     /* 読みやすさ重視で左揃え */
  text-wrap: pretty;    /* 日本語の禁則にやさしい改行（対応ブラウザのみ） */
}

/* モバイルで少し詰める */
@media (max-width: 480px) {
  .company-info {
    margin: 32px auto 16px;
  }
}

/* レスポンシブデザインのためのメディアクエリ */
@media (max-width: 600px) {
    nav ul li {
        display: block;
        margin-bottom: 10px;
    }
}

footer {
    background-color: #333; /* ダークグレー */
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

.swiper {
  overflow: visible !important;
}

.swiper-slide {
  height: 500px;
  overflow: hidden;
}
.swiper-slide > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.3);
  transition: transform 1.9s ease;
}
.swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 61, 125, 0.1);
}
.swiper-slide-active > img {
  transform: none;
}
.swiper-slide-active .hero__title {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.hero-slider,
.hero-slider .swiper {
  width: 100%;
  max-width: 100vw;
  overflow: hidden !important; 
}

/* 2) 画像の拡大をやめる＆ブロック化で余白ゼロ */
.hero-slider .swiper-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);     
  transform: none !important;
}

/* 3) スライド枠のはみ出し防止 */
.hero-slider .swiper-slide {
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 640px) {
  /* スライドの高さをアスペクト比で決定（縦長寄り） */
  .hero-slider .swiper-slide {
    height: auto;                  
    aspect-ratio: 4 / 5;            
    box-sizing: border-box;
    overflow: hidden;
    background: #000;  
  }
    .hero-slider .swiper-slide > img {
    object-fit: contain;
    object-position: 50% 50%;
    width: 100%;
    height: 100%;
  }
}

.hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 20px));
  color: black;
  font-size: 25px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease 1s, transform 0.3s ease 1s;
}
.hero__downarrow {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6px;
  -webkit-animation-name: kf-arrow-anime;
          animation-name: kf-arrow-anime;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}


@-webkit-keyframes kf-arrow-anime {
  0%, 50%, 100% {
    transform: translateY(-10%);
  }
  30% {
    transform: none;
  }
}

@keyframes kf-arrow-anime {
  0%, 50%, 100% {
    transform: translateY(-10%);
  }
  30% {
    transform: none;
  }
}/*# sourceMappingURL=style.css.map */

/* ========== Company Info 3列 → モバイル1列 ========== */
.company-info-section .gspb_row__content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;                 /* 余白。必要に応じて調整 */
  align-items: start;
}

/* カードの基本スタイル（任意・見た目安定用） */
.company-info-section .wp-block-greenshift-blocks-row-column {
  box-sizing: border-box;
}

/* 画像周り：inline-style を上書きして崩れを防止 */
.company-info-section .gspb_iconBox__wrapper {
  display: block !important; 
  width: 100%;
  max-width: 180px; 
  margin: 0 auto;
}
.company-info-section .gspb_iconBox__wrapper img {
  display: block;
  width: 100%;                          /* 横幅いっぱいに */
  height: auto;                         /* アスペクト比維持 */
  max-width: 480px;                     /* 必要なら上限を設定（任意） */
  margin: 0 auto;                       /* 画像中央寄せ */
}

/* タイトル・本文の余白と整列（任意） */
.company-info-section .gspb_heading,
.company-info-section .gspb_text {
  margin-top: 12px;
  text-align: center;
}

/* モバイル：1カラムにする */
@media (max-width: 767px) {
  .company-info-section .gspb_row__content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
