/* ===== 共通変数と基本設定 ===== */
:root {
  --color-base: #FAF9F6;      /* 温かみのあるオフホワイト（砂浜ベージュ） */
  --color-main: #1A3C40;      /* 杜の深緑（ブランドカラー） */
  --color-sub: #1D2D50;       /* 深い海の青（フッターなど） */
  --color-accent: #D4A373;    /* 貝や砂浜のベージュ（アクセント） */
  --color-text: #2C3E35;      /* 読みやすい濃い緑黒 */
  --color-card-bg: #FFFFFF;
  
  /* 【大元の色設定】事業内容の背景色（薄いグリーン/ブルーグレー） */
  --bg-service: #F4F7F6;      
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--color-base);
  color: var(--color-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ===== タイトル・見出しの洗練（明朝体） ===== */
h1, h2, h3, .logo, .footer-logo {
  font-family: 'Noto Serif JP', serif;
  color: var(--color-main);
  margin: 0;
}

h2 {
  font-size: 28px;
  position: relative;
  padding-left: 15px;
  margin-bottom: 25px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background-color: var(--color-main);
  border-radius: 2px;
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

p {
  margin: 0 0 16px 0;
}
p:last-child {
  margin-bottom: 0;
}

.section-tag {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 5px;
}

.section-lead {
  font-size: 16px;
  color: #55665c;
  margin-bottom: 30px;
}

/* ===== ヘッダー ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  box-shadow: 0 2px 15px rgba(26,60,64,0.05);
  z-index: 3000;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.menu-btn {
  font-size: 26px;
  cursor: pointer;
  color: var(--color-main);
  z-index: 9999;
}

/* ===== ドロワーメニュー ===== */
nav {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: var(--color-base);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 100px 24px 24px;
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  transition: right 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2500;
}

nav.show {
  right: 0;
}

nav a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

nav a:hover {
  background: rgba(26,60,64,0.06);
  color: var(--color-main);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(29,45,80,0.3);
  display: none;
  z-index: 2000;
  backdrop-filter: blur(2px);
}

.overlay.show {
  display: block;
}

section {
  width: 100%;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 45px 24px; 
}

.hero {
  min-height: 45vh;           
  display: flex;
  align-items: center;        
  justify-content: center;    
  padding: 120px 24px 50px;   
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 40%, transparent 80%),
    radial-gradient(at 0% 20%, rgba(120, 165, 133, 0.25) 0px, transparent 65%),
    radial-gradient(at 100% 20%, rgba(143, 192, 169, 0.15) 0px, transparent 65%),
    radial-gradient(at 100% 90%, rgba(39, 76, 119, 0.25) 0px, transparent 65%),
    radial-gradient(at 0% 90%, rgba(96, 150, 186, 0.15) 0px, transparent 65%);
}

.hero-box {
  max-width: 800px;
  width: 100%;
  text-align: center;
  padding: 0;
}

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-main);
  line-height: 1.8;
  margin: 0;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
}

/* ===== 2. 循環する養殖 ===== */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--color-card-bg);
  padding: 35px 25px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.03);
  border-top: 4px solid var(--color-main);
  position: relative;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
}

.card-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 14px;
  line-height: 1;
}

.card p {
  flex-grow: 1;
  margin-bottom: 24px;
}

.image-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  margin: 0 -5px;
}

.image-slider::-webkit-scrollbar {
  height: 5px;
}
.image-slider::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}
.image-slider::-webkit-scrollbar-thumb {
  background: rgba(212, 163, 115, 0.4);
  border-radius: 10px;
}

.slide-item {
  flex: 0 0 90%;
  scroll-snap-align: start;
  position: relative;
}

.slide-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  background-color: #e2e8f0;
  display: block;
}

.slide-item span {
  display: block;
  font-size: 11px;
  color: #7a8a7a;
  margin-top: 6px;
  text-align: center;
}

/* ===== 3. 会社概要 ===== */
.company-table-wrapper {
  background: var(--color-card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(26,60,64,0.03);
  border: 1px solid rgba(26,60,64,0.05);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.company-table tr {
  border-bottom: 1px solid #dcdcdc; 
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th, 
.company-table td {
  padding: 20px 10px;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 25%;
  font-family: 'Noto Serif JP', serif;
  color: var(--color-main);
  font-weight: 700;
}

.company-table td {
  color: var(--color-text);
}

.company-table td ul {
  margin: 0;
  padding-left: 20px;
}

.company-table td ul li {
  margin-bottom: 8px;
}
.company-table td ul li:last-child {
  margin-bottom: 0;
}

/* ===== 4. お問い合わせ ===== */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-card-bg);
  box-shadow: 0 8px 25px rgba(26,60,64,0.04);
  transition: all 0.3s;
  border: 1px solid rgba(26,60,64,0.05);
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26,60,64,0.08);
}

