/* 基本の余白リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.top-bar {
    background-color: #1a1a1a; /* 濃いグレーで引き締める */
    color: #cccccc;            /* 文字は少し落ち着いた色に */
    padding: 8px 0;           /* 上下の細い帯 */
    font-size: 13px;          /* 小さめの文字で控えめに */
    letter-spacing: 0.05em;
    border-bottom: 1px solid #333;
  }
  
.top-bar p {
    margin: 0;
    line-height: 1;
  }
  
.top-bar-inner {
    display: flex;
    justify-content: flex-start; /* 左寄せ */
    padding-left: 30px; /* 画面端にぴったりくっつきすぎないよう微調整 */
  }
  
.top-bar p {
    margin: 0;
    line-height: 1.2;
    text-align: left; /* テキスト自体も左寄せ */
  }

.site-header {
    width: 100%;
    border-bottom: 1px solid #eee; /* 下線を入れて区切りを明確に */
    padding: 10px 0;
}

.header-container {
    margin: 0 auto;    /* 中央寄せ */
    display: flex;
    justify-content: space-between; /* ロゴとナビを両端に分ける */
    align-items: center;            /* 上下中央揃え */
    padding: 10px 20px 0px;
}

.header-logo img {
    height: 50px; /* ロゴのサイズに合わせて調整 */
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px; /* メニュー間の間隔 */
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* お問い合わせアイコンの装飾（少し目立たせる場合） */
.nav-icon a {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #015FB0; /* ボタンっぽくする場合 */
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
}

.nav-unshown { display: none; }
#nav-open { display: none; } /* PCでは隠す */

/* 画像がはみ出さないための共通設定 */
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom; /* 画像の下にできる謎の隙間を消す */
  }
  
  /* メインビジュアルのエリア */
  .main-visual {
    width: 100%;
    overflow: hidden; /* 万が一はみ出してもカットする */
  }
  
  .main-visual img {
    width: 100%;     /* 画面の横幅いっぱいに広げる */
    display: block;
  }

  /* --- メインビジュアル設定 --- */
.main-visual {
    position: relative; /* 文字を重ねる基準 */
    width: 100%;
    height: 85vh;        /* 画面の高さの85%にする（ダイナミックな印象） */
    min-height: 500px;
    overflow: hidden;
    background-color: #000; /* 画像読み込み前の下地 */
  }
  
  .main-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* 比率を保ったまま領域を埋める */
    opacity: 0.7;        /* 文字を読みやすくするため画像を少し暗く */
  }
  
  /* 文字エリアの配置（flexを使って上下中央に） */
  .mv-copy-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* 上下中央 */
    z-index: 10;
  }
  
  /* メインキャッチ（町工場が支える〜） */
  .mv-main-title {
    font-family: "Zen Old Mincho", serif;
    color: #ffffff;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.15em; /* 文字間を広げて高級感を出す */
    margin-bottom: 30px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
  }
  
  /* サブキャッチ（―― ひとつひとつに〜） */
  .mv-sub-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.2em;
    /* border-left: 5px solid #0062B0; 会社の信頼を表す青のアクセント */
    padding-left: 20px;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
  }
  
  
  /* --- 次のセクションへの繋がり --- */
  .about {
    padding: 100px 0;
    background-color: #fff;
  }

  /* セクション全体の余白 */
.about {
    padding: 80px 0 30px 0;
    text-align: center; /* 全体を中央寄せにする場合 */
  }
  
  /* コンテナ（中央揃えの枠） */
  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* 見出しエリア */
  .about-title-area {
    margin-bottom: 40px;
  }
  
  /* 英語のサブタイトル (ABOUT US) */
  .sub-title {
    display: block;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
    /* 色は#0360B0で透明度50% (16進数に80を足すと約50%になります) */
    color: #0360B080; 
    margin-bottom: 5px;
  }
  
  /* メインの見出し (私たちについて) */
  .about h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
  }
  
  /* テキスト部分 */
  .about-text p {
    font-size: 16px;
    line-height: 2.0; /* 行間を広げて読みやすく */
    color: #444;
    text-align: center; /* 文章は左寄せにするのが一般的です */
    display: inline-block; /* 中央に配置しつつ左寄せにする工夫 */
  }

  /* セクション全体の余白 */
