/* 基本設定 */
:root {
    --primary: #2a7f62;
    --secondary: #1d4e89;
    --light: #f8f9fa;
    --dark: #343a40;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-image: url("images/787978.jpeg")
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ヘッダースタイル */
header {
    background-color: rgba(255, 255, 255, 1); /* 透明度50%の黒 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ロゴスタイル */
.logo img {
    height: 50px;
    width: auto;
}

/* 会社名 */
.company-name {
    font-family: 'YuMincho', 游明朝体;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark);
    margin: 0 15px;
    white-space: nowrap;
}

/* SNSリンク */
.header-sns {
    display: flex;
    gap: 15px;
    margin-right: auto; /* 左側の要素とハンバーガーの間に自動的にスペース */
}

.header-sns a {
    color: var(--dark);
    font-size: 1.4rem;
    transition: color 0.3s;
}

.header-sns a:hover {
    color: var(--primary);
}

/* ハンバーガーメニュー */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ナビゲーションメニュー */
nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
}

nav.active {
    right: 0;
}

nav ul {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

nav li {
    margin-bottom: 15px;
}

nav a {
    display: block;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* メインコンテンツのマージン調整 */
main {
    margin-top: 80px;
}

/* ハンバーガーメニューアニメーション */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ヒーローセクションスタイル */
.hero {
  background-size: cover;              /* 背景画像をカバー */
  color: rgb(248, 247, 247);                        /* テキスト色白 */
  text-align: center;                  /* 中央揃え */
  padding: 300px 0;              /* 上下パディング */
  position: relative;                  /* 相対位置 */
  text-shadow: 4px 4px 8px rgb(0, 0, 0);
  background-image: url(images/7879);
}

.hero h2 {
  font-size: 3vw;                   /* 大きなフォント */
  margin-bottom: 1rem;                 /* 下部マージン */
  display: inline-block; /* 背景色をテキスト幅に合わせる */
  padding: 20px 25px; /* 余白を追加 */
  border-radius: 5px; /* 角を少し丸く */
  text-shadow: 2px 2px 4px rgba(0,0,0,1);
}


/* ページタイトル */
.page-title {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/adpDSC_3008.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 80px;
    margin-top: 70px;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* こだわりセクション */
.kodawari-page {
    padding: 80px 0;
    background-image: url(images/787978.jpeg);
}

.commitment-intro {
    text-align: center;
    margin-bottom: 60px;
}

.commitment-intro h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.commitment-intro p {
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.commitment-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.commitment-item.reverse {
    flex-direction: row-reverse;
}

.commitment-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.commitment-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.commitment-item:hover .commitment-image img {
    transform: scale(1.03);
}

.commitment-content {
    flex: 1;
}

.commitment-content h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.commitment-content p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.commitment-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commitment-points li {
    padding: 10px 0 10px 35px;
    position: relative;
    margin-bottom: 10px;
}

.commitment-points li i {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 12px;
}

/* CTAセクション */
.kodawari-cta {
   background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT7ZEBUewFknboh_eGFLHPtzEx_-B-WxfXmuQ&s); 
    color: rgb(7, 7, 7);
    text-align: center;
    padding: 80px 0;
}

.kodawari-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.kodawari-cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* フッター */
footer {
    background-color: #f9fbfd;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.company-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.company-info p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-sns {
    display: flex;
    gap: 15px;
}

.footer-sns a {
    color: var(--dark);
    font-size: 1.4rem;
    transition: color 0.3s;
}

.footer-sns a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .commitment-item {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 120px 0 60px;
    }
    
    .commitment-item,
    .commitment-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .commitment-content {
        text-align: center;
        width: 100%;
    }
    
    .commitment-points {
        display: inline-block;
        text-align: left;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 2rem;
    }
    
    .commitment-item {
        margin-bottom: 40px;
    }
    
    .kodawari-cta h2 {
        font-size: 1.8rem;
    }
}



/* フッター */
footer {
  background-color: #f9fbfd;            /* 薄い青背景 */
  color: rgb(0, 0, 0);                 /* テキスト色 */
  padding: 40px 0 20px;                /* 上下パディング */
  text-align: center;                  /* 中央揃えを追加 */
}

/* フッターコンテンツレイアウト */
.footer-content {
  display: flex;
  justify-content: center;             /* 中央揃えに変更 */
  align-items: center;                 /* 垂直方向中央揃え */
  margin-bottom: 30px;                 /* 下部マージン */
  flex-direction: column;              /* 縦並びに変更 */
  gap: 20px;                           /* アイテム間隔 */
}

/* フッター情報 */
.footer-info {
  display: flex;
  align-items: center;                 /* 垂直方向中央揃え */
  gap: 20px;                           /* アイテム間隔 */
              /* 縦並びに変更 */
}

/* フッターロゴ */
.footer-logo {
  height: 40px;                        /* 高さ */
  width: auto;                         /* アスペクト比保持 */
}

/* 会社情報 */
.company-info h3 {
  margin: 0 0 10px 0;                  /* 上下マージン */
  font-size: 0.7rem;                   /* フォントサイズ */
}

.company-info p {
  margin: 0;                           /* マージン削除 */
  font-size: 0.7rem;                   /* フォントサイズ */
  line-height: 1.6;                    /* 行間 */
}

/* 著作権表示 */
.copyright {
  text-align: center;                  /* 中央揃え */
  font-size: 0.8rem;                   /* フォントサイズ */
  opacity: 0.8;                        /* 少し透明 */
  margin-top: 20px;                    /* 上部マージン */
}