/* 全体 */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* 横スクロールを防止 */
}


body {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  color: #333;
  position: relative;
  
}



h1, h2 {
  margin: 0.5em 0;
}

p {
  line-height: 1.6;
}

.highlight {
  background-color:#C9E6F1;
  padding: 0.2em 0.5em;
  border-radius: 4px; /* 角を少し丸く */
  line-height: 2em;
}

section {
  padding: 4rem 2rem;
}

.navbar_container {
  display:flex;
  max-width: 1080px;
  margin: 0px auto;
}

.container {
  max-width: 1080px;
  margin: 80px auto;
}

.square01{
  position: absolute; /* ← 追加 */
  width: 29.1875rem;
  height: 28rem;
  background: #C9E6F1;
  z-index: -1;
}


.square02{
  position: absolute; /* ← 追加 */
  width: 29.1875rem;
  height: 28rem;
  background: #C9E6F1;
  z-index: 1;
}

/* ナビゲーション */

.navbar {
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}


.navbar.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img{
  width: 100px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  transition: transform 0.3s ease;
  padding: 0px 20px;
}

.hamburger:hover {
  transform: scale(1.1);
}

/* メインビジュアル（フェード切替） */


.hero-carousel {
  position: relative; /* または absolute にしてもOK */
  z-index: 10;
  margin-top: 6rem;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1920px;
  height: 80vh;
  overflow: hidden;
}



.hero-carousel .carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-carousel .carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

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

.hero-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*background: rgba(246, 245, 245, 0.4);  半透明の黒背景 */
  backdrop-filter: blur(3px);     /* 背景ぼかし（対応ブラウザで有効） */
  color: #333;
  padding: 1rem;
  z-index: 2;
  text-align: left;
 
  font-family: 'Outfit';
  /* text-shadow: 2px 2px 4px rgba(0,0,0,0.3);*/
}

.hero-text h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 8rem;
  letter-spacing: 0.1em;
  line-height: 1.2em;
}

.hero-text img{
width: 100%;
height: auto;
max-width: 400px;
margin: 0 auto;


}

.hero-text p {
  font-size: 1.2rem;
}



.sub_til {
  text-align: center;
  margin: 0 auto;
  padding-bottom: 50px;
  font-size: 1.2em;
  font-weight: 500;
  color:#333;
}


.sub_til h2, 
.sub_til h5 {
  color: #333;
}
/* ABOUT */


/* about セクション */


.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}



.about-content {
  width: 100%;
  max-width: 1080px;
  margin: 100px auto;
  min-height: 40rem;
  position: relative; /* ← position: relative を追加 */
}


.logo-wrapper {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向も中央揃え（必要に応じて） */
  text-align: center;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'Noto Sans JP', sans-serif;
}

.logo-image {
  height: 20px; /* ロゴの高さ（必要に応じて調整） */
}

.logo-caption {
  font-size: 1rem;
  line-height: 1;
  color: #333;
  line-height: 1; /* 行間を狭くする */
}

.paren {
  line-height: 0.7; /* 括弧だけ行間詰め */
  font-size: 0.95em; /* 微調整（必要なら） */
}


.about_wrapper {
  width: 100%;
  max-width: 1080px;
  justify-content: center;
  margin: 80px auto;
  display: flex;
  gap: 50px;
  position: relative; /* ← absolute → relative に修正 */
  flex-direction: row; /* 初期は横並び */
}

/* スマホサイズ対応 */
@media (max-width: 768px) {
  .about_wrapper {
    flex-direction: column; /* ← 縦並び */
    align-items: center;
    gap: 30px;
  }

  .image-with-bg {
    max-width: 100%; /* 幅いっぱい使えるように */
  }

  .about_message {
    max-width: 100%;
    text-align: center;
    padding: 10px 20px;
  }

  .bg-shape {
    top: 20px;
    left: 20px;
  }
}


/* ======aboutタイトル下======= */
.circle-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem; /* 間隔調整 */
}

