/*
Theme Name: simplex
Theme URI: https://example.com/simplex
Author: SIMPLE Inc.
Author URI: https://simple.jp.net/
Description: “とてもすごい simple” を目指した超ミニマルテーマ
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: sugoi-simple
*/

body {
	margin: 0;
	/*font: 16px/1.7 "M PLUS 1p", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans JP", sans-serif;*/
	/*font-weight: 400;*/
	color:var(--main-color);
    -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*body {
  margin: 0;
 
  font-size: 1rem; 
  line-height: 1.65;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Meiryo", sans-serif;
  font-weight: 400; 
  color: var(--main-color);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}*/

/* ベース（このページのだけ） */
:root{
    --fs19: clamp(15px, 1.462dvw, 19px); /* 19なかったので作りました */
    --fs20: clamp(16px, 1.538dvw, 20px);
    --fs32: clamp(22px, 2.462dvw, 32px);
    --fs60: clamp(36px, 4.615dvw, 60px);

    --main: #00005a;
    --bgColor: #f2f2de;     
    --white: #ffffff;
}
button{
    appearance:none;
    background:none;
    border:0;
    padding:0;
    font:inherit;
    color:inherit;
    cursor:pointer;
}
button:focus{
    outline: none;
}

main{
    width: 100%;
    background: var(--bgColor);
    padding-top: 2rem;
}
.faq-inner{
    max-width: 1440px;
    width: 96%;
    margin: auto;
}
h2{
    width: fit-content;
    font-size: var(--fs60);
    /*font-family: "M PLUS 1p", sans-serif;*/
    font-weight: bold;
    color: var(--main-color);
    text-align: center;
    line-height: 1;
    position: relative;
    top: 0;
    /*left: 2rem;*/
    span{
        font-size: var(--fs19);
        font-weight: normal;
    }
}
/* faq */
.faq-inner span {
    display: block;
    font-weight: bold;
    margin-top: 15px;
}
#faq{
    /*width: min(1000px,69.44%);*/
    max-width: 1140px;
    width: 96%;
    color: var(--main);
    margin: 0 auto;
}
.faq-nav ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-nav a{background-color: yellow;margin: 0.5em;padding: 0;color: var(--main-color);}
.faq-item{
    margin: 0 0 2rem;
}
.faq-q{
    /*font-family: "M PLUS 1p", sans-serif;*/
    background: var(--white);
    color: var(--main);
    text-align: left;

    .faq-question{
        width: 100%;
        min-height: 5rem;
        padding: 1rem 2rem;
        display: flex;
        align-items: center;
        box-sizing: border-box;

        .faq-label-q{
            font-size: var(--fs32);
            font-weight: bold;
            line-height: 2;
            flex-shrink: 0;
            align-self: flex-start;
        }

        .faq-question-text{
            font-size: var(--fs20);
            font-weight: normal;
            line-height: 1.4;
            text-align: left;
        }

        .faq-icon{
            width: 2rem;
            margin-left: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
    }
}

.faq-a{
    /*font-family: "M PLUS 1p", sans-serif;*/
    max-height: 0;
    margin: 0;
    padding: 0 2rem 0 3.1rem;
    color: var(--white);
    background: var(--main);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    transition: max-height .4s ease;
    text-align: left;

    .faq-label-a{
        width: 2.3rem;
        font-size: var(--fs32);
        font-weight: bold;
        line-height: 1.4;
        flex-shrink: 0;
        align-self: flex-start;
        position: relative;
        top: -0.4rem;
    }

    .faq-answer-text{
        font-size: var(--fs20);
        color: var(--white);
        font-weight: normal;
        line-height: 1.4;
    }
}

.faq-item.open .faq-a{
    min-height: 5rem;
    padding: 2.5rem 2rem 2.5rem 2.7rem;
}