.features {
    padding: 80px 0;
    background-color: #fff; /* 背景色が必要なら調整してください */
  }
  
  
  /* 3つ並ぶ各アイテムの幅 */
  .feature-item {
    flex: 1; /* 3つが同じ幅になるように設定 */
    text-align: center; /* テキストは左寄せ */
  }
  
  /* 画像の設定 */
  .feature-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px; /* 角を少し丸くすると今風になります */
  }
  
  .feature-image img {
    width: 100%;       /* 親の幅（feature-item）に合わせる */
    max-width: 200px;  /* ← 画像が大きすぎるなら、ここで最大幅を制限（数値は適宜調整） */
    height: auto;      /* 比率を維持 */
    display: block;
    margin: 0 auto 20px; /* 画像自体を中央に寄せ、下に余白を作る */
  }
  
  /* テキストの設定 */
  .feature-text {
    text-align: center;  /* 念押しで中央寄せ */
    font-size: 15px;
    line-height: 1.8;
    margin: 0 auto;      /* ブロック自体も中央へ */
    word-break: break-all; /* 必要に応じて改行を制御 */
  }

  /* 1. 外側の枠を広げる（3つ並ぶスペースを確保） */
.container {
  max-width: 1100px; /* ここが狭いと横に並びきれません */
  margin: 0 auto;
  padding: 0 20px;
}

/* 3. 各アイテム（箱）：3つの幅を均等にする */
.feature-item {
  flex: 1;             /* これで3等分になります */
  text-align: center;   /* 箱の中身をすべて中央寄せ */
}



/* 5. テキスト：全部真ん中揃え */
.feature-text {
  text-align: center;  /* ★テキストを中央寄せ */
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}


/* 1. 外側の枠を広げる（3つ並ぶスペースを確保） */
.container {
    max-width: 1100px; /* ここが狭いと横に並びきれません */
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* 2. 親要素：ここで「横に並べ！」と命令する */
  .feature-wrapper {
    display: flex;
    justify-content: space-between; /* 均等に間隔を空けて配置 */
    align-items: flex-start;      /* 上端で揃える */
    gap: 30px;                    /* 項目同士の隙間 */
    margin-top: 40px;
  }
  
  /* 3. 各アイテム（箱）：3つの幅を均等にする */
  .feature-item {
    flex: 1;             /* これで3等分になります */
    text-align: center;   /* 箱の中身をすべて中央寄せ */
  }
  
  /* 4. 画像：高さを揃えてガタつきをなくす */
  .feature-image img {
    width: 100%;
    height: 200px;       /* ★ここをXDのデザインに合わせて調整。高さを固定すると並びが綺麗になります */
    object-fit: cover;   /* 高さを固定しても画像が歪まないように調整 */
    margin-bottom: 20px;
  }
  
  /* 5. テキスト：全部真ん中揃え */
  .feature-text {
    text-align: center;  /* ★テキストを中央寄せ */
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0;
  }

  /* セクション共通の余白（もし他のセクションと揃えるなら） */
.product {
    padding: 80px 0;
    text-align: center;
  }
  
  /* タイトルエリア（About Usと共通のデザイン） */
  .title-area {
    margin-bottom: 40px;
    text-align: center;
  }
  
  /* 英語のサブタイトル (PRODUCT) */
  .sub-title {
    display: block;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #0360B080; /* #0360B0の透明度50% */
    margin-bottom: 5px;
  }
  
  /* メインの見出し (製品紹介) */
  h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
  }
  
  /* 製品紹介のテキスト */
  .product-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: center; /* 中央揃え */
    max-width: 800px;
    margin: 0 auto;
  }


  /* アニメーションの具体的な動きを定義 */
@keyframes loop-slide {
    from {
      background-position: 0 0;
    }
    to {
      background-position: -2000px 0; /* 画像の幅に合わせて数値を調整（マイナス方向に動かす） */
    }
  }
  
  .product-img {
    background: url(../images/mvleft.png) repeat-x;
    height: 250px;
    animation-name: loop-slide;
    animation-duration: 45s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    margin-top: 100px;
  }
    
  .product-btn-area {
    text-align: center;
  }
  
  .btn-detail {
    display: inline-block;
    padding: 10px 60px;       /* ボタンの上下左右の余白（サイズ感） */
    background-color: #0360B0; /* 指定の青色 */
    color: #fff;              /* 文字色は白 */
    text-decoration: none;    /* 下線を消す */
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;       /* 角を少し丸くする */
    transition: background-color 0.3s, opacity 0.3s; /* 変化を滑らかに */
  }
  
  /* マウスを置いた時の動き */
  .btn-detail:hover {
    background-color: #024a8a; /* 少し濃い青にする */
    opacity: 0.8;             /* 少し透明にする */
  }

  /* セクション全体の余白 */
