@charset "utf-8";

html {
  font-size: 16px;
  font-family: "Noto Sans Japanese", sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden;
}

header {
  width: 100%;
  height: 100vh;
  min-height: 450px;
  background-image: url(../images/cherry_blossom.webp);
  background-size: cover;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: flex;
  /*position: relative;/*追加*/
}

#top .container {
  position: absolute;
}

/*=========================
桜花びら・実装
===========================*/
.cherry-blossom {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  /*position: absolute;/＊花びらが右側に寄った＊/
   top: 50%;
   left: 50%;
   transform: translate(-50%,-50%);*/
}

.petal {
  position: absolute;
  background-color: #ffe0e58a;
  border-radius: 150% 0 150% 0;
  animation: animate-petal 10s linear;
}

.petal::after {
  content: "";
  position: absolute;
  top: -14%;
  left: -10%;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #ffc0cb;
  border-radius: 150% 0 150% 0;
  transform: rotate(15deg);
}

@keyframes animate-petal {
  0% {
    top: 0;
    opacity: 0;
    transform: rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: 100vh;
    transform: rotate(3000deg);
  }
}

/*桜花びら・トップ画像ここまで*/

/*====波・揺れる画像============*/
.sample {
  pointer-events: none;
  /*position: fixed;*/
  position: absolute;
  top: 0;
  z-index: 10;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  width: 100%;
  height: 100%;
  background-color: #ffffff8e;
  opacity: 0.5;
}

.sample::before,
.sample::after {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 200%;
  content: "";
  border: 2px solid rgba(192, 225, 231, 0.747);
  background-color: #17326d25;
  animation: wave linear 60s infinite;
}

.sample::before {
  top: -150%;
  border-radius: 50% 50% / 50% 70%;
}

.sample::after {
  top: -146%;
  border-radius: 30% 70% / 30% 50%;
  opacity: 0.2;
  animation-delay: 0.4s;
}

@keyframes wave {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/*揺れる波・画像ここまで*/

/* スキル全体のコンテナ */
.skill-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
}

/* 1行ごとのレイアウト */
.skill-row {
  display: flex;
  align-items: center;
  /* 上下の中央を揃える */
  justify-content: flex-start;
}

/* 左側のラベル：幅を固定して文字を中央揃えにする */
.skill-label {
  width: 240px;
  /* ラベル用のエリアの幅を固定 */
  text-align: left;
  /* ラベルの文字自体を中央揃えにする */
  font-weight: bold;
  flex-shrink: 0;
  /* 幅が縮まないように固定 */
}

/* 右側のコンテンツ：行頭（左端）のスタートラインを綺麗に揃える */
.skill-content {
  flex: 1;
  /* 残りの幅いっぱいに広げる */
  text-align: left;
  /* ★ここがポイント：右側の文章の左端を綺麗に揃える */
}

@media (min-width: 960px) {
  header {
    background-position: center;
  }
}

header .container {}

header .container .text {
  font-weight: bold;
  font-size: 5vw;
  color: rgb(255, 255, 255);
  text-shadow: 0 0 5px rgb(0, 0, 0);
}

@media (min-width: 960px) {
  header .container .text p {
    font-size: 32px;
  }
}

@media (min-width: 960px) {
  header .container .text {
    max-width: 960px;
    margin: 0 auto;
    text-shadow: 0 0 15px rgb(0, 0, 0);
  }
}

header .container .text p {
  margin-top: 10px;
  margin-bottom: 0;
}

header .container h1 {
  font-size: 12vw;
  color: rgb(255, 255, 255);
  margin: 0;
}

@media (min-width: 960px) {
  header .container h1 {
    font-size: 84px;
  }
}

/*モバイルナビゲーション装飾*/
header nav.mobile {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 960px) {
  header nav.mobile {
    display: none;
  }
}

