body {
  font-family: sans-serif;
  margin: 40px;
  background: #f5f5f5;
}

header {
  background: white;
  padding: 20px;
  border-radius: 8px;
}

h1 {
  color: #333;
}

section {
  margin-top: 30px;
  background: white;
  padding: 20px;
  border-radius: 8px;
}

footer {
  margin-top: 40px;
  text-align: center;
  color: #777;
}

.site-footer {
  background: #111827; /* ヘッダーと統一感 */
  padding: 20px 0;
  margin-top: 40px;
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-link {
  color: #3e3f41;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #2b2424;
}

/*トップロゴ*/
.logo-index {
  font-family: "Kaisei Decol", serif;
  font-weight: 700;
}

/*トップリンク リンク集*/
.nav {
  list-style: none;
  display: flex;              /* 横並びにする */
  gap: 24px;                  /* 項目の間隔 */
  padding: 0;
  margin: 0;
}

.nav li {
  margin: 0;
}

.nav a {
  position: relative;
  color: #111827;             /* 落ち着いた黒 */
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s ease;
}

/* 下線アニメーション */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #00695c;        /* 自然な緑系のアクセント */
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

/*index トップ*/
/* サービスリンク全体 */
.service-links {
  padding: 40px 0;
}

/* 横並びのグリッド */
.service-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

/* カード本体 */
.service-card {
  display: block;
  width: 260px;
  text-align: center;
  text-decoration: none;
  color: #111827;
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー時の動き */
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* 画像 */
.service-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* タイトル */
.service-card h3 {
  font-size: 18px;
  margin: 0;
}

/* 楽譜制作カードだけ黒い下半分を追加 */
.score-card {
  position: relative;
  overflow: hidden;
}

/* 下半分の黒レイヤー */
.score-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%; /* 下半分だけ */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* タイトルを黒レイヤーの上に表示 */
.score-card h3 {
  position: relative;
  z-index: 2;
  color: #fff;
}




/*illust イラスト*/
/*サムネ表示*/
.thumb {
  width: 200px;          /* サムネイルの横幅 */
  height: 200px;         /* サムネイルの高さ（正方形） */
  object-fit: cover;     /* 枠いっぱいにトリミングして表示 */
  border-radius: 8px;    /* 角丸（任意） */
  border: 1px solid #e5e7eb;
  background: #f0f0f0;
}

.thumb {
  cursor: pointer;
}

.thumb:hover {
  opacity: 0.85;
  transition: 0.2s;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}



/* ライトボックスの背景 */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;          /* 最初は非表示 */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.arrow {
  color: white;
  font-size: 48px;
  cursor: pointer;
  user-select: none;
  padding: 20px;
}

#prev {
  position: absolute;
  left: 20px;
}

#next {
  position: absolute;
  right: 20px;
}

/* 表示する画像 */
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#lightbox-img {
  opacity: 0;
  transition: opacity 0.15s ease;
}

#lightbox.show #lightbox-img {
  opacity: 1;
}

/* 料金表 */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.price-table th {
  background: #111827;
  color: #fff;
  padding: 12px;
  text-align: left;
}

.price-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.price-table tr:nth-child(even) {
  background: #f9fafb;
}

/*Skebリンク*/

.skeb-link-box {
  margin-top: 30px;
  text-align: center;
}

.skeb-btn-natural {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px; /* 少しゆったり */
  background: #e0f2f1;
  color: #00695c;
  font-weight: 600;
  border-radius: 999px;
  font-size: 16px; /* 文字も少し大きく */
  transition: background 0.2s ease, color 0.2s ease;
}


.skeb-btn-natural:hover {
  background: #b2dfdb; /* 少し濃くなる */
  color: #004d40;
}

.skeb-icon {
  width: 40px;   /* ← 20px → 32px に拡大 */
  height: 40px;
}

/*リンクの色*/
.skeb-title-link {
  color: #111827; /* 通常の見出しと同じ色 */
  text-decoration: none;
  transition: color 0.2s ease;
}

.skeb-title-link:hover {
  color: #00695c; /* 自然な緑系に変化 */
}

/*お仕事情報*/
/* プロフィール */
.profile-section {
  padding: 40px 0;
}

.profile-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 左基準に戻す */
  padding-left: 80px;          /* ←これで右にズラす */
  gap: 30px;
}

.profile-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-text h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.profile-text p {
  line-height: 1.7;
  color: #444;
}

/* お仕事情報 */
.works-section {
  padding: 40px 0;
}

.works-section .container {
  padding-left: 40px; 
}

.works-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-list li {
  margin-bottom: 24px;
}

.works-list h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.works-list p {
  color: #444;
  line-height: 1.6;
}

.works-section {
  padding: 40px 0;
}

.works-section h2 {
  margin-bottom: 10px;
}

.works-section p {
  margin-bottom: 20px;
  color: #444;
}

.works-block {
  margin-bottom: 30px;
}

.works-block h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111827;
  border-left: 4px solid #00695c; /* 自然なアクセント */
  padding-left: 10px;
}

.works-block ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.7;
  color: #333;
}

.works-block ul li {
  margin-bottom: 6px;
}

/*contact お問い合わせ*/
/*パディング（余白）*/
.contact-section {
  padding: 4rem 0;
}


.section-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.05em;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fafafa;
}

.form-group textarea {
  width: 100%;
  min-height: 180px;   
  resize: vertical;
  padding: 0.8rem 1rem;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #8aa8ff;
  background: #fff;
  outline: none;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 0.9rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  background: #6c8cff;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: #5a78e0;
}

.success-message {
  text-align: center;
  margin-top: 20px;
  font-size: 1.2rem;
  color: #2e7d32;
}
