:root {
    --color-dark: #3a3936;
    --color-light: #f3f3f3;
    --color-card-bg: #F9F9F9;

    --font-main: "Shippori Mincho", serif;
    --font-sans: "Noto Sans JP", sans-serif;
}

html {
    font-size: 16px;
    scrollbar-gutter: stable;
    font-weight: 400;
    font-optical-sizing: auto;
}
ul { margin: 0; padding: 0;}
li {list-style: none;}
a { color: var(--color-dark); text-decoration: none;}

/*アンカースクロールずれ対策*/
section {
    scroll-margin-top: 80px;
} 
@media (max-width: 960px) {
    section {
        scroll-margin-top: 24px;
    }
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: var(--color-dark);
}

header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 80px 80px;
    width: 100%;
    background-color: var(--color-light);
}
@media (max-width: 960px) {
    header {        
        padding: 24px 24px 80px;
    }
}
@media (min-width: 1400px) {
    header {        
        padding: 80px calc((100vw - 1240px) / 2);
    }
}

header .site-title .upper {
    display: flex;
    height: 5.5rem;
    gap: 8px;
}

header .site-title .logo img {
    height: 5rem;
}

header .site-title .title-set {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
}

header .site-title .sub-title {
    font-size: 0.9rem;
    line-height: 1.0;
    letter-spacing: 12%;
}

header .site-title h1 {
    font-size: 1.6rem;
    line-height: 1.0;
    letter-spacing: 10%;
    font-weight: bold;
}

header .site-title h1 .jp-font {
    font-weight: black;
}

header .description {
    font-size: 0.9rem;
    line-height: 24px;
    letter-spacing: 15%;
}
@media (max-width: 520px) {
    header .description {
        font-size: 0.8rem;
    }
}

header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
@media (max-width: 420px) {
    header nav {
        /*justify-content: space-between;*/
        gap: 8px;
    }
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px;
    border-radius: 18px;
    border: 1px solid;
    /*font-family: var(--font-sans);*/
    background-color: var(--color-card-bg);
    font-size: 1.0rem;
    line-height: 1.5;
    letter-spacing: 5%;
    font-weight: bold;
    cursor: pointer;
}

.nav-btn:hover {
    background: var(--color-dark);
    color: var(--color-light);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

header .sns-lang-wrapper {
    display: flex;
    gap: 40px;
}
@media (max-width: 960px) {
    header .sns-lang-wrapper {
        justify-content: space-between;
    }
}

header ul.sns-icons {
    display: flex;
    gap: 20px;
}

header ul.sns-icons li {
    font-size: 1.25rem;
}

header .lang {
    display: flex;
    gap: 8px;
}

header .lang .lang-btn {
    font-size: 0.875rem;
    line-height: 2.0;
    letter-spacing: 5%;
}

.contents {
    padding: 0 80px;
    width: 100%;
    background-color: var(--color-light);
}
@media (max-width: 960px) {
    .contents {
        padding: 0 24px;
    }
}
@media (min-width: 1400px) {
    .contents {        
        padding: 0px calc((100vw - 1240px) / 2);
    }
}

.contents .content-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 64px;
}

.contents .content-header.title-only .title h2,
.contents .content-header.with-nav .title h2 {
    font-size: 3.0rem;
    line-height: 2.0;
    letter-spacing: 15%;
}
@media (max-width: 960px) {
    .contents .content-header.title-only .title h2,
    .contents .content-header.with-nav .title h2 {
        font-size: 2.0rem;
    }
}

.contents .content-header.index .title h2{
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: 15%;
    font-weight: bold;
}
.contents .content-header.index .sub-title {
    font-size: 1.375rem;
    line-height: 48px;
    letter-spacing: 17%;
}
.contents .content-header.index .description {
    font-size: 1.125rem;
    line-height: 24px;
    letter-spacing: 15%;
}
@media (max-width: 960px) {
    .contents .content-header.index .title h2{
        font-size: 1.875rem;
        line-height: 40px;
    }
    .contents .content-header.index .sub-title {
        font-size: 1.375rem;
        line-height: 24px;
    }
}
@media (max-width: 520px) {
    .contents .content-header.index .description {
        font-size: 0.8rem;
        line-height: 24px;
        text-align: center;
    }
}

.contents .content-header.with-nav ul.sub-nav {
    display: flex;
    gap: 8px;
}
@media (max-width: 960px) {
    .contents .content-header.with-nav ul.sub-nav {
        flex-direction: column;
    }
}

.contents .content-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 80px;
}

.contents .content-section .section-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contents .content-section .section-title .title h3 {
    font-size: 1.25rem;
    line-height: 30px;
    letter-spacing: 5%;
}