nav.mobile ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav.mobile ul li {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

nav.mobile ul li a {
  text-decoration: none;
  color: rgb(50, 50, 50);
  display: block;
  font-size: 16px;
  padding-top: 5px;
  padding-bottom: 10px;
}

nav.mobile ul li a .fa-home {
  font-size: 26px;
  line-height: 1em;
  color: rgb(0, 0, 0);
}

nav.mobile ul li a .fa-user {
  font-size: 24px;
  line-height: 1.1em;
  color: rgb(0, 0, 0);
}

nav.mobile ul li a .fa-laptop {
  font-size: 26px;
  line-height: 1em;
  color: rgb(0, 0, 0);
}

nav.mobile ul li a .fa-leanpub {
  font-size: 24px;
  line-height: 1.1em;
  color: rgb(0, 0, 0);
}

/*PCナビゲーション装飾*/

header nav.pc {
  display: none;
}

@media (min-width: 960px) {
  header nav.pc {
    display: block;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
  }

  nav.pc ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    padding: 0;
    list-style-type: none;
    width: 600px;
    margin: 0 auto;
  }

  nav.pc ul li {}

  nav.pc ul li a {
    display: block;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 24px;
    padding: 10px 18px;
    border-radius: 40px;
    transition: background-color 0.3s ease,text-shadow 0.3s ease;
    /*追加*/
  }
 nav.pc ul li a:hover {
    background-color: rgba(255, 255, 255, 0.35);text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    font-weight: bold;
    color: rgb(255,255,255);
    text-shadow: 20px 20px 20px rgba(0,0,0,0.1)
}
} /*★@media (min-width: 960px) を閉じる */


/*スクロールすると表示するPCメニュー装飾*/
#pcmenu {
  width: 0;
  height: 0;
  overflow: hidden;
}

#pcmenu a {}

@media (min-width: 960px) {
  #pcmenu {
    width: 70px;
    height: auto;
    position: fixed;
    right: 0;
    top: 40%;
    display: none;
    z-index: 10;
  }

  #pcmenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  #pcmenu ul li {
    width: 100%;
  }

  #pcmenu ul li span {
    font-size: 2em;
  }

  #pcmenu ul li a {
    font-size: 14px;
    display: block;
    padding: 20px 0;
    text-decoration: none;
    color: rgb(50, 50, 50);
    background-color: rgba(255, 255, 255, 0.6);
  }

  #pcmenu a:hover {}
}

/*===============================
プロファイル装飾
==============================--*/
section.profile {
  position: relative;
  /* height:745px; */
}

section.profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/row_of-cherry.webp);
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}

/* テキストやコンテナが背景の下に隠れないよう、前面（z-index）に持ち上げる設定 */
section.profile .container,
section.profile h2 {
  position: relative;
  z-index: 2;
  /* 背景よりも手前に表示させる */
}

section.profile h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 7vw;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
}

@media (min-width: 960px) {
  .profile {
    height: 745px;
  }

  section.profile h2 {
    font-size: 32px;
    line-height: 2em;
  }
}

/* ==========================================
   プロフィール全体のコンテナ（カード化）設定
   ========================================== */
section.profile .container {
  /*padding: 20px 10px 50px 10px;*/
  padding: 20px 10px;
  margin-left: 10px;
  margin-right: 10px;
  /* 💡 普段から文字が読みやすいように、薄い白のガラス調の背景と角丸を敷く場合 */
  background-color: rgba(255,
      255,
      255,
      0.05);
  /* 白の半透明（0.75でお好みの濃さに調整） */
  border-radius: 60px;
  /* 角丸の大きさ */
  backdrop-filter: blur(4px);
  /* 背景の桜を少しすりガラス風にぼかすとお洒落になります（対応ブラウザのみ） */
  /* ふんわり浮き上がらせるためのアニメーション設定 */
  transition: all 0.4s ease;
  padding: 0;
}

@media (min-width: 960px) {
  section.profile {
    height: 745px
  }
}

/* パソコン用の最大幅・中央寄せ（既存のmedia query内にある場合はそちらを優先） */
@media (min-width: 960px) {
  section.profile .container {
    /*max-width: 960px;*/
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    padding: 25px 0;
    /*追加*/
  }
}

/* ==========================================
   ✨ マウスを乗せた（ホバーした）ときの変化
   ========================================== */
