@charset "UTF-8";

/* 
font-1_Noto Sans JP:@400;600;700
font-2_Kiwi Maru:@400;500
font-3_Outfit:@300;400;500;700;900
font-4_Gaegu:@300;400
font-6_Dela Gothic One
*/

:root {
    --fs-sm: clamp(0.66rem, 0.02vi + 0.65rem, 0.67rem);
    --fs-base: clamp(0.88rem, 0.23vi + 0.82rem, 1rem);
    --fs-md: clamp(1.16rem, 0.61vi + 1.01rem, 1.5rem);
    --fs-lg: clamp(1.55rem, 1.28vi + 1.23rem, 2.25rem);
    --fs-xl: clamp(2.06rem, 2.39vi + 1.46rem, 3.38rem);
    --fs-xxl: clamp(2.74rem, 4.23vi + 1.68rem, 5.06rem);
    --fs-xxxl: clamp(3.64rem, 7.19vi + 1.84rem, 7.59rem);
}

html {
    font-size: 1.8vmin;
    color: #0f0f0f;
    scroll-behavior: smooth;
}
h1 {
    font-size: var(--fs-xxxl);
}
h2 {
    font-size: var(--fs-xxl);
}
h3 {
    font-size: var(--fs-xl);
}
h4 {
    font-size: var(--fs-lg);
}
h5 {
    font-size: var(--fs-md);
}
h6 {
    font-size: var(--fs-base);
}
p {
    font-size: var(--fs-sm);
}

.font-1 {
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    font-weight: 600;
    letter-spacing: 0.3rem;
    line-height: 2;
}
.font-2 {
    font-family: "Kiwi Maru", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    font-weight: 400;
    letter-spacing: 0.3rem;
    line-height: 2;
}
.font-3 {
    font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.3rem;
    line-height: 2;
}
.font-4 {
    font-family: "Gaegu", "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}
.font-6 {
    font-family: "Dela Gothic One", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}
.font-7 {
    font-family: "Darumadrop one", "Dela Gothic One", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

.tex-bold {
    font-weight: 500;
    font-weight: 700;
}
.tex-red {
    color: #d23634;
}
.tex-blue {
    color: #2557a6;
}
.tex-green {
    color: #4d8939;
}
.tex-back-yel {
    background:repeating-linear-gradient(
    45deg,
    #f6e59a,
    #f6e59a 15px,
    #0f0f0f00 0,
    #0f0f0f00 30px
    );
    border-radius: 10px;
    padding: 0 1rem;
}
.tex-under {
    border-bottom: 3px solid #0f0f0f;
}
.tex-xxxl {
    font-size: var(--fs-xxxl);
}
.tex-xxl {
    font-size: var(--fs-xxl);
}
.tex-xl {
    font-size: var(--fs-xl);
}
.tex-lg {
    font-size: var(--fs-lg);
}
.tex-md {
    font-size: var(--fs-md);
}
.tex-base {
    font-size: var(--fs-base);
}
.tex-sm {
    font-size: var(--fs-sm);
}

header {
    padding: 0;
    height: auto;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    transform: translate(0, 0) !important;
    img {
        width: 30vmin;
    }
}

.service-header-container {
   width: 100%;
   display: flex;
   justify-content: flex-start;
   transform: translate(-3%, -5%);
}

.service-header-btn {
    transform: translate(0, 0);
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.service-header-btn:hover {
    opacity: 0.7;
    transform: translate(-5px, -5px);
}

.service-shadow {
    filter: drop-shadow(8px 8px 0 #8a5025);
}

.service-shadow-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50%), calc(-50%));
    background: #f7f5f5;
    border: 5px solid #0f0f0f;
    border-radius: 10px;
    z-index: 10;
    transition: all ease-in-out 0.3s;
}

.service-shadow-btn:hover::before {
    background: #2557a6;
}

.service-shadow-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + 8px), calc(-50% + 8px));
    background: #d23634;
    border-radius: 10px;
    z-index: 0;
    transition: all ease-in-out 0.3s;
}

.service-shadow-btn:hover::after {
    transform: translate(-50%, -50%);
}

#service-about::after {
    width: 19.2054794493vh;
}

