:root {
    --first-navi-color: #409701;
    --second-navi-color: #bcc950;
    --border-navi-color: #155a00;
    --primary-color: #255f29;
    --list-bg: #d4ffd8;
    --bg-color: #e5f7db;
    --cta-color: #EB6D8E;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 128px;
}

body {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #333;
    opacity: 0;
    transition: all 0.5s ease-in;
}

a {
    text-decoration: none;
    color: unset;
}

a:hover {
    opacity: 0.7;
}

.ab__padding-default {
    padding: 30px calc((100% - 960px) / 2);
}

.ab__margin-top-default {
    margin-top: 128px;
}

.underline-marker {
    background: linear-gradient(transparent 50%, rgb(102, 255, 127) 100%);
    font-weight: bold;
}

.button__email {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 10px;
    background-color: var(--cta-color);
    border: 2px solid white;
    border-radius: 8px;
}

.button__email span img {
    width: 50px;
    padding: 8px 0 8px 8px;
    display: block;
}

.button__email span:nth-child(2) {
    color: white;
    display: block;
    padding: 8px 8px 8px 0;
    font-size: 18px;
    font-weight: bold;
}

.c__buttons-contact .button__email,
.c__buttons-contact .button__tel {
    height: 80px;
    width: 300px;
}

.button__tel {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: fit-content;
    height: fit-content;
    background-color: white;
    border: 1px solid var(--primary-color);
    gap: 10px;
}

.c__header-logo .button__tel {
    border: unset;
}

.button__tel span img {
    width: 58px;
    padding: 8px 0 8px 8px;
}

.button__tel div {
    padding: 8px 8px 8px 0;
}

.button__tel div span {
    display: block;
    text-align: left;
}

.button__tel span:first-child {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--primary-color);
    display: flex;
}

.button__tel span:nth-child(2) {
    font-size: 14px;
    color: #333;
}

.c__header-logo-right .button__tel {
    justify-content: unset;
    background-color: unset;
}

.c__header-logo-right .button__tel span img {
    width: 52px;
}

.c__header-logo-right .button__tel span:first-child {
    color: white;
    font-size: 26px;
}

.c__header-logo-right .button__tel span:nth-child(2) {
    color: white;
    font-size: 12px;
}

#to-top {
    width: 100px;
    height: 100px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: rgba(235, 109, 142, 0.6);
    border-radius: 50%;
    opacity: 0;
    z-index: 999;
    transition: all 1s ease-in;
    display: flex;
    justify-content: center;
    align-items: center;
}

#to-top::before {
    content: '\25B2';
    font-size: 32px;
    color: rgba(255, 255, 255, 1);
}

header.header__global {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header__nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--second-navi-color);
    justify-items: center;
    align-items: center;
    list-style-type: none;
    height: 48px;
    border-bottom: 1px solid var(--border-navi-color);
    border-top: 1px solid var(--border-navi-color);
}

.header__nav li {
    color: white;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
    font-weight: bold;
    width: 100%;
    height: 100%;
}

.header__nav a {
    display: block;
    width: 100%;
    height: 100%;
    display: grid;
    justify-items: center;
    align-items: center;
}

.c__header-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--first-navi-color);
    color: white;
    height: 80px;
}

.c__header-logo-left {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
}

.c__header-logo-left img {
    width: 60px;
}

.c__header-logo-left h1 {
    font-size: 24px;
}

.c__header-logo-left p {
    font-size: 12px;
}

.c__header-logo-right {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
}

/* process */

#id__catch-copy {
    margin-bottom: 30px;
    background-image: linear-gradient(0deg, #dbffe7, #fefefe);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 0% 0%;
    width: 100%;
    text-align: center;
}

.c__process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

#catch-copy {
    padding-bottom: 30px;
}

.c__process article img {
    width: 100%;
    border-radius: 10px;
}

.c__process article h3 {
    text-align: center;
    color: var(--primary-color);
    padding: 10px 0;
}

/* process end */
.section__root {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
    position: relative;
}

.section__root h2:first-child {
    color: var(--primary-color);
}

