/*
Theme Name: YellowSmile
Theme URI: https://example.com/
Author: InfinityDesign
Author URI: https://www.infinitydesign.jp/
Description: ビジネスライクでありながら、少しユーモアのある黄色基調のWordPressテーマ。
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yellowsmile
*/

:root {
  --main-yellow: #ffde59;
  --accent-yellow: #ffd633;
  --dark-gray: #2a2a2a;
  --light-gray: #f8f8f8;
  --white: #ffffff;
  --text-color: #333;
  --link-color: #d6a600;
  --transition: all 0.3s ease;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: var(--light-gray);
  color: var(--text-color);
  margin: 0;
  line-height: 1.8;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background-color: var(--main-yellow);
  padding: 25px 0 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  text-align: center;
}

header h1 {
  font-size: 2rem;
  margin: 0;
  letter-spacing: 0.03em;
}

header a {
  color: var(--dark-gray);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0 0;
  padding: 0;
  flex-wrap: wrap;
}

nav a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

nav a:hover {
  color: var(--link-color);
}

main {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 50px 30px;
  margin-top: 40px;
}

.section-title {
  font-size: 1.8rem;
  border-left: 6px solid var(--accent-yellow);
  padding-left: 12px;
  margin-bottom: 25px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 25px;
  margin-bottom: 30px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.button {
  display: inline-block;
  background: var(--main-yellow);
  color: var(--dark-gray);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 0 #dcbf00;
  transition: var(--transition);
  text-decoration: none;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 #bda000;
}

footer {
  background: var(--dark-gray);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  font-size: 0.9rem;
}

footer p {
  margin: 8px 0;
}

.logo-wink {
  display: inline-block;
  animation: wink 2.5s infinite ease-in-out;
}
@keyframes wink {
  0%, 90%, 100% { transform: rotate(0deg); }
  95% { transform: rotate(-8deg); }
}

@media (max-width: 768px) {
  nav ul { flex-direction: column; gap: 12px; }
  main { padding: 30px 15px; }
}
