  html {
    font-size: 16px;
  }

  body {
    margin: 0;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    color: white;
    z-index: 1000;
  }


  @media (max-width: 768px) {
    header {
      height: calc((100 / 750)*100vw);
    }
  }

  header .inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 0 0;
    position: relative;
    background-image: url("/wp-content/themes/jstar/images/header/cr-header_bk.png");
    background-size: cover;
    background-color: rgba(0, 19, 72, 0.8);
  }

  @media (max-width: 768px) {
    header .inner {
      padding: 8px 0 0;
      display: flex;
      justify-content: space-between;
      background-image: url("/wp-content/themes/jstar/images/header/cr-header_sp_bk.png");
    }
  }

  .logo {
    font-size: 48px;
    color: #c9e0ff;
    text-align: center;
    width: 100%;
    position: relative;
    margin-bottom: 13px;
  }

  @media (max-width: 1400px) {
    .logo {
      font-size: calc((48 / 1400)*100vw);
    }
  }

  @media (max-width: 768px) {
    .logo {
      font-size: calc((60 / 750)*100vw);
      text-align: center;
      width: 100%;
    }
  }

  .sns {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0 20px;
    line-height: 1.0em;
    padding: 20px 20px 0 0;
  }

  @media (max-width: 1400px) {
    .sns img {
      width: calc((34 / 1400)*100vw);
    }
  }

  @media (max-width: 768px) {
    .sns-pc img {
      width: calc((52 / 750)*100vw);
    }
  }

  .sns-pc {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 0 20px;
    line-height: 1.0em;
    padding: 15px 20px 0 0;
  }

  @media (max-width: 768px) {
    .sns-pc {
      padding: 5px 20px 0 0;
    }
  }

  .lang {
    background-color: #012d8c;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.0;
    padding: 5px 15px;
    border: 1px solid #0060ff;
    width: 125px;
    text-align: center;
  }

  @media (max-width: 1400px) {
    .sns .lang {
      font-size: calc((18 / 1400)*100vw);
      padding: calc((5 / 1400)*100vw) calc((15 / 1400)*100vw);
    }
  }

  @media (max-width: 768px) {
    .sns-pc .lang {
      font-size: calc((20 / 750)*100vw);
      padding: calc((8 / 750)*100vw) calc((20 / 750)*100vw);
    }
  }

  .burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: calc((75 / 750)*100vw);
    height: calc((74 / 750)*100vw);
    cursor: pointer;
    position: relative;
  }

  .burger img {
    width: calc((75 / 750)*100vw);
    height: calc((74 / 750)*100vw);
  }

  .burger span {
    background: white;
    height: 3px;
    border-radius: 2px;
  }

  @media (max-width: 768px) {

    .burger #burger-open {
      display: inline;
    }

    .burger #burger-close {
      display: none;
    }

    .burger.open #burger-open {
      display: none;
    }

    .burger.open #burger-close {
      display: inline;
    }
  }

  .nav-menu {
    display: flex;
    justify-content: center;
    /* gap: 20px; */
    position: relative;
    background-color: #00238a;
    height: auto;
  }

  @media (min-width: 768px) {
    .nav-menu {
      height: 48px;
      display: flex !important;
    }
  }

  .nav-menu a {
    color: #fff;
    text-decoration: none;
    padding: 0 25px;
    position: relative;
    text-align: center;
    font-size: 18px;
    display: flex;
    align-items: center;
  }

  @media (max-width: 1400px) {
    .nav-menu a {
      padding: 0 calc((25 / 1400)*100vw);
      font-size: calc((18 / 1400)*100vw);
    }
  }

  @media (max-width: 768px) {
    .nav-menu a {
      color: #00479d;
    }
  }


  /* PC表示時のみ中間メニューに縦線を表示 */
  @media (min-width: 768px) {
    .nav-menu a:not(:first-child)::before {
      /*content: "";
      position: absolute;
      left: 0;
      height: 100%;
      width: 1px;
      background-color: rgba(0, 71, 157, 0.5);*/
    }
  }

  main {
    /* padding: 80px 20px; */
    padding: 0 0 80px;
  }

  @media (max-width: 768px) {
    main {
      /* padding: 80px 20px; */
      padding: 0 0 calc((80 / 750)*100vw);
    }
  }

  /* スマホ用スタイル */
  @media (max-width: 768px) {
    .burger {
      display: flex;
      position: absolute;
      top: calc((15 / 750)*100vw);
      right: calc((40 / 750)*100vw);
    }

    .nav-menu {
      display: none;
      position: absolute;
      top: calc((100 / 750)*100vw);
      left: 0;
      width: 100%;
      flex-direction: column;
      background: rgba(255, 255, 255, 0.95);
      max-height: calc(100vh - 60px);
      /* ヘッダーを除いた高さ */
      overflow-y: auto;
      /* スクロールを許可 */
    }



    .nav-menu a {
      display: block;
      width: calc((670 / 750)*100vw);
      padding: 15px;
      text-align: center;
      text-decoration: none;
      border-bottom: 1px solid #026898;
      box-sizing: border-box;
      margin: 0 auto;
      font-size: calc((36 / 750)*100vw);
      box-sizing: border-box;
    }

    .nav-menu a:last-child {
      border: none;
    }
  }

  .f-times {
    font-family: 'Times New Roman', Times, serif;
  }


  .main-image {
    max-width: 1400px;
    margin: 0 auto;
  }


  .section-title {
    font-family: "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    display: flex;
    font-weight: normal;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #001348;
    font-size: 22px;
    position: relative;
    margin: 40px auto;
    padding: 6px 0;
    width: 350px;
    line-height: 1.0;
    letter-spacing: 0.01em;
  }

  @media (max-width: 1400px) {
    .section-title {
      margin: calc((40 / 1400)*100vw) auto;
      padding: calc((6 / 1400)*100vw) 0;
      font-size: calc((22 / 1400)*100vw);
      width: calc((350 / 1400)*100vw);
    }
  }

  @media (max-width: 768px) {
    .section-title {
      margin: calc((40 / 750)*100vw) auto;
      font-size: calc((44 / 750)*100vw);
      width: calc((540 / 750)*100vw);
      padding: 1vw 0;
    }
  }


  .section-title2 {
    font-family: "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    display: flex;
    font-weight: normal;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #001348;
    font-size: 22px;
    position: relative;
    margin: 40px auto 20px;
    padding: 6px 0;
    width: 350px;
    line-height: 1.0;
    letter-spacing: 0.01em;
  }

  @media (max-width: 1400px) {
    .section-title2 {
      margin: calc((40 / 1400)*100vw) auto calc((20 / 1400)*100vw);
      padding: calc((6 / 1400)*100vw) 0 0;
      font-size: calc((22 / 1400)*100vw);
      width: calc((350 / 1400)*100vw);
    }
  }

  @media (max-width: 768px) {
    .section-title2 {
      margin: calc((40 / 750)*100vw) auto calc((20 / 750)*100vw);
      font-size: calc((44 / 750)*100vw);
      width: calc((540 / 750)*100vw);
      padding: 1vw 0 0;
    }
  }

  /*
  .section-title::before,
  .section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #333;
    margin: 0 16px;
  }
  */

  .image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    /* 横2列 */
    gap: 70px 80px;
    max-width: 1000px;
    margin: 0 auto;
  }

  @media screen and (max-width: 768px) {
    .image-grid {
      gap: calc((50 / 750)*100vw) 0;
    }
  }

  .image-item {
    text-align: center;
  }

  @media screen and (max-width: 768px) {
    .image-item a {
      display: inline-block;
    }
  }

  .image-item picture,
  .image-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  @media screen and (max-width: 768px) {

    .image-item picture,
    .image-item img {
      width: calc((540 / 750)*100vw);
    }
  }

  @media screen and (max-width: 768px) {
    .image-grid {
      grid-template-columns: 1fr;
      /* スマホでは1列 */
    }
  }

  .main-banner {
    padding: 80px 0 0 0;
  }

  @media screen and (max-width: 768px) {
    .main-banner {
      padding: calc((200 / 750)*100vw) 0 0 0;
    }
  }

  .main-banner .inner {
    text-align: center;
  }

  .main-banner .inner a {
    display: inline-block;
    text-decoration: none;
  }

  @media screen and (max-width: 1400px) {
    .main-banner .inner a {
      width: calc((338 / 1400)*100vw);
    }
  }

  @media screen and (max-width: 768px) {
    .main-banner .inner a {
      width: auto;
    }
  }

  .main-banner .inner a figure {
    margin: 0;
  }

  @media screen and (max-width: 768px) {
    .main-banner .inner a figure img {
      width: calc((540 / 750) * 100vw);
    }
  }

  .main-banner .inner a figcaption {
    color: #024287;
    padding: 10px 0 0 0;
  }

  @media screen and (max-width: 1400px) {
    .main-banner .inner a figcaption {
      font-size: calc((18 / 1400)*100vw);
    }
  }

  @media screen and (max-width: 768px) {
    .main-banner .inner a figcaption {
      font-size: calc((30 / 750)*100vw);
    }
  }

  footer {
    text-align: center;
    color: #fff;
    font-size: 16px;
    background-color: #001348;
    padding: 10px 0;
    line-height: 1.0em;
  }

  @media screen and (max-width: 768px) {
    footer {
      font-size: calc((22 / 750)*100vw);
    }
  }

  .shadow {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
  }

  .ah:hover {
    opacity: 0.8;
  }

  @media screen and (max-width: 768px) {
    .sp-none {
      display: none !important;
    }
  }

  @media screen and (min-width: 768px) {
    .pc-none {
      display: none !important;
    }
  }

  @media screen and (max-width: 1400px) {
    .main-contents {
      padding: 0 50px;
    }
  }

  @media screen and (max-width: 768px) {
    .main-contents {
      padding: 0;
    }
  }

  .main-image {
    max-width: 1400px;
    margin: 0 auto;
  }

  .main-image img {
    width: 100%;
  }

          /* リスト全体のコンテナ */
        .c-post-list {
          max-width: 960px;
          margin: 0 auto;
          padding: 0 20px;
          border: 2px solid #ddd;
        }

        @media (max-width: 768px) {
          .c-post-list {
            width: 80%;
          }
        }

        /* 各記事のアイテム */
        .c-post-item {
          display: flex;
          flex-direction: column;
          /* スマホでは縦並び */
          gap: 10px;
          padding: 24px 0;
          border-bottom: 1px solid #eee;
        }

        .c-post-item:last-child {
          border-bottom: 0;
        }

        /* PC（768px以上）の設定 */
        @media (min-width: 768px) {
          .c-post-item {
            flex-direction: row;
            /* 横並びに変更 */
            align-items: baseline;
            /* テキストの高さに合わせる */
            gap: 40px;
            /* 左側（日付）と右側の余白 */
          }
        }

        /* 左側：日付のスタイル */
        .c-post-item__date {
          font-size: 0.9rem;
          color: #888;
          flex-shrink: 0;
          /* 日付が潰れないように固定 */
          min-width: 120px;
          /* 日付エリアの幅を確保 */
          font-family: sans-serif;
        }

        /* 右側：コンテンツ（タイトルとテキスト）のスタイル */
        .c-post-item__content {
          flex: 1;
          /* 残りの幅をすべて使う */
        }

        .c-post-item__title {
          font-size: 1.1rem;
          margin: 0;
          line-height: 1.4;
          font-weight: normal;
          color: #333;
        }

        .c-post-item__title a {
          color: #00238a;
          text-decoration: underline;
        }

        .c-post-item__title a:hover {
          color: #0073aa;
          text-decoration: underline;
        }

        .c-post-item__excerpt {
          font-size: 0.95rem;
          color: #666;
          line-height: 1.6;
        }

        .c-post-item__excerpt p {
          margin: 0;
          /* 余計な余白を消す */
        }

        .c-entry-alllist {
          color: #0073aa;
          text-decoration: none;
          font-size: 0.9rem;
          text-align: right;
          padding: 15px 0;
        }



    /* ==========================================
       カード全体の親コンテナ設定
       ========================================== */
    .card-container {
      display: grid; /* グリッドレイアウトを適用 */
      gap: 85px 50px;     /* カード同士の縦横の間隔 */
      max-width: 1000px; /* 全体の最大横幅 */
      margin: 0 auto;    /* 画面中央に配置 */
    }
    @media (max-width: 768px) {
      .card-container {
        gap: calc((60 / 750) * 100vw) 0;
      }
    }

    /* ==========================================
       1. スマホ表示の基本設定（標準）
          - デフォルトでは1列で縦に並べる
       ========================================== */
    .card-container {
      grid-template-columns: 1fr; /* 1列の配置にする */
    }

    .link-card {
      width: 300px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      /* スマホ表示では全カードが幅いっぱいに広がる */
      grid-column: span 1;
      
      /* カードのデザイン（見た目） */
      background-image: url("../images/cr/cr-button_bk.png");
      background-repeat: no-repeat;
      background-size: cover;
      color: #fff;
      font-size: 24px;
      text-align: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      text-decoration: none;
    }
    @media (max-width: 768px) {
      .link-card {
        width: calc((500 / 750) * 100vw);
        height: calc((100 / 750) * 100vw);
        margin: 0 auto;
        font-size: calc((40 / 750) * 100vw);
      }
    }