section.profile .container:hover {
  /* ホバーした時に、さらに白っぽく明るく、ふんわりと浮き上がる演出 */
  background-color: rgba(245, 245, 245, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  /* 外側にリッチな影を落として浮遊感を出す */
  transform: translateY(-4px);
  /* ほんの少しだけ上に持ち上がる動き */
}

section.profile .container p {
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.4em;
  font-size: 16px;
  font-weight: 500;
  /* 文字色を少し濃いめのグレーや、あるいは思い切って白＋影にするなど調整 */
  color: rgb(0, 0, 0);
  text-shadow: 0 1px 3px rgba(245, 245, 255, 0.9);
  /* 白の光をうっすら当てて背景から浮き上がらせる */
}

@media (min-width: 960px) {
  section.profile .container p {
    font-size: 18px;
  }
}

@media (min-width: 960px) {

  section.profile .container p:nth-child(5),
  .skill-container {
    width: 630px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
  }
}

@media (min-width: 960px) {
  .second {
    text-align: left !important;
  }
}

section.profile .container p:last-of-type {
  /*スキル下の余白を調整*/
  margin-bottom: 10px;
}

section.profile .container .head {
  color: rgb(0, 0, 0);
  font-weight: bold;
  display: inline-block;
  width: 80px;
}

@media (min-width: 960px) {
  section.profile .container .head {
    display: block;
    width: 100%;
  }

  section.profile .container p:nth-child(4) .head {
    margin-bottom: -20px;
  }
}

/*=====================================
WEBSITE装飾
=======================================*/
section.website {
  background-color: rgba(74, 70, 67);
}

section.website h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 7vw;
  color: rgb(255, 255, 255);
  background-color: rgb(50, 50, 50);
}

@media (min-width: 960px) {
  section.website h2 {
    font-size: 32px;
    line-height: 2em;
  }
}

/*=============================
WEBSITE青背景装飾(キャンプサイト）
===============================*/

section.website .container_b {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 20px;
  color: rgb(255, 255, 255);
  background-color: rgb(74, 70, 67);
}

@media (min-width: 960px) {
  section.website .container_b {
    display: flex;
    align-items: flex-start;
    width: 960px;
    margin-top: 50px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 0;
  }
}

/*左側PHOTO*/
section.website .container_b .photo {
  text-align: center;
  align-self: center;
  /* この要素だけ中央揃えにする */
}