.news {
    padding: 80px 0;
  }
  
  /* ニュースリスト全体の枠 */
  .news-list {
    max-width: 900px; /* 少し幅を絞ると読みやすくなります */
    margin: 0 auto;
    border-top: 1px solid #707070; /* 一番上の線 */
  }
  
  /* 各ニュース記事の行 */
  .news-item {
    display: flex;
    align-items: center;
    padding: 20px 10px;
    border-bottom: 1px solid #707070; /* 下の線（区切り線） */
    transition: background-color 0.3s;
  }
  
  
  /* 日付 */
  .news-item time {
    font-weight: bold; /* 太文字 */
    width: 120px;      /* 日付の幅を固定して揃える */
    flex-shrink: 0;    /* 幅が縮まないように固定 */
    color: #333;
  }

  .news-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
  }
  
  /* テキスト部分 */
  .news-text {
    margin: 0;
    padding-left: 20px;
    color: #444;
    line-height: 1.6;
  }

  .news-btn-area {
    text-align: center;
    margin-top: 50px; /* ニュースリスト（線）との間隔 */
  }


/* お問い合わせセクション */
.contact {
    padding: 80px 0;
    text-align: center;
  }
  
  .contact-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
  }
  
  /* 電話番号エリア */
  .tel-area {
    margin-bottom: 40px;
  }
  
  .tel-label {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .tel-number {
    font-size: 40px;      /* 大きく */
    font-weight: bold;   /* 太文字 */
    color: #333;
    letter-spacing: 0.05em;
  }
  
  /* メールボタンのエリア */
  .contact-btn-area {
    margin-top: 30px;
  }
  
  /* ボタンはこれまでの .btn-detail を流用 */
  /* 幅を自動で広げる設定を少し追加 */
  .contact-btn-area .btn-detail {
    padding: 15px 40px;
    min-width: 320px; /* メールボタンは少し長めにする */
  }
  
  /* フッター */
  .footer {
    background-color: #0161B0; /* 指定の色 */
    color: #fff;              /* 文字は白 */
    text-align: center;
    padding: 20px 0;          /* 上下に少し余白 */
    margin-top: 100px;
  }
  
  .footer p {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.05em;
  }
  
/* ここからsub1 */
  /* 代表挨拶セクション全体の余白 */
  .greeting {
    padding: 80px 0;
  }
  
  /* 見出し：左寄せ ＋ 下線（太さ5px・色#0060B0） */
  .greeting-title h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    padding-bottom: 10px;        /* 文字と線の隙間 */
    border-bottom: 5px solid #0060B0; /* XDの太さ5を反映 */
    margin-bottom: 50px;
    display: block;              /* 線を横いっぱいに伸ばす */
    text-align: left;
  }
  
  /* テキストと画像の横並び設定 */
  .greeting-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px; /* テキストと画像の間隔 */
  }
  
  /* 左側のテキスト */
  .greeting-text {
    flex: 1; /* 残りの幅をすべて使う */
  }
  
  .greeting-text p {
    font-size: 16px;
    line-height: 2; /* 読みやすく少し広めに */
    color: #333;
    margin-bottom: 20px;
  }
  
  /* 右側の画像エリア */
  .greeting-image-area {
    flex: 0 0 180px; /* 画像の幅を固定（XDに合わせて調整してください） */
    text-align: left;
  }
  
  .president-img img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  
  .president-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
  }
  
/* 会社概要セクションの余白 */
.company-profile {
    padding: 80px 0;
  }
  
  /* 表（テーブル）のスタイル */
  .profile-table {
    width: 100%;
    border-collapse: collapse; /* 枠線を1本にまとめる */
    margin-top: 20px;
  }
  
  .profile-table th,
  .profile-table td {
    padding: 20px;
    border-bottom: 1px solid #707070; /* ニュースセクションと同じ線の色 */
    text-align: left;
    font-size: 16px;
  }
  
  /* 左側の項目名 */
  .profile-table th {
    background-color: #f9f9f9; /* ほんのりグレーで項目を強調 */
    width: 250px;             /* 項目名の幅を固定 */
    color: #333;
    font-weight: bold;
  }
  
  /* 右側の内容 */
  .profile-table td {
    color: #444;
    line-height: 1.6;
  }
  
