/* styles.css */
/* リンクのリセット */

h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-size: 100%;
  line-height: 1;
}
/* リンクのリセット */

body {
  font-family: sans-serif;
  height: 100%;
  margin: 0;
}

header {
    align-items: center;
    justify-content: space-between; /* 追加: ヘッダー内の要素を両端に寄せる */
    padding: 15px 0px 10px 15px;
    background-image: linear-gradient(120deg, rgba(0, 90, 154, 0.75) 0%, rgba(0, 90, 154, 0.75) 50%, rgba(0, 90, 154, 0.75) 75%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
}

.pc-menu {
    display: flex;
}

.pc-menu img {
    margin-right: 10px;
    cursor: pointer; /* クリック可能な要素であることを示す */
}

.mobile-menu {
    display: none;
}

.menu-items {
    display: none;
}

.hamburger {
    cursor: pointer;
}

.logo {
    float: left; /* ロゴを左側に配置 */
}

.pc-menu {
    float: right; /* PC版のメニューを右側に配置 */
}

.mobile-menu .menu-items a {
    display: block; /* メニュー項目を縦に並べる */
    padding: 10px;
}

nav {
    display: flex;
    justify-content: space-between; /* ロゴとハンバーガーメニューの間にスペースを最大化 */
    align-items: center; /* ロゴとハンバーガーメニューを中央に配置 */
}

.mobile-menu .hamburger {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.mobile-menu .menu-items {
    position: absolute;
    top: 0%;
    left: 0; /* 画面の左端から始まるように設定 */
    width: 100%; /* 幅を画面全体に拡張 */
    transform: translateY(14.5%); /* 横方向の中心への移動は不要になるため、縦方向のみの移動に変更 */
    text-align: center;
    background-color: rgba(0, 90, 154, 0.75); /* 背景色をオレンジに設定 */
    padding: 40px 0px 55px 0px; /* 左右のパディングを調整 */
}

.mobile-menu .menu-items a {
    display: block; /* 各メニュー項目を縦に配置 */
    color: #FFF;
    padding: 0px;
    font-size: 2.5em;
 margin-top: 0px;
 margin-bottom: 10px;
}


/* ハンバーガーアイコンのスタイル */
.mobile-menu .hamburger span {
    font-size: 3em;
    color: #FFF;
    background-color: transparent;
    padding: 3px 15px 0px 15px; 
    border-radius: 0px;
    display: inline-block; 
}

/* メニューが開いた時の ✕ のスタイル */
.mobile-menu .hamburger span.menu-opened {
    color: #FFF;
    background-color: transparent;
}

/* メイン画像 */
.responsive-image img {
    width: 100%;
    height: auto;
}


/* 代表挨拶セクション */
#agree h1 {
  font-size: 28px; /* 大きさを少し調整 */
  margin-bottom: 20px; /* 見出しの下の余白 */
  padding: 20px 20px 20px 20px; /* 左右のパディングを追加 */
  background-color: #005A9A; /* 背景色 */
  color: white; /* テキストカラーを白に設定して読みやすく */
}

/* 代表挨拶セクション */
#agree {
  background-color: #FFF; /* 指定背景色 */
  padding: 40px 20px;
  color: #333;
  text-align: center; /* h1 の中央揃えは維持 */
}

#agree .greeting-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 5px;
  text-align: left; /* PC 表示の文章は左揃え */
}

#agree .greeting-text {
  width: 80%;
  padding-left: 20px;
  padding-right: 20px;
}

#agree .greeting-text p {
  font-family: "Noto Serif JP", serif;
  font-size: 20px; /* 段落テキストのフォントサイズを20pxに維持 */
  line-height: 1.6; /* 適切な行間でクリアな読みやすさ */
}

#agree .director-name {
  font-family: "Noto Serif JP", serif; /* 挨拶文と同じ明朝体 */
  font-size: 16px; /* 挨拶文と同じサイズにする（必要に応じて調整可） */
  text-align: right;
  margin-top: 0px;
}

#agree .director-person {
  font-size: 36px; /* 姓名だけ大きくする（希望サイズに応じて変更可） */
  font-family: "Yuji Boku", serif;
}

#agree .greeting-photo {
  width: 20%;
  text-align: center;
}

#agree .greeting-photo img {
  width: 50%;
  height: auto;
  border-radius: 8px; /* 任意：角丸 */
  margin-top: 30px;
}

/* 命ノ舟とは セクション */
#about-ino-fune {
  background-color: #fff;
  padding: 40px 20px;
  color: #333;
}

