@charset "utf-8";

*,::before,::after{
  padding:0;
  margin:0;
}

.header-logo,
.header-logo:visited,
.header-logo:hover,
.header-logo:active {
  color: inherit;        /* 親要素の色をそのまま使う（＝変化しない） */
  text-decoration: none; /* 下線を消す */
}

.header-logo p {
  color: inherit;        /* 念のため明示 */
}


.header-inner{
display: flex;
justify-content:space-between;
align-items: center;
}

.header-logo{
 display:flex;
 padding: 15px 30px;
 align-items: center;
}

.header-logo img{
  width:120px;
  height:auto;
}

.header-logo p{
  font-size:20px;
}

.header-site-menu{
margin-right: 30px;

}


.header-site-menu li{
  list-style:none;
  float:left;
  font-size:20px;
  padding: 35px 20px;
}

.first-view{
  display: flex;
  align-items: center;
  justify-content: center;
}

.first-view-text p{
 display: flex;
 justify-content: center;
}

.lead{
  display: flex;
   flex-direction: column;     
  align-items: center;        
  justify-content: center; 
}

.item-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 横に3つ */
  gap: 30px;                               /* アイテム間の余白 */
  list-style: none;                         /* li の点を消す */
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;                        /* 横幅の上限（お好みで） */
}

.item-list li {
  background: #fff;         /* 必要ならカード風に */
  border-radius: 10px;
  padding: 10px;
}




.item-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 横に3つ */
  gap: 30px;                               /* アイテム間の余白 */
  list-style: none;                         /* li の点を消す */
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;                        /* 横幅の上限（お好みで） */
}

.item-list li {
  background: #7c2c2c;         /* 必要ならカード風に */
  border-radius: 10px;
  padding: 10px;
  font-size:20px;
}

.footer{
 display: flex;
justify-content:space-between;
align-items: center;
margin:10px 30px;
}

.footer li{
  font-size: 20px;
}

.copyright{
  font-size:20px;
}
.site-menu ul {
  display: flex;
  gap: 30px;     /* メニュー同士の間隔（調整可） */
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  text-decoration: none;
  font-weight: 600;
}


.recommended {
  text-align: center;
}

.recommended h2 {
  display: inline-block; /* 中央に置きつつ微調整できる */
  text-align: left;
  transform: translateX(-600px); /* ← 左へずらす（お好みで調整） */
}


/* ============================
   全体の余白・フォント・背景
============================ */
body {
  background: #ffffff;
  color: #333;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

/* ============================
   ファーストビューの調整
============================ */
.first-view {
  height: 60vh;
  background: #f8f8f8; /* 薄いグレーで軽いコントラスト */
  text-align: center;
  padding: 50px 20px;
  border-bottom: 1px solid #eee;
}

.first-view-text h1 {
  font-size: 48px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.first-view-text p {
  font-size: 20px;
  color: #1f1c1c;
}

/* ============================
   リード文セクション
============================ */
.lead {
  padding: 60px 20px;
  text-align: center;
}

.lead p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* -----------------------------
   ボタンのデザイン
----------------------------- */
.link-button {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #333;
  border-radius: 50px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s;
  cursor: pointer;
}

.link-button:hover {
  background: #333;
  color: #fff;
}

/* ============================
   Works 見出し（綺麗に左寄せ）
============================ */
.recommended {
  padding: 80px 20px;
}

.recommended h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: left;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px; /* 左に少し余白 → シンプルで綺麗 */
}

/* ============================
   Works一覧カード
============================ */
.item-list li {
  background: #fff !important;   /* 白基調に統一 */
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  transition: 0.3s ease;
}

.item-list li:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* サムネイル画像を整える */
.item-list img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* タイトル */
.item-list dt {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* 説明文 */
.item-list dd {
  color: #666;
  font-size: 16px;
}

/* ============================
   More ボタン
============================ */
.recommended .link-button-area {
  margin-top: 40px;
}

/* ============================
   フッター
============================ */
.footer {
  padding: 20px 0px;
}

.site-menu ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu ul li {
  display: flex;
  align-items: center; /* ← これで上下が完全に揃う!! */
}

.site-menu ul li a {
  display: flex;        /* 中身（文字 or 画像）を中央揃え */
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.twitter {
  width: 30px;
  height: auto;
}

.git {
  width: 25px;
  height: auto;
}




/* ================================
   ★ First View のアニメーション
================================ */

/* 背景に柔らかい光が動くアニメーション */
.first-view {
  position: relative;
  overflow: hidden;
  background: #242323;
}

.first-view::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(230, 230, 230, 0.6) 40%,
    rgba(200, 200, 200, 0.3) 70%,
    transparent 100%
  );
  animation: bgMove 12s infinite linear;
}

@keyframes bgMove {
  0% { transform: translate(0,0); }
  50% { transform: translate(20%, 20%); }
  100% { transform: translate(0,0); }
}

/* -------------------------------
   文字アニメーション
-------------------------------- */

/* 共通アニメーション（フェード＋下から） */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s forwards ease-out;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* タイトル */
.first-view-text h1 {
  animation-delay: 0.3s; /* 最初に登場 */
}

/* サブテキスト */
.first-view-text p {
  animation-delay: 1.2s; /* タイトルのあとに登場 */
}

/* 念のため text-align を指定 */
.first-view-text {
  position: relative;
  z-index: 2;
  text-align: center;
}



.header-site-menu ul li a ,.site-menu li a{
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.header-site-menu ul li a:hover,.site-menu ul li a:hover {
  transform: translateY(-3px); /* 上にふわっと浮く */
  color: #8a7b7b; 
}

.twitter,
.git {
  display: inline-block;   /* これが必要！ */
  transition: transform 0.2s ease; 
}

.twitter:hover,
.git:hover {
  transform: translateY(-3px); /* ふわっと浮く */
}



/*リンク対策*/
.header-site-menu ul li a, .site-menu ul li a {
  color: inherit;        /* 親要素の色をそのまま使う */
  text-decoration: none; /* 下線を消す（必要なら） */
}


.work-link{
  color: inherit;        /* 親要素の色をそのまま使う */
  text-decoration: none; /* 下線を消す（必要なら） */
}