@charset "utf-8";

/* リセットCSSここから */

:where(abbr[title]) {
    text-decoration: underline;
    text-decoration: underline dotted
}

:where(b, strong) {
    font-weight: bolder
}

:where(code, kbd, samp) {
    font-family: monospace, monospace;
    font-size: 1em
}

:where(small) {
    font-size: 80%
}

:where(audio, canvas, iframe, img, svg, video) {
    vertical-align: middle
}

:where(iframe) {
    border-style: none
}

:where(svg:not([fill])) {
    fill: currentColor
}

:where(table) {
    border-collapse: collapse;
    border-color: currentColor;
    text-indent: 0
}

:where(button, input, select) {
    margin: 0
}

:where(button, [type="button"i], [type="reset"i], [type="submit"i]) {
    -webkit-appearance: button
}

:where(fieldset) {
    border: 1px solid #a0a0a0
}

:where(progress) {
    vertical-align: baseline
}

:where(textarea) {
    margin: 0;
    resize: vertical
}

:where([type="search"i]) {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto
}

::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.54
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

:where(dialog) {
    background-color: white;
    border: solid;
    color: black;
    height: -moz-fit-content;
    height: fit-content;
    left: 0;
    margin: auto;
    padding: 1em;
    position: absolute;
    right: 0;
    width: -moz-fit-content;
    width: fit-content
}

:where(dialog:not([open])) {
    display: none
}

:where(details>summary:first-of-type) {
    display: list-item
}

:where([aria-busy="true"i]) {
    cursor: progress
}

:where([aria-disabled="true"i], [disabled]) {
    cursor: not-allowed
}

:where([aria-hidden="false"i][hidden]) {
    display: initial
}

:where([aria-hidden="false"i][hidden]:not(:focus)) {
    clip: rect(0, 0, 0, 0);
    position: absolute
}

/* リセットCSSここまで */

body {
    font-family: "Noto Sans JP", sans-serif;
    max-width: 1920px;
    margin: 0 auto;
    font-size: 16px;
    overflow-x: hidden;
}

ul li a {
    list-style: none;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
    opacity: 1;
}

.sp {
    display: none;
}

@media screen and (max-width: 798px) {
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
}

/* ヘッダーここから */

header {
    background-color: #F4F9FF;
    height: 80px;
}

.headerbox {
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 10px;
}

.header-logo img {
    width: 150px;
    height: auto;
}

.header-boxin {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    width: calc(100svw - 50%);
}

.header-left {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    width: calc(100svw - 90%);
    padding-right: 20px;
}

.header-nav {
    width: 100%;
}

.header-nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: 700;
    padding: 0;
}

.header-nav ul li {
    padding: 0 1rem;
}

.header-left ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: 0;
}

.header-nav ul,
.header-left ul {
    list-style: none;
}

.header-nav ul li a,
.header-left ul .login a {
    text-decoration: none;
    display: block;
    color: #000;
}

.header-nav ul li a:hover {
    color: #555;
}

.header-left ul li {
    width: 150px;
    text-align: center;
    font-weight: 700;
}

.login a {
    color: #000;
    display: inline-block;
}

.login a:hover {
    color: #555;
}

.registration {
    width: 50%;
    height: 50px;
    text-align: center;
    background-color: #0067FF;
    border-radius: 30px;
    line-height: 48px;
    box-shadow: 3px 3px 2px #04357d;
    transition: .2s;
}

.registration a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.registration:hover {
    box-shadow: unset;
    opacity: 1;
    transform: translate(2px, 2px);
}

@media screen and (min-width: 799px) and (max-width: 900px) {
    .header-logo img {
        width: 120px;
        height: auto;
    }
}

.hamburger-menu {
    position: relative;
}

@media screen and (max-width: 798px) {
    header {
        height: auto;
    }
    .headerbox {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        height: auto;
    }
    .header-boxin {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        background-color: #F4F9FF;
        padding: 20px 0;
    }
    .header-nav {
        width: 100%;
        margin-bottom: 20px;
    }
    .header-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-nav ul li {
        padding: 10px 0;
    }
    .header-right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    .header-left {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-right: 0;
    }
    .header-left ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    #hamburger:checked~.header-boxin {
        display: flex;
    }
}

.hamburger-menu__input {
    display: none;
}

.hamburger-menu__bg {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#hamburger:checked~.hamburger-menu__bg {
    display: block;
}

.hamburger-menu__button {
    display: none;
}

@media screen and (max-width: 798px) {
    .hamburger-menu__button {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
        cursor: pointer;
        z-index: 999;
    }

    .hamburger-menu__button-mark {
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .hamburger-menu__button-mark:nth-of-type(1) {
        top: 5px;
    }

    .hamburger-menu__button-mark:nth-of-type(2) {
        top: 13px;
    }

    .hamburger-menu__button-mark:nth-of-type(3) {
        top: 21px;
    }
}

@media screen and (max-width:798px) {
    #hamburger:checked~.hamburger-menu__button .hamburger-menu__button-mark:nth-of-type(1) {
        transform: rotate(45deg);
        top: 13px;
    }

    #hamburger:checked~.hamburger-menu__button .hamburger-menu__button-mark:nth-of-type(2) {
        opacity: 0;
    }

    #hamburger:checked~.hamburger-menu__button .hamburger-menu__button-mark:nth-of-type(3) {
        transform: rotate(-45deg);
        top: 13px;
    }
}

/* メインコンテンツ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.faq {
    min-height: calc(100vh - 160px);
}

.faq h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.faq-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.faq-number {
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #007bff;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 25px 30px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

.faq-contact {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-contact p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

.contact-btn {
    display: inline-block;
    background: #007bff;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.contact-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

/* フッター */
footer {
    background-color: #F4F9FF;
    padding: 2rem 0 2rem 0;
}

.footerbox {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo_footer a {
    display: block;
}

.logo_footer a img {
    width: 100%;
}

.logo_footer {
    width: 200px;
}

footer ul {
    font-weight: bold;
    font-size: 1.2rem;
}

footer ul li {
    font-weight: normal;
}

.footer-nav ul,
.footer-list ul {
    list-style: none;
}

.footer-menu {
    width: 70%;
    display: flex;
    justify-content: space-around;
}

.footer-menu ul li {
    margin: 10px auto;
    font-size: 0.9rem;
}

.footer-menu ul li a {
    display: inline-block;
    text-decoration: none;
    color: #000;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    margin: 20px 0 0;
}

.footerbox a:hover {
    color: #555;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .faq h1 {
        font-size: 2rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        margin-right: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 20px;
    }

    .faq-contact {
        margin-top: 40px;
        padding: 30px 20px;
    }

    .contact-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 798px) {
    .footerbox {
        display: block;
    }
    .logo_footer {
        width: 100px;
        margin: 10px auto;
    }
    .footer-menu {
        width: 100%;
    }
    footer ul {
        font-size: 0.9rem;
    }
    .footer-nav,
    .footer-list {
        width: 50%;
    }
    .footer-nav ul,
    .footer-list ul {
        padding-left: 0.9rem;
    }
    .copyright {
        font-size: 0.6rem;
    }
} 