* {
  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;
}
  
  .contact {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
  }
  
  
  /* ヘッダー */

  .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;
  }
  
  main {
    padding-top: 80px;
  }
  
  
  /* ページ見出し */
  .contact{
    padding-top: 170px;
}

  .contact-hero {
    text-align: center;
    margin-bottom: 72px;
  }
  
  .contact-hero h1 {
    font-size: 32px;
    margin-bottom: 8px;
  }
  
  .contact-hero p {
    color: #777;
    letter-spacing: 0.1em;
  }
  
  /* セクション */
  .contact-section h2 {
    font-size: 22px;
    margin-bottom: 24px;
    border-left: 4px solid #c0c8d7;
    padding-left: 12px;
  }
  
  .contact-box {
    background: #ffffff;
    padding: 40px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }
  
  .contact-lead {
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.8;
  }
  
  /* 電話番号 */
  .phone-number {
    display: inline-block;
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    background: #405d92;
    padding: 16px 32px;
    border-radius: 999px;
    text-decoration: none;
    margin-bottom: 20px;
  }
  
  .phone-number:hover {
    opacity: 0.85;
  }
  
  .contact-time {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
  }
  
  /* スマホ */
  @media (max-width: 768px) {
    .phone-number {
      font-size: 22px;
      width: 100%;
    }
  }
  
  .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;
  }
  

  /*レスポンシブ*/
@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: 60vh;
    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;
  }
}