.bg-blue {
    background-color: var(--bg-color);
}

.bg-white {
    background-color: white;
}

.bg-pink {
    background-color: #fff0f0;
}

.img__three-dots {
    width: 100px;
    display: block;
    margin: 0 auto;
    padding: 15px 0;
}

.c__buttons-contact {
    display: flex;
    justify-content: space-between;
    column-gap: 60px;
    padding: 30px 15px 15px 15px;
}

.c__contact-note {
    display: flex;
    gap: 60px;
}

.c__contact-note p::before{
    content: "\203B";

}
.c__contact-note p {
    width: 300px;
    font-size: 14px;
}

.h__contact {
    text-align: center;
    position: relative;
    color: var(--primary-color);
    width: 100%;
    max-width: 340px;
    font-size: 20px;
}

.h__contact::before {
    content: "|";
    position: absolute;
    left: 0;
    bottom: 0;
    rotate: -45deg;
    font-size: 26px;
}

.h__contact::after {
    content: "|";
    position: absolute;
    right: 0;
    bottom: 0;
    rotate: 45deg;
    font-size: 26px;
}

/* access */
.c__access {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px 0;
}

.c__access table {
    border-collapse: collapse;
}

.c__access td,
.c__access th {
    padding: 20px;
}

.c__access th {
    text-wrap: nowrap;
    text-align: left;
    vertical-align: top;
}

.c__access td {
    vertical-align: top;
}

.c__access iframe {
    width: 100%;
    min-height: 500px;
}

.section__route {
    width: 100%;
}

.c__route {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.c__route h3 {
    padding: 10px;
    background-color: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: inline-block;
    position: absolute;
    top: -60px;
}

.c-swiper {
    width: 100%;
    position: relative;
}

.c-swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    flex-direction: column;
}

.c-swiper-image {
    position: relative;
}

.c-swiper-number {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgb(255 255 255 / 0.3);
}

.c-swiper-number span {
    display: block;
    font-size: 24px;
    text-shadow: 2px 2px 2px rgb(0 0 0 / 0.5);
}

.swiper-slide img {
    width: 100%;
}

.swiper-pagination.my-swiper {
    bottom: -30px;
}

.c-text-guide {
    font-weight: normal;
}

.c-text-guide p {
    color: #333;
    font-size: 16px;
}

.swiper-container {
    position: relative;
    overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(56, 145, 68, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 100px;
}

.swiper-button-next {
    right: -20px;
}

.swiper-button-prev {
    left: -20px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: "\25B2";
    font-weight: 900;
    color: #fff;
    font-size: 20px;
}

.swiper-button-next::after {
    rotate: 90deg;
}

.swiper-button-prev::after {
    rotate: -90deg;
}

/* contact */
#contact>div {
    background-image: url(../img/painting/bg-room.png);
    background-position: center;
    background-size: contain;
    text-align: center;
    min-height: 300px;
    display: grid;
    place-content: center;
    padding-top: 10px;
    width: 100%;
    max-width: 400px;
}

#contact img {
    width: 140px;
}

#contact h3 {
    color: var(--cta-color);
    margin-bottom: 20px;
}

#contact p {
    width: 100%;
    max-width: 400px;
    padding-bottom: 30px;
}

/* contact end */

/* profile */
.c__profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 30px 0;
}

.c__profile img{
    width: 100%;
}

.c__profile img.facebook-icon {
    width: 40px;
}

.c__profile-left {
    display: grid;
    height: fit-content;
    justify-items: center;
    align-items: center;
}

button.facebook {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 10px;
    padding-top: 10px;
}

a.facebook-anchor {
    text-align: center;
}

.c__profile p.facebook-link {
    text-align: center;
}

.c__profile h3 {
    color: var(--primary-color);
    font-size: 24px;
}

.c__profile h4 {
    display: inline-block;
}

.c__profile h4:nth-of-type(1) {
    font-size: 24px;
    margin-right: 12px;
}

.c__profile h4:nth-of-type(2) {
    font-size: 20px;
    color: #aaa;
}