.service-shallow-shadow {
    filter: drop-shadow(4px 4px 0 #8a5025);
}

.our-business-firstview {
    background: url(img/service-elements/first.webp) no-repeat bottom center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.service-elements-base {
    position: absolute;
    top: 50%;
    left: 50%;
}

.service-call {
    max-width: 19.42162049vw;
    max-height: 31.21205669vh;
}

.service-call-element {
    transition: all 0.3s ease-in-out;
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 19.42162049vw;
    max-height: 31.21205669vh;
    transform: translate(148.8810119%, -42.29708469%);
}
.service-call-element:hover {
    opacity: 0.7;
    transform: translate(149%, -41%);
}

.service-deco1 {
    max-width: 35.31781313%;
    max-height: 67.67779169%;
    transform: translate(71.29276978%, 2.265650999%);
}

.service-deco2 {
    max-width: 25.66797191%;
    max-height: 51.78707471%;
    transform: translate(-218.3566091%, 15.03071487%);
}

.service-nav-elements {
    max-height: 8vh;
}

.service-nav-elements-hover {
    transition: all 0.3s ease-in-out;
    opacity: 1;
    transform: translate(0, 0);
}
.service-nav-elements-hover:hover {
    opacity: 0.7;
    transform: translate(5px, 5px);
}

.service-tex {
    max-width: 80vw;
    max-height: 70vh;
    transform: translate(-50%, -60%);
}

.our-business-service {
    background-color: #f7f5f5;
}

.our-business-nav {
    top: 90%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2vmin;
    padding: 0 5vw;
    width: 100%;
}

.our-business-banner {
    background: #ffc740;
    padding: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(0, -1px);
}

@media screen and (max-width: 520px) {
    .our-business-nav {
        gap: 1vh;
        justify-content: flex-start;
    }

    .our-business-banner {
        padding-top: 3vh;
    }
}

@media screen and (orientation: portrait) {
    .our-business-nav {
        position: relative;
        transform: translate(-50%, 75vh);
    }
    .service-nav-elements {
        max-height: 4vh;
    }
}

.service-banner {
    width: 100%;
}

.service-banner-hover {
    transition: all 0.3s ease-in-out;
    transform: translate(0, 0);
    opacity: 1;
}

.service-banner-hover:hover {
    transform: translate(5px, 5px);
    opacity: 0.7;
}

.service-contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-title {
    max-width: 70vw;
    max-height: 30vh;
    margin-bottom: 1rem;
    z-index: 10;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

.service-title-small {
    max-height: 10vh;
    max-width: 90vw;
    margin-bottom: 1rem;
    z-index: 10;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

.service-title-mid {
    max-height: 10vh;
    max-width: 90vw;
    margin-bottom: 1rem;
    z-index: 10;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

.service-title-short {
    max-height: 10vh;
    max-width: 90vw;
    margin-bottom: 1rem;
    z-index: 10;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

.service-description {
    background: #f7f5f5;
    background-image: url(img/service-elements/deco-star.png);
    background-size: cover;
    padding: 1% 8%;
}

.inline-block {
    display: inline-block;
}

.description-heading {
    font-weight: 600;
    letter-spacing: 0.4rem;
    line-height: 1.8;
    color: #0f0f0f;
    margin-bottom: 3rem;
}

.description-contents {
    letter-spacing: 0.3rem;
    width: 100%;
    padding-right: 40%;
    margin-bottom: 6rem;
}

@media screen and (orientation: portrait) {
    .description-contents {
        padding-right: 20%;
    }
}

.service-movie-area {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.service-movie {
    width: 100%;
    height: 60vmin;
    background: #dddddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-points-container {
    background: #f7f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
    position: relative;
}

.service-graddeco {
    height: 120%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.points-container {
    position: relative;
    z-index: 10;
    margin: 1rem 3rem 0;
    background: #f7f5f5;
    border-radius: 10px;
    padding: 6rem;
}

.service-point-left {
    text-align: left;
    margin: auto auto auto 0;
}

.service-point-right {
    text-align: right;
    margin: auto 0 auto auto;
}

.service-point-container {
    width: 70%;
    position: relative;
    padding-top: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    h5 {
        font-weight: 700;
    }
    h2 {
        font-weight: 300;
        font-style: italic;
    }
}

.service-point-num-left {
    position: absolute;
    transform: translate(-10%, -4.5rem);
    color: #e9a13f;
    white-space: nowrap;
}

.service-point-num-right {
    position: absolute;
    left: 100%;
    transform: translate(-90%, -4.5rem);
    color: #e9a13f;
    white-space: nowrap;
}

.service-point-text {
    z-index: 15;
    position: relative;
    padding-top: 1rem;
}

.graph-paper-background {
    background: #f7f5f5;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f9d9df calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #f9d9df calc(100% - 1px));
    background-size: 16px 16px;
    background-repeat: repeat;
    background-position: center center;
}

.service-value {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-cycle {
    max-width: 50vw;
    max-height: 40vh;
}

.service-3contents-container {
    display: flex;
    flex-direction: column;
    padding: 0 5%;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.service-3contents {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 10;
}

.service-4functions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.functions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    margin-top: 3rem;
}

.function-img {
    min-width: 20vmin;
    min-height: 20vmin;
    background: #dddddd;
    border-radius: 9999px;
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.function4 {
    width: 40vw;
    position: relative;
    background: #ffc740;
    border: solid 5px #f7f5f5;
    padding: 4%;
    border-radius: 10px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 5rem;
    margin: 2vmin;
}

.function-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 6%;
    margin: 3%;
}

.function-text {
    width: 70%;
}

@media screen and (orientation: portrait) {
    .function-container {
        margin-top: 3rem;
        flex-direction: column;
        margin-bottom: 6%;
    }
}

.function-num {
    position: absolute;
    top: -4%;
    left: -4%;
    background: #f7f5f5;
    border: solid 5px #0f0f0f;
    border-radius: 9999px;
    border-style: dotted;
    padding: 1%;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d23634;
}

#function-learning {
    background-image: url(img/service-elements/function-learning.jpg);
}
#function-knowledge {
    background-image: url(img/service-elements/function-knowledge.jpg);
}
#function-connection {
    background-image: url(img/service-elements/function-connection.jpg);
}
#function-practice {
    background-image: url(img/service-elements/function-practice.jpg);
}

.service-content-container {
    margin: 2rem;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    align-items: start;
    gap: 2vmin;
    img {
        width: 100%;
        flex-grow: 1;
    }
    h3,h5,h6 {
        flex-grow: 1;
    }
    h3 {
        letter-spacing: 0.3rem;
    }
}

@media screen and (max-width: 820px) {
    .service-content-container {
        h4 {
            font-size: var(--fs-xl);
            font-weight: 700;
        }
        h5 {
            font-size: var(--fs-lg);
        }
        h6 {
            font-size: var(--fs-lg);
            font-weight: 500;
        }
    }
    .functions-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .function4 {
        width: 80vw;
    }
    .function-img {
        min-width: 40vmin;
        min-height: 40vmin;
    }
}

.dli-caret-right {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.375em 0.64952em;
  border-left-color: currentColor;
  border-right: 0;
}

@media screen and (orientation: portrait) {
    .service-3contents {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
    }

    .service-content-container {
        width: 80%;
        justify-items: center;
        img {
            width: 50%;
        }
    }
}

.service-3contents-area {
    position: relative;

}

.service-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    padding-right: 15px;
    color: #e9a13f;
    text-decoration: none;
}
    
.service-arrows::after {
    content: '';
    display: block;
    width: 5rem;
    height: 5rem;
    border-top: 10px solid #f6d56a;
    border-left: 10px solid #f6d56a;
}
    
.service-arrows::after {
    position: absolute;
    left: calc(50% - 2.5rem);
    top: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
}

.service-arrows-container > li:nth-child(1) {
    a {
        left: 10%;
    }
}
.service-arrows-container > li:nth-child(2) {
    a {
        left: 30%;
    }
}
.service-arrows-container > li:nth-child(3) {
    a {
        left: 50%;
    }
}
.service-arrows-container > li:nth-child(4) {
    a {
        left: 70%;
    }
}
.service-arrows-container > li:nth-child(5) {
    a {
        left: 90%;
    }
}

@media screen and (orientation: portrait) {
    .service-arrows::after {
        transform: translate(-50%, -50%) rotate(225deg);
    }

    .service-arrows-container > li:nth-child(1) {
        a {
            left: 50%;
            top: 10%;
        }
    }
    .service-arrows-container > li:nth-child(2) {
        a {
            left: 50%;
            top: 30%;
        }
    }
    .service-arrows-container > li:nth-child(3) {
        a {
            left: 50%;
            top: 50%;
        }
    }
    .service-arrows-container > li:nth-child(4) {
        a {
            left: 50%;
            top: 70%;
        }
    }
    .service-arrows-container > li:nth-child(5) {
        a {
            left: 50%;
            top: 90%;
        }
    }
    .service-arrows::after {
        left: 50%;
    }
}

.learning-contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f7f5f5;
    background-image: url(img/service-elements/deco-star.png);
    background-size: cover;
    padding: 0 8%;
}

.contents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 2vmin;
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
}

.learning-content-container {
    width: 25vw;
    height: 11.111125vw;
    background-color: #dddddd;
    border-radius: 10px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: #0f0f0f solid 5px;
}

@media screen and (orientation: portrait) {
    .contents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-content-container {
        width: 40vw;
        height: 22.491vw;
    }
}

.learning-contents-notice {
    margin-top: 3rem;
    width: 100%;
    text-align: right;
    padding-right: 3rem;
}

#learning-content-1 {
    background-image: url(img/service-elements/thumbnail/day1.png);
}
#learning-content-2 {
    background-image: url(img/service-elements/thumbnail/day2.png);
}
#learning-content-3 {
    background-image: url(img/service-elements/thumbnail/day3.png);
}
#learning-content-4 {
    background-image: url(img/service-elements/thumbnail/day4.png);
}
#learning-content-5 {
    background-image: url(img/service-elements/thumbnail/day5.png);
}
#learning-content-6 {
    background-image: url(img/service-elements/thumbnail/day6.png);
}
#learning-content-7 {
    background-image: url(img/service-elements/thumbnail/day7.png);
}
#learning-content-8 {
    background-image: url(img/service-elements/thumbnail/day8.png);
}
#learning-content-9 {
    background-image: url(img/service-elements/thumbnail/day9.png);
}
#learning-content-10 {
    background-image: url(img/service-elements/thumbnail/day10.png);
}
#learning-content-11 {
    background-image: url(img/service-elements/thumbnail/day11.png);
}
#learning-content-12 {
    background-image: url(img/service-elements/thumbnail/day12.png);
}

