.service #about {
    padding: var(--space-xxl) 0 var(--space-xl);
}
.co-medicare {
    max-width: var(--wrap-s);
    margin: 2.5rem auto 0;
    justify-content: space-between;
    background-color: #f8f8f8;
    padding: 2.75rem 1.56rem;
}
.co-medicare figure {
    text-align: center;
    margin-bottom: 2.5rem;
}
.co-medicare p {
    padding: 0 2rem;
}

.n-service-wrap {
    background-color: #fff;
}
.n-service-wrap dl {
    max-width: var(--wrap-m);
    margin: 0 auto;
    padding: var(--space-l) 0;
}
.n-service dt {
    background-color: var(--color-green);
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: var(--font-size-l);
    border-radius: 0.625rem;
    display: inline-block;
    padding: 0.3em 1em;
    margin-bottom: 1rem;
}
.n-service dt.b-type2 {
    background-color: var(--color-khaki);
}
.n-service dd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 0;
    margin: 1rem 0 5rem;
}
.n-service dd ul li {
    width: 49%;
}
.n-service dd ul li a:link,
.n-service dd ul li a:visited {
    background-color: var(--color-green);
    padding: 0.65em 0.85em;
    text-decoration: none;
    color: #fff;
    display: block;
    text-align: center;
    box-shadow: 3px 3px 0 0 var(--color-light-green);
    line-height: 1.5;
    transition: opacity var(--transition-speed) var(--transition-timing);
}
.n-service dd.b-type2 ul li a:link,
.n-service dd.b-type2 ul li a:visited {
    background-color: var(--color-khaki);
    box-shadow: 3px 3px 0 0 var(--color-light-khaki);
}
.nursing-case {
    max-width: 802px;
}
#nursing-case1 .accent-text {
    width: 95%;
    margin: 0 auto 2rem;
}
#nursing-case1 .flex-2column figure {
    width: 64.95%;
}
#nursing-case1 .flex-2column dl {
    width: 28.8%;
}
#nursing-case1 .flex-2column dt {
    font-weight: 700;
}
#nursing-case1 .flex-2column dd {
    margin-bottom: 2rem;
    line-height: 1.5;
}
#nursing-case1 .flex-2column dd p + p {
    margin-top: 0.5rem;
}
.n-cace2-wrap {
    max-width: 750px;
    margin: 0 auto;
}
.n-cace2-wrap > p,
.n-cace3-wrap > div p.accent-text {
    margin-bottom: 1.5rem;
}
.n-cace2-wrap dl {
    border-radius: 10px;
    background-color: #d5f1f7;
    padding: 1.62rem;
}
.n-cace2-wrap dt {
    font-weight: 700;
    margin-bottom: 1rem;
}
.n-cace2-wrap dl:nth-of-type(2) {
    margin: 2rem 0;
    background-color: #d5e8c9;
}
.n-cace3-wrap {
    max-width: 780px;
    margin: 0 auto;
}
.n-cace3-wrap figure {
    width: 38.46%;
}
.n-cace3-wrap > div {
    width: 57.7%;
}
.n-cace3-wrap > div ul {
    width: fit-content;
    margin: 2rem auto;
}
.n-cace3-wrap > div ul li {
    background-image: url(/assets/img/lower/icon-men.png);
    background-repeat: no-repeat;
    background-position: center left;
    padding:0.5rem 0 0.5rem 4.25rem;
}
.n-cace3-wrap > div ul li:nth-child(2) {
    background-image: url(/assets/img/lower/icon-women.png);
}
.n-cace3-wrap > div ul li + li {
    margin-top: 1rem;
}
#nursing-case4 .accent-text span {
    display: block;
    margin-top: -0.5rem;
    font-size: var(--font-size-m);
}
#nursing-case4 .n-cace3-wrap > div p {
    margin-bottom: 2rem;
}
#features {
    padding: var(--space-l) 0 0;
    background-color: var(--section-bgcolor-gray);
}
.features-wrap {
    max-width: var(--wrap-m);
    padding: var(--space-m) var(--space-m) var(--space-l);
    margin: 0 auto var(--space-l);
    border-radius: 3.125rem;
    background-color: #fff;
}
.features-wrap h2 {
    font-family: var(--font-family-serif);
    font-size: var(--font-size-xxl);
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-left: 1em;
    margin-bottom: -0.5em;
}
.pentagon-list {
    position: relative;
    width: 660px;
    height: 630px;
    margin: 0 auto;
}
.pentagon-list li {
    color: #fff;
    width: 270px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    position: absolute;
    transition: opacity var(--transition-speed) var(--transition-timing);
}
.pentagon-list li div {
    z-index: 6;    
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction:column;
    gap: 1.5rem 0;
}