.c__profile div div p:nth-of-type(1) {
    padding-top: 30px;
}

.c__profile div div p {
    padding-top: 15px;
}

.c__profile h4:nth-of-type(3) {
    padding-top: 30px;
    font-size: 20px;
    padding-bottom: 15px;
}

.c__profile table {
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    padding-bottom: 20px;
    box-shadow: 4px 4px 0px #eaedf4;
}

.c__profile table th,
.c__profile table td {
    padding-top: 10px;
}

.c__profile table th {
    text-align: right;
    padding-right: 20px;
    width: 20%;
    text-wrap: nowrap;
}

/* profile end */

/* pension */
#pension {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
    position: relative;
}

#pension h2 {
    color: #2d7432;
    padding: 30px 0 15px 0;
}

.c__pension-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.c__pension-card .article__pension-about p:nth-of-type(even) {
    padding-top: 20px;
}

.span__border-blue {
    border: 2px solid #2d7432;
    padding: 4px;
    background-color: white;
    width: 100%;
    max-width: 200px;
    display: grid;
    height: fit-content;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: #2d7432;
    font-weight: bold;
}

.c__pension-grade {
    display: grid;
    grid-template-columns: 1fr 4fr;
    height: fit-content;
    column-gap: 30px;
    row-gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
}

.c__pension-kind {
    display: grid;
    gap: 15px;
}

.c__pension-kind span {
    margin: 0 auto;
    max-width: unset;
}

.c__pension-point {
    display: grid;
    grid-template-columns: 1fr 4fr;
    height: fit-content;
    row-gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
}

.c__pension-point span img {
    width: 40px;
    display: grid;
    align-items: center;
    justify-items: center;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    padding: 8px;
}

.section__pension-toggle {
    width: 100%;
}

.section__pension-toggle header {
    border-top: 1px solid white;
}

.section__pension-toggle-header h3 {
    width: 100%;
}

.section__pension-toggle-header {
    width: 100%;
    background-color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 12px;
}

.section__pension-toggle-header h3 {
    color: white;
    font-size: 26px;
    max-width: 500px;
}

.section__pension-toggle-header span {
    border-radius: 50%;
    border: 3px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.section__pension-toggle-header span img {
    width: 18px;
}

.section__pension-toggle section {
    height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

#pension-amount-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 20px;
    margin: 30px 0;
}

#pension-amount-table tr:first-child th:nth-of-type(1) {
    width: 10%;
}

#pension-amount-table tr:first-child th:nth-of-type(n+2) {
    width: 40%;
}

#pension-amount-table th {
    background-color: var(--primary-color);
    padding: 6px;
    text-align: center;
    border: 1px solid var(--primary-color);
    color: white;
}

#pension-amount-table td {
    padding: 6px;
    background-color: white;
    text-align: center;
}

#pension-amount-table tr:first-child th:nth-of-type(2) {
    border-right: 1px solid white;
}

#pension-amount-table tr:nth-of-type(n+2) td {
    border-bottom: 1px solid var(--primary-color);
    border-right: 1px solid var(--primary-color);
}

#pension-amount-table tr:nth-of-type(2) th {
    border-bottom: 1px solid white;
}

#pension-amount-table tr:nth-of-type(3) th {
    border-bottom: 1px solid white;
}

#pension-amount-table th span {
    font-size: 16px;
    font-weight: normal;
    display: block;
}

#pension-amount-table td span {
    font-size: 28px;
    font-weight: bold;
}

#pension-amount-table p.p__with-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#pension-amount-table p.p__with-plus::before {
    content: "+";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 18px;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    border-radius: 50%;
}

.c__pension-condition {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 30px;
}

.c__pension-condition .card {
    min-height: unset;
}

.c__pension-condition .card:last-child {
    margin-bottom: 30px;
}

#pension h4 {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
}

#pension h4::before {
    content: "";
    position: absolute;
    bottom: -16px;
    display: inline-block;
    width: 60px;
    height: 4px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #2d7432;
    border-radius: 4px;
}