/* アクセスセクションの余白 */
.access {
    padding: 80px 0;
  }
  
  /* 横並びの設定 */
  .access-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 20px;
  }
  
  /* 左側の住所エリア */
  .access-info {
    flex: 0 0 300px; /* 住所エリアの幅を固定 */
  }
  
  .access-info .address {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-weight: bold;
  }
  
  /* 右側のマップエリア */
  .access-map {
    flex: 1; /* 残りの幅をすべて使う */
    position: relative;
    padding-top: 40%; /* マップの縦横比（4:3くらい）を維持 */
    overflow: hidden;
  }
  
  .access-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
  }
  
  .access-extra {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ddd; /* 住所との区切り線 */
  }
  
  .access-item {
    margin-bottom: 15px;
  }

/* ここからsub2 */
  /* セクション全体の余白 */
.products-list {
    padding: 80px 0;
  }
  
  /* 2列のグリッドを作る設定 */
  .product-grid {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 60px 40px;  /* 上下60px、左右40pxの間隔 */
    margin-top: 40px;
  }
  
  /* 1つ1つのカード（横幅を約半分に設定） */
  .product-card {
    width: calc(50% - 20px); /* 2列にするための計算 */
    text-align: left;
  }
  
  .product-btn-wrap {
    text-align: center;
    margin-top: 20px;
  }
  
  /* カード内の画像 */
  .product-card-img {
    margin-bottom: 20px;
    overflow: hidden;
  }
  
  .product-card-img img {
    width: 100%;
    height: 250px;      /* 高さを揃えると綺麗に見えます */
    object-fit: cover;
    transition: transform 0.3s;
  }
  
  /* ホバー時に画像を少し大きくする演出 */
  .product-card:hover .product-card-img img {
    transform: scale(1.05);
  }
  
  /* カードの見出し（#0062B0） */
  .product-card-title {
    font-size: 20px;
    font-weight: bold;
    color: #0062B0;
    margin-bottom: 15px;
  }
  
  /* 説明文 */
  .product-card-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
  }

  .product-card-body{
    padding: 0 40px;
  }
  
  /* 青いボタン（#0062B0） */
  .btn-product {
    display: inline-block;
    background-color: #0062B0;
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: opacity 0.3s;
  }
  
  .btn-product:hover {
    opacity: 0.8;
  }
  
/* ここからsub3 */

  /* セクション全体の余白 */
.news-archive {
    padding: 80px 0;
  }
  
  /* ニュースカードの配置（縦に並べる場合） */
  .news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px; /* カード同士の間隔 */
    margin-top: 40px;
  }
  
  /* 四角枠で囲まれたカード本体 */
  .news-card {
    border: 1px solid #707070; /* 外枠の線 */
    padding: 25px;
    background-color: #fff;
    transition: background-color 0.3s;
    text-decoration: none;
    display: block;
  }
  
  /* ホバーした時に少し背景色を変える（お好みで） */
  .news-card:hover {
    background-color: #f9f9f9;
  }
  
  /* カード内のヘッダー（日付とカテゴリを左右に） */
  .news-card-header {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
  }
  
  /* 左上の日付 */
  .news-date {
    font-size: 14px;
    color: #333;
    font-weight: bold;
  }
  
  /* 右上のカテゴリ（青文字・青枠） */
  .news-category {
    font-size: 12px;
    color: #0062B0;          /* 青文字 */
    border: 1px solid #0062B0; /* 青枠 */
    padding: 2px 12px;
    border-radius: 2px;
    font-weight: bold;
  }
  
  /* 下のテキスト（太文字） */
  .news-card-title {
    font-size: 18px;
    font-weight: bold; /* 太文字 */
    color: #333;
    margin: 0;
    line-height: 1.5;
  }
  
/* ここからsub4 */

  /* お問い合わせページ全体の余白 */
