/* ベーススタイル */
body {
  font-family: 'Arial', sans-serif;
  margin-left: 30px;
  margin-right: 30px;
  padding: 0;
  background-color: #f0f0f0;
}

header {
  background-color: #222;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 1.8rem;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
}

.nav-links a:hover {
  background-color: #444;
  border-radius: 5px;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  z-index: 1;
}

.dropdown-content a {
  display: block;
  color: white;
  padding: 10px;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #555;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ヒーローセクション */
.hero {
  background: url('images/kagu.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #222;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
}

.cta-button {
  padding: 15px 30px;
  background-color: #ff6347;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.3rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ff4500;
}

/* サービスセクション */
.services-section {
padding: 60px 20px;
text-align: center;
background-color: #fff;
}

.services-section h2 {
font-size: 2.5rem;
color: #333;
margin-bottom: 50px;
}

.service-cards {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}

.service-card {
background-color: #fafafa;
padding: 30px;
width: 300px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
font-size: 2.5rem;
margin-bottom: 15px;
color: #ff6347;
}

.service-card h3 {
font-size: 1.6rem;
color: #333;
margin-bottom: 10px;
}

.service-card p {
font-size: 1rem;
color: #666;
}

.service-button {
margin-top: 15px;
padding: 10px 20px;
font-size: 0.9rem;
background-color: #ff6347;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.service-button:hover {
background-color: #ff4500;
}

/* Aboutセクションのスタイル */
.about {
text-align: center;
padding: 60px 20px;
border-bottom: 2px solid #e9ecef;
}

.about h1 {
font-size: 2.5rem;
color: #34495e;
margin-bottom: 20px;
letter-spacing: 1px;
}

.about p {
font-size: 1.1rem;
color: #666;
margin: 0 auto;
max-width: 700px;
}

/* Contactセクションのスタイル */
.contact {
padding: 50px 20px;
background-color: #f3f4f6;
text-align: center;
}

.contact div:first-child {
font-size: 1.8rem;
color: #34495e;
margin-bottom: 10px;
}

.contact .discription {
margin: 10px 0;
font-size: 1rem;
color: #666;
}

.contact .discription a {
color: #1da1f2;
text-decoration: none;
font-weight: bold;
}

.contact .discription a:hover {
text-decoration: underline;
}

.contact strong {
font-weight: bold;
color: #34495e;
}

.contact p {
font-size: 1.1rem;
color: #666;
margin-top: 20px;
}

/* フッター */
footer {
background-color: #222;
color: white;
padding: 30px;
text-align: center;
}

.feedback-link {
color: #ff6347;
text-decoration: none;
}

.feedback-link:hover {
text-decoration: underline;
}

@media (max-width: 480px) {
.about, .contact {
  padding: 30px 10px;
}

.about h1 {
  font-size: 1.8rem;
}

.about p {
  font-size: 0.9rem;
}

.contact div:first-child {
  font-size: 1.3rem;
}

.contact p {
  font-size: 0.9rem;
}
}

/* スマホ対応 (最大幅: 600px) */
@media only screen and (max-width: 600px) {
body{
  margin-left: 0;
  margin-right: 0;
}
header {
  flex-direction: column;
  align-items: flex-start;
}

.nav-links {
  flex-direction: column;
  width: 100%;
}

.nav-links li {
  margin-left: 0;
  margin-top: 10px;
}

.hero h1 {
  font-size: 2rem;
}

.hero p {
  font-size: 1rem;
}

.cta-button {
  font-size: 1rem;
  padding: 8px 16px;
}

.services-section h2 {
  font-size: 2rem;
}

.service-card {
  max-width: 90%;
}

.about, .contact {
  padding: 40px 15px;
}

.about h1 {
  font-size: 2rem;
}

.about p {
  font-size: 1rem;
}

.contact div:first-child {
  font-size: 1.5rem;
}

.contact p {
  font-size: 1rem;
}
}

/* タブレット対応 (最大幅: 900px) */
@media only screen and (max-width: 900px) {
body{
  margin-left: 0;
  margin-right: 0;
}

header {
  padding: 10px;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.2rem;
}

.cta-button {
  font-size: 1.1rem;
  padding: 9px 18px;
}

.services-section h2 {
  font-size: 2.2rem;
}

.service-card {
  max-width: 80%;
}
}

/* 大画面 (最小幅: 1200px) */
@media only screen and (min-width: 1200px) {
body{
  margin-left: 150px;
  margin-right: 150px;
}

.hero h1 {
  font-size: 4rem;
}

.hero p {
  font-size: 2rem;
}

.cta-button {
  font-size: 1.5rem;
  padding: 15px 30px;
}

.services-section h2 {
  font-size: 3rem;
}

.service-card {
  max-width: 400px;
}
}

@media only screen and (min-width: 1500px) {
body{
  margin-left: 200px;
  margin-right: 200px;
}
}
