header {
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background-color: #f3f6fb;
    margin-bottom: 2rem;
}
header h1 {
    width: 12rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
.sub-header {
    height: 5.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background-color: #f3f6fb;
    margin-bottom: 2rem;
}
.sub-header h1 {
    font-size: 1.7rem;
    font-weight: 800;
    text-align: center;
}
.sub-header #prevBtn {
    width: 2.5rem;
    position: absolute;
    left: 1.5rem;
}
.sub-header #prevBtn img {
    width: 100%;
}


header .menuBtn {
    width: 2rem;
    position: absolute;
    right: 1.5rem;
}
header .menuBtn img {
    width: 100%;
}
nav #closeBtn img {
    width: 1.5rem;
}

.navBg {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 8888;
}
nav {
    background-color: #fff;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 65%;
    height: 100%;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
}
nav a {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    font-size: 2rem;
    font-weight: 700;
    padding: 2rem 1.5rem;
    border-bottom: 0.2rem solid #f3f3f3;
}
nav a:last-child {
    border: 0;
}
nav a:hover {
    color: #f98212;
}
nav button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 5.5rem;
    padding: 0 1.5rem;
}
nav .subMenu {
    background-color: #f3f6fb;
    display: none;
}
nav .subMenu a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #9c9e9e;
    border: 0;
    padding: 1.5rem;
}
nav .subMenu a:hover {
    color: #000;
}


main {
    padding: 0 1.5rem 5rem;
}



/* common */
h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title a {
    font-size: 1.4rem;
    font-weight: 500;
    color: #848483;
    margin-bottom: 1.5rem;
}
.compareLink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background-color: #ff9d00;
    margin: 2.5rem 0 4rem 0;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.06),
                0 -0.4rem 0.8rem rgba(0, 0, 0, 0.06),
                0.4rem 0 0.8rem rgba(0, 0, 0, 0.06),
                -0.4rem 0 0.8rem rgba(0, 0, 0, 0.06);
}
.compareLink div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.compareLink div p {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}
.compareLink div span {
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
}
.compareLink img {
    width: 5.5rem;
}
.section.info {
    display: flex;
    flex-direction: column;
}
h3 {
    font-size: 1.6rem;
    font-weight: 700;
}
b {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
b.bold-parts {
    letter-spacing: -0.05rem;
}
em {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fa7300;
}
b em {
    font-size: 1.7rem;
    font-weight: 600;
    color: #fa7300;
}
pre {
    font-size: 1.6rem;
    font-weight: 500;
    color: #858484;
    line-height: 1.4;
}
.bottom-linkBtn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 6rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0 -0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0.4rem 0 0.8rem rgba(0, 0, 0, 0.05),
                -0.4rem 0 0.8rem rgba(0, 0, 0, 0.05);
}
.bottom-linkBtn img {
    width: 3rem;
    margin-right: 2rem;
}
.bottom-linkBtn span {
    font-size: 1.7rem;
    font-weight: 700;
}
.bottom-linkBtn img.arrow{
    width: 1rem;
    position: absolute;
    right: -0.5rem;
}
.category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}
.category a {
    width: calc(100% / 2 - 1rem);
    padding: 1.5rem 0;
    border-radius: 1rem;
    background-color: #fff;
    font-size: 2rem;
    font-weight: 700;
    color: #919191;
    text-align: center;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0 -0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0.4rem 0 0.8rem rgba(0, 0, 0, 0.05),
                -0.4rem 0 0.8rem rgba(0, 0, 0, 0.05);
}












