*,
::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: "Noto Sans JP", "Roboto", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9
}

html, body {
  height: 100%;       /* 全体を100%の高さにする */
  margin: 0;
}

.wrapper {
  min-height: 100%;   /* ビューポートいっぱいまで広がる */
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;            /* 余白をここで吸収する */
}

a {
    text-decoration: none;
    color: inherit
}

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

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0
}

.info-column h3 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    display: block;
    width: 100%
}

@media (max-width:767px) {
    .info-column h3 {
        text-align: center
    }
}

.info-column li:last-child {
    margin-bottom: 0
}

@media (max-width:767px) {
    .info-columns {
        flex-direction: column;
        gap: 20px
    }

    .info-column {
        min-width: unset;
        width: 100%
    }

    .info-column h3 {
        text-align: left
    }
}

@media (min-width:768px) {
    .sp-only {
        display: none !important
    }

    .pc-only {
        display: block !important
    }

    .hero-content h2 {
        font-size: 4.5rem
    }

    .hero-content p {
        font-size: 1.8rem
    }

    .genre-list {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (min-width:1024px) {
    .section {
        padding: 80px 0
    }

    .hero {
        height: 80vh
    }

    .section-title {
        font-size: 2.5rem
    }

    .genre-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
    }
}

@media (max-width:767px) {
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(255, 255, 255, .95);
        padding-top: 80px;
        transition: right .3s ease-in-out;
        z-index: 999;
        box-shadow: -2px 0 10px rgba(0, 0, 0, .1)
    }

    .global-nav.is-active {
        right: 0
    }

    .global-nav ul,
    .nav-toggle {
        flex-direction: column
    }

    .global-nav li {
        margin: 0;
        border-bottom: 1px solid var(--border-color)
    }

    .global-nav a {
        padding: 15px 20px;
        font-size: 1.1rem
    }

    .nav-toggle {
        display: flex;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: 0 0;
        border: 0;
        cursor: pointer;
        position: relative;
        z-index: 1001
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: all .3s
    }

    .nav-toggle.is-active span:nth-of-type(1) {
        transform: translateY(9px) rotate(45deg)
    }

    .nav-toggle.is-active span:nth-of-type(2) {
        opacity: 0
    }

    .nav-toggle.is-active span:nth-of-type(3) {
        transform: translateY(-9px) rotate(-45deg)
    }

    .hero {
        height: 50vh
    }

    .hero-content h2 {
        font-size: 2rem
    }

    .hero-content p {
        font-size: 1.1rem
    }

    .about-section p {
        text-align: left
    }

    .link-buttons {
        flex-direction: column;
        gap: 15px
    }

    .btn {
        min-width: unset;
        width: 100%
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start
    }

    .news-item time {
        margin-bottom: 5px
    }

    .footer .container,
    .footer-links {
        flex-direction: column;
        gap: 10px
    }

    .footer-links {
        gap: 5px
    }
}

@media (max-width:768px) {
    .footer-links {
        flex-direction: column;
        gap: 20px
    }

    .social-icons {
        gap: 20px
    }
}

:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #eee;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 2rem;
    --max-width: 1200px;
    --amazon-color: #ff9900
}

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

.content{
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px
}
@media (max-width:767px) {
    .content {
        padding: 0 5px
    }
}



.section {
    padding: 60px 0
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--primary-color)
}

.bg-light-gray {
    background-color: var(--light-gray)
}

.sp-only {
    display: none
}

.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000
}

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

.site-logo {
    font-size: var(--font-size-lg);
    font-weight: 700
}

.global-nav a,
.site-logo a {
    color: var(--primary-color)
}

.global-nav ul {
    list-style: none;
    display: flex
}

.global-nav li {
    margin-left: 30px
}

.global-nav a {
    display: block;
    padding: 5px 0;
    font-weight: 400;
    transition: color .3s
}

.global-nav a:hover,
.news-item a:hover {
    color: var(--accent-color)
}

.nav-toggle {
    display: none
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.hero-collage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.6) grayscale(.2)
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .5)
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: var(--font-size-base)
}

.link-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: background-color .3s, color .3s;
    min-width: 220px
}

.btn-amazon {
    background-color: var(--amazon-color);
    border-color: #ff8400;
    color: #fff
}

.btn-amazon:hover {
    background-color: #ff6e21;
    border-color: #ff6e21
}

.btn-kosho {
    background-color: #fff;
    color: var(--accent-color)
}

.btn-kosho:hover {
    background-color: var(--accent-color);
    color: #fff
}