.circle {
  margin: 1em 0;
  width: 60px;
  height: 60px;
  background-color: #fff; /* 青緑系背景 */
  color:rgb(8, 104, 128);
  font-size: 16px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid rgb(8, 104, 128); /* 赤い枠線 */
  border-radius: 50%;
}

.multiply {
  font-size: 40px;
  color:rgb(8, 104, 128);
}



.about_midashi_title{
  font-family: ;
  font-size: 2.4em;
  color: rgb(8, 104, 128);
  font-weight: 500;
  line-height: 1.4em;

}

.about_message{
  width: 100%;
  max-width: 400px;
  padding: 20px;
  text-align: left;
  line-height: 2em;
}

.kakko-left {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  text-indent: -0.5em;
  padding-left: 0.5em;
}


.image-with-bg {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.image-with-bg img {
  width: 100%;
  text-align: right;
  height: auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 背景図形（square01風） */
.bg-shape {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 100%;
  height: 20em;
  background: #C9E6F1;
  z-index: 1;
}


.content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

.image-container {
  width: 100%;
  max-width: 420px;
}



/* レスポンシブ */
@media (max-width: 768px) {
  .about-section {
      flex-direction: column;
      text-align: center;
  }

  .content {
      width: 100%;
      padding-right: 0;
  }

  .image-container {
      width: 100%;
      margin-top: 20px;
  }
}




/* セクション全体 */
#marketing {
  position: relative;
  background-color: #C9E6F1;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                    url('../img/sec3_img.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  width: 100%;
  overflow: hidden;
  padding: 4rem 1rem;
  color: #fff;
}

/* パララックス風の背景ブラー */
#marketing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-attachment: fixed;
  filter: blur(2px);
  z-index: -1;
}

/* タイトル・サブタイトル */
#marketing .sub_til {
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

#marketing .sub_til h2,
#marketing .sub_til h5 {
  color: #fff;
  margin: 0.5rem 0;
}

.goods-description {
  text-align: center;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 2rem;
}

/* スライダー全体 */


.goods-slider-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  padding: 20px 10px;
  box-sizing: border-box;
}

.goods-slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.goods-card {
  flex: 0 0 80%;
  width: 100%;
  max-width: 320px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.goods-card img {
  width: 100%;
  height: auto;
  display: block;
}

.goods-content {
  padding: 16px;
  color: #666;
}

.goods-badge {
  position: absolute;
  background: #007bff;
  color: #fff;
  padding: 4px 10px;
  border-radius: 0 0 8px 0;
  font-size: 14px;
  top: 0;
  left: 0;
}

.goods-price {
  font-weight: bold;
  margin-top: 8px;
}


.goods-title {
  font-size: 1.1em;
  color: #333;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 8px;
}

.goods-catch {
  font-size: 1rem;
  color: #444;
  margin-bottom: 10px;
}

.goods-old-price {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 8px;
}

.strikethrough {
  text-decoration: line-through;
}

.goods-old-price .label {
  font-weight: bold;
  margin-right: 6px;
}

.discount {
  font-size: 1rem;
  background-color: #e60033;
  color: #fff;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 10px;
}

.goods-price-line {
  margin-bottom: 12px;
}

.price-label {
  font-size: 0.8rem;
  color: #666;
  margin-right: 4px;
}

.price-value {
  font-size: 1.3rem;
  font-weight: bold;
  color: #000;
}



.goods-button {
  margin-top: 10px;
  padding: 8px 16px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 16px;
}

.slider-btn {
  padding: 8px 16px;
  font-size: 18px;
  background-color: #eee;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.slider-btn:hover {
  background-color: #ddd;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
}

.slider-dots .dot.active {
  background-color: #007bff;
}

@media screen and (min-width: 768px) {
  .goods-card {
    flex: 0 0 40%;
    max-width: 40%;
  }
}

@media screen and (min-width: 1024px) {
  .goods-card {
    flex: 0 0 35%;
    max-width: 35%;
  }
}






/* companyセクション */


.company-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}