/* home.php */
.section.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.section.home div {
    width: calc(100% / 2 - 0.75rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.section.home .left,
.section.home .right {
    height: 23rem;
}
.section.home a {
    width: 100%;
    border-radius: 1rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    height: 10rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0 -0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0.4rem 0 0.8rem rgba(0, 0, 0, 0.05),
                -0.4rem 0 0.8rem rgba(0, 0, 0, 0.05);
}
.section.home div:first-child a {
    height: 100%;
}
.section.home p {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section.home span {
    font-size: 1.5rem;
    font-weight: 500;
    color: #9a9a9a;
    line-height: 1.3;
}
.section.home img {
    width: 3.5rem;
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
}
.section.home div:nth-of-type(1) a img {
    width: 6rem;
}
.section.home div:nth-of-type(2) a:nth-of-type(2) img {
    width: 3rem;
}

.new_btn {
    display: block;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background-color: #ff9d00;
    margin: 2.5rem 0 4rem 0;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.06),
                0 -0.4rem 0.8rem rgba(0, 0, 0, 0.06),
                0.4rem 0 0.8rem rgba(0, 0, 0, 0.06),
                -0.4rem 0 0.8rem rgba(0, 0, 0, 0.06);
    background-image: url(../img/banner.png);
    background-repeat: no-repeat;
    background-position: 90% 50%;
    background-size: 8.5rem;
}
.new_btn span {
    font-size: 1.6rem;
    color: #fff;
    display: block;
    margin-bottom: .3rem;
}
.new_btn > p {
    font-size: 2.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}
.new_btn .more_btn {
    display: flex;
    align-items: center;
    width: fit-content;
    background: rgba(255,255,255,0.3);
    gap: .5rem;
    padding: .6rem 1.5rem;
    border-radius: 2.5rem;
}
.new_btn .more_btn p {
    color: #fff;
    font-size: 1.5rem;
}
.new_btn .more_btn .arrow {
    display: block;
    width: 1.5rem; height: 1.5rem;
    background: url(../img/arrow-1.png) no-repeat center/contain;
}


/* home.php - news */
.swiper {
    width: 100%;
}
.swiper .swiper-wrapper{
    width: 100%;
    height: 27rem;
}






/* news.php */
.news-container {
    display: flex;
    flex-direction: column;
    height: fit-content;
}
.news-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    height: 27rem;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0 -0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0.4rem 0 0.8rem rgba(0, 0, 0, 0.05),
                -0.4rem 0 0.8rem rgba(0, 0, 0, 0.05);
}
.news-item img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 1rem;
}
.news-item div {
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-item div h3 {
    width: 100%;
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}
.news-item div p {
    width: 100%;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8c8c8c;
}
.news-item p.date {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 400;
    color: #8c8c8c;
    text-align: right;
}




/* info.php */
.section.info.A h3:nth-of-type(-n+4) {
    padding: 2rem 0;
    border-radius: 1rem;
    background-color: #fff;
    text-align: center;
}
.section.info.A h3:nth-of-type(5),
.section.info.A h3:nth-of-type(6) {
    margin-bottom: 0.5rem;
}
.section.info.A h3:nth-of-type(4),
.section.info.A pre {
    margin-bottom: 3rem;
}
.section.info.A pre:first-of-type {
    margin-bottom: 2rem;
}
.section.info.A .plus {
    display: flex;
    justify-content: center;
    align-items: center;
}
.section.info.A .plus img {
    width: 2.5rem;
    margin: 1rem 0;
}


.section.info img.table {
    margin-bottom: 5rem;
}
.section.info.C .formula {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section.info.C > pre:nth-of-type(1) {
    margin-bottom: 0.5rem;
}
.section.info.C > pre:nth-of-type(2) {
    margin-bottom: 3rem;
}
.section.info.C > pre:nth-of-type(3) {
    margin-bottom: 0.5rem;
}
.section.info.C > pre:nth-of-type(4) {
    margin-bottom: 3rem;
}
.section.info.C > pre:nth-of-type(5) {
    margin-bottom: 1.5rem;
}
.section.info.C > .formula img{
    width: 2.5rem;
}
.section.info.C .formula div {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem 2.5rem;
}
.section.info.C .formula div img {
    margin: 0 1.5rem;
}
.section.info.C .formula div pre {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 2;
}
.section.info.C .formula div:nth-of-type(1) pre:nth-of-type(1) b {
    color: #e10606;
}
.section.info.C .formula div:nth-of-type(2) pre:nth-of-type(1) b {
    color: #0065f7;
}
.section.info.C .formula div:nth-of-type(2) pre:nth-of-type(2) b {
    color: #f97a00;
}


.section.info.D pre {
    margin-bottom: 0.5rem;
}
.section.info.D pre:nth-of-type(1),
.section.info.D pre:nth-of-type(4) {
    margin-bottom: 4rem;
}


.section.info.E .wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 10rem;
}
.section.info.E .wrapper span {
    width: 7rem;
    height: 7rem;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0 -0.4rem 0.8rem rgba(0, 0, 0, 0.05),
                0.4rem 0 0.8rem rgba(0, 0, 0, 0.05),
                -0.4rem 0 0.8rem rgba(0, 0, 0, 0.05);
}
.section.info.E .wrapper span::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 10rem;
    background-color: #cccccc;
    z-index: 0;
}
.section.info.E .wrapper:nth-of-type(4) span::after {
    height: 0;
}
.section.info.E .wrapper span img {
    width: 3rem;
}
.section.info.E .wrapper:nth-of-type(1) span img,
.section.info.E .wrapper:nth-of-type(4) span img {
    width: 4rem;
}
.section.info.E .wrapper .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 1.5rem;
}
.section.info.E > pre {
    margin-bottom: 4rem;
}



/* compare.php */
.section.compare img {
    width: 100%;
    margin-bottom: 4rem;
}
.section.compare img:last-of-type {
    margin-bottom: 2rem;
}