.c__pension-condition ul {
    list-style-position: inside;
    background-color: var(--list-bg);
    padding: 12px;
    border-radius: 8px;
    margin: 30px;
}

.c__pension-condition p:nth-of-type(even) {
    padding-top: 20px;
}

.c__pension-disease {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr 3fr;
    margin: 30px 0;
}

.c__pension-disease div:nth-child(odd) {
    background-color: var(--primary-color);
    border-bottom: 1px solid white;
    display: grid;
    justify-items: center;
    align-items: center;
    color: white;
    font-weight: bold;
    padding: 20px;
}

.c__pension-disease div:nth-child(even) {
    padding: 20px;
    background-color: white;
    border-bottom: 1px solid  var(--primary-color);
    border-right: 1px solid  var(--primary-color);
}

.c__pension-disease div:first-child {
    border-top: 1px solid  var(--primary-color);
}

.c__pension-disease div:nth-child(2) {
    border-top: 1px solid  var(--primary-color);
}

.c__pension-disease div:nth-child(3) {
    border-top: 1px solid  var(--primary-color);
}

.c__pension-disease div:nth-child(4) {
    border-top: 1px solid  var(--primary-color);
}

.c__pension-disease div:nth-last-child(2) {
    border-bottom: 1px solid  var(--primary-color);
}

.c__pension-disease div:nth-last-child(4) {
    border-bottom: 1px solid  var(--primary-color);
}

/* pension end */

/* case */
.c__case {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 30px;
}

.card {
    border: 2px solid var(--primary-color);
    padding: 30px;
    border-radius: 20px;
    min-height: 300px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.card:last-child {
    margin-bottom: 0;
}

.c__card-case {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 60px;
}

.c__card-case div span {
    border: 2px solid var(--primary-color);
    padding: 4px;
    display: inline-block;
    background-color: white;
    width: 100%;
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.c__card-case div span:first-child {
    margin-top: 0;
}

.c__card-case div:first-child {
    display: grid;
    justify-items: center;
    height: fit-content;
}

.c__card-case img {
    width: 200px;
}

.c__card-case h3 {
    font-size: 24px;
}

.c__card-case h4 {
    color: var(--first-navi-color);
    font-size: 20px;
}

.c__card-case p:nth-of-type(even) {
    margin-top: 20px;
}

/* case end */

/* fee */
#fee p {
    padding: 30px 0;
}

#fee h3 {
    color: var(--primary-color);
    font-size: 26px;
    position: relative;
    padding-bottom: 30px;
}

#fee h3::before,
#fee h3::after {
    content: "|";
    display: inline-block;
    font-size: 50px;
    font-weight: normal;
}

#fee h3::before {
    rotate: -45deg;
    margin-right: 40px;
}

#fee h3::after {
    rotate: 45deg;
    margin-left: 40px;
}

#fee h3 span {
    font-size: 80px;
    margin: 0 20px;
}

#fee>div {
    width: 100%;
    border: 1px solid #999;
    padding: 30px;
}

#fee ul {
    list-style: none;
}

#fee div>ul {
    list-style-type: disc;
    width: 360px;
    float: right;
    color: #999;
}

#fee table {
    clear: both;
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
}

#fee table tr {
    border-bottom: 1px dashed #ccc;
}

#fee table tr:last-child {
    border-bottom: none;
}

#fee table tr td {
    padding: 20px;
}

#fee table tr td:first-child span {
    display: block;
    background-color:  var(--primary-color);;
    padding: 12px;
    border-radius: 12px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-wrap: nowrap;
    min-width: 160px;
}

/* fee end */

/* column */
.c__column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 30px 0;
}

