/*
Theme Name: NoteProject
Theme URI: https://example.com/
Author: NoteProject Team
Author URI: https://example.com/
Description: NoteProject用のカスタムWordPressテーマ（スライダー＋装飾付き）
Version: 1.2
*/

body {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  background-color: #fdfdfd;
  color: #222;
}

h1 {
  background: #000;
  color: #fff;
  padding: 1em;
  text-align: center;
}

/* スライダー */
.main-slider {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-wrapper {
  display: flex;
  transition: transform 1s ease;
}
.slider-wrapper a {
  min-width: 80%;
  margin: 0 10px;
}
.slider-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* カード */
.card-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 2em auto;
  max-width: 1200px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 30%;
  min-width: 280px;
  margin: 1em;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}
.card:hover {
  transform: scale(1.03);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-title {
  font-size: 1.5em;
  margin: 0.5em 0;
}
.card-description {
  font-size: 0.9em;
  padding: 0 1em 1em;
}


/* カードグリッド全体 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  padding: 2em 1em;
}

/* カード個別 */
.card-item {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-decoration: none;
  transition: transform 0.3s ease;
}
.card-item:hover {
  transform: translateY(-5px);
}
.card-item img {
  width: 100%;
  height: auto;
  display: block;
}
.card-text {
  padding: 1em;
  color: #333;
}
.card-text h3 {
  margin-top: 0;
  font-size: 1.2em;
}

/* スライドショー */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  overflow: hidden;
}
.slide {
  display: none;
  width: 100%;
  animation: fade 1s ease-in-out;
}
@keyframes fade {
  from { opacity: .4; }
  to { opacity: 1; }
}


.slideshow-container {
  margin-top: 1em;
}

.card-grid-section {
  padding-bottom: 3em;
}

.slideshow-container {
  position: relative;
  margin-top: 2em;
}
.logo-overlay {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-height: 150px;
  z-index: 10;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  padding: 2em 1em;
}
.card-grid-section {
  padding-bottom: 4em;
}


body, main, .slideshow-container {
  margin: 0;
  padding: 0;
}

.site-header {
  background: #fff;
  text-align: center;
  padding: 1em 0;
}

.simple-logo {
  max-height: 100px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  padding: 2em 1em;
}

.card-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  height: 100%;
}

.card-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-text {
  flex-grow: 1;
  padding: 1em;
}


.slideshow-container {
  height: 300px; /* 一番小さい画像に合わせた固定高さ（仮） */
  overflow: hidden;
}

.slide {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.section-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1em;
}

.card-item {
  height: 600px; /* 通常の2倍に */
}


.slideshow-container {
  height: 800px;
}

.card-grid {
  justify-content: center;
}

.card-item {
  height: 600px;
  width: 70%;
  margin: auto;
}

.card-item img {
  height: 400px; /* 大部分を画像に */
}

.card-text {
  flex-grow: 1;
  padding: 1em;
  font-size: 0.95em;
}


.card-item {
  height: 400px; /* 縦幅を縮小 */
  width: 70%;
  margin: auto;
}

.card-item img {
  height: 300px; /* 画像部分を大きめに保つ */
}

.card-text {
  flex-grow: 1;
  padding: 0.5em;
  font-size: 0.9em;
}


.lesson-section {
  display: flex;
  gap: 2em;
  align-items: center;
  margin: 2em 0;
  flex-wrap: wrap;
}

.lesson-image {
  width: 40%;
  border-radius: 10px;
  object-fit: cover;
}

.lesson-text {
  width: 55%;
}

.youtube-video {
  margin: 2em auto;
  text-align: center;
}


.contact-form-container {
  max-width: 600px;
  margin: 2em auto;
  padding: 1em;
  background: #f9f9f9;
  border-radius: 8px;
}