#about-ino-fune h2 {
  font-size: 28px;
  margin-bottom: 25px;
  padding: 20px;
  background-color: #005A9A; /* 既存の帯色に合わせる */
  color: #fff;
  text-align: center;
}

/* 説明文はゴシック体にする */
#about-ino-fune .about-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0px 50px 0px 50px;
}

.read-more-1 {
    position: relative;
}

/* 初期表示：高さ制限 */
.read-more-1 p {
    position: relative;
    max-height: 100px;           /* 最初に見せたい高さ */
    overflow: hidden;
    margin-bottom: 20px;
    transition: max-height 0.8s;
    padding: 0 20px;             /* ★ここを追加（左右余白） */
    line-height: 1.8;
}

/* チェックされているときは全文表示 */
.read-more-1:has(input:checked) p {
    max-height: none;
}

/* フェードアウト効果（閉じているときだけ） */
.read-more-1 p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.9) 60%,
        #fff 100%
    );
}

/* 開いたらグラデーションを消す */
.read-more-1:has(input:checked) p::after {
    content: none;
}

/* 共通ボタン */
.read-more-1 label {
    display: block;
    width: 120px;
    margin: 0 auto;
    text-align: center;
    padding: 8px 0;
    border-radius: 3px;
    background-color: #005A9A;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}

/* ホバー時 */
.read-more-1 label:hover {
    background-color: #fff;
    color: #005A9A;
    border: 1px solid #005A9A;
}

/* 「閉じる」ボタンは最初は非表示 */
.read-more-1 .readmore-close {
    display: none;
    margin-top: 10px;
}

/* チェックされたら「続きを読む」を隠し、「閉じる」を表示 */
.read-more-1:has(input:checked) .readmore-open {
    display: none;
}

.read-more-1:has(input:checked) .readmore-close {
    display: block;
}

/* チェックボックス自体は非表示 */
.read-more-1 input {
    display: none;
}



/* 6ページへのボタンセクション */
#page-links {
  background-color: #F5F7FA;
  padding: 40px 20px;
}

#page-links .page-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* PC：3列 */
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  background-color: #FFFFFF;
  border: 1px solid #0E327C;
  color: #0E327C;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  box-sizing: border-box;
}

.page-link-btn:hover {
  background-color: #0E327C;
  color: #FFFFFF;
}


/* 画面上部にスクロールアップするボタン */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 1000;
  border: none;
  outline: none;
  background-color: rgba(0, 90, 154, 0.75);
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  padding: 0;
  text-align: center;
}

#myBtn span {
  display: block;
  line-height: 50px;
  font-size: 24px;
}

#myBtn:hover {
  background-color: rgba(0, 90, 154);
}


/* フッター部分 */
footer {
    background-color: #333; /* 任意の色を選択できます */
    color: #fff;
    padding: 20px 0;
    font-family: 'Roboto', sans-serif; /* フォントは任意で選択可能 */
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}


.footer-links {
    margin: 20px 0;
    text-align: right;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.9em;
    margin-top: 10px;
}

/* 各ページのヒーローヘッダー */
.page-hero {
    width: 100%;
    height: 220px; /* PC用の高さ */
    background:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #005A9A;
    margin-top: 120px; /* 固定ヘッダーにかぶらないように調整 */
    clear: both; /* ← 追加（これが重要） */
}

.page-hero-title h1 {
    transform: translateX(-0.15em);  /* 左にずらす */
display: inline-block; 
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0;
}

/* 財団概要セクション */
#foundation-overview {
  background-color: #FFFFFF;
  padding: 40px 20px;
  color: #333;
}

/* 見出しデザイン（トップと統一致） */
#foundation-overview h2 {
  font-size: 28px;
  margin-bottom: 30px;
  padding: 20px 0;
  background-color: #0E327C;
  color: #fff;
  text-align: center;
  box-sizing: border-box; /* ← はみ出し防止 */
}

/* 各ページのセクション */
#page_title {
  background-color: #FFFFFF;
  padding: 40px 20px;
  color: #333;
}

/* 各ページの見出しデザイン（トップと統一致） */
#page_title h2 {
  font-size: 28px;
  margin-bottom: 30px;
  padding: 20px 0;
  background-color: #0E327C;
  color: #fff;
  text-align: center;
  box-sizing: border-box; /* ← はみ出し防止 */
}

/* 表（会社概要風） */
.overview-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: 'Noto Sans JP', sans-serif;
}

.overview-table th,
.overview-table td {
  border: 1px solid #ccc;
  padding: 14px 18px;
  vertical-align: top;
  line-height: 1.7;
}