.genre-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center
}

.genre-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform .3s, box-shadow .3s
}

.genre-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08)
}

.genre-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    opacity: .7
}

.form-group label,
.genre-item h3,
.info-column h3 {
    font-size: var(--font-size-lg);
    color: var(--primary-color)
}

.form-group label,
.genre-item h3 {
    font-weight: 700
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color)
}

.news-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center
}

.news-item time {
    font-size: .9rem;
    color: #666;
    margin-right: 20px;
    flex-shrink: 0
}

.info-column li,
.news-item a {
    font-size: var(--font-size-base);
    color: var(--text-color)
}

.news-item a {
    transition: color .3s
}

.news-more {
    text-align: right;
    margin-top: 20px
}

.news-more a {
    color: var(--accent-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center
}

.calendar-embed {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer {
    background: linear-gradient(135deg, #2c3e50 0, #34495e 100%);
    background: #000;
    color: gray;
    padding: 60px 0 40px;
    text-align: center
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: all .3s ease
}

.social-icon:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-5px)
}

.footer-links,
.social-icon,
.social-icons {
    display: flex;
    justify-content: center
}

.social-icons {
    gap: 28px;
    margin: 20px 0
}

.footer-links a,
.social-icons a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    transition: color .3s
}

.social-icons a:hover {
    color: #007bff
}

.footer-links {
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap
}

.footer-links a {
    color: gray;
    font-size: 80%;
    transition: color .3s ease
}

.footer-links a:hover {
    color: #fff
}

.footer-address,
.footer-contact {
    font-size: .8rem;
    color: gray;
    margin-bottom: 10px
}

.footer-contact {
    margin-bottom: 40px
}

.footer-copyright {
    font-size: .7rem;
    color: gray;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px
}

.info-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto
}

.info-column {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px
}

.info-column h3 {
    margin-bottom: 20px;
    text-align: center
}

.info-column ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.info-column li {
    margin-bottom: 10px;
    line-height: 1.8
}

.info-column.calendar-embed {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 250px
}

.list-with-marker {
    list-style: disc !important;
    padding-left: 20px !important
}

@media (max-width:767px) {
    .info-columns {
        flex-direction: column;
        gap: 20px
    }

    .info-column {
        min-width: unset;
        width: 100%
    }

    .info-column h3 {
        text-align: left
    }
}

.contact-intro-text {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: var(--font-size-base);
    color: var(--text-color)
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05)
}




.form-group {
    margin-bottom: 25px
}

.form-group label {
    display: block;
    font-size: var(--font-size-base);
    margin-bottom: 8px
}

.form-group input[type=email],
.form-group input[type=text],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: var(--font-size-base);
    color: var(--text-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05);
    transition: border-color .3s, box-shadow .3s
}

.form-group input[type=email]:focus,
.form-group input[type=text]:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, .2);
    outline: 0
}

.form-group textarea {
    resize: vertical;
    min-height: 120px
}

.required-tag {
    font-size: .8rem;
    background-color: #e74c3c;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle
}

.form-privacy-policy {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: .9rem
}

@media screen and (max-width: 768px) {
    .form-privacy-policy {
        font-size: .8rem
    }
}

.form-privacy-policy input[type=checkbox] {
    margin-right: 8px;
    vertical-align: middle
}

.form-privacy-policy label a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color .3s
}

.form-privacy-policy label a:hover {
    color: #2980b9
}

.form-submit {
    text-align: center
}

.btn-primary-submit {
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
    padding: 15px 40px;
    font-size: var(--font-size-lg);
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .3s, border-color .3s, transform .2s
}

.btn-primary-submit:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px)
}

@media (max-width:767px) {
    .contact-form {
        all: unset;
        /* 付与されたCSSをリセット */
        display: block;
        /* フォームはブロック要素に戻す */
        width: 100%;
        /* 横幅を全体に広げる */
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        width: 100%;
        /* 入力欄をスマホ幅いっぱいに */
        box-sizing: border-box;
    }
}

.form-group label {
    font-size: .95rem
}

.form-group input[type=email],
.form-group input[type=text],
.form-group textarea {
    padding: 10px;
    font-size: .95rem
}

.btn-primary-submit {
    width: 100%;
    font-size: var(--font-size-base);
    padding: 12px 20px
}

.form-privacy-policy {
    text-align: left
}


/*会社概要*/
.company-info {
    display: grid;
    grid-template-columns: 150px 1fr;
    /* PC用: ラベル + 内容を横並び */
    gap: 8px 16px;
}