.contact-button .icon {
  font-size: 28px;
  background: #f0f4f2; 
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-main); 
}

.contact-button .text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-button .text strong {
  font-size: 18px;
  color: var(--color-main);
  display: block;
  margin-top: 2px;
}

/* ===== フッター ===== */
footer {
  background: var(--color-sub);
  padding: 60px 24px;
  text-align: center;
  color: rgba(250, 249, 246, 0.6);
}

.footer-logo {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.copyright {
  font-size: 13px;
}

/* ===== 📱 スマホ用レスポンシブ ===== */
@media (max-width: 768px) {
  .grid-layout, .contact-box {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 30px 20px;
  }

  .hero {
    min-height: 240px;          
    height: auto;
    padding: 90px 20px 40px;    
  }

  .hero h1 {
    font-size: 19px;
    line-height: 1.6;
    letter-spacing: 0.08em;
  }

  .company-table-wrapper {
    padding: 20px 10px;
    background: #ffffff;
    box-shadow: none;
    border: none;
  }
  
  .company-table tr {
    display: flex;
    align-items: flex-start;
    padding: 16px 0;
  }
  
  .company-table th, 
  .company-table td {
    display: block;
    padding: 0;
  }
  
  .company-table th {
    width: 90px;
    min-width: 90px;
    flex-shrink: 0;
  }
  
  .company-table td {
    width: auto;
    flex-grow: 1;
    padding-left: 15px;
    font-size: 14px;
    line-height: 1.6;
  }

  .slide-item {
    flex: 0 0 85%;
  }
  .slide-item img {
    height: 220px;       
    object-fit: cover;   
  }
}

/* ==================================================
   📢 NEWS と 📝 成長記録 スタイル設定
   ================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; 
}

/* 📢 NEWSの枠 */
.news-list {
    list-style: none;
    padding: 24px;
    margin: 0;
    border: 1px solid rgba(26,60,64,0.1); 
    border-radius: 14px;                   
    background-color: var(--color-card-bg); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}
.news-item {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(26,60,64,0.1);
    font-size: 0.95rem;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}
.news-item:last-child {
    border-bottom: none;
}
.news-date {
    color: #7a8a7a;
    font-weight: bold;
    margin-right: 15px;
    min-width: 90px;
}
.news-link {
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-main); 
    font-weight: 600;
}
.news-link:hover {
    color: var(--color-main);
    border-bottom-color: var(--color-accent);
}

/* ==================================================
   📝 成長記録 スタイル設定
   ================================================== */

.diary-intro {
    font-size: 15px;
    color: #55665c;
    margin-bottom: 25px;
}


.instagram-official-area {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 35px;
    width: 100%;
}


.instagram-official-area .instagram-media {
    flex: 0 1 320px !important;
    min-width: 326px !important;
    margin: 0 !important;
    

    max-height: 480px !important; 
    overflow: hidden !important;
    border: 1px solid #dbdbdb !important;
    border-radius: 8px !important;
}


.instagram-official-area iframe {
    max-height: 480px !important;
}

/* ===== ヘッダー本体 ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;               
  background-color: #FFFFFF;  
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 15px rgba(26, 60, 64, 0.06);
  z-index: 3000;
}

/* ===== ロゴエリア（横並び設定） ===== */
.logo a {
  display: flex;
  align-items: center;       /* 上下中央揃え */
  gap: 12px;                 /* 画像と文字の間隔 */
  text-decoration: none;
}

/* ロゴ画像（サイズアップ！） */
.logo img {
  height: 48px;              /* 36px → 48px に拡大！ */
  width: auto;
  display: block;
}

/* ロゴ横のテキスト */
.logo span {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;           
  font-weight: 700;
  color: var(--color-main);  /* 深緑 */
  letter-spacing: 0.08em;
  white-space: nowrap;       
}


/* ===== ヒーロー背景 ===== */
.hero {
  min-height: 38vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 110px 24px 50px !important; /* 上の余白を85px→110pxに広げて文字を下へ下げる */
  background: 
    radial-gradient(circle at 10% 20%, rgba(120, 165, 133, 0.5) 0%, transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(130, 190, 210, 0.6) 0%, transparent 55%),
    linear-gradient(135deg, #F4F7F4 0%, #EFEBE4 50%, #E3F0F5 100%) !important;
}



.hero h1 {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  color: #1A3C40 !important;
  line-height: 1.8 !important;
  text-align: center !important;
  text-shadow: none !important;
}
