@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/* トップページ導入 */
.intro-section {
  background-color: #F8F4F2; /* 温かみのある背景 */
  padding: 60px 20px;
  text-align: center;
}

.intro-inner {
  max-width: 800px;
  margin: 0 auto;
}

.intro-title {
  font-size: 1.8rem;
  color: #6B8E92; /* アクセントカラー */
  margin-bottom: 20px;
  font-weight: 600;
}

.intro-text {
  font-size: 1.1rem;
  color: #333;
  line-height: 2;
  white-space: normal;
}

.intro-text b {
  color: #A7C0B9; /* メインカラーで強調 */
  font-weight: 600;
}
/* トップページカテゴリ */
.top-categories {
  margin: 60px auto;
  padding: 0 16px;
  max-width: 960px;
}

.top-category-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6B8E92;
  text-align: center;
  margin-bottom: 32px;
}
.top-category-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px auto;
  width: 100%;
  max-width: 960px;
  padding: 0 16px;
}

.top-category-card {
  width: 100%;
  text-align: left;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
}

.top-category-card:hover {
  transform: translateY(-4px);
}

.top-category-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.top-category-card span {
  display: block;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color:#6B8E92;
}

/* PC（768px以上）で横並び＆左揃え */
@media screen and (min-width: 768px) {
  .top-category-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .top-category-card {
    width: calc(33.333% - 13.333px); /* gapを考慮 */
  }
}

