@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
  --primary-color: #fc914d;
  --primary-dark: #c9743d;
  --bg-color: #fdf4d5;
  --text-color: #333333;
  --nav-bg: #ffffff;
  --footer-bg: #f9f9f9;
  --container-width: 1140px;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* WordPress Block Gap Emulation */
p, ul, ol, figure {
  margin-top: 0;
  margin-bottom: 1.5em;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', 'Noto Sans JP', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background-color: var(--nav-bg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-header-logo {
  margin: 0;
}

.site-header-logo img {
  height: 60px;
  max-width: 100%;
}

/* Navigation */
.nav-toggle, .nav-toggle-label {
  display: none;
}

.global-nav {
  display: flex;
}

.global-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.global-nav-list a {
  color: var(--text-color);
  font-weight: 700;
  padding: 10px 5px;
  display: block;
}

.global-nav-list a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Main Content */
.site-body {
  padding: 40px 0;
}

.main-section {
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.main-section > :first-child {
  margin-top: 0;
}

.hero-image-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

.top-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* Grid & Columns */
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.column {
  flex: 1;
  min-width: 280px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 9999px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-bottom: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  text-decoration: none;
}

.btn-green {
  background-color: #00d084;
  color: #fff !important;
}

.btn-orange {
  background-color: #fc914d;
  color: #fff !important;
}

.btn-dark {
  background-color: #32373c;
  color: #fff !important;
}

.btn-outline {
  background-color: transparent;
  border-color: #32373c;
  color: #32373c !important;
}

.card {
  text-align: left;
  margin-bottom: 20px;
}

.card img {
  border-radius: 8px;
  margin-bottom: 15px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

h2 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Whats New */
.whatsnew {
  margin-top: 40px;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background: #fffaf0;
}

.whatsnew h1 {
  font-size: 1.5rem;
  margin-top: 0;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.whatsnew hr {
  border: 0;
  border-top: 1px dashed #ccc;
  margin: 0;
}

.whatsnew dl {
  margin: 0;
}

.whatsnew dt {
  font-weight: bold;
  color: #666;
  margin-bottom: 5px;
}

.whatsnew dd {
  margin: 0;
}

.whatsnew a {
  color: inherit;
  display: block;
  padding: 12px 0;
}

.whatsnew a:hover {
  text-decoration: none;
  color: var(--primary-color);
}

.newmark {
  color: red;
  font-weight: bold;
  font-size: 0.9em;
  margin-right: 5px;
}

/* Footer */
.site-footer {
  background-color: var(--footer-bg);
  padding: 40px 0 20px;
  border-top: 1px solid #ddd;
}

.site-footer h4 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  color: var(--text-color);
}

.site-footer ul li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.site-footer p {
  font-size: 0.9em;
}

.footer-info {
  margin-bottom: 20px;
}

.copyright {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .site-header-container {
    justify-content: space-between;
  }
  
  .nav-toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    margin-right: 10px;
  }
  
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--primary-color);
    height: 3px;
    width: 100%;
    position: absolute;
    transition: transform 0.3s ease-in-out;
  }
  
  .nav-toggle-label span::before {
    content: '';
    top: -10px;
  }
  
  .nav-toggle-label span::after {
    content: '';
    bottom: -10px;
  }
  
  .global-nav {
    display: none;
    width: 100%;
    margin-top: 10px;
  }
  
  .global-nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .global-nav-list a {
    padding: 15px 10px;
    border-top: 1px solid #eee;
  }
  
  .nav-toggle:checked ~ .global-nav {
    display: block;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    bottom: 0;
  }
  
  .main-section {
    padding: 20px;
  }
}


/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: #eadcdc;
}

.data-table th,
.data-table td {
  border: 2px solid #ffffff;
  padding: 10px;
  text-align: left;
}

.data-table th {
  background-color: var(--primary-dark);
  color: #fff;
}

/* お知らせ記事内のスタイル (WordPressからの移行用) */
.news-content {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 20px;
}
.news-content p {
  margin-bottom: 1.5em;
}
.news-content a {
  color: #3b82f6;
  text-decoration: underline;
}
.news-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 1em 0;
}
.news-content figure {
  margin: 1em 0;
}
.news-content figcaption {
  font-size: 0.85em;
  color: #666;
  text-align: center;
  margin-top: 0.5em;
}