.pentagon-list li > div::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: var(--color-brown);
    opacity: 0.9;
    position: absolute;    
    z-index: -1;
}
.pentagon-list li .go-detail {
    background-color: #fff;
    display: inline-block;
    border-radius: 5px;
    color: var(--color-brown);  
    margin-bottom: -1rem;  
}
.pentagon-list li a:link span,
.pentagon-list li a:visited span {
    text-decoration: none;
    position: relative;
    padding-right: 1.5rem;
}
.pentagon-list li a.txt-arrow-r span::after {
    right: 0.5em;
    background-color: var(--color-brown);
}
.pentagon-list li.feature-1 {
    top: 0;
    left: 50%; 
    margin-left: -135px;
    z-index: 4;
}
.pentagon-list li.feature-2 {
    left: 0;
    top: 20.63%;
    z-index: 3;
}
.pentagon-list li.feature-3 {
    right: 0;
    top: 20.63%;
    z-index: 5;
}
.pentagon-list li.feature-4 {
    left: 10.6%;
    top: 57%;
    z-index: 1;
}
.pentagon-list li.feature-5 {
    right: 10.6%;
    top: 57%;
    z-index: 2;
}
.pentagon-list li.feature-2 > div::before {
	background-color: var(--color-blue);
}
.pentagon-list li.feature-2 .go-detail {
	color: var(--color-blue);
}
.pentagon-list li.feature-2 a.txt-arrow-r span::after {
    background-color: var(--color-blue);
}
.pentagon-list li.feature-3 > div::before {
	background-color: var(--color-purple);
}
.pentagon-list li.feature-3 .go-detail {
	color: var(--color-purple);    
}
.pentagon-list li.feature-3 a.txt-arrow-r span::after {
    background-color: var(--color-purple);
}
.pentagon-list li.feature-4 > div::before {
	background-color: var(--color-green);
}
.pentagon-list li.feature-4 .go-detail {
	color: var(--color-green);
}
.pentagon-list li.feature-4 a.txt-arrow-r span::after {
    background-color: var(--color-green);
}
.pentagon-list li.feature-5 > div::before {
	background-color: var(--color-khaki);
}
.pentagon-list li.feature-5 .go-detail {
	color: var(--color-khaki);
}
.pentagon-list li.feature-5 a.txt-arrow-r span::after {
    background-color: var(--color-khaki);
}
.mf-ttl span {
    width: 3.75rem;
    background-color: var(--color-brown);
    color: #fff;
    text-align: center;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    font-size: var(--font-size-xl);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
#feature2 .mf-ttl span {
    background-color: var(--color-blue);
}
#feature3 .mf-ttl span {
    background-color: var(--color-green);
}
#feature4 .mf-ttl span {
    background-color: var(--color-khaki);
}
#feature5 .mf-ttl span {
    background-color: var(--color-purple);
}
.pentagon-list li p:nth-child(1) {
    font-size: var(--font-size-l);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pentagon-list li p:nth-child(1) span {
    font-size: var(--font-size-m);
    display: block;
}
.pentagon-list li p:nth-child(1) a:link ,
.pentagon-list li p:nth-child(1) a:visited {
    text-decoration: none;
}
.pentagon-list li .go-detail {
    margin-top: 0.5em;
}
.modal-feature {
    max-width: 790px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.modal-feature figure {
    width: 38%;
}
.modal-feature > div {
    width: 56.9%;
    padding-top: 0.8rem;
    padding-right: 1.5rem;
}
.mf-ttl {
    display: flex;    
    align-items: center;
    gap: 0 1.375rem;
    margin-bottom: 2rem;
}
.mf-ttl h4 {
    width: calc(100% - 3.75rem - 1.375rem);
    font-weight: 400;
}
.modal-feature > div p {
    line-height: 2;
}
.modal-feature > div p + p {
    margin-top: 1.5rem;
}
.modal-feature .figs {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 2.25rem;
}
#facilities {
    padding: var(--space-l) 0;
}
#facilities .leadwrap {
    text-align: center;
    margin-bottom: 6.25rem;
}
#facilities .result {
    display: table;
    border: solid 1px #999;
    padding: 0.5em 1.4em;
    margin: 1.25rem auto 2rem;
}
.areamap {
    max-width: var(--wrap-m);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.areamap li {
    width: 48.5%;
    margin-bottom: 2.25em;
}
.areamap li p {
    margin-bottom: 0.5em;
}
.areamap .google-map-container {
    height: 22rem;
    width: 100%;
    display: block;
}
#estimate,
#qa {
    padding: var(--space-xxl) 0;
    background-color: var(--section-bgcolor-gray);
    color: #333;
}
#estimate h2 + .accent-text {
    margin: 5rem 0;
    text-align: center;
}
.estimate-outer {
    margin: 0 auto;
    max-width: 760px;
}
.selec-twrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 4rem;
    align-items: center;
    margin-bottom: 3rem;
}
.select-item {
    display: flex;
}
.select-item label {
    font-weight: 700;
    margin-right: 1.4em;
    display: flex;
    align-items: center;
}
.custom-select {
    position: relative;
    display: flex;
    align-items: center;
}
.custom-select select {
    border: solid 1px #999;
    background-color: #fff;
    padding: 0.65em 4em 0.65em 1em;
    line-height: 1;
    cursor: pointer;
    text-overflow: ellipsis;
}
.custom-select::before {
  position: absolute;
  right: 1em;
  content: '';
  width: 1rem;
  height: 0.81rem;
  background: #333;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.custom-select:after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2.8em;
  content: '';
  border-left: 1px solid #bbbbbb;
}
.result-wrap dl {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.result-wrap dt {
    font-weight: 700;
    color: #fff;
    width: 21%;
    text-align: center;
}
.result-wrap dd {
    width: 79%;
}
.result-wrap table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.result-wrap table.t-layout-auto {
    table-layout: auto;
}
.result-wrap table th,
.result-wrap table td {
    padding: 1rem 0.2rem;
    text-align: center;
    font-weight: 400;
    line-height: 1.25;
}
.result-bg1 {
    background-color: #f2b78d;
}
.result-bg2 {
    background-color: var(--color-blue);
}
.result-bg3 {
    background-color: var(--color-green);
}
.result-wrap table td {
    background-color: #fff;
}
.result-wrap table th {
    background-color: rgba(255,255,255,0.5);
}
.result-wrap table small {
    font-size: var(--font-size-xs);
    display: block;
}
.result-wrap table td {
    font-size: var(--font-size-l);
}
.result-wrap table em {
    font-weight: 900;
    font-style: normal;
}
.result-wrap table th span {
    display: block;
    position: relative;
    padding: 0 1em;
}
.result-wrap table th span::after {
    content: "";
    background-color: #999;
    width: 1px;
    height: 1rem;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -0.5em;
}
.total {
    width: 100%;
    text-align: center;
    border-radius: 1.5rem;
    background-color: #fff;
    font-size: var(--font-size-l);
    font-weight: 900;
    padding: 1.75em 0;
    line-height: 1;
    margin-bottom: 2rem;
}
.total span {
    font-size: var(--font-size-xl);
    margin-left: 1em;
    margin-right: .5em;
}
.estimate-outer .note,
.modal-feature .note {
    font-size: var(--font-size-s);
}
.estimate-outer .note li {
    padding-left: 1em;
    position: relative;
}
.estimate-outer .note li::before {
    content: "・";
}
#flow {
    padding: var(--space-xxl) 0;
}
.flow-wrap ul {
    max-width: 760px;
    margin: 0 auto;
}
.flow-wrap li {
  display: flex;
  align-items: stretch;
  margin-bottom: 3.75rem;
}
.flow-wrap h3 {
  position: relative;
  width: 18.42%;
  background-color: #f2b78d;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-l);
  z-index: 2;
  border-radius: 3px 0 0 3px;
}
.flow-wrap h3::after {
  content: "";
  position: absolute;
  top: calc(100% - 0.4px);
  left: 0;
  width: 100%;
  height: 1.5625rem;
  background-color: #f1b993;  
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.flow-wrap li > div {
  background-color: #fae2d1;
  flex: 1;
  padding: 1.25rem;
  border-radius: 0 20px 20px 0;
  text-align: center;
}
.flow-wrap li > div h4 {
    font-size: var(--font-size-l);
    font-weight: 400;
    line-height: 1.5;
}
.flow-wrap li > div h4 + p {
    margin-top: 0.8em;
}
.flow-wrap li:nth-child(2n) h3,
.flow-wrap li:nth-child(2n) h3::after {
    background-color: var(--color-blue);    
}
.flow-wrap li:nth-child(2n) > div {
    background-color: #c7d6df;    
}
.flow-wrap li:nth-child(3n) h3,
.flow-wrap li:nth-child(3n) h3::after {
    background-color: var(--color-green);    
}
.flow-wrap li:nth-child(3n) > div {
    background-color: #bfdcc9;    
}
@media (hover: hover) {
    .pentagon-list li:hover,
    .n-service dd ul li a:hover {
        opacity: 0.7;
    }
}
@media (max-width: 900px) {
    .estimate-outer,
    .flow-wrap ul {
        max-width: 95%;
    }
}
@media (max-width: 767px) {
    .service #about {
        padding-bottom: var(--space-l);
    }
    .co-medicare {
        display: block;
        max-width: 100%;
    }
    .co-medicare p {
        width: 100%;
        margin: 1.5rem 0 2rem;
    }
    .co-medicare p {
        padding: 0;
        margin-bottom: 0;
    }
    .n-service dd ul li {
        width: 100%;
    }
    .features-wrap h2 {
        margin-bottom: 1em;
    }
    .pentagon-list {
        width: 100%;
        height: 105vw;
    }
    .pentagon-list li {
        width: 55%;
    }
    .pentagon-list li div {
        gap: 0;
    }
    .pentagon-list li p:nth-child(1),
    .pentagon-list li .go-detail {
        font-size: var(--font-size-s);
    }
    .pentagon-list li.feature-1 {
        margin-left: -28%;
    }
    .pentagon-list li.feature-2 {
        top: 30%;
        left: -1.5rem;
    }
    .pentagon-list li.feature-3 {
        top: 30%;
        right: -1.5rem;
    }
    .pentagon-list li.feature-4 {
        top: 66%;
        left: -0.5rem;
    }
    .pentagon-list li.feature-5 {
        top: 66%;
        right: -0.5rem;
    }
    .pentagon-list li a:link span,
    .pentagon-list li a:visited span {
        padding-right: 1.2rem;
        padding-left: 0.5rem;
    }
    .areamap li {
        width: 100%;
    }    
    .select-item,
    .select-item label {
        display: block;
    }
    .selec-twrap {
        width: 90%;
        margin: 0 auto 3rem;
        gap: 1rem 4rem;
    }
    .custom-select select#est-burden-ratio {
        padding-right: 6em;
    }
    .result-wrap dl {
        display: block;
    }
    .result-wrap dt,
    .result-wrap dd {
        width: 100%;
    }
    .result-wrap dt {
        padding: 0.8em;
    }
    .flow-wrap h3 {
        writing-mode: vertical-rl;
    }
    .flow-wrap li > div {
        padding: 1.25rem 0.5rem;
    }
    .modal-feature {
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    .modal-feature figure,
    .modal-feature > div {
        width: 100%;
        padding-right: 0;
    }
    .modal-feature figure {
        text-align: center;
        margin-bottom: 1rem;
    }
    #nursing-case1 .accent-text,
    #nursing-case1 .flex-2column figure,
    #nursing-case1 .flex-2column dl,
    .n-cace3-wrap figure,
    .n-cace3-wrap > div {
        width: 100%;
    }
    .n-cace3-wrap figure {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    #nursing-case4 .n-cace3-wrap > div p {
        margin-bottom: 1.5rem;
    }
    .modal-feature .figs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .modal-feature .figs li {
        flex: 0 0 48%;
    }
}