@charset "utf-8";
/* -----------------------------共通部分----------- */
img {
  max-width: 100%;
}
h1 {
  color: #023859;
  font-family: "Montserrat", sans-serif;
}
.my_name {
  display: none;
}
/* -----------------------------header部-------------- */
/* --------------　固定窓　開始-------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 147px; /* ヘッダーの高さに合わせて調整 */
  background-color: #fff;
  z-index: 1000;
}
/* --------------　固定窓　終了-------------- */
/* -----------------------------main部-------------- */
.full-line {
  width: 100%; /* ビューポート幅いっぱい */
  height: 1px;
  background-color: #333; /* 線の色 */
  position: fixed; /* スクロールしても固定したい場合 */
  top: 20%; /* 画面中央に配置 */
  left: 0;
  z-index: 98;
  animation: expandLine 1s ease-out forwards;
}
@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.vertical-line {
  height: 100%; /* 画面全体の高さ */
  width: 1px;
  background-color: #666;
  position: fixed;
  left: 10%;
  top: 0;
  z-index: 98;
}
/* -----------------------------ナビメニュー----------- */
nav {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 1rem;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 10px; /* アイテム間の間隔 */
  margin-top: 5rem;
  list-style: none;
}
nav li {
  list-style: none;
  padding-right: 1rem;
  margin-right: 2rem;
  position: relative;
  z-index: 97;
  font-family: "Montserrat", sans-serif;
}
nav li a {
  text-decoration: none; /* 下線を消す */
  color: #333; /* 文字色（黒系） */
  font-size: 1rem;
  padding: .5rem .5rem;
  border-radius: 50%;
  position: relative;
}
nav li a:hover {
  background-color: #8eb7cd; /* ホバー時の色 */
  color: #333;
  border-radius: 50%;
  transition: .7s;
}
@media screen and (min-width: 800px) { /*PC版　　800px以上*/
  /* --------------　固定窓　開始-------------- */
  header {
    height: 147px; /* PC用 */
  }
  .full-line {
    position: absolute;
    top: 147px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
  }
  /* --------------　固定窓　終了-------------- */
  /* -----------------------------main部-------------- */
  main {
    padding-top: 10rem;
    padding-bottom: 10rem;
    max-width: 75%;
    margin: auto;
  }
  .container {
    margin: 0 auto;
    max-width: 800px;
  }
  /* ---------リンク色-------------- */
  .works a:link {
    color: #023859;
    text-decoration: none;
  }
  .works a:visited {
    color: #023859;
    text-decoration: none;
  }
  /* ------------------works 見出し部-------------- */
  h2 {
    font-family: "Montserrat", sans-serif;
    color: #023859;
    padding-top: 1rem;
    padding-bottom: .5rem;
  }
  h3 {
    color: #023859;
    margin-bottom: 2rem;
	font-size: 1rem;
  }
  h3 {
    display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #f2f2f2;
    border-radius: 20px;
    color: #333333;
  }
  h3::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #023859;
    content: '';
  }
  /* ------------------h4   -------------- */
  h4 {
    color: #023859;
    margin: 1rem auto;
  }
  h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    color: #333333;
  }
  h4::before {
    width: 0.8em;
    height: 0.4em;
    border-bottom: 4px solid #81A2D5;
    border-left: 4px solid #81A2D5;
    transform: rotate(-45deg) translate(2px, -2px);
    content: '';
  }
  /* ------------------works main部    -------------- */
  .banner_tile {
    display: grid;
    gap: 2rem 1.5rem;
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .site_item {
    background-color: #bacbd5;
    border-radius: 20px;
    text-align: center;
    padding: 1.5rem 0;
  }
  .site_kinds {
    display: inline-block;
    background-color: #023859;
    width: 100px;
    color: #bacbd5;
    border-radius: 20px;
    padding-left: .3rem;
    margin: 1rem;
  }
  .site_capture {
    background-color: #fff;
    width: 300px;
    height: 250px;
  }
  .banner_item p {
    white-space: normal; /* 通常の折り返し */
    word-break: break-word; /* 長い単語やURLで折り返す */
    overflow-wrap: break-word;
  }
  .tech_used {
    margin-bottom: 3rem;
  }
  /*-------- 工夫した点・制作時間　ボタン部------- */
  .item_name {
    position: relative;
    padding: 1em 2.2em;
    font-size: 1rem;
    color: #023859;
    background: transparent;
    border: 1px solid #023859;
    cursor: pointer;
    border-radius: 20px 20px 20px 20px/ 20px 20px 20px 20px;
    transition:
      border-radius 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55), transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), background 0.6s ease, box-shadow 0.6s ease;
    overflow: hidden; /* ← マークがはみ出ても綺麗に見える */
  }
  /*  テキストの後ろにマークを追加 */
  .item_name::after {
    content: "≫"; /* ← ここを好きな記号に（例："＋" "→" "！"） */
    position: absolute;
    right: .8em;
    top: 50%;
    transform: translateY(-50%); /* 縦中央 */
    font-size: 1.2em;
    color: #023859;
    opacity: 0.8;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s ease;
  }
  /* 🪄 ホバー時：マークをふわっと上に浮かせる */
  .item_name:hover::after {
    transform: translateY(-120%); /* 上方向に浮かす */
    opacity: 0; /* ふわっと消えるように */
  }
  .item_name:hover {
    border-radius: 50% 30% 70% 40% / 40% 60% 30% 60%;
    transform: scale(1.05);
    background: rgba(2, 56, 89, 0.1);
    box-shadow: 0 6px 14px rgba(2, 56, 89, 0.25);
  }
  /* ページ読み込み時に中身を隠す */
  .toggle-content {
    display: none;
    margin: 1em auto;
    padding: 1em;
    color: #023859;
    background: #f2f2f2;
    border-radius: 10px;
    max-width: 80%;
    transition: all 0.5s ease;
  }
}
@media screen and (max-width: 799px) { /*モバイル版　　799px以下*/
  body {
    background-image: none;
  }
  img {
    max-width: 80%;
  }
  .my_name {
    display: block;
    color: #023859;
    font-family: "Montserrat", sans-serif;
    padding-left: 2rem;
    font-weight: bold;
  }
  /* ----------------header 部------ */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 87px; /* デフォルトはモバイル */
    background-color: #fff;
    z-index: 1000;
  }
  .full-line {
    top: 87px;
  }
  .vertical-line {
    display: none;
  }
  /* ----------------header 部　------ */
  nav ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
  }
  nav li {
    padding: 0;
    margin: 0;
  }
  nav li a {
    font-size: 0.9rem;
    padding: 0.6rem;
    background-color: #f0f0f0;
    border-radius: 12px;
    display: inline-block;
  }
  .floating-icon {
    width: 45px;
  }
  p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  /* ----------------------------main部----------- */
  main {
    padding-top: 5rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }
  table {
    padding-bottom: 1rem;
  }
  th {
    font-size: .875rem;
  }
  /* -----------------見出し部----------- */
  h1 {
    font-size: 1.1rem;
    text-align: center;
    padding: 3rem;
  }
  h2 {
    color: #023859;
    font-size: 1.1rem;
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  h3 {
    color: #023859;
	font-size: 1rem;
	margin-bottom: 2rem;
  }

  h3 {
    display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #f2f2f2;
    border-radius: 20px;
    color: #333333;
  }
  h3::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #023859;
    content: '';
  }

  /* ------------------h4   -------------- */
  h4 {
    color: #023859;
	margin:1rem 0;
  }
  h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    color: #333333;
  }
  h4::before {
    width: 0.8em;
    height: 0.4em;
    border-bottom: 4px solid #81A2D5;
    border-left: 4px solid #81A2D5;
    transform: rotate(-45deg) translate(2px, -2px);
    content: '';
  }
  /* ------------------works main部-------------- */
  /* ---------リンク色-------------- */
  .works a:link {
    color: #023859;
    text-decoration: none;
  }
  .works a:visited {
    color: #023859;
    text-decoration: none;
  }
  .works { /*-------各ブロック---*/
    margin-bottom: 3rem;
  }
  .container {
    margin-right: .5rem;
    margin-left: .5rem;
  }
  .site_item {
    background-color: #bacbd5;
    border-radius: 20px;
    text-align: center;
    width: 100%;
    height: 100%;
    padding-bottom: 1.5rem;
  }
  .site_kinds {
    display: inline-block;
    background-color: #023859;
    width: 100px;
    color: #bacbd5;
    border-radius: 20px;
  }

  /*---------各バナーアイテム　　開始----------*/
  .site_capture {
    max-width: 70%;
    margin-top: 1.5rem;
    background-color: #fff;
  }
  .maintext {
    /* 改行や折り返し制御 */
    white-space: normal; /* 通常の折り返し */
    word-break: break-word; /* 長い単語やURLで折り返す */
    overflow-wrap: break-word;
  }
  /*---------各バナーアイテム 終了----------*/
	
	
    /*-------- 工夫した点・制作時間　ボタン部------- */
  .item_name {
    position: relative;
    padding: 1em 2.2em;
    font-size: 1rem;
    color: #023859;
    background: transparent;
    border: 1px solid #023859;
    cursor: pointer;
    border-radius: 20px 20px 20px 20px/ 20px 20px 20px 20px;
  /* 既存の柔らかい変化＋浮く動き用 */
  transition:
    border-radius 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    background 0.6s ease,
    box-shadow 0.6s ease;

  /* 初期の浮遊感（軽く影） */
  box-shadow: 0 2px 6px rgba(2,56,89,0.2);
}
  /*  テキストの後ろにマークを追加 */
  .item_name::after {
    content: "≫"; /* ← ここを好きな記号に（例："＋" "→" "！"） */
    position: absolute;
    right: .8em;
    top: 50%;
    transform: translateY(-50%); /* 縦中央 */
    font-size: 1.2em;
    color: #023859;
    opacity: 0.8;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s ease;
  }
  /* ページ読み込み時に中身を隠す */
  .toggle-content {
    display: none;
    margin: 1em auto;
    padding: 1em;
    color: #023859;
    background: #f2f2f2;
    border-radius: 10px;
    max-width: 80%;
    transition: all 0.5s ease;
  }

	
	
	
	
	
	
	
	
	
	
}