@charset "utf-8";



/* -----------------------------共通部分----------- */
body {
  margin: 0;
  padding: 0;
  background-image: url("../images/portfolio_top.jpg"); /* 画像パス */
  background-size: 80% auto;
  background-position: center; /* 中央寄せ */
  background-repeat: no-repeat; /* 繰り返しなし */
  background-attachment: fixed; /* ← これで背景が固定される！ */
}
body {
  display: flex;
  flex-direction: column; /* 縦並び */
  min-height: 100%; /* 画面いっぱいを最低限確保 */
  height: 100%;
}
.my_name {
  display: none;
}
/* -----------------------------header部-------------- */
header {
  height: 147px; /* PC */
}
.logo-on-line {
  position: absolute;
  top: 60px; /* 線より上に出す（微調整） */
  left: 80%;
  transform: translateX(-50%);
  z-index: -1;
  width: auto; /* 適宜サイズを調整 */
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}
/* -----------------------------    編集中main部-------------- */
main {
  flex: 1; /* ここが伸びるのでフッターが下に押される */
}
.full-line {
  width: 100%; /* ビューポート幅いっぱい */
  height: 1px;
  background-color: #333; /* 線の色 */
  position: fixed; /* スクロールしても固定したい場合 */
  top: 147px; /* 画面中央に配置 */
  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;
}
/*下部、かもめアイコン*/
.floating-wrapper {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  z-index: 100;
}
.floating-icon {
  width: 80px;
  opacity: 0;
  animation: floatIn 1.5s ease-out forwards;
}
/* フェードイン＋ふわっと浮かぶ */
@keyframes floatIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* 上下ふわふわ（それぞれ違う） */
.icon1 {
  animation: floatIn 1.5s ease-out forwards, floatY1 4s ease-in-out infinite;
}
.icon2 {
  animation: floatIn 1.5s ease-out forwards, floatY2 3s ease-in-out infinite;
}
.icon3 {
  animation: floatIn 1.5s ease-out forwards, floatY3 5s ease-in-out infinite;
}
/* アニメーションのバリエーション */
@keyframes floatY1 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes floatY2 {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-15px);
  }
  75% {
    transform: translateY(10px);
  }
}
@keyframes floatY3 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
/* -----------------------------ナビメニュー----------- */
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) {

/* ---------------------------   footer ------------- */
.Copyright {
  display: flex;
  justify-content: center;
  padding-top: 32rem;
  font-size: .7rem;
  color: #b0c4cf;
}
	
	
	
}
	
@media screen and (max-width: 799px) {
  body {
    background-image: none;
  }
  img {
    max-width: 100%;
  }
  .my_name {
    display: block;
    color: #023859;
    font-family: "Montserrat", sans-serif;
    padding-left: 2rem;
    font-weight: bold;
  }
  .logo-on-line {
    top: 105px;
    left: 72%;
    width: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }
  .full-line {
    top: 12%;
  }
  .vertical-line {
    display: none;
  }
  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;
  }
  h1, h2 {
    font-size: 1.1rem;
    text-align: center;
  }
  p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  /* ----------------------------main部----------- */
  .background_image1 {
    background-image: url(../images/port.png);
    background-size: contain; /* 必要に応じて contain でもOK */
    background-repeat: no-repeat;
    background-position: center;
    height: 100px; /* 表示されるように高さを必ず指定する */
    width: 95%;
    margin-top: 10rem;
  }
  .background_image2 {
    background-image: url(../images/folio.png);
    background-size: contain; /* 必要に応じて contain でもOK */
    background-repeat: no-repeat;
    background-position: center;
    height: 100px; /* 表示されるように高さを必ず指定する */
    width: 95%;
    margin-left: 1.3rem;
  }
	
/* ---------------------------   footer ------------- */
.Copyright {
  display: flex;
  justify-content: center;
	padding-top: 5rem;
  font-size: .7rem;
  color: #b0c4cf;
}
}