/*基本設定 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #222;
  background-color: #ffffff;
  line-height: 1.7;
}

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

/* ヘッダー*/

.header {
  position: fixed;
  height: 90px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background-color: #19263ee2;
  border-radius: 100px;
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  display: block;
  max-width: 10rem;
  line-height: 1;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav a {
  display: flex;
  color: #fff;
  font-size: 14px;
  position: relative;
  line-height: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
}

.top {
  max-width: 100%;
  background-color: black;
  display: inline-block;
}

.top .top-image img {
  max-width: 100%;
  opacity: 0.7;
}
/* スローガン */
.top-slogan {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 50px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 12px 24px;
  text-shadow: #0b0632 1px 0 10px;
  border-radius: 8px;
}

.image-list {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.image-list img {
  width: 30%;
  height: auto;
  display: block;
  border-radius: 12px;
}


.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  left: 50%;
  bottom: 15%;
  transform: translateX(-50%);
  background: rgba(15, 30, 61, 0.75);
  color: #fff;
  padding: 24px 32px;
  text-align: center;
}

.hero-text h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.hero-text p {
  margin: 0;
  font-size: 14px;
}

/* 事業内容 */
/* 事業概要 全体 */
.business-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.business-item {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.236);
}

.business-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: #333;
}

/* 主な顧客*/
.business_customer {
  grid-column: 1 / -1; 
  background: #f7f9fc;
  padding: 32px 28px;
  border-radius: 20px;
  border-left: 6px solid #c0c8d7;
}

.business_customer h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
}

.business_customer p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

main {
  padding-top: 50px;
}

.intro {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}

.intro h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #0f1e3d;
}

.intro p {
  font-size: 15px;
}


.section-title {
  text-align: center;
  font-size: 28px;
  margin: 100px 0 48px;
  color: #0f1e3d;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 2px;
  display: block;
  margin: 16px auto 0;
}

.strength {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strength-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.236);
  text-align: center;
}

.strength-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #19263e;
}


.flow {
  padding: 80px 24px;
}

.flow-list {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow-item {
  background: #fff;
  padding: 28px 20px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.236);
}

.flow-item span {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.flow-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
  color: #0f1e3d;
}


.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 安全 */
.safe {
  max-width: 1100px;
  margin: 0 auto 120px;
  padding: 0 24px;
}

.safe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.safe-card {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 20px;
  border-top: 4px solid #19263e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.236);
}

.safe-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #19263e;
}

/* レスポンシブ*/
@media (max-width: 900px) {
  .strength-grid,
  .flow-list,
  .safe-grid {
    grid-template-columns: 1fr;
  }

  .business-list {
    grid-template-columns: 1fr;
  }
}

.strength-card img,
.safe-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
}

.flow-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
}

.strength-card,
.safe-card,
.flow-item {
  transition: transform 0.3s, box-shadow 0.3s;
}

.strength-card:hover,
.safe-card:hover,
.flow-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.236);
}


.product-target {
  max-width: 1000px;
  margin: 120px auto 60px;
  padding: 0 24px;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.target-card {
  background: #19263e;
  color: #fff;
  padding: 24px;
  text-align: center;
  border-radius: 16px;
  font-size: 14px;
}

/* 商品一覧 */
.product-list {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.236);
  text-align: center;
  transition: 0.3s;
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-card h3 {
  padding: 16px;
  font-size: 15px;
  color: #0f1e3d;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.236);
}

/*注意事項 */
.product-note {
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 0 24px;
}

.note-box {
  background: #f7f9fc;
  padding: 28px;
  border-radius: 16px;
  border-left: 5px solid #19263e;
  font-size: 14px;
  line-height: 1.8;
}

/*レスポンシブ */
@media (max-width: 900px) {
  .target-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card.no-image {
  padding: 28px 16px;
}

.product-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #19263e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 2px;
}

.product-card.no-image p {
  font-size: 13px;
  color: #666;
}

.target-card {
  background: #f7f9fc;
  color: #19263e;
  border: 1px solid #e1e6ef;
  font-weight: 600;
}

.note-box {
  background: #ffffff;
  border: 2px solid #19263e;
  font-size: larger;
  text-align: center;
  font-weight: 500;
}

.footer {
  background: #19263e;
  color: #fff;
  padding: 60px 20px 20px;
  margin-top: 120px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-company img {
  width: 180px;
  margin-bottom: 16px;
}

.footer-company p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: 0.3s;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-copy {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: #c0c8d7;
}


.policy {
  padding: 140px 20px 80px; 
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.policy h2 {
  font-size: 28px;
  margin-bottom: 40px;
  border-bottom: 2px solid #bfa46f;
  padding-bottom: 10px;
}

/* 見出し */
.policy h3 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #222;
}

/* 本文 */
.policy p {
  margin-bottom: 10px;
}

/* リスト */
.policy ul {
  padding-left: 20px;
  margin-bottom: 10px;
}



/* スマホ */
@media (max-width: 768px) {

  /* ヘッダー */
  .header {
    height: 70px;
    top: 10px;
    width: 95%;
    border-radius: 50px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo img {
    max-width: 8rem;
  }

  .nav {
    display: none;
  }

/* ハンバーガー */
  .hamburger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: white;
    display: none;
  }

  .nav ul {
    flex-direction: column;
    text-align: center;
  }

  .nav li {
    padding: 15px 0;

  }


  .nav.active {
    display: block;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 40%;
    height: 70vh;
    background: #19263e;
    padding-top: 100px;
    transition: 0.3s;
    border-radius: 20px;
  }

  .nav ul {
    padding: 10px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav.active {
    right: 0; 
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
  
  .hamburger {
    width: 30px;
    height: 25px;
    z-index: 9999;
  position: relative;
    cursor: pointer;
  }
  
  .hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: white; 
    left: 0;
    transition: 0.3s;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 10px;
  }
  .hamburger span:nth-child(3) {
    top: 20px;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
  }
  

}


  /*トップ */
  .top {
    width: 100%;
    height: 100vh; 
    position: relative;
    overflow: hidden;
  }
  
  .top .top-image {
    width: 100%;
    height: 100%;
  }
  
  .top .top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0.7;
  }

  .top-slogan {
    font-size: 24px;
    top: 45%;  
    width: 90%;
  }

  .section-title {
    font-size: 22px;
    margin: 60px 0 32px;
  }

  main {
    padding-top: 80px;
  }


  .strength-grid,
  .flow-list,
  .safe-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .business-list {
    grid-template-columns: 1fr;
  }

  .flow {
    padding: 40px 16px;
  }

  .flow-item {
    padding: 20px;
  }

  .strength-card,
  .safe-card {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }

  .footer-company img {
    width: 140px;
  }

  .footer-copy {
    font-size: 11px;
  }




/* タブレット */

@media (min-width: 769px) and (max-width: 1024px) {

  .header {
    width: 95%;
  }

  .nav ul {
    gap: 16px;
  }

  .nav a {
    font-size: 13px;
  }

  .top {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
  }
  
  .top .top-image {
    width: 100%;
    height: 100%;
  }
  
  .top .top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0.7;
  }

  .top-slogan {
    font-size: 24px;
    top: 45%; 
    width: 90%;
  }

  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .safe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .target-grid {
    grid-template-columns: repeat(2, 1fr);
  }

 
  .section-title {
    font-size: 24px;
  }
}