.contents .content-section .section-title .underline {
    margin-bottom: 16px;
}

.contents .content-section .description {
    font-size: 0.875rem;
    line-height: 28px;
}

.contents .content-section .card-set {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contents .content-section .card-set.grid,
.contents .content-section .card-set.sound {
    margin-top: 24px;
}

.contents .content-section .card-set.text-media {
    margin-top: 36px;
}

.contents .content-section .card-set.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 960px) {
    .contents .content-section .card-set.grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
}

.contents .content-section .card-set .card {
    border: 1px solid #EEE;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 2px 2px 4px #CCC;
    background-color: var(--color-card-bg);
}

.contents .content-section .card-set .card.media-text,
.contents .content-section .card-set .card.sound {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
}

.contents .content-section .card-set .card.text-media {
    display: flex;
    gap: 24px;
    padding-bottom: 40px;
}
@media (max-width: 960px) {
    .contents .content-section .card-set .card.text-media {
        flex-direction: column;
        gap: 40px;
    }

    .contents .content-section .card-set .card.text-media.sp-reverse {
        flex-direction: column-reverse
    }
}

.contents .content-section .card-set .card .text-set {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contents .content-section .card-set .card .text-set .title {
    font-size: 1.0rem;
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 5%;
    padding-bottom: 16px;
}

.contents .content-section .card-set .card .text-set .year-instruments-wrapper {
    display: flex;
    gap: 8px;
    padding-bottom: 16px;
}

.contents .content-section .card-set .card .text-set .year,
.contents .content-section .card-set .card .text-set .border,
.contents .content-section .card-set .card .text-set .instruments {
    font-size: 0.75rem;
    line-height: 18px;
}

.contents .content-section .card-set .card .text-set .description {
    font-size: 0.875rem;
    line-height: 2.0;
}

.contents .content-section .card-set .card .text-set .caption {
    font-size: 0.75rem;
    line-height: 24px;
}

.contents .content-section .card-set .card .thumbnail iframe.video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.contents .content-section .card-set .card .thumbnail iframe.sound {
    width: 100%;
    border: 0;
}

.contents .content-section .card-set .card.text-media .thumbnails {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contents .content-section .card-set .card .thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.contents .content-section .form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contents .content-section .form .item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contents .content-section .form .item .label {
    font-size: 0.875rem;
    line-height: 28px;
}

.contents .content-section .form .form-caption {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
}

.contents .content-section .form .submit-btn button {
    display: flex;
    padding: 4px 16px;
    border-radius: 4px;
    background-color: var(--color-dark);
    color: var(--color-light);
    /*font-family: var(--font-sans);*/
    font-size: 1.125rem;
    line-height: 24px;
    font-weight: bold;
    cursor: pointer;
}

.contents .content-section .form .submit-btn button:disabled{
    opacity: 0.6;
    cursor: not-allowed;
}

.contents .back-to-index a {
    text-decoration: underline;
}

footer {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 80px 80px;
    background-color: var(--color-dark);
    width: 100%;
}
@media (max-width: 960px) {
    footer {        
        padding: 40px 24px 80px;
    }
}
@media (min-width: 1400px) {
    footer {
        padding: 40px calc((100vw - 1240px) / 2) 80px;
    }
}

footer a {
    color: var(--color-light);
}

footer .lang {
    display: flex;
    gap: 8px;
}

footer .lang .lang-btn {
    font-size: 0.875rem;
    line-height: 24px;
    letter-spacing: 5%;
    color: var(--color-light);
}

footer .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

footer .footer-nav .footer-nav-btn {
    font-size: 1.0rem;
    line-height: 24px;
    letter-spacing: 5%;
    text-decoration: underline;
    color: var(--color-light);
}

footer ul.sns-icons {
    display: flex;
    gap: 20px;
    padding: 36px 0;
}

footer ul.sns-icons li {
    font-size: 1.25rem;
    color: var(--color-light);
}

footer .copyright {
    font-size: 0.75rem;
    line-height: 18px;
    letter-spacing: 5%;
    text-align: center;
    color: var(--color-light);
}

#fixed-buttons {
    position:fixed;
    bottom: 0;
    right: 20px;
    display:flex;
    flex-direction:column;
    gap:10px;
    z-index:1000;
}
#fixed-buttons img {
    width:auto;
    height:120px;
    cursor:pointer;
}
@media (max-width: 960px) {
    #fixed-buttons img {
        width:auto;
        height:90px;
        right: 0;
    }
}

.grecaptcha-badge {
  left: 10px !important;
  right: auto !important;
}