.member-heading {
    background: #0f0f0f;
    color: #e0e1e1;
    border-radius: 10px;
    padding: 0 1rem;
}

.service-member-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 3rem 0;
    background-image: url(img/service-elements/focus-line.png);
    background-size: cover;
}

.service-member-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 3vmin;
    margin-top: 3rem;
}

.service-member {
    width: 40vw;
    background: #f7f5f5;
    border: 5px solid #e9a13f;
    border-radius: 9999px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    img {
        width: 40%;
        border-radius: 9999px;
    }
    h4 {
        flex-grow: 1;
        text-align: center;
        letter-spacing: 0.4rem;
        font-weight: 900;
        margin: 0;
    }
}

.members-link {
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    position: relative;
    transition: all 0.3s ease-in-out;
    h5 {
        position: relative;
        z-index: 30;
    }
}

.members-link:hover {
    color: #f7f5f5;
}

.service-voice-container {
    display: flex;
}

.service-voice-area {
    background-color: #e0e1e1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.service-voice-comments {
    position: relative;
    display: grid;
    place-items: center;
    width: 60vmin;
    padding: 10% 10%;
    border: 5px solid #0f0f0f;
    background: #f7f5f5;
    border-radius: 10px;
    margin-bottom: 3rem;
    justify-items: start;
    gap: 1rem;
}