/* 左側（項目名） */
.overview-table th {
  width: 25%;
  background-color: #F5F5F5;
  text-align: left;
  font-weight: 600;
}


/* 救命・医療船の目的ページ */
#purpose {
    background: #FFFFFF;
    padding:0px 20px 40px 20px;
    color: #333;
}

/* 箇条書き全体（番号付きに対応） */
.purpose-list {
    padding: 0;
    margin: 0 0 40px 0;
}

/* 番号付きリストのリセット */
.purpose-list.numbered {
    counter-reset: item;
    padding-left: 0;
}

/* 各項目（カードデザイン + 番号スペース） */
.purpose-list.numbered li {
    list-style: none;
    position: relative;
    background: #F5F7FA;
    border-left: 6px solid #0E327C;   /* 深海ブルーライン */
    padding: 15px 18px 15px 55px;     /* 左に番号用余白 */
    margin-bottom: 15px;
    border-radius: 4px;
    line-height: 1.7;
    font-size: 16px;
}

/* 番号の丸バッジ */
.purpose-list.numbered li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    
    width: 30px;
    height: 30px;
    background: #0E327C;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* フロー図（下部画像） */
.purpose-flow {
    text-align: center;
    margin-top: 30px;
}

.purpose-flow img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* ================================
   救命・医療船とは？の続きを読む調整
================================ */

/* セクション共通余白（PC） */
#about-medical-ship .container {
    max-width: 1100px;       /* ページ左右に余白ができる */
    margin: 0 auto;         /* 中央寄せ */
    padding: 0 20px;        /* 追加の左右余白 */
}

/* 長文テキストブロック */
.read-more-2 {
    position: relative;
    text-align: center;   /* ← ボタンを中央寄せにするため追加 */
}

/* 表示テキスト（初期は高さ制限つき） */
.read-more-2 p {
    position: relative;
    max-height: 120px;
    overflow: hidden;
    margin-bottom: 25px;
    padding: 0 10px;       /* 左右に自然な余白 */
    line-height: 1.9;
    transition: max-height 0.7s;
    text-align: left;      /* ← テキストは左寄せのまま */
}

/* 開いたら高さ制限解除 */
.read-more-2:has(input:checked) p {
    max-height: none;
}

/* フェード（閉じているときのみ表示） */
.read-more-2 p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.45) 50%,   /* ← 透明度を薄くして透けるようにした */
        #fff 100%
    );
}

.read-more-2:has(input:checked) p::after {
    content: none;
}

/* チェックボックスは非表示 */
.read-more-2 input {
    display: none;
}

/* ボタン共通スタイル */
.readmore2-open,
.readmore2-close {
    display: inline-block;
    background-color: #005A9A;
    color: #fff;
    padding: 10px 22px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    margin: 20px auto 0 auto;  /* ← ここを変更：上に20pxの余白を追加 */
    text-align: center;
}

/* hover */
.readmore2-open:hover,
.readmore2-close:hover {
    background-color: #fff;
    color: #005A9A;
    border: 1px solid #005A9A;
}

/* 閉じるボタンは最初非表示 */
.readmore2-close {
    display: none;
}

/* open/close の表示切り替え */
.read-more-2:has(input:checked) .readmore2-open {
    display: none;
}

.read-more-2:has(input:checked) .readmore2-close {
    display: inline-block;
}

/* 上部のイメージ画像（救命・医療船とは？） */
.medical-ship-img {
  text-align: center; /* 80%幅を中央寄せするために必要 */
  margin-bottom: 30px;
}

.medical-ship-img img {
  width: 90%;    /* PC：画像幅を90%に */
  height: auto;
  display: inline-block; /* 中央寄せのため block → inline-block に変更 */
}


/* 建造計画ページ：画像2枚の表示 */
#plan-images .plan-image-box {
  text-align: center;
  margin-bottom: 30px;
}

#plan-images .plan-image-box img {
  width: 90%;        /* PCでは少し余白あり（80%などに調整可） */
  max-width: 1000px; /* 大きすぎ防止 */
  height: auto;
  border-radius: 6px;
}

/* ▼ 7つのカテゴリー共通デザイン */
#plan-spec {
  background: #FFFFFF;
  padding: 40px 20px;
}

