body {
    margin: 0;                                                  /* 余白なし */
    padding: 0;                                                 /* ページ内側の余白なし */
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;   /* 表示する文字種の設定 */
    background: #FFFAF4;                                      /* 背景色 */
}

.container {
    width: 65%;         /* 横幅 */
    margin: 0 auto;     /* ページ内側の余白 */
}

.container h2 {
    font-size: clamp(1.25rem, 2vw, 2.25rem);            /* 文字サイズ（20px～36px） */
    text-align: left;                                   /* 文字を左寄せ */
    margin-bottom: clamp(0.5rem, 2vw, 1.5rem);          /* 下部の余白（24px～32px） */
    font-weight: bold;                                  /* 文字の太さ */
    border-left: clamp(3px, 1vw, 6px) solid #8dc3ff;  /* サブタイトルの左線 */
    padding-left: clamp(0.375rem, 2vw, 0.625rem);       /* 右側余白（6px～10px） */
}

.container p {
    font-size: clamp(0.75rem, 2vw, 1.25rem);      /* 文字サイズ（12px～20px） */
    text-align: left;                             /* 文字を左寄せ */
    line-height: 1.8;                             /* 文字上下間隔 */
}

/* メイン画像 */
.top-image img {
    width: 100%;                                    /* 横幅 */
    height: auto;                                   /* アスペクト比を維持 */
    border-radius: 0.5rem;                          /* 丸み */
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);      /* 下部の余白（24px～40px） */
}

.section-box {
    background: #fff;                         /* 背景色 */
    padding: clamp(1rem, 5vw, 1.875rem);        /* ページ内側の余白（16px～32px） */
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);  /* 下部の余白（24px～40px） */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);  /* 要素に影をつける */
    border-radius: 0.5rem;                      /* 丸み */
}

/* 代表挨拶 */
.representative-greeting {
    display: flex;                      /* フレックスボックスレイアウトにする */
    align-items: stretch;               /* 左右の高さを揃える */
    gap: clamp(1rem, 3vw, 1.875rem);    /* 画像と文字の間隔（16px～30px） */
}

.greeting-text {
    display: flex;                      /* フレックスボックスレイアウトにする */
    flex-direction: column;             /* 要素を縦方向に並べる */
}

/* 署名 */
.representative-sign {
    margin-top: auto;       /* 上部の余白 */
    text-align: right;
}

.representative-sign p {
    text-align: right;      /* 文字位置 */
    margin: 0.5em 0;        /* 余白を調整 */
}

/* 代表写真 */
.representative-greeting img {
    width: 30%;             /* 横幅 */
    height: auto;           /* アスペクト比を維持 */
    border-radius: 0.5rem;  /* 丸み */
    flex-shrink: 0;         /* 要素を縮めないようにする */
}

/* 会社情報 */
.company-table {
    width: 100%;                /* 横幅 */
    border-collapse: collapse;  /* テーブルで隣り合う線を1本にまとめる */
}

/* アクセス */
.map-wrap {
  width: 100%;
  height: clamp(17.5rem, 50vw, 28.125rem);    /* 高さ(280px～450px) */
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.company-table th,
.company-table td {
    font-size: clamp(0.75rem, 2vw, 1.25rem);                                /* 文字サイズ（12px～20px） */
    line-height: 1.8;                                                       /* 文字上下間隔 */
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.375rem, 2vw, 0.625rem);    /* ページ内側の余白 */
    border-bottom: 1px solid #ddd;                                        /* 下線 */
}

.company-table th {
    background: #f5faff;        /* 背景色 */
    font-weight: bold;            /* 文字の太さ */
    width: 30%;                   /* 横幅 */
}

.company-table a {
    color: #0077cc;             /* ウェブサイトの文字色 */
    text-decoration: none;        /* 装飾（上下線など）なし */
}

.company-table a:hover {
    text-decoration: underline;    /* 下線あり */
}

/* スマホ + タブレット対応 */
@media (max-width: 768px) {
    .container {
        width: 90%;         /* 横幅 */
    }

    /* 代表挨拶 */
    .representative-greeting {
        display: block;
    }

    .representative-greeting img {
        width: 100%;        /* 横幅 */
    }
}