/* リセットと基本スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f0f0f0;
  user-select: none; /* 全ての要素で文字選択を無効化 */
}

/* 画像のドラッグを無効化 */
img {
  pointer-events: none; /* マウスイベントを無効化 */
  user-drag: none; /* 画像のドラッグを無効化 */
}

a,
a:hover {
  text-decoration: none;
}
.container {
  width: 90%;
  margin: 0 auto;
  max-width: 700px;
}

/* ヘッダースタイル */
.header {
  background: #333;
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header .contain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
}

.header .logo {
  font-size: 2rem;
  font-weight: bold;
}

.header .nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header .nav ul li {
  margin-left: 20px;
}

.header .nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem;
  transition: color 0.3s ease, background 0.3s ease;
}

.header .nav ul li a:hover {
  color: #333;
  background: #ffd700;
  border-radius: 5px;
}

.header .nav ul li .login-btn {
  padding: 0.5rem 1rem;
  background: #ffd700;
  color: #333;
  border-radius: 5px;
}

.header .nav ul li .login-btn:hover {
  background: #fff;
}

.logo-icon {
  width: 40px;
}
/* ハンバーガーメニュースタイル */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.4s;
}

/* ボディのパディング調整 */
body {
  padding-top: 80px;
}

/* フラッシュメッセージスタイル */
.flash-message {
  margin: 20px 0;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.flash-message.success {
  background-color: #4caf50;
  color: white;
}

.flash-message.danger {
  background-color: #f44336;
  color: white;
}

.flash-message.warning {
  background-color: #ff9800;
  color: white;
}

/* ヒーローセクションスタイル */
.hero {
  background: url("hero-bg.jpg") no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 3px 3px #f00;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px #000;
}

.hero .btn {
  background: #ffd700;
  color: #333;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background: #fff;
}

/* セクションスタイル */
section {
  padding: 60px 0;
}

.about,
.services,
.contact {
  text-align: center;
}

.service-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service-item {
  background: #fff;
  padding: 20px;
  margin: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 30%;
}

/* エントリースタイル */
.entry-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.entry-item img {
  max-width: 100%;
}

.entry-item h4 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.entry-item p {
  margin-bottom: 5px;
}

.item-tag {
  text-align: right;
  font-size: 0.7rem;
  color: #666;
}
.item-created {
  font-size: 0.7rem;
  color: #666;
}
/* フッタースタイル */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer p {
  margin: 0;
}

/* レスポンシブデザイン */
@media (max-width: 888px) {
  .header .nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #333;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
  }

  .header .nav ul.show {
    display: flex;
  }

  .header .nav ul li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .hamburger {
    display: flex;
  }

  .service-item {
    width: 45%;
  }
}

@media (max-width: 576px) {
  .service-item {
    width: 100%;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
