@charset "UTF-8";
/*//////////PCサイズ ///////////*/
/*//////////PCサイズ ///////////*/
/*//////////PCサイズ ///////////*/
@media screen and (min-width: 481px) {
  .main {}
  /*トップムービー*/
  #topmovie {
    position: relative; /*h1の中央寄せ配置の起点とするためのrelative*/
    width: 100vw;
    height: 100vh; /* 変数をサポートしていないブラウザのフォールバック */
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    /*background-color: #333;*/
  }
  .topcopy {
    position: absolute;
    color: #FFF;
    line-height: calc(100%);
    width: 100vw;
    height: 100vh; /* 変数をサポートしていないブラウザのフォールバック */
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(5rem);
    letter-spacing: calc(0.1em);
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    z-index: 10;
  }
  .top_title {
    text-align: center;
  }
  .top_title p:nth-child(1) {
    font-size: 100%;
    line-height: 240%;
  }
  .top_title p:nth-child(n+2) {
    font-size: 65%;
    line-height: 190%;
  }
  .animated-text {
    position: relative;
    animation: slideIn 1s ease-in-out forwards;
    animation-delay: 2s;
    opacity: 0;
  }
  .animated-text:nth-child(1) {
    animation-delay: 2.2s;
  }
  .animated-text:nth-child(2) {
    animation-delay: 2.4s;
  }
  .animated-text:nth-child(3) {
    animation-delay: 2.6s;
  }
  .animated-text:nth-child(4) {
    animation-delay: 2.8s;
  }
  .animated-text:nth-child(5) {
    animation-delay: 3s;
  }
  @keyframes slideIn {
    0% {
      transform: translateY(10px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  .copy1 {}
  .copy2 {}
  #video-area {
    position: fixed;
    z-index: -1; /*最背面に設定*/
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
  }
  #video {
    /*天地中央配置*/
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
  }
  a.movply, a.mov50th, a.oyakudachi {
    position: absolute;
    width: calc(23vw);
    min-width: calc(15%);
    bottom: 2.5%;
    color: #FFF;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 3px;
  }
  a.movply {
    left: 2%;
  }
  a.mov50th {
    left: 21%;
  }
  a.oyakudachi {
    left: 26%;
  }
  .movply img, .mov50th img, .oyakudachi img {
    vertical-align: middle;
    width: calc(100%);
  }
  .movply:hover, .mov50th:hover .oyakudachi:hover {
    background-color: rgba(0, 96, 85, 1.00);
    transition: all 0.5s;
  }
  .top_new_mark {
    position: absolute;
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    top: -2vw;
    left: calc(0% - 1px);
    width: 5vw;
    height: 2vw;
    font-size: calc(2.5rem);
    color: white;
    padding-right: calc(3%);
    background-color: #E4007F;
    z-index: 10;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
  }
  .hedtcglogo {
    position: absolute;
    width: calc(8vw);
    height: auto;
    bottom: 2%;
    right: 2%;
    z-index: 1;
  }
  .hedtcglogo img {
    width: calc(100%);
  }
  /*／トップムービー*/
  /*メインリンク*/
  .mainlink_container {}
  .mission_container, /*西浅の使命 */ .yakusoku_container, /*西浅の約束 */ .kodawari_container, /*魚へのこだわり */ .shokunin_container, /*職人がいること */ .sanchoku_container { /*ホンモノの産直 */
    overflow: hidden;
    width: 100%;
    height: calc(20vw);
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  }
  .mission_container a, .yakusoku_container a, .kodawari_container a, .shokunin_container a, .sanchoku_container a {
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    text-shadow: 2px 0 12px #5A4906;
    transition: transform 0.9s ease-in-out;
  }
  .mission_container a:hover, .yakusoku_container a:hover, .kodawari_container a:hover, .shokunin_container a:hover, .sanchoku_container a:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
  }
  .mainlink {
    position: absolute;
    color: #fff;
    text-align: center;
  }
  .mainlink p {}
  .mainlink p:nth-child(1) {
    font-size: calc(4rem);
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  }
  .mainlink p:nth-child(2) {
    font-size: calc(2.8rem);
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
  }
  .mainlink_container img {
    width: 100%;
  }
  /*／メインリンク*/
  /*サブリンク */
  .bnr_sps {
    padding: 8vw 0 10vw 0;
    background-color: rgba(237, 228, 194, 1.00);
    clip-path: polygon(100% 0, 100% 100%, 0 93%, 0 0);
  }
  .bnr_container {
    width: 70vw;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto; /* 2つの列を自動サイズで作成 */
    gap: 3vw; /* グリッド項目の間隔 */
  }
  .bnr_container img {
    width: 100%;
    display: block; /* 画像の下に隙間ができないようにするための対策 */
  }
  .hover-effect {
    border: 1px solid #ccc;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .hover-effect:hover {
    border: 1px solid #ccc;
    transform: translateY(-10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  /*ECショップ */
  .ec_shop_container {}
  /*社長コラム */
  .colum_container {}
  /*／サブリンク */
  /*インフォメーション */
.inf_sps {
  margin: -5%;
  background-color: #fff;
}

.inf_container {
  padding: 10vw 0 5vw 0;
  clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
}

.shokunin_feature_container {
  width: 85vw;
  height: calc(22.2vw);
  margin: 0 auto 3vw auto;
  overflow: hidden;
  position: relative; /* 中央にラベルを配置するために追加 */
}

.shokunin_feature_container a {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  transition: transform 0.9s ease-in-out;
}

.shokunin_feature_container a:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

.shokunin_feature_container img {
  width: 100%;
}

.shokunin_label {
  position: absolute;
  color: #666;
  text-align: center;
  font-size: calc(3rem);
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  width: calc(10vw);
  height: calc(10vw);
  background-color: #fff;
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  border: 1px solid #ccc;
}

.inf_inner {
  width: 85vw;
  height: calc(30vw);
  margin: auto;
  display: grid;
  grid-template-columns: auto auto; /* 2つの列を自動サイズで作成 */
  gap: 3vw; /* グリッド項目の間隔 */
  overflow: hidden;
}

.tenpo_container, /*店舗一覧 */ .profile_container /*会社案内 */ {
  overflow: hidden;
}

.inf_inner a {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  transition: transform 0.9s ease-in-out;
}

.inf_inner a:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

.inf_inner span {
  position: absolute;
  color: #666;
  text-align: center;
  font-size: calc(3rem);
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  width: calc(10vw);
  height: calc(10vw);
  background-color: #fff;
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
}

.inf_inner img {
  width: 100%;
  height: calc(25vw);
}
/*／インフォメーション*/

  /* youtube */
  .youtube_sps {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px auto;
  }
  /* 西浅紹介ムービー */
  .newvideo_container {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .video-container {
    position: relative;
    width: 100vw;
    padding-top: calc(100vw * 9 / 16); /* 16:9 のアスペクト比を維持するためのパディング */
    background-color: #000;
  }
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    object-fit: cover; /* 動画が親要素にフィットするように設定 */
  }
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('../images/playbot.svg') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    z-index: 1; /* プレイボタンをビデオの上に表示するため */
  }
  /*その他リンク */
  #sns_sps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
    width: 85vw;
    margin: auto;
    padding: 5vw 0;
  }
  #sns_sps img {
    width: 100%;
  }
  .sns_all_container {
    width: 100vw;
    background-color: #fff;
  }
  .sns_sps_container a:hover, .other_container a:hover {
    opacity: 0.8;
  }
  .sns_sps_container .top-link {
    display: block;
    margin-bottom: 1vw;
  }
  /* sns_containers */
  .sns_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5vw; /* リンク間の隙間を指定 */
    align-items: center;
  }
  .sns-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    padding: 1.15vw 0;
    text-decoration: none;
    color: black;
    width: 100%;
    font-size: 2.2rem;
    box-sizing: border-box;
  }
  .sns-link img {
    max-width: 3vw;
    margin-bottom: 1rem;
  }
  .sns-link:nth-child(1) {
    border-color: #1877F2; /* Facebook color */
	    font-size: 2.5rem;
	    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  }
  .sns-link:nth-child(2) {
    border-color: #E4405F; /* Instagram color */
    font-size: 2.5rem;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  }
  /* ／sns_containers */
  /* grid-containers */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1vw; /* 画像の隙間を再現 */
  }
  .grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  }
  .grid-item img {
    width: 100%; /* 上部の左右2枠の画像を枠いっぱいに広げる */
    height: auto;
  }
  .grid-item:nth-child(1) p, .grid-item:nth-child(2) p {
    padding: 2rem 0; /* 上部の左右2枠のテキストにパディングを追加 */
  }
  .grid-item:nth-child(3) p, .grid-item:nth-child(4) p {
    font-size: 3rem;
  }
  .grid-item:nth-child(3) img, .grid-item:nth-child(4) img {
    max-width: 4vw; /* 下部の左右2枠の画像サイズを調整 */
    margin-bottom: 2vw;
  }
  .grid-item p {
    margin: 0;
    font-size: 2rem; /* テキストのサイズを調整 */
  }
  .grid-item:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }
  /* ／grid-containers */
  /*／その他リンク */
}
/*//////////スマホサイズ footer///////////*/
/*//////////スマホサイズ footer///////////*/
/*//////////スマホサイズ footer///////////*/
@media screen and (max-width:480px) {
  /*トップムービー*/
  #topmovie {
    position: relative; /*h1の中央寄せ配置の起点とするためのrelative*/
    width: 100vw;
    height: 100vh; /* 変数をサポートしていないブラウザのフォールバック */
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
  }
  #videoSP {
    /*天地中央配置*/
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 100vw; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: auto; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
  }
  .topcopy {
    position: absolute;
    color: #FFF;
    line-height: calc(100%);
    width: 100vw;
    height: 100vh; /* 変数をサポートしていないブラウザのフォールバック */
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    /*text-align: left;
    text-orientation: upright;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-variant-east-asian: full-width;
    -moz-font-feature-settings: "fwid";
    -webkit-font-feature-settings: "fwid";
    font-feature-settings: "fwid";*/
    font-size: calc(3.5rem);
    letter-spacing: calc(0.1em);
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    z-index: 10;
  }
  .top_title {
    text-align: center;
  }
  .top_title p:nth-child(1) {
    font-size: 100%;
    line-height: 240%;
  }
  .top_title p:nth-child(n+2) {
    font-size: 70%;
    line-height: 190%;
  }
  .copy1 {}
  .copy2 {}
  #video-area {
    position: fixed;
    z-index: -1; /*最背面に設定*/
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
  }
  #video {
    /*天地中央配置*/
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
  }
  a.movply, a.mov50th, a.oyakudachi {
    position: absolute;
    width: calc(23vw);
    min-width: calc(15%);
    bottom: 2.5%;
    color: #FFF;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 3px;
  }
  a.movply {
    left: 2%;
  }
  a.mov50th {
    left: 21%;
  }
  a.oyakudachi {
    left: 26%;
  }
  .movply img, .mov50th img, .oyakudachi img {
    vertical-align: middle;
    width: calc(100%);
  }
  .movply:hover, .mov50th:hover .oyakudachi:hover {
    background-color: rgba(0, 96, 85, 1.00);
    transition: all 0.5s;
  }
  .top_new_mark {
    position: absolute;
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    top: -2vw;
    left: calc(0% - 1px);
    width: 5vw;
    height: 2vw;
    font-size: calc(2.5rem);
    color: white;
    padding-right: calc(3%);
    background-color: #E4007F;
    z-index: 10;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
  }
  .hedtcglogo {
    position: absolute;
    width: calc(8vw);
    height: auto;
    bottom: 2%;
    right: 2%;
    z-index: 1;
  }
  .hedtcglogo img {
    width: calc(100%);
  }
  /*／トップムービー*/
  /*メインリンク*/
  .mainlink_container {}
  .mission_container, /*西浅の使命 */ .yakusoku_container, /*西浅の約束 */ .kodawari_container, /*魚へのこだわり */ .shokunin_container, /*職人がいること */ .sanchoku_container { /*ホンモノの産直 */
    overflow: hidden;
    width: 100%;
    height: calc(30vh);
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  }
  .mission_container a, .yakusoku_container a, .kodawari_container a, .shokunin_container a, .sanchoku_container a {
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    text-shadow: 2px 0 12px #5A4906;
    transition: transform 0.9s ease-in-out;
  }
  .mission_container a:hover, .yakusoku_container a:hover, .kodawari_container a:hover, .shokunin_container a:hover, .sanchoku_container a:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
  }
  .mainlink {
    position: absolute;
    color: #fff;
    text-align: center;
  }
  .mainlink p {}
  .mainlink p:nth-child(1) {
    font-size: calc(4rem);
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  }
  .mainlink p:nth-child(2) {
    font-size: calc(2.8rem);
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
  }
  .mainlink_container img {
    width: 100%;
    height: calc(30vh);
  }
  /*／メインリンク*/
  /*サブリンク */
  .bnr_sps {
    padding: 10vw 0 20vw 0;
    background-color: rgba(237, 228, 194, 1.00);
    clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
  }
  .bnr_container {
    width: 85vw;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr; /* 2つの列を自動サイズで作成 */
    gap: 3vw; /* グリッド項目の間隔 */
  }
  .bnr_container img {
    width: 100%;
  }
  /*ECショップ */
  .ec_shop_container {}
  /*社長コラム */
  .colum_container {} /*／サブリンク */
  /*インフォメーション */