.company-info dt {
    font-weight: bold;
}

.company-info dd {
    margin: 0;
}

/* スマホ (768px以下) の場合 */
@media screen and (max-width: 768px) {
    .company-info {
        display: block !important;
        /* grid や flex を強制解除 */
    }

    .company-info dt {
        margin-top: 1em;
    }

    .company-info dd {
        margin: 0 0 1em 0;
    }
}



.company-message {
    max-width: 800px;
    margin: 0 auto 60px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
    text-align: center
}

.company-message-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px
}

.company-message-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 10px auto 0
}

.company-message p {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: left
}

.company-message .company-signature {
    text-align: right;
    font-weight: 700;
    margin-top: 30px;
    color: var(--primary-color)
}

.company-map {
    max-width: 800px;
    margin: 0 auto 60px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
    text-align: center
}

.map-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px
}

.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 5px
}

.map-address {
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.8;
    text-align: center
}

@media (max-width:767px) {
    .company-info-table {
        padding: 20px
    }

    .company-info-table dl {
        grid-template-columns: 1fr;
        gap: 10px 0
    }

    .company-info-table dt {
        padding-left: 0;
        text-align: left
    }

    .company-info-table dt::before {
        content: ""
    }

    .company-map,
    .company-message {
        padding: 25px
    }

    .company-message p {
        font-size: .95rem
    }
}

@media (min-width:768px) {
    .sp-only {
        display: none !important
    }

    .pc-only {
        display: block !important
    }

    .hero-content h2 {
        font-size: 4.5rem
    }

    .hero-content p {
        font-size: 1.8rem
    }

    .genre-list {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (min-width:1024px) {
    .section {
        padding: 80px 0
    }

    .hero {
        height: 80vh
    }

    .section-title {
        font-size: 2.5rem
    }

    .genre-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
    }
}

@media (max-width:767px) {
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(255, 255, 255, .95);
        padding-top: 80px;
        transition: right .3s ease-in-out;
        z-index: 999;
        box-shadow: -2px 0 10px rgba(0, 0, 0, .1)
    }

    .global-nav.is-active {
        right: 0
    }

    .global-nav ul,
    .nav-toggle {
        flex-direction: column
    }

    .global-nav li {
        margin: 0;
        border-bottom: 1px solid var(--border-color)
    }

    .global-nav a {
        padding: 15px 20px;
        font-size: 1.1rem
    }

    .nav-toggle {
        display: flex;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: 0 0;
        border: 0;
        cursor: pointer;
        position: relative;
        z-index: 1001
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: all .3s
    }

    .nav-toggle.is-active span:nth-of-type(1) {
        transform: translateY(9px) rotate(45deg)
    }

    .nav-toggle.is-active span:nth-of-type(2) {
        opacity: 0
    }

    .nav-toggle.is-active span:nth-of-type(3) {
        transform: translateY(-9px) rotate(-45deg)
    }

    .hero {
        height: 50vh
    }

    .hero-content h2 {
        font-size: 2rem
    }

    .hero-content p {
        font-size: 1.1rem
    }

    .about-section p {
        text-align: left
    }

    .link-buttons {
        flex-direction: column;
        gap: 15px
    }

    .btn {
        min-width: unset;
        width: 100%
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start
    }

    .news-item time {
        margin-bottom: 5px
    }

    .footer .container,
    .footer-links {
        flex-direction: column;
        gap: 10px
    }

    .footer-links {
        gap: 5px
    }
}

@media (max-width:768px) {
    .footer-links {
        flex-direction: column;
        gap: 20px
    }

    .social-icons {
        gap: 20px
    }
}


/*お知らせ一覧*/

/*
.category-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.category-news-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.category-news-card a {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.category-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-body {
  padding: 16px;
}

.card-date {
  font-size: 0.85rem;
  color: #666;
  display: block;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.card-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}
*/

/*お知らせ一覧*/

.category-news-grid {
  display: block;
  margin-top: 20px;
}

.category-news-card {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.category-news-card:last-child {
  border-bottom: none;
}

.category-news-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 4px;
}

.card-date {
  font-size: 0.85rem;
  color: #666;
  white-space: nowrap;
}

.card-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

.card-excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}


/**　blog一覧　**/
.category-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.category-blog-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.category-blog-card a {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.category-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-body {
  padding: 16px;
}

.card-date {
  font-size: 0.85rem;
  color: #666;
  display: block;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.card-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}