/* calc.php */
#calcMain {
    padding-top: 3rem;
    background-color: #f2f5f7;
}
main .tabs {
    position: relative;
    height: 5rem;
    display: flex;
    padding: .5rem;
    border-radius: 1rem;
    margin: 0 1.5rem 3rem;
    background: #d2d2d2;
}
main .tab {
    width: 50%;
    z-index: 11;
    color: #fff;
    cursor: pointer;
    font-weight: 300;
    font-size: 1.8rem;
    display: flex;justify-content: center;align-items: center;
}
main .slide {
    border-radius: .5rem;
    background-color: #fff;
    width: calc(50% - .5rem);
    height: calc(100% - 1rem);
    position: absolute;
    left: .5rem;
    top: .5rem;
    transition: .3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
main .tab.move {
    color: #1f85ff;
    font-weight: 800;
}
main .slide.move {
    left: 50%;
}

.calc_wrap {
    margin: 1.5rem 1.5rem 3rem;
}
.calc_wrap h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1d3651;
}
.calc_wrap .grid {
    display: grid;
    margin: 1.5rem 0 3rem;
    border: 1px solid #a9b4c4;
    grid-template-columns: repeat(2, 1fr);
}
.calc_wrap .grid .inputname {
    padding: 1.5rem;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.2;
    color: #646b71;
    text-align: center;
    border-right: 1px solid #a9b4c4;
    border-bottom: 1px solid #a9b4c4;
    background-color: #e7f1f7;
}
.calc_wrap .grid .inputname:last-of-type {
    border-bottom: none;
}
.calc_wrap .grid span {
    position: relative;
    display: flex;gap: .5rem;align-items: center;
    border-bottom: 1px solid #a9b4c4;
}
.calc_wrap .grid span:last-of-type {
    border-bottom: none;
}
.calc_wrap .grid span p {
    font-size: 1.4rem;
    color: #aaa;
    position: absolute;
    top: 50%;right: 1rem;
    transform: translateY(-50%);
}
.calc_wrap .grid input[type="text"] {
    border-bottom: 1px solid #a9b4c4;
    font-size: 1.4rem;
    width: 100%;height: 100%;
    padding: 1.5rem 3rem 1.5rem 1.5rem;
    color: #758190;
}
.calc_wrap .grid input[type="text"]:last-of-type {
    border-bottom: none;
}
.calc_wrap .grid input[type="text"]::placeholder {
    color: #d2d2d2;
}

#beforeOnlyCheck label {
    display: flex;justify-content: end;align-items: center;gap: .5rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: #707d8c;
    cursor: pointer;
}
.commonBtn {
    color: #fff;
    display: block;
    margin: 1.5rem;
    padding: 1.7rem;
    font-weight: bold;
    font-size: 1.6rem;
    border-radius: 1rem;
    width: calc(100% - 3rem);
    background-color: #1f85ff;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    input[type='checkbox'] {
        --active: #798593;
        --active-inner: #fff;
        --focus: 2px rgba(39, 94, 254, .3);
        --border: #798593;
        --background: #fff;
        --disabled: #F6F8FF;
        --disabled-inner: #798593;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 15px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid #798593;
        background: var(--b, var(--background));
        transition: background .3s, border-color .3s, box-shadow .2s;
    }
    input[type='checkbox']:after {
        content: '';
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }
    input[type='checkbox']:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: .3s;
        --d-t: .6s;
        --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    }
    input[type='checkbox']:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: .9;
    }
    input[type='checkbox']:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }
    input[type='checkbox']:disabled + label {
        cursor: not-allowed;
    }
    input[type='checkbox']:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }
    input[type='checkbox']:focus {
        box-shadow: 0 0 0 var(--focus);
    }
    input[type='checkbox']:not(.switch) {
        width: 15px;
    }
    input[type='checkbox']:not(.switch):after {
        opacity: var(--o, 0);
    }
    input[type='checkbox']:not(.switch):checked {
        --o: 1;
    }
    input[type='checkbox'] + label {
        font-size: 1.4rem;
        line-height: 15px;
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        color: #727f8d;
        margin-left: 4px;
    }
    input[type='checkbox']:not(.switch) {
        border-radius: 7px;
    }
    input[type='checkbox']:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }
    input[type='checkbox']:not(.switch):checked {
        --r: 43deg;
    }
    input[type='checkbox'].switch {
        width: 32px;
        border-radius: 11px;
    }
    input[type='checkbox'].switch:after {
        left: 1px;
        top: 1px;
        border-radius: 50%;
        width: 11px;
        height: 11px;
        background: var(--ab, var(--border));
        transform: translateX(var(--x, 0));
    }
    input[type='checkbox'].switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }
    input[type='checkbox'].switch:disabled:not(:checked):after {
        opacity: .6;
    }
    
    
}