* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: white;
}

header {
  background-color: black;
  border-bottom: 1px solid #ccc;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 10px;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
}

main {
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #ccc;
  padding: 20px;
  max-width: 800px;
  width: 100%;
  min-height: 160px;
}

.service img {
  max-width: 30%;
  height: auto;
  margin-right: 20px;
}

.service h2 {
  color: black;
  margin-bottom: 5px;
  font-size: 2rem;
}

/* ホームページ用セクション */
.home {
   background-image: linear-gradient( 179.6deg,  rgba(0,197,233,1) -3.4%, rgba(196,246,255,1) 88.3% );
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.home img {
  max-width: 30%;
  height: auto;
  margin: 20px 0;
}

.home h1 {
  font-family: "Garamond", serif;
  font-size: 10rem;
  margin-bottom: 20px;
  color: white;
  font-weight: normal; /* Garamondは通常太字より普通がきれいです */
}



.about {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  padding: 1rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #000;
}

.about h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #000;
}

.about p {
  margin-bottom: 1rem;
}

.about em {
  font-style: normal;
  font-weight: bold;
  color: #000;
}

.center-line {
  text-align: center;
  margin: 0.5em 0;
}

.gracy-line {
  position: relative;
  text-align: center;
}

.gracy-text {
  display: inline-block;
  position: relative;
}

.gracy-line .note {
  position: absolute;
  top: 50%;
  left: 60%; /* Gracyの直後 */
  transform: translateY(-50%);
  margin-left: 0.5em; /* ← 微調整で寄せる */
  font-size: 0.9em;
  color: #000;
  white-space: nowrap;
}



/* ねぎたんページ */
.negitan {
  background-image: radial-gradient( circle farthest-corner at 10% 20%,  rgba(128,248,174,1) 0%, rgba(223,244,148,1) 90% );
  /*background-color: #53FE028C;*/
  color: black;
  text-align: center;
  padding: 60px 20px;
}

.negitan img.main {
  max-width: 30%;
  margin: 20px 0;
}

.negitan p {
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: bold; 
}

.sns-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 50px 0;
}

.sns-icons .icon {
  text-align: center;
}

.sns-icons img {
  width: 100%;               /* 親要素の幅に合わせて調整 */
  height: auto;              /* アスペクト比を維持する */
  max-width: 150px;          /* 画像が大きすぎる場合は最大幅を制限 */
  display: block;            /* レイアウトの崩れ防止 */
  margin: 0 auto;            /* 中央寄せ */
}

.sns-icons .icon img.negitan-face {
  width: 40px;
  height: auto;
  display: block;
  margin: 0 auto 5px;
}

.contact {
  background-image: linear-gradient(#98fdfd,#f7ffaf);
  padding: 50px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
  margin-top: 30px;
}

.contact iframe {
  width: 100%;
  height: 800px;
  border: none;
}

.character-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.character-card {
  width: 300px;
  border: 2px solid #000;
  text-align: center;
  padding: 0.5rem;
  background: #fff;
  border-radius: 4px;
  box-sizing: border-box;
}

.character-card img {
  width: 100%;
  height: auto;
}

.character-card hr {
  margin: 0.3rem 0;
  border: none;
  border-top: 2px solid #000;
}

.char-label {
  font-size: 20px;
  color: #000;
  text-align: left;
  padding-left: 10px;
}


.char-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.2rem 0;
  color: #000;
}

.char-desc {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #000;
}


footer {
  background-color: #f0f0f0;   /* 背景色（好みに合わせて） */
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

footer p {
  margin: 0;
}

@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  .home h1 {
    font-size: 5rem; /* モバイルで巨大な文字を小さめに */
  }

  .service {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .service img {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .negitan img.main {
    max-width: 80%;
  }

  .character-section {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .character-card {
    width: 90%;
  }

  .char-desc {
    font-size: 1.2rem;
  }

  .sns-icons {
    flex-direction: column;
    gap: 15px;
  }

  .contact iframe {
    height: 500px; /* 高さを小さく調整 */
  }

  .char-label {
    font-size: 1rem;
    text-align: left;
  }

  .char-name {
    font-size: 1.3rem;
  }

  .about {
    font-size: 1rem;
    padding: 0 1rem;
  }

  main {
    padding-top: 120px; /* ヘッダーの高さより十分広くとる */
  }
}
