@charset "UTF-8";

/* ========== フォント読み込み ========== */
@font-face {
  font-family: 'CustomFont';
  src: url('../fonts/nikumaru.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* ========== ベース設定 ========== */
body {
  margin: 0;
  font-family: 'CustomFont', sans-serif;
  background-color: #faf7f3;
}


/* ここまで */
/* ========== お問い合わせセクション ========== */

.blog_admin {
  background-color: white;
  padding: 50px 20px;
  border-radius: 30px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 100px;
  font-size: 18px;
}
.blog_admin h2{
  text-align: center;
  margin-bottom: 50px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 5px;
  color: rgb(54, 54, 54);
}
.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: sans-serif;
  font-size: 16px;
}
.form-group textarea {
  resize: vertical;
}
.form-group button {
  align-self: center;
  padding: 10px 30px;
  background-color: rgb(167, 124, 68);
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.form-group button:hover {
  background-color: rgb(143, 105, 56);
}
.blog_admin a{
  color: rgb(56, 56, 56);
}

/* ========== レスポンシブ対応 ========== */
@media screen and (max-width: 1100px) {
  main {
    padding: 0 20px;
  }
}

@media screen and (max-width: 600px) {
  .title_letter {
    font-size: 1.5em;
  }
  .title {
    margin-bottom: 50px;
    padding-top: 190px;
  }
  .title h1 {
    font-size: 1.3em;
  }
  .title img {
    width: 45px;
  }
  .contact {
    font-size: 15px;
  }
}

@media screen and (max-width: 420px) {
  .contact h2 {
    font-size: 1.2em;
  }
}

/* ここまで */

.blog_admin2 {
  background-color: white;
  padding: 50px 20px;
  border-radius: 30px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 100px;
  font-size: 18px;
}
.blog_admin2 h2{
  text-align: center;
  margin-bottom: 50px;
}
.blog_admin2 a{
  color: rgb(56, 56, 56);
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
  gap: 40px 20px;
  justify-content: center;
}

    .blog-card {
      padding: 15px;
      text-decoration: none;
      color: inherit;
      background: #f9f9f9;
      transition: box-shadow 0.3s;
      border-radius: 20px;
      max-width: 300px;
    }

    .blog-card:hover {
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    }

    .blog-card img {
      width: 270px;
      height: 180px;
      border-radius: 20px;
      object-fit: cover;
    }

    .blog-card h3 {
      margin: 10px 0 5px;
      font-size: .9em;
      color: #2c2c2c;
    }

    .blog-actions {
      text-align: center;
      margin-bottom: 10px;
    }

.blog_photo {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 3 / 2; /* 幅3:高さ2 の比率 (450:300) */
  margin: 60px auto 40px;
}

.blog_photo img {
  border-radius: 30px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
    .article{
      max-width: 500px;
      margin: 0 auto;
    }

.blog-actions {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

.content{
  color: #1d1d1d;
  font-size: .9em;
  margin-top: 30px;
}

.blog-actions a {
  margin: 0 5px;
  color: #2c70b9;
  text-decoration: none;
}

.blog-actions a:hover {
  text-decoration: underline;
}

.date{
  font-size: .9em;
  margin-top: 10px;
  color: #636363;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #333;
  background-color: white;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.page-btn:hover:not(:disabled) {
  background-color: #333;
  color: white;
}

.page-btn:disabled {
  background-color: #ccc;
  color: #888;
  cursor: not-allowed;
  border-color: #ccc;
}

.page-btn.current {
  background-color: #333;
  color: white;
  cursor: default;
  border-color: #333;
}


/* ここまで */

.title{
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 20px;
  margin-bottom: 100px;
  padding-top: 190px;
}
.title_letter{
  font-size: 2em;
}
.title h1{
  color: rgb(54, 54, 54);
  font-size: 1.5em;
}
.title p{
  color: rgb(133, 108, 76);
}
.title img{
  width: 70px;
}
@media screen and (max-width: 600px) {
  .title_letter {
    font-size: 1.5em;
  }
  .title {
    margin-bottom: 50px;
    padding-top: 190px;
  }
  .title h1 {
    font-size: 1.3em;
  }
  .title img {
    width: 45px;
  }
  .contact {
    font-size: 15px;
  }
}