.inf_sps {}
.inf_container {
  padding: 10vw 0 10vw 0;
}
/*職人紹介 */
.shokunin_feature_container {
  width: 85vw;
  height: 117.16vw;
  margin: 0 auto 3vw auto;
  overflow: hidden;
  position: relative; /* タイトルを絶対位置で配置するために必要 */
}
.shokunin_feature_container a {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  transition: transform 0.9s ease-in-out;
}
.shokunin_feature_container a:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}
.shokunin_feature_container img {
  width: 100%;
  height: 100%;
}
.shokunin_feature_container .shokunin_label {
  position: absolute;
  color: #666;
  text-align: center;
  font-size: calc(3rem);
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  width: calc(30vw);
  height: calc(30vw);
  background-color: #fff;
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央に配置 */
}
.inf_inner {
  width: 85vw;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr; /* 2つの列を自動サイズで作成 */
  gap: 3vw; /* グリッド項目の間隔 */
  overflow: hidden;
}
.tenpo_container, /*店舗一覧 */ .profile_container /*会社案内 */ {
  overflow: hidden;
  height: calc(30vh);
}
.inf_inner a {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  transition: transform 0.9s ease-in-out;
}
.inf_inner a:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}
.inf_inner span {
  position: absolute;
  color: #666;
  text-align: center;
  font-size: calc(3rem);
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  width: calc(30vw);
  height: calc(30vw);
  background-color: #fff;
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
}
.inf_inner img {
  width: 100%;
  height: calc(30vh);
}
/*／インフォメーション*/

  /* youtube */
  .youtube_sps {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px auto;
  }
  /* 西浅紹介ムービー */
  .newvideo_container {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .video-container {
    position: relative;
    width: 100vw;
    padding-top: calc(100vw * 9 / 16); /* 16:9 のアスペクト比を維持するためのパディング */
    background-color: #000;
  }
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    object-fit: cover; /* 動画が親要素にフィットするように設定 */
  }
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('../images/playbot.svg') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    z-index: 1; /* プレイボタンをビデオの上に表示するため */
  }
  /*その他リンク */
  #sns_sps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5vw; /* 画像の隙間を再現 */
    width: 85vw;
    margin: auto;
    padding: 10vw 0;
  }
  #sns_sps img {
    width: 100%;
  }
  .sns_sps_container a:hover, .other_container a:hover {
    opacity: 0.8;
  }
  .sns_sps_container .top-link {
    display: block;
    margin-bottom: 3vw;
  }
  /* sns_containers */
  .sns_container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5vw; /* 画像の隙間を再現 */
    align-items: center;
  }
  .sns-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    padding: 5vw 0;
    text-decoration: none;
    color: black;
    width: 100%;
    font-size: 2.2rem;
    box-sizing: border-box;
  }
  .sns-link img {
    max-width: 10vw;
    margin-bottom: 1rem;
  }
  .sns-link:nth-child(1) {
    border-color: #1877F2; /* Facebook color */
  }
  .sns-link:nth-child(2) {
    border-color: #E4405F; /* Instagram color */
    font-size: 2.5rem;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  }
  /* ／sns_containers */
  /* grid-containers */
  .grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5vw; /* 画像の隙間を再現 */
  }
  .grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  }
  .grid-item img {
    width: 100%; /* 上部の左右2枠の画像を枠いっぱいに広げる */
    height: auto;
  }
  .grid-item:nth-child(1) p, .grid-item:nth-child(2) p {
    padding: 2rem 0; /* 上部の左右2枠のテキストにパディングを追加 */
  }
  .grid-item:nth-child(3) p, .grid-item:nth-child(4) p {
    font-size: 2.5rem;
    margin-bottom: 2vw;
  }
  .grid-item:nth-child(3) img, .grid-item:nth-child(4) img {
    max-width: 10vw; /* 下部の左右2枠の画像サイズを調整 */
    margin-top: 4vw;
    margin-bottom: 2vw;
  }
  .grid-item p {
    margin: 0;
    font-size: 2rem; /* テキストのサイズを調整 */
  }
  .grid-item:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }
  /* ／grid-containers */
  /*／その他リンク */
}