.contact-page {
    padding: 80px 0;
  }
  
  .contact-form {
    max-width: 900px;
    margin: 40px auto 0;
  }
  
  /* 各入力項目の行 */
  .form-group {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 25px 0;
  }
  
  .form-group:first-child {
    border-top: 1px solid #ddd;
  }
  
  /* 項目ラベル */
  .form-group label {
    width: 250px;
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  
  /* 「必須」タグ */
  .form-group label span {
    background-color: #e00000;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 10px;
    font-weight: normal;
  }
  
  /* 入力欄のエリア */
  .form-input {
    flex: 1;
  }
  
  /* テキスト入力・メール・電話番号・テキストエリア共通 */
  .form-input input,
  .form-input textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; /* paddingを含めた幅計算 */
  }
  
  /* 入力欄にフォーカスしたときの色 */
  .form-input input:focus,
  .form-input textarea:focus {
    outline: none;
    border-color: #0062B0;
    box-shadow: 0 0 5px rgba(0, 98, 176, 0.2);
  }
  
  /* 送信ボタンエリア */
  .form-submit {
    text-align: center;
    margin-top: 50px;
  }
  
  .btn-submit {
    background-color: #0062B0;
    color: #fff;
    padding: 18px 80px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
  }
  
  .btn-submit:hover {
    opacity: 0.8;
  }


  /* スマホ対応：幅が狭いときは縦に並べる */
  @media (max-width: 600px) {

    .top-bar {
        font-size: 11px;
        padding: 8px 0;
      }
    .top-bar-inner {
        padding-left: 10px;
      }

    .header-logo img {
        height: 30px;
      }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    /* ハンバーガーボタンの見た目 */
    #nav-open {
        display: inline-block;
        width: 30px;
        vertical-align: middle;
        cursor: pointer;
        position: relative;
        z-index: 100;
    }
    #nav-open span, #nav-open span:before, #nav-open span:after {
        position: absolute;
        height: 2px;
        width: 100%;
        background: #333; /* 三本線の色 */
        transition: all 0.4s;
    }
    #nav-open span:before { content: ''; top: -10px; }
    #nav-open span:after { content: ''; top: 10px; }

    /* チェック時（メニューが開いた時）の三本線を「×」に変える */
    #nav-input:checked ~ #nav-open span { background: rgba(255, 255, 255, 0); }
    #nav-input:checked ~ #nav-open span:before { top: 0; transform: rotate(-45deg); }
    #nav-input:checked ~ #nav-open span:after { top: 0; transform: rotate(45deg); }

    /* メニュー本体を隠して配置（スライド式） */
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 最初は画面の外（右）に隠す */
        width: 80%;   /* メニューの幅 */
        height: 100%;
        background: #fff;
        z-index: 90;
        transition: all 0.5s;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    /* チェック時にメニューをスライドイン */
    #nav-input:checked ~ .header-nav {
        right: 0;
    }

    /* メニュー内のリストを縦並びに */
    .nav-list {
        display: block;
        padding: 0;
    }
    .nav-list li {
        border-bottom: 1px solid #eee;
    }
    .nav-list li a {
        display: block;
        padding: 20px;
        color: #333;
        font-family: "Zen Old Mincho", serif;
        text-decoration: none;
    }  

    .nav-icon a{
        background-color: white;
    }
    
    .main-visual {
        height: 60vh; /* スマホでは少し高さを抑える */
      }
      
      .mv-main-title {
        font-size: 28px; /* 文字をスマホサイズに */
        line-height: 1.4;
        letter-spacing: 0.1em;
      }
      
      .mv-sub-title {
        font-size: 16px;
        padding-left: 12px;
        border-left-width: 3px;
      }
    
    .feature-wrapper {
        display: block;
    }

    .feature-image{
        margin-bottom: 0px;
    }

    .feature-text{
        margin: 0 0 50px;
    }

    .features{
        padding: 30px;
    }


    .product-text p {
        padding: 0 20px;
    }

    .product-img{
        animation-duration: 60s;
        margin-top: 50px;
    }

    .president-img img {
        display: none;
    }

    .president-name {
        text-align: right;
    }

    .greeting-flex{
        gap: 20px;
    }

    .news-item {
      flex-direction: column;
      align-items: flex-start;
    }

    .news-text {
      padding-left: 0;
      margin-top: 5px;
    }

    .tel-number {
        font-size: 30px;
      }

      .greeting-flex {
        flex-direction: column;
      }
      .greeting-image-area {
        flex: none;
        width: 100%;
        text-align: center; /* スマホでは中央寄せが綺麗です */
      }

      .profile-table th,
      .profile-table td {
        display: block; /* 横並びを解除 */
        width: 100%;
        box-sizing: border-box;
      }
      
      .profile-table th {
        padding-bottom: 5px;
        border-bottom: none; /* 項目名の下の線は消す */
      }
      
      .profile-table td {
        padding-top: 5px;
      }

      .access-map iframe {
        height: 300px; /* スマホではこの高さで固定 */
        position: relative;
      }

      .access-map{
        padding-top: 0;
      }
      .access-flex {
        flex-direction: column;
        display: block;
      }
      
      .access-info {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
      }
    

      .product-card {
          width: 100%; /* 横幅いっぱい */
      }

      .news-card {
        padding: 15px;
      }
      .news-card-title {
        font-size: 16px;
      }

      .form-group {
        flex-direction: column;
      }
      .form-group label {
        width: 100%;
        margin-bottom: 10px;
      }

      .footer{
        margin: 0;
        padding: 10px 0;
      }
  }

