/* CSS Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color:#222;
    padding: 0;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

common-header:not(:defined),
common-footer:not(:defined) {
    display: none;
}

a {
    color: #426599;
    transition: color 0.3s ease;
}

a:hover {
    color: #668ABE;
}

button {
    font-family: "Noto sans Jp",sans-serif;
}

h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 24px;
    padding: 0;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0px;
    padding: 0;
}

h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
    padding: 0;
}

h4 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 16px;
    padding: 0;
}

nav {
    height: 96px;
}

/* SP kisekae ================ */
main {
    margin: 8rem auto 3rem;
}

/* ぱんくずリスト（仮作成） */
.pankuzu {
    width: 100%;
    margin-bottom: 1rem;
}

.pankuzu ul {
    width: 100%;
    display: flex;
    list-style: none;
}

.pankuzu li {
    margin-right: 0.5rem;
    font-size: 12px;
}

/* 着せ替え */
#kisekae{
    width: 100%;
    max-width: 1064px;
    margin: 0 auto;
    padding: 0 20px;
}

#kisekae h1{
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 700;
}

#kisekae .kisekae-base {
    width: 100%;
}

#kisekae .simulation {
    display: flex;
    justify-content: flex-end;
    padding: 3rem 0;
    border-top: 2px solid #dddddd;
    margin: 2rem 0rem 2rem 0;
    width: 100%;
}

#kisekae .simulation-sp {
    display: none;
}

#kisekae .simulation .text-area {
    width: 100%;
    min-width: 300px;
    padding-left: 5rem;
}

#kisekae .simulation .text-area h3 {
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    width: 100%;
}

#kisekae .simulation .text-area p {
    width: 90%;
    font-size: 0.9rem;
    margin: 1.5rem 1.5rem 50px 0;
    line-height: 2;
    font-weight: 500;
}

#kisekae .simulation .text-area a {
    color: #222;
    font-weight: 700;
    margin-right: 0.2rem;
}

#kisekae .simulation .text-area a img{
    margin-left: 0.2rem;
}

@media (min-width: 1024px) {

    .logo-and-icons {
        display: flex;
    }
    .icon-left, .icon-left2, .icon-right {
        display: none;
    }
    .hamburger {
        display: none;
    }
    .menu {
        display: flex;
    }
}

@keyframes fade {
    0%, 7.5%, 25%, 32.5%, 100% {
        opacity: 0;
    }
    7.5%, 25% {
        opacity: 1;
    }
}


/* SP 404 ================ */
@media (max-width:1024px) {
/* 以下追加 */
main {
    width: 100%;
    margin: 4rem 0;
    padding: 24px;
}

/* ぱんくずリスト（仮作成） */
.pankuzu {
    width: 100%;
    margin-bottom: 1rem;
}

.pankuzu ul {
    width: 100%;
    display: flex;
    list-style: none;
}

.pankuzu li {
    margin-right: 0.5rem;
    font-size: 12px;
}

/* 着せ替え */
#kisekae{
    width: 100%;
    max-width: 1064px;
    margin: 0 auto;
    padding: 0;
}

#kisekae h1 {
    font-size: 16px;
}
#kisekae h2{
    font-size: 20px;
}

#kisekae .kisekae-base {
    width: 100%;
}

#kisekae .simulation {
    display: none;
}

#kisekae .simulation-sp {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #dddddd;
    width: 100%;
    padding: 0 0 2rem;
}

#kisekae .simulation-sp h1 {
    width: 100%;
}

#kisekae .simulation-sp img {
    width: 100%;
    height: auto;
    order:2;
}

#kisekae .simulation-sp .text-area {
    width: 100%;
}

#kisekae .simulation-sp .text-area h2 {
    font-size: 24px;
    line-height: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    width: 100%;
}

#kisekae .simulation-sp .text-area p {
    width: 100%;
    font-size: 0.9rem;
    margin: 0;
    line-height: 2;
    font-weight: 500;
    margin: 1rem 0;
}

#kisekae .simulation-sp .text-area a {
    color: #222;
    font-weight: 700;
    margin-right: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#kisekae .simulation-sp .text-area a img {
    width: 14px;
    margin-left: 0.5rem;
}

}