.company-content{
  width: 100%;
  max-width: 1080px;
  margin: 100px auto;
  height: 40rem;
  
}


.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.7;
  background: white;
}

.company-table th{
  padding: 1rem;
  vertical-align: top;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;

}


.company-table td {
  padding: 1rem;
  vertical-align: top;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  text-align: left;
}

.company-table th {
  width: 25%;
  text-align: left;
  font-weight: bold;
  color: #444;
  background-color: #f8f8f8;
}

.company-table td a {
  color: #2a6ebb;
  text-decoration: underline;
}

.company-table td a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {

  .company-content{
    height: auto;
  }


  .company-table th, .company-table td {
    display: block;
    width: 100%;
    padding: 0.7rem 0;
  }

  .company-table th {
    background: none;
    font-size: 0.9rem;
    color: #888;
    margin-top: 1rem;
  }

  .company-table td {
    border-bottom: none;
  }
}



/* newsセクション */


/* 
.news-list {
  list-style: none;      /* リストマーカーを消す
  margin: 0 auto;        /* コンテナ幅に合わせて中央寄せ 
  padding: 0;            /* デフォルトのパディングを削除 
  display: flex;         /* Flexbox レイアウト */
  /* flex-direction: column;/* 縦並び */
  /* align-items: center;   /* 各 li を横方向中央寄せ */
 /*  width: 100%;           /* 必要に応じて max-width を設定 *
}

/* 各ニュースアイテム（li） */
/* .news-list li {
 /*  width: 100%;           /* 親幅いっぱいに広げる */
/*   max-width: 600px;      /* 任意で最大幅を制限 */
/*   box-sizing: border-box;/* パディング・ボーダーを含めて幅計算 */
 /*  padding: 1.2rem 1rem;  
  border-bottom: 1px solid #ccc;
  display: flex;         
  align-items:flex-start;   /* アイコン・日付・テキストを縦方向中央揃え */
 /*  justify-content: center; /* 水平方向も中央揃え */
  /* gap: 0.5rem;           /* 要素間の隙間 */
/*   text-align:left;    /* テキストを中央寄せ */
/* }

/* 日付やテキスト部の調整 */
/* .news-date {
  min-width: 90px;
  font-size: 0.95rem;
  color: #888;
}

.news-text {
  font-size: 1rem;
  line-height: 1.5;
}

/* スマホ対応 */
/* @media (max-width: 600px) {
  .news-list li {
    flex-direction: column; /* アイテムを縦積み */
   /*  justify-content: flex-start;
    gap: 0.3rem;
  }
  .news-date {
    order: -1;              /* 日付を上に */
   /*  width: auto;
  }
}

*/






.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span{
  background: #999;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: #00F;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}























/* フッター */

.site-footer {
  background-color: #222;
  color: white;
  padding: 4rem 1rem 2rem;
  font-size: 0.95rem;
  position: relative;
 /*  background-image: linear-gradient(to top, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 40px; /* 水平ライン間隔 */
  /* border-top: 1px solid #444; 最上部の境界線 */
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: flex-start;
}

.footer-logo img {
  width: 130px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
}

.footer-menu li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-menu li a:hover {
  color: #C9E6F1;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-sns {
  display: flex;
  gap: 1rem;
}

.footer-sns img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.footer-sns a:hover img {
  opacity: 0.7;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.footer-links li a {
  color: #aaa;
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-links li a:hover {
  color: #C9E6F1;
}

footer .copyright {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.8rem;
  color: #888;
  border-top: 1px solid #444;
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-menu,
  .footer-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-right {
    align-items: center;
  }
}
















/* レスポンシブ */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.open { display: flex; }
  .about-content { flex-direction: column; text-align: center; }
  .hero-text { width: 90%; padding: 1rem; }
  .carousel-item { width: 250px; margin-right: 10px; }
}