article.column {
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

article.column span {
    display: block;
    padding: 12px;
    border-radius: 12px 12px 0 0;
    text-align: right;
    background-color:  var(--primary-color);;
    color: white;
}

article.column h3 {
    margin: 20px;
    margin-bottom: 0px;
    padding-bottom: 5px;
    border-bottom: 2px dashed #ccc;
    color:  var(--primary-color);;
}

article.column p {
    margin: 0 20px;
    margin-bottom: 20px;
    padding: 10px 0;
}

.c__column-list-button {
    width: 100%;
    display: flex;
    justify-content: end;
}

.button__column-list {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid  var(--primary-color);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button__column-list span {
    color:  var(--primary-color);
    font-size: 14px;
    font-weight: bold;
    display: block;
}

/* column end */

/* footer */
footer.footer__global {
    background-color: var(--first-navi-color);
    width: 100%;
    color: white;
    border-top: 1px solid var(--border-navi-color);
}

.c__footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.c__footer-left div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 360px;
}

.c__footer-left img {
    width: 48px;
}

.c__footer-left div div p {
    font-size: 12px;
}

.c__footer-left div div h2 {
    font-size: 22px;
}

.c__footer-left>div {
    margin-top: 20px;
    margin-left: 64px;
    font-size: 16px;
}

.c__footer-left>div p:nth-child(3) {
    margin-top: 20px;
    font-size: 14px;
}

.c__footer-right {
    margin-top: 60px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.nav__footer {
    list-style: none;
    padding-left: 30px;
}

/* footer end */
.sp {
    display: none;
}

/* column-list */

.c__column-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    padding-top: 15px;
    padding-bottom: 30px;
}

.pagination__column-list {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
}

.pagination__column-list nav .nav-links {
    display: flex;
    width: fit-content;
    gap: 20px;
}

.pagination__column-list nav .nav-links .page-numbers {
    border-radius: 50%;
    background-color: white;
    border: 2px solid  var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color:  var(--primary-color);;
    font-weight: bold;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

.pagination__column-list nav .nav-links .page-numbers.next {
    background-color: unset;
    border: unset;
    box-shadow: unset;
    font-size: 26px;
}

.pagination__column-list nav .nav-links .page-numbers.prev {
    background-color: unset;
    border: unset;
    box-shadow: unset;
    font-size: 26px;
}

.pagination__column-list nav .nav-links .page-numbers.current {
    background-color:  var(--primary-color);
    color: white;
}

#column-archive section {
    padding: 30px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

#column-archive section span {
    display: block;
    border: 2px solid  var(--primary-color);;
    padding: 8px;
    border-radius: 8px;
    color:  var(--primary-color);;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    min-width: 140px;

}

/* column-list end*/

/* column-page */

#column-page header {
    padding-bottom: 15px;
}

#column-page header h2 {
    text-align: center;
}

.pagination__column-page {
    margin-top: 30px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 30px;
}

.pagination__column-page a {
    display: block;
    color:  var(--primary-color);;
    font-weight: bold;
}

/* colum-page end */

/* contact-page */

.section__contact-form header {
    padding-bottom: 15px;
}

.section__contact-form section {
    width: 100%;
}

.c__form {
    display: grid;
    grid-template-columns: 1fr 2fr;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    align-items: start;
}

.c__form .c__label {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    border-top: 1px solid #ccc;
    min-height: 100px;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 2fr;
}

.c__form .c__input {
    padding: 10px;
    border-top: 1px solid #ccc;
    min-height: 100px;
    display: grid;
    align-items: center;
}

.c__form input[type=text] {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    width: 100%;
    background: #eaedf2;
    font-size: 18px;
}

.c__form .required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #f7931e;
    color: #fff;
    font-size: 14px;
}

.c__form textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    height: 216px;
    width: 100%;
    background: #eaedf2;
    font-size: 18px;
}

.c__form-button-area {
    width: 100%;
    max-width: 800px;
    border-top: 1px solid #ccc;
    margin: 0 auto;
    text-align: center;
}

input[type=submit] {
    padding: 8px;
    background-color: var(--cta-color);
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 20px;
    min-height: 50px;
    min-width: 160px;
}

input[type=submit]:hover {
    opacity: 0.7;
}

.c__form-button-area input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.c__form select {
    border: 1px solid #ddd;
    border-radius: 6px;
    height: 48px;
    width: 100%;
    background: #eaedf2;
    font-size: 18px;
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
    appearance: menulist;
}