/* 各ブロックのデザイン */
.spec-block {
  background: #F5F7FA;          /* 明るいグレーの背景 */
  border-left: 6px solid #0E327C; /* 深海ブルーの帯 */
  border-radius: 6px;
  padding: 20px 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* 見出し（■カテゴリ名） */
.spec-block h3 {
  font-size: 20px;
  color: #0E327C;
  font-weight: bold;
  margin-bottom: 12px;
}

/* テキスト部分 */
.spec-block p {
  margin: 0;
  line-height: 1.8;
  font-size: 15px;
  color: #333;
  text-align: left;
}

.spec-summary {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    margin: 5px 0 20px 0;
    padding: 10px 20px;
    color: #333;
}

/* ▼建造計画ページ専用コンテナ */
.plan-container {
  max-width: 900px;       /* パソコンで左右に余白ができる */
  margin: 0 auto;         /* 中央揃え */
  padding: 0 20px;        /* スマホでも自然に見える余白 */
}

/* 建造費の試算ページ */
#expenses-section {
  background: #FFFFFF;
  padding: 40px 20px;
}

/* ボックス全体（白＋影で上質に） */
.expenses-box {
  background: #FAFAFA;
  border-left: 6px solid #143986; /* 海洋ブルーのアクセント */
  padding: 25px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 注釈のテキスト */
.expenses-note {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0E327C;
}

/* 冒頭文章 */
.expenses-intro {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-left: 5px;
}

/* 箇条書きスタイル */
.expenses-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expenses-list li {
  background: #FFFFFF;
  padding: 15px 18px;
  margin-bottom: 12px;
  border-radius: 4px;
  border: 1px solid #E5E5E5;
  line-height: 1.8;
  font-size: 15.5px;
}

/* ================================
   お問い合わせフォームデザイン
================================ */

/* フォーム全体ラップ */
#formWrap {
    max-width: 800px;
    margin: 10px auto;
    padding: 0px 25px 25px 25px;
    background: #F8F9FB;
    border: 1px solid #DDD;
    border-radius: 6px;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
}

/* 注意文（必要事項を…） */
#formWrap p {
    font-size: 15px;
    margin-bottom: 20px;
}

/* フォームテーブル */
.formTable {
    width: 100%;
    border-collapse: collapse;
}

.formTable td {
    padding: 15px 0;
    font-size: 15px;
    vertical-align: top;
    color: #333;
}

/* ラベルの赤文字 */
.font-01 {
    color: #C00;
    font-size: 13px;
    margin-left: 5px;
}

/* テキスト入力 */
.formTable input[type="text"],
.formTable textarea {
    width: 90%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #AAA;
    border-radius: 4px;
    font-size: 15px;
    background: #FFF;
    box-sizing: border-box;
}

.formTable textarea {
    height: 120px;
    resize: vertical;
}

/* ラジオボタン（性別） */
.formTable input[type="radio"] {
    transform: scale(1.3);
    margin-right: 5px;
}

/* 性別ラベル配置 */
.formTable label {
    font-size: 15px;
}

/* ボタンエリア */
#formWrap p[align="center"] {
    margin-top: 30px;
}

/* 送信ボタン */
#submit,
input[type="reset"] {
    padding: 10px 35px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
}

/* 確認ボタン（送信） */
#submit {
    background-color: #005A9A;
    color: #FFF;
}

#submit:hover {
    background-color: #003f6d;
}

/* リセットボタン */
input[type="reset"] {
    background-color: #AAA;
    color: #FFF;
}

input[type="reset"]:hover {
    background-color: #888;
}


@media  (max-width: 1300px) {


    .pc-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }


    .mobile-menu .menu-items a {
        font-size: 24px;
        line-height: 3; /* この値を調整して、行間を増減させます */
    }

    .close-menu.display-menu {
        display: block;
        position: absolute;
        top: 30px;
        right: 20px;
    }
}

/* PC版だけ、purpose セクションの横幅を内側に収めて中央寄せする */
@media (min-width: 769px) {
    #purpose .container {
        max-width: 900px; /* ← 好みによって 800〜1100px で調整可能 */
        margin: 0 auto;   /* ← 中央寄せ */
        padding: 0 20px;  /* ← 内側に少し余白（必要なら調整） */
    }
}


@media (max-width: 768px) {

    .logo img {
        width: 80%; /* 画像の幅を80%に設定 */
        margin-top: 10px; /* 上部に10pxの余白を追加 */
    }

/* スマホのメイン画像 */
    .responsive-image img {
        content: url('../img/top/mobile_image1.jpg');
    }


  /* スマホの当方の挨拶文部分 */
  #agree {
    padding: 20px 10px; /* 小さい画面ではパディングを減らす */
  }

  #agree .greeting-wrapper {
    display: flex !important;
    flex-direction: column !important;
  }

  #agree .greeting-text,
  #agree .greeting-photo {
    width: 100% !important;
  }

  #agree .greeting-photo {
    order: 1 !important;
  }

  /* 画像サイズを50%にする（中央寄せ） */
  #agree .greeting-photo img {
    width: 35%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