.service-voice-comments-l {
    margin-left: -10%;
}

.service-voice-comments-r {
    margin-left: 10%;
}

.service-voice-comments-l::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 5vmin;
    height: 5px;
    transform: rotate(310deg);
    box-sizing: border-box;
    background-color: #0f0f0f;
    box-shadow: 0 5px 0 #e0e1e1, 0 -5px 0 #e0e1e1; /* 背景色と同じ色を指定 */
}

.service-voice-comments-r::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 5vmin;
    height: 5px;
    transform: rotate(50deg);
    box-sizing: border-box;
    background-color: #0f0f0f;
    box-shadow: 0 5px 0 #e0e1e1, 0 -5px 0 #e0e1e1; /* 背景色と同じ色を指定 */
}

.service-supporter {
    background: #f6d56a;
    padding: 8%;
}

.service-supporter-face-caption {
    img {
        width: 100%;
        border-radius: 9999px;
    }
}

.service-supporter-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 4%;
}

.service-supporter-info {
    display: grid;
    grid-template-columns: subgrid;
}

.service-introduction {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #e0e1e1;
    background-image: url(img/service-elements/deco-star.png);
    background-size: cover;
    padding: 0 8%;
}

.service-introduction-list {
    background: #f0f1f190;
    td {
        width: 70%;
    }
    th {
        margin-right: 0;
    }
    th,td {
        padding: 2rem 1rem;
        border-bottom: 1px solid #e9a13f;
        font-size: var(--fs-md);
    }
}

.service-introduction-list tr:last-child th, .service-introduction-list tr:last-child td {
    border-bottom: none;
}

.service-introduction ol, .service-introduction li {
    list-style: decimal;
}