.c__policy {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c__policy img {
    width: 20px;
    margin: 0 6px;
}

.a__policy {
    text-decoration: underline;
    color:  var(--primary-color);;
    font-weight: bold;
}

/* contact-page end */

/* contact-confirm-page */
.c__form .c__input p {
    font-size: 18px;
}

.c__form-confirm-buttons {
    width: 100%;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 60px;
}

.button__back {
    margin-right: 30px;
    padding: 8px;
    background-color: #bbb;
    border-radius: 8px;
    color: white;
    font-weight: normal;
    font-size: 18px;
    padding: 10px 20px;
    height: 50px;
    min-width: 160px;
    display: inline-block;
}

/* contact-confirm-page end */

/* contact-completr-page */
.c__thanks {
    margin-top: 15px;
    width: 100%;
    max-width: 600px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.c__thanks h3 {
    position: relative;
    margin-bottom: 40px;
}

.c__thanks h3:after {
    content: "";
    width: 100px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0 auto;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
}

.c__thanks a {
    display: inline-block;
    padding-top: 30px;
    color:  var(--primary-color);
    text-decoration: underline;
}

.c__thanks.failure h3 {
    color: #fd373e;
}

.c__thanks.failure h3:after {
    background-color: #fd373e;
}

.c__error {
    text-align: left;
    padding: 30px 60px;
}

.c__error ul {
    list-style: none;
}

.c__error ul li {
    color: #fd373e;
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 10px;
}

.c__error ul li::before {
    content: "!";
    width: 20px;
    height: 20px;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #fd373e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* contact-completr-page end */

/* privacy */

#id__privacy-modal {
    position: fixed;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    opacity: 0;
}

.c__privacy-modal {
    position: relative;
    width: 50%;
    background-color: white;
    border: 1px solid var(--primary-color);;
    border-radius: 10px;
    padding: 30px;
}

.c__privacy-modal h2 {
    text-align: center;
    color:  var(--primary-color);;
    margin-bottom: 20px;
}

.c__privacy-modal h3 {
    margin-bottom: 20px;
    text-align: center;
}

.c__privacy-modal>ol {
    padding: 0 30px;
    margin-bottom: 30px;
    height: 40vh;
    overflow-y: scroll;
}

.c__privacy-modal ol li>ol {
    padding: 15px 0 15px 30px;
}

.c__privacy-modal section {
    display: flex;
    justify-items: center;
    align-items: center;
}

.c__privacy-modal section button {
    display: inline-block;
    padding: 10px;
    margin: 0 auto;
    border: 1px solid #ccc;
    background-color: #ccc;
    font-weight: bold;
}

/* privacy end */

/* noscript */

#noscript section {
    background-color: white;
    border: 1px solid #ccc;
    padding: 30px;
    margin: 30px 0;
}

#noscript section p {
    font-size: 24px;
}


/* noscript end */


@media screen and (min-width: 481px) and (max-width: 959px) {

    p {
        font-size: 16px;
    }

    .ab__padding-default {
        padding: 30px 15px;
    }

    .header__nav {
        padding-top: 0;
        padding-bottom: 0;
        font-size: 14px;
    }

    .c__header-logo-left {
        width: fit-content;
        gap: 10px;
    }

    .c__header-logo-left img {
        width: 50px;
    }

    .c__header-logo-left h1 {
        font-size: 20px;
    }

    .c__header-logo-left p {
        font-size: 10px;
    }

    .c__header-logo-right {
        width: fit-content;
        gap: 10px;
    }

    .c__header-logo-right .button__tel span:first-child {
        font-size: 22px;
    }

    .c__header-logo-right .button__tel span:nth-child(2) {
        font-size: 12px;
    }

    .c__header-logo-right .button__email {
        width: fit-content;
    }

    .c__header-logo-right .button__email span img {
        width: 40px;
    }

    .c__buttons-contact {
        gap: 20px;
    }

    .section__pension-toggle-header {
        padding: 15px 15px;
    }

    .c__column {
        gap: 10px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: 70px;
    }

    .swiper-button-next {
        right: -10px;
    }

    .swiper-button-prev {
        left: -10px
    }

    .c__footer-left>div p:nth-child(2) {
        font-size: 12px;
    }




}