#agree .greeting-text {
  width: 80%;
  padding-left: 0px;
  padding-right: 0px;
}

#agree .greeting-text p {
  font-family: "Noto Serif JP", serif;
  font-size: 16px; /* 段落テキストのフォントサイズを16pxに維持 */
  line-height: 1.6; /* 適切な行間でクリアな読みやすさ */
}

  #agree .greeting-text {
    order: 2 !important;
  }

#agree .director-name {
  font-family: "Noto Serif JP", serif; /* 挨拶文と同じ明朝体 */
  font-size: 16px; /* 挨拶文と同じサイズにする（必要に応じて調整可） */
  margin-top: 20px;
}

#agree .director-person {
  font-size: 32px; /* 姓名だけ大きくする（希望サイズに応じて変更可） */
}

  /* 命ノ舟とは セクションの余白調整 */
  #about-ino-fune {
    padding: 20px 15px;
  }

  /* 見出し h2 のサイズ調整 */
  #about-ino-fune h2 {
    font-size: 22px;
    padding: 15px;
  }

  /* 文章のフォントサイズ・行間調整 */
  #about-ino-fune .about-text p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
  }



  #page-links .page-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-link-btn {
    font-size: 15px;
    padding: 12px 8px;
  }

/* スマホのフッター部分 */
    .footer-content {
        padding: 0 15px;
    }

    .footer-links {
        margin: 15px 0;
        font-size: 0.9em; /* テキストサイズを少し小さく */
    }

    .copyright {
        font-size: 0.8em; /* テキストサイズを少し小さく */
    }


/* スマホの表示と非表示の設定部分 */

    .pc-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu .menu-items a {
        font-size: 20px;
        line-height: 3; /* この値を調整して、行間を増減させます */
    }

    .close-menu.display-menu {
        display: block;
        position: absolute;
        top: 30px;
        right: 20px;
    }

/* スマホ：ページヒーローが横に溢れないようにする */
.page-hero {
    height: 150px;
    padding: 0 10px;       /* ← 20px → 10px に変更 */
    overflow-x: hidden;    /* ← はみ出し防止（最重要） */
    box-sizing: border-box;
}

/* h1 のズレ調整は transform ではなく text-align で行う */
.page-hero-title h1 {
    font-size: 28px;
    transform: none !important;   /* ← 強制的に解除 */
    text-align: center;           /* 中央表示 */
}

/* 財団概要セクション */
#foundation-overview {
    padding: 25px 10px;
    overflow-x: hidden;   /* ← 念のため追加 */
}

#foundation-overview h2 {
    font-size: 22px;
    padding: 15px 0;      /* ← 左右パディングをなくす */
    box-sizing: border-box;
}

#page_title {
    padding: 25px 10px;
    overflow-x: hidden;   /* ← 念のため追加 */
}

#page_title h2 {
    font-size: 22px;
    padding: 15px 0;      /* ← 左右パディングをなくす */
    box-sizing: border-box;
}

  .overview-table th,
  .overview-table td {
    padding: 12px 10px;
    font-size: 15px;
  }

  .overview-table th {
    width: 35%;
  }

    .purpose-list.numbered li {
        font-size: 17px;
        padding: 18px 22px 18px 60px;
    }

    .purpose-list.numbered li::before {
        width: 34px;
        height: 34px;
        font-size: 16px;
        left: 18px;
    }

    #about-medical-ship .container {
        padding: 0 15px;
    }

    .read-more-2 p {
        padding: 0 8px;
        font-size: 15px;
        line-height: 1.8;
    }

  .medical-ship-img img {
    width: 100%; /* スマホは画像幅100%表示 */
  }

  #plan-images .plan-image-box img {
    width: 100%;   /* スマホは横幅いっぱい */
  }

/* 各カテゴリーのブロック */

/* ▼建造計画ページ専用コンテナ */
.plan-container {
  max-width: 100%; 
  margin: 0 auto;         /* 中央揃え */
}


    #formWrap {
        padding: 20px;
        margin: 20px 10px;
    }

    .formTable td {
        padding: 12px 0;
    }

    .formTable input[type="text"],
    .formTable textarea {
        width: 100%;
    }

    #submit,
    input[type="reset"] {
        width: 45%;
        padding: 12px 10px;
        font-size: 15px;
    }

}