@media screen and (max-width: 520px) {
    .service-introduction-list {
        th,td,li {
            font-size: var(--fs-lg);
        }
        h5 {
            font-size: var(--fs-lg);
        }
        h6 {
            font-size: var(--fs-md);
        }
    }
}

.service-table-sentences {
    h6 {
        color: #777777;
    }
}

.service-qs-area {
    padding: 3rem;
    background: #e0e1e1;
}

.service-question-container {
    background: rgb(233,106,63);
    background: linear-gradient(90deg, rgba(233,106,63,1) 0%, rgba(233,153,63,1) 100%);
    border-radius: 10px;
    padding: 3rem;
}

.service-question {
    color: #f7f5f5;
    margin-left: 4rem;
    padding: 1rem 6rem 1rem 0;
    position: relative;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.service-question:hover {
    opacity: 0.7;
}

.service-answer {
    color: #f7f5f5;
    border-radius: 9999px;
    padding: 1rem;
    padding-left: 4.5rem;
}

.service-qs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.service-question-container dt {
    cursor: pointer;
    background-image: url(img/service-elements/que.svg);
    background-size: 4.5vmin;
    background-position: left center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #f7f5f5;
}

.service-question-container dd {
    cursor: pointer;
    background-image: url(img/service-elements/ans.svg);
    background-size: 4.5vmin;
    background-position: left center;
    background-repeat: no-repeat;
    margin-left: 1rem;
}

.service-question-container dt,dd {
    margin: 2rem 0;
}

.service-question-arrow {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(-50%, 0);
    z-index: 0;
    padding-right: 15px;
    color: #f7f5f5;
    text-decoration: none;
}
    
.service-question-arrow::after {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    border-top: 3px solid #f7f5f5;
    border-left: 3px solid #f7f5f5;
}
    
.service-question-arrow::after {
    position: absolute;
    left: 50%;
    top: calc(50% - 0.35355339rem);
    transform: translate(-50%, -50%) rotate(225deg);
    transition: all 0.3s ease-in-out;
}

dt.active .service-question-arrow::after {
    top: calc(50% + 0.35355339rem);
    transform: translate(-50%, -50%) rotate(45deg);
}

dd {
    display: none;
}

dd.active {
    display: block;
}

@media screen and (max-width: 520px) {
    h5 {
        font-size: var(--fs-lg);
    }
    h4 {
        font-size: var(--fs-xl);
    }
}

.modal-container {
    position: absolute;
    top: 10%;
    left: 10%;
    overflow: scroll;
    width: 80%;
}

.modal-inner {
    border: 5px solid #0f0f0f;
    padding: 1% 8%;
    z-index: 300;
    background: #f7f5f5;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f9d9df calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #f9d9df calc(100% - 1px));
    background-size: 16px 16px;
    background-repeat: repeat;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10%;
    img {
        width: 60%;
    }
    h3 {
        font-weight: 900;
        letter-spacing: 0.3rem;
    }
    h6 {
        letter-spacing: 0.3rem;
    }
}

.modal-close__wrap {
  position: relative;
}

.modal-close {
  background: transparent;
  border-color: transparent;
  padding: 12px;
  margin: 0;
  cursor: pointer;
  width: 52px;
  display: block;
  height: 52px;
  transition: all 0.3s ease-in-out;
  position: absolute;
  top: 3vmin;
  right: 3vmin;
  background-color: #f7f5f5;
  border: 2px solid #0f0f0f;
  border-radius: 9999px;
}

.modal-close span {
  position: relative;
  width: 100%;
  height: 2px;
  background: #0f0f0f;
  display: block;
}

.modal-close span:nth-child(1) {
  transform: rotate(45deg) translate(1px, 1px);
}

.modal-close span:nth-child(2) {
  transform: rotate(-45deg) translate(0.25px, -0.25px);
}

.modal-close:hover {
    transform: rotate(0deg);
}

.overlay.open {
    display: block;
}
.modal.open {
    display: block;
}

.modal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 300;
    overflow: scroll;
}

.overlay {
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    background: #0f0f0f;
    opacity: .6;
    cursor: pointer;
    position: fixed;
}

.modal-contents {
    text-align: left;
    width: 100%;
    padding-left: 1rem;
}

.modal-contents-color {
    color: #0f0f0f;
    margin-top: 5%;
    padding: 5%;
    padding-left: 1rem;
    width: 100%;
}

.modal-contents-color-red {
    background-color: #f9d9d9;
}

.modal-contents-color-green {
    background-color: #d9f9d9;
}

.modal-contents-color-blue {
    background-color: #d9d9f9;
}