/* PC表示（画面幅 768px 以上） */
@media (min-width: 768px) {
  .card-container {
    /* 細かく12分割する */
    grid-template-columns: repeat(12, 1fr);
  }

  /* 【全カード共通】1/3幅（12列中4列分を使う） */
  .card {
    grid-column: span 4;
  }

/* 【1枚目のカード】左へほんの少し（15px〜20px）ずらす */
.card:nth-child(1) {
  grid-column: 2 / span 4;
  transform: translateX(100px); /* 数値を大きくすると広がり、小さくすると狭まります */
}

/* 【2枚目のカード】右へほんの少し（15px〜20px）ずらす */
.card:nth-child(2) {
  grid-column: 6 / span 4;
  transform: translateX(100px);  /* 数値を大きくすると広がり、小さくすると狭まります */
}
}

.h3title{
    width: 430px;
    margin: 0 auto 30px;
    border-bottom: 1px solid #00306b;
    color: #00306b;
    font-size: 26px;
    text-align: center;
}
@media (max-width: 768px) {
  .h3title{
    width: auto;
    margin: 0 auto calc((40 / 750) * 100vw);
    font-size: calc((40 / 750) * 100vw);
  }
}

@media (max-width: 768px) {
  .h3title.member-title{
    width: calc((300 / 750) * 100vw);
  }
}

.h3title-en{
    width: 590px;
    margin: 0 auto 30px;
    border-bottom: 1px solid #00306b;
    color: #00306b;
    font-size: 26px;
    text-align: center;
}
@media (max-width: 768px) {
  .h3title-en{
    width: auto;
    margin: 0 auto calc((40 / 750) * 100vw);
    font-size: calc((40 / 750) * 100vw);
  }
}


.h3title-en.member-title{
  width: 210px;
}

@media (max-width: 768px) {
  .h3title-en.member-title{
    width: calc((300 / 750) * 100vw);
  }
}