@media (min-width: 960px) {
  section.website .container_b .photo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

section.website .container_b .photo img {
  width: 80%;
}

@media (min-width: 960px) {
  section.website .container_b .photo img {
    width: 90%;
  }
}

/*webサイトに移動ボタン*/
section.website .container_b .photo a {
  display: inline-block;
  /* 余白・角丸を安定させるため */
  margin-top: 55px;
  margin-bottom: 25px;
  padding: 8px 28px;
  /* リンクの上下左右の余白（クリック領域も広がる） */
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  /* ホバー時の変化を滑らかにする */
  box-shadow: 3px 10px 30px rgba(0, 0, 0, 0.6);
}

/*ボタン・ホバー*/
section.website .container_b .photo a:hover {
  background-color: rgba(255, 255, 255, 0.85);
  /* ホバー時に白っぽく */
  color: rgb(50, 50, 50);
  font-weight: bold;
  /* 文字色も背景に合わせて濃くする */
}

/*===============================
website（右側）のテキストここから
===============================*/
@media (min-width: 960px) {
  section.website .container_b .text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

section.website .container_b .text h3 {
  font-size: 5vw;
  text-align: center;
}

@media (min-width: 960px) {
  section.website .container_b .text h3 {
    font-size: 24px;
    text-align: center;
  }
}

/*ポップアップの追記ここから*/
.summary-title {
  font-weight: bold;
  margin-bottom: 6px;
  color: rgb(255, 255, 255);
  /* 背景が青系なので白文字 */
}

.summary-block {
  border: 1px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0 16px;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.summary-block:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

/*Figma側だけホバー色を黒方向に*/
section.website .container .summary-block:hover {
  background-color: rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.4);
}

.summary-block summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  font-weight: bold;
  position: relative;
}

/* デフォルトの矢印(▶)を消す */
.summary-block summary {
  list-style: none;
}

.summary-block summary::-webkit-details-marker {
  display: none;
}

.summary-block summary::marker {
  display: none;
  content: "";
}

/* 「＞」マークを自作 */
.summary-block summary::after {
  content: "\276F";
  /* ＞マーク */
  position: absolute;
  right: 4px;
  top: 12px;
  transition: transform 0.2s ease;
}

/* 開いたときに矢印を90度回転(下向き) */
.summary-block[open] summary::after {
  transform: rotate(90deg);
}

.summary-block ul {
  padding-bottom: 14px;
}

.summary-block ul {
  margin: 0;
  padding-left: 32px;
  list-style-position: outside;
  /* デフォルト値だが明示しておくと安心 */
}

.summary-block ul li {
  font-size: 14px;
  line-height: 1.6em;
  margin-bottom: 4px;
}

/*テキスト改行させない*/
.nowrap {
  white-space: nowrap;
}

.summary-block ul li {
  word-break: keep-all;
  /* 単語の途中で改行しない */
  overflow-wrap: break-word;
  /* 単語が長すぎて収まらない時だけ強制改行（保険） */
}

/*テキスト改行させない＿＿ここまで*/
@media (min-width: 960px) {
  .summary-block ul li {
    font-size: 16px;
  }
}

/*ポップアップの追記ここまで*/

/*WEBSITE白背景装飾*/
section.website .big_container {
  background-color: rgb(235, 232, 228);
}

section.website .container {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 20px;
  color: rgb(0, 0, 0);
  background-color: rgb(235, 232, 228);
}

@media (min-width: 960px) {
  section.website .container {
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    padding-top: 80px;
    padding-bottom: 50px;
  }
}

section.website .container .photo {
  text-align: center;
}

section.website .container .photo {
  flex: 1;
}

section.website .container .photo img {
  width: 80%;
}

@media (min-width: 960px) {
  section.website .container .photo img {
    width: 90%;
  }
}

/*figmaで見るボタン追記*/
section.website .container .photo a {
  display: inline-block;
  margin-top: 55px;
  margin-bottom: 25px;
  padding: 8px 28px;
  border-radius: 30px;
  color: rgb(50, 50, 50);
  font-weight: bold;
  text-decoration: none;
  border: 2px solid rgba(50, 50, 50, 0.5);
  transition: all 0.3s ease;
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.3);
}

section.website .container .photo a:hover {
  background-color: rgba(50, 50, 50, 0.85);
  color: #fff;
  font-weight: bold;
}

/*Figma側だけ文字色を黒に上書き*/
section.website .container .summary-title {
  color: rgb(50, 50, 50);
}

@media (min-width: 960px) {
  section.website .container .text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

section.website .container .text h3 {
  font-size: 5vw;
  font-weight: bold;
}

@media (min-width: 960px) {
  section.website .container .text h3 {
    font-size: 24px;
  }
}

/*=====================================
GRAPHIC 交互背景ブロック(共通の型)
=======================================*/
.block {
  width: 100%;
}

.block-gray {
  background-color: rgb(230, 230, 230);
}

.block-teal {
  background-color: rgb(73, 85, 80);
  /* 濃いめのティール */
}

.block-green {
  background-color: rgb(53, 62, 80);
  /* 濃いめのティール */
}

.block-inner {
  padding: 30px 10px;
}

@media (min-width: 960px) {
  .block-inner {
    width: 960px;
    margin: 0 auto;
    padding: 70px 0;
  }
}

/* =====================================
   アイスクリームのチラシ（緑背景：block-teal）専用の文字色設定
   ======================================= */
section.dtp .block-teal .category-title,
section.dtp .block-teal .sub-title {
  color: rgb(245, 245, 240);
  font-weight: bold;
}

section.dtp .block-teal .container .text h3,
section.dtp .block-teal .container .text p,
section.dtp .block-teal .container .text .text_con p,
section.dtp .block-teal .summary-title,
section.dtp .block-teal .summary-block summary,
section.dtp .block-teal .summary-block ul li {
  color: rgb(245, 245, 240);
}

/* =====================================
   YouTubeサムネイル（グレー背景：block-gray）側の文字色設定（黒系）
   ======================================= */
section.dtp .block-gray .category-title,
section.dtp .block-gray .sub-title {
  color: rgb(50, 50, 50);
  font-weight: bold;
}

section.dtp .block-gray .container .text h3,
section.dtp .block-gray .container .text p,
section.dtp .block-gray .container .text .text_con p,
section.dtp .block-gray .container_b .text h3,
section.dtp .block-gray .container_b .text p,
section.dtp .block-gray .container_b .text .text_con p,
section.dtp .block-gray .summary-title,
section.dtp .block-gray .summary-block summary,
section.dtp .block-gray .summary-block ul li {
  color: rgb(50, 50, 50);
}

/* グレー背景側のdetails（summary-block）ホバー時の色変化を追加 */
section.dtp .block-gray .summary-block:hover {
  background-color: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.3);
}