@media screen and (max-width: 480px) {

    html {
        scroll-padding-top: 60px;
    }

    p {
        font-size: 14px;
    }

    .ab__padding-default {
        padding: 30px 15px;
    }

    .ab__margin-top-default {
        margin-top: 60px;
    }

    .c__header-logo {
        height: 60px;
        padding-left: 8px;
        padding-right: 0;
    }

    .c__header-logo-left {
        width: unset;
        gap: 8px;
    }

    .c__header-logo-left img {
        width: 48px;
    }

    .c__header-logo-left p {
        font-size: 10px;
    }

    .c__header-logo-left h1 {
        font-size: 18px;
    }

    #hamburger {
        position: absolute;
        width: 60px;
        height: 60px;
        top: 0;
        right: 0;
        z-index: 101;
    }

    #hamburger span {
        display: block;
        width: 40px;
        height: 3px;
        background-color: white;
        margin: 12px 0 12px 10px;
        transition: all 0.3s ease-in-out;
    }

    #hamburger.active span:nth-of-type(1) {
        rotate: 45deg;
        translate: 0px 18px;
        width: 46px;
        background-color: var(--primary-color);;
    }

    #hamburger.active span:nth-of-type(2) {
        opacity: 0;
    }

    #hamburger.active span:nth-of-type(3) {
        rotate: -45deg;
        translate: 0px -12px;
        width: 46px;
        background-color:  var(--primary-color);;
    }

    .header__global nav {
        position: absolute;
        top: 0;
        right: -100dvw;
        width: 100dvw;
        height: 100dvh;
        background-color: var(--second-navi-color);
        transition: all 0.4s;
        display: grid;
        justify-items: end;
        align-items: center;
        transition: all 0.5s ease-in-out;
    }

    .header__global nav.active {
        right: 0;
    }

    .header__nav {
        display: flex;
        flex-direction: column;
        border: unset;
        width: 100%;
        max-width: 60dvw;
        height: fit-content;
    }

    .header__nav a {
        justify-items: start;
    }

    .header__nav li {
        font-size: 20px;
        border-bottom: 1px solid  var(--primary-color);;
        padding-top: 20px;
    }

    .header__nav li:nth-last-child(2) {
        border: unset;
    }

    .header__nav li:nth-last-child(1) {
        border: unset;
    }

    .header__nav .button__email {
        width: 100%;
    }

    .header__nav .button__email span img {
        width: 40px;
    }

    .header__nav .button__tel {
        background-color:  var(--primary-color);;
        border: 2px solid white;
        width: 100%;
    }

    .header__nav .button__tel span img {
        width: 38px;
    }

    .header__nav .button__tel span:first-child {
        color: white;
        font-size: 18px;
    }

    .header__nav .button__tel span:nth-child(2) {
        font-size: 9px;
        font-weight: normal;
        color: white;
    }

    #id__catch-copy {
        font-size: 20px;
    }

    .c__process {
        grid-template-columns: repeat(2, 1fr);
    }

    .c__process h3 {
        font-size: 17px;
    }

    .card {
        padding: 20px;
    }

    .c__buttons-contact {
        flex-direction: column;
        gap: 20px;
    }

    .c__buttons-contact p::before{
    content: "\203B";
    }
    .c__buttons-contact p {
        font-size: 12px;
    }

    

    .c__profile {
        grid-template-columns: 1fr;
    }

    .c__profile table {
        font-size: 14px;
    }

    .c__pension-card {
        grid-template-columns: 1fr;
    }

    .c__pension-condition ul {
        font-size: 14px;
        margin: 20px 0;
        list-style-position: outside;
        padding-left: 30px;
    }

    .c__pension-grade {
        padding: 0;
    }

    .c__pension-point {
        padding: 0;
    }

    .section__pension-toggle header {
        padding: 15px 15px;
    }

    .section__pension-toggle-header h3 {
        font-size: 20px;
        max-width: unset;
    }

    .section__pension-toggle-header span {
        padding: 6px;
    }

    .section__pension-toggle-header span img {
        width: 16px;
    }

    #pension-amount-table {
        font-size: 12px;
    }

    #pension-amount-table td p {
        font-size: 12px;
    }

    #pension-amount-table td span {
        font-size: 18px;
    }

    #pension-amount-table p.p__with-plus {
        font-size: 12px;
        gap: 6px;
    }

    #pension-amount-table p.p__with-plus::before {
        width: 14px;
        height: 14px;
        font-size: 10px;
    }

    .c__pension-disease {
        grid-template-columns: 1fr;
    }

    .c__pension-disease div {
        border: unset;
        border: 1px solid  var(--primary-color);;
    }

    .c__pension-disease div:nth-child(odd) {
        border-bottom: 1px solid  var(--primary-color);;
    }

    .c__case {
        gap: 30px;
    }

    .c__card-case {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .c__card-case div span {
        max-width: 100%;
    }

    .c__card-case img {
        width: 160px;
    }

    .c__card-case h3 {
        font-size: 20px;
    }

    #fee h3 {
        font-size: 22px;
    }

    #fee h3 span {
        font-size: 60px;
    }

    #fee>div {
        padding: 10px;
        margin-bottom: 30px;
    }

    #fee div>ul {
        width: auto;
        list-style-position: inside;
        font-size: 12px;
    }

    #fee table {
        width: 100%;
        font-size: 12px;
    }

    #fee table tr td {
        padding: 15px;
    }

    #fee table tr td:first-child span {
        font-size: 12px;
        min-width: 80px;
    }

    #fee p {
        text-align: center;
        padding: 15px 0;
    }

    .c__column {
        grid-template-columns: 1fr;
    }

    .c__access {
        grid-template-columns: 1fr;
    }

    .c__access iframe {
        min-height: 400px;
    }

    .c__route h3 {
        font-size: 16px;
        position: relative;
        text-align: center;
        display: block;
        top: -50px;
    }

    .section__route {
        padding-top: 0;
    }

    .c-text-guide p {
        font-size: 14px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: 70px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        width: 30px;
        height: 30px;
    }

    .swiper-button-next {
        right: -8px;
    }

    .swiper-button-prev {
        left: -8px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }

    .swiper-pagination.my-swiper {
        bottom: -30px;
    }

    #contact h3 {
        font-size: 16px;
    }

    .c__footer {
        grid-template-columns: 1fr;
    }

    .c__footer-left div div p {
        font-size: 10px;
    }

    .c__footer-left div:first-child {
        width: 100%;
        justify-content: start;
        gap: 10px;
    }

    .c__footer-left>div {
        margin-left: 58px;
    }

    .c__footer-left>div p {
        font-size: 12px;
    }

    #to-top {
        width: 60px;
        height: 60px;
    }

    #to-top::before {
        font-size: 24px;
    }

    /* column-list page */
    .c__column-list {
        grid-template-columns: 1fr;
    }

    #column-archive section {
        grid-template-columns: repeat(2, 1fr);
    }

    /* contact-page */
    .c__form {
        grid-template-columns: 1fr;
    }

    .c__form .c__label {
        min-height: unset;
        grid-template-columns: 1fr 5fr;
        padding-top: 20px;
        font-size: 16px;
    }

    .c__form .c__input {
        border-top: none;
        min-height: unset;
    }

    .c__form input[type=text] {
        font-size: 14px;
    }

    .c__form .required {
        font-size: 12px;
    }

    .c__error {
        padding: 30px 30px;
    }

    .c__error ul li {
        font-size: 14px;
        gap: 8px;
    }

    .c__error ul li::before {
        content: "!";
        width: 16px;
        height: 16px;
        font-size: 10px;
        border: 1.5px solid #fd373e;
    }

    /* contact-page end */
    .c__privacy-modal {
        width: 90%;
    }

    .c__privacy-modal ol {
        font-size: 14px;
    }

    #noscript section p {
        font-size: 18px;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}