@media (min-width: 960px) {
  section.dtp .container {
    display: flex;
    flex-direction: row;
  }

  section.dtp .container_b {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
  }
}

section.dtp .container .photo {
  text-align: center;
}

@media (min-width: 960px) {
  section.dtp .container .photo {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

section.dtp .container .photo img {
  width: 70%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

@media (min-width: 960px) {
  section.dtp .container .photo img {
    width: 70%;
  }
}

section.dtp .container .text {}

@media (min-width: 960px) {
  section.dtp .container .text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

section.dtp .container .text h3 {
  font-size: 5vw;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

@media (min-width: 960px) {
  section.dtp .container .text h3 {
    font-size: 24px;
  }
}

section.dtp .container .text p {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 10px;
}

section.dtp .block-teal .container .text p,
section.dtp .block-teal .container .text .text_con p,
section.dtp .block-teal .category-title,
section.dtp .block-teal .sub-title {
  color: rgb(245, 245, 240);
}

@media (min-width: 960px) {
  section.dtp .container .text p {
    font-size: 18px;
    line-height: 1.5em;
  }
}

section.dtp .container .text .text_con p {
  font-size: 16px;
  line-height: 1.5em;
  color: rgb(0, 0, 0);
  font-weight: bold;
}

/*==============================
拡大表示「DTP１個目」
===============================*/
/* ボタンを中央に配置するための親要素の設定 */
section.dtp .container .text_con {
  display: block;
  /* または text-align を効かせるための指定 */
  text-align: center;
  /* ★ここで中央寄せにする */
}

section.dtp .container .text_con a {
  display: inline-block;
  /* 余白・角丸を安定させるため */
  margin-top: 55px;
  margin-bottom: 25px;
  /* リンクの上下左右の余白（クリック領域も広がる） */
  padding: 8px 38px;
  /*文字と文字の間隔（字間）を広げる*/
  letter-spacing: 0.3em;
  border-radius: 30px;
  color: rgb(245, 245, 240);
  font-weight: bold;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  /* ホバー時の変化を滑らかにする */
  box-shadow: 3px 10px 40px rgba(0, 0, 0, 0.6);
}

/*ボタン・ホバー*/
section.dtp .container .text_con a:hover {
  background-color: rgba(255, 255, 255, 0.85);
  /* ホバー時に白っぽく */
  color: rgb(50, 50, 50);
  font-weight: bold;
  /* 文字色も背景に合わせて濃くする */
}

section.dtp .container_b .photo {
  text-align: center;
}

@media (min-width: 960px) {
  section.dtp .container_b .photo {
    flex: 1;
  }
}

section.dtp .container_b .photo img {
  width: 70%;
  /*スマホや基本のサイズ*/
  /* エステ側（明るい背景用） */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (min-width: 960px) {
  section.dtp .container_b .photo img {
    /* ★PCサイズでは親要素いっぱいに大きく表示する（必要に応じて 90% や 95% に調整可能） */
    /* ★PCサイズでは親要素いっぱいに大きく表示する（必要に応じて 90% や 95% に調整可能） */
    width: 100%;
    height: auto;
  }
}

/*=============================
DTP2個目の箱（テキストと画像）
==============================*/
@media (min-width: 960px) {

  /* 親要素に隙間（gap）を設定して、画像とテキストの間隔をあける */
  section.dtp .container_b {
    display: flex;
    gap: 30px;
    /* ★ここでお好みの間隔に調整できます（例: 40px〜60pxなど） */
    align-items: flex-start;
    margin-top: 30px;
  }

  section.dtp .container_b .text {
    width: 400px;
    /* ★テキストの箱の幅を狭くする */
    flex: 0 0 400px;
    /* 幅を固定して伸び縮みさせない場合 */
    margin-top: 10px;
  }

  /* ★画像2枚をまとめた箱を縦並びに */
  section.dtp .container_b .photo-group {
    display: flex;
    flex-direction: column;
    gap: 45px;
    flex: 1;
  }
}

@media (min-width: 960px) {
  section.dtp .container_b .text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

section.dtp .container_b .text h3 {
  font-size: 5vw;
  text-align: center;
}

@media (min-width: 960px) {
  section.dtp .container_b .text h3 {
    font-size: 24px;
  }
}

section.dtp .container_b .text p {
  font-size: 14px;
  color: rgb(50, 50, 50);
  margin-bottom: 10px;
}

@media (min-width: 960px) {
  section.dtp .container_b .text p {
    font-size: 18px;
    line-height: 1.5em;
  }
}

section.dtp .container_b .text .text_con {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (min-width: 960px) {
  section.dtp .container_b .text .text_con {
    display: block;
  }
}

section.dtp .container_b .text .text_con p {
  font-size: 16px;
  line-height: 1.5em;
  color: rgb(50, 50, 50);
}

section.dtp {
  background-color: rgb(26, 32, 44);
}

section.dtp h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 7vw;
  color: rgb(255, 255, 255);
  background-color: rgb(50, 50, 50, 0.4);
}

@media (min-width: 960px) {
  section.dtp h2 {
    font-size: 32px;
    line-height: 2em;
  }
}

/*===============================
拡大表示「DTP2個目」
================================*/
section.dtp .container_b .text_con a {
  display: inline-block;
  margin-top: 35px;
  margin-bottom: 25px;
  /* リンクの上下左右の余白（クリック領域も広がる） */
  padding: 8px 38px;
  /*文字と文字の間隔（字間）を広げる*/
  letter-spacing: 0.3em;
  border-radius: 30px;
  color: rgb(50, 50, 50);
  font-weight: bold;
  text-decoration: none;
  border: 2px solid rgba(50, 50, 50, 0.5);
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px rgba(20, 20, 20, 0.3);
}

section.dtp .container_b .text_con a:hover {
  background-color: rgba(50, 50, 50, 0.85);
  color: #fff;
  font-weight: bold;
}

.category-title {
  font-size: 20px;
  font-weight: bold;
  color: rgb(50, 50, 50);
  margin-bottom: 20px;
}

.sub-title {
  font-size: 16px;
  font-weight: bold;
  color: rgb(245, 245, 240);
  border-left: 4px solid rgb(76, 91, 130);
  padding-left: 10px;
  margin: 30px 0 16px;
}

/*名刺グリッド*/
section.dtp .block-gray .sub-title {
  color: rgb(50, 50, 50);
}

.logo-grid.single.center {
  margin-left: auto;
  margin-right: auto;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.logo-grid.single {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.logo-item {
  display: block;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition:
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

.logo-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.logo-item img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  background-color: #fafafa;
  transition: transform 0.3s ease;
}

.logo-item:hover img {
  transform: scale(1.08);
}

.logo-title {
  display: block;
  padding: 10px 12px 0;
  font-size: 14px;
  font-weight: bold;
  color: rgb(50, 50, 50);
  text-align: center;
}

.logo-site {
  display: block;
  padding: 10px 12px 0;
  font-size: 11px;
  color: rgb(140, 140, 140);
  text-align: center;
}

.logo-desc {
  padding: 6px 14px 14px;
  font-size: 11px;
  line-height: 1.6em;
  color: rgb(100, 100, 100);
  margin: 0;
  text-align: center;
}

/*footer装飾*/
footer {
  background-color: rgb(50, 50, 50);
  color: rgb(255, 255, 255);
  text-align: center;
}

footer p {
  margin: 0;
  padding-top: 10px;
  padding-bottom: 70px;
  font-size: 14px;
}

@media (min-width: 960px) {
  footer p {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 18px;
  }
}