body {
    display: grid;
    place-items: center;
}

a {
    text-decoration: none;
    color: #007bff;
}

.rentalCarClassLinkBox {
    margin-top: 40px;
}

.rentalCarClassLinkBox--list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: stretch;
    column-gap: 24px;
}

.rentalCarClassLinkBox--link {
    display: inline-block;
    text-align: center;
    font-weight: bold;
    width: 100%;
    background-color: var(--white);
    color: var(--primary-bland-color);
    border: 1px solid var(--primary-bland-color);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.5em 1em;
}

.rentalCarClassBox {
    width: 100%;
    padding-top: 40px;
}

.rentalCarClass {
    width: 100%;
    font-size: 2.4rem;
    text-align: center;
    font-weight: bold;
    padding: 0.5em 1em 0.5em;
    color: var(--primary-bland-color);
    border-bottom: 1px solid var(--primary-bland-color);
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .rentalCarClassLinkBox--list {
        column-gap: 16px;
    }
}

.cancellation {
    
}

.flex {
    width: 100%;
    display: flex;
    gap: 32px;
    margin-top: 48px;
}

.flex--rentalCarInformation {
    flex: 0 0 280px;
    display: grid;
    justify-items: center;
    align-content: start;
}

.flex--currentCalendar {
    flex: 1 0;
}

.flex--nextCalendar {
    flex: 1 0;
}

.flex--img {
    width: 100%;
}

.flex--rentalCarInformation--body {
    width: 100%;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .flex {
        display: grid;
    }

    .flex--rentalCarInformation {
        flex: none;
        width: 100%;
    }
    
    .flex--currentCalendar {
        flex: none;
        width: 100%;
    }
    
    .flex--nextCalendar {
        flex: none;
        width: 100%;
    }

    .flex--img {
        width: 30%;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .flex--img {
        width: 50%;
    }
}

.calendar {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    width: 14.28%;
    font-size: 1.6rem;
}

.calendar-header td {
    border: none;
    background-color: #000000;
    color: var(--white);
    background-color: var(--white);
    color: var(--black);
}

.prevMonthBox {
    padding-left: 0;
}

.nextMonthBox {
    padding-right: 0;
}

.calendar--statusText {
    font-size: 1.6rem;
    text-align: center;
}

input[type="checkbox"] {
    margin-top: 12px;
    width: 20px;
    height: 20px;
}

.form {
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    place-items: center;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 5%;
    background-color: var(--primary-bland-color);
    color: var(--white);
    display: grid;
    place-items: center;
    z-index: 1000;
}

.header--box {
    width: 100%;
    max-width: var(--inner-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header--appName {
    width: 100%;
    font-size: 3.2rem;
    text-align: left;
}

.header--addressBox {
    flex: 1 0 auto;
    /* display: flex;
    align-items: center; */
}

.header--text {
    color: var(--black);
    color: var(--white);
    font-size: 1.6rem;
}

.header--smartPhoneIcon {
    height: 24px;
    /* margin: 0 4px; */
}

.header--tel {
    display: block;
    flex: 1 0 auto;
    font-size: 2.4rem;
    text-align: center;
    background-color: var(--accent-color);
    padding: 8px 16px;
    color: var(--white);
    text-align: center;
    font-weight: bold;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .header--box {
        display: block;
    }

    .header--appName {
        font-size: 2.4rem;
        text-align: center;
    }

    .header--addressBox {
        margin-top: 8px;
    }
}

.rentalCarName {
    font-size: 2.4rem;
    text-align: center;
    margin-top: 24px;
}

.prevMonthBox {
    text-align: left;
}

.nextMonthBox {
    text-align: right;
}

.current-month {
    text-align: center;
    font-size: 2.4rem;
    font-weight: bold;
}

.prev-month, .next-month {
    color: var(--white);
    background-color: var(--primary-bland-color);
    padding: 8px 16px;
}

.prev-month:hover, .next-month:hover {
    transition: 0.3s ease;
}

.prev-month.disabled, .next-month.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sunday {
    color: red;
}

.saturday {
    color: blue;
}

.weekday {
    color: black;
}

.reserved {
    color: var(--reserved-color-font);
    background-color: var(--reserved-color-bg);
}

.chips {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 16px;
    gap: 8px;
}

.chip {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-bland-color);
    color: var(--white);
    font-size: 1.6rem;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .current-month {
        font-size: 2rem;
    }

    .prev-month, .next-month {
        font-size: 1.4rem;
        padding: 6px 12px;
    }
}

.bottomNavigation {
    width: 100%;
    position: fixed;
    bottom: 0;
    /* padding: 16px 5%; */
    /* border-top: 1px solid #ddd; */
    display: grid;
    place-items: center;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 16px 5%;
    color: var(--black);
    font-size: 2rem;
    font-weight: bold;
    background-color: var(--accent-color);
    border: none;
}

.submit-button:hover {
    background-color: var(--primary-bland-color);
    color: var(--white);
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .chips {
        justify-content: center;
    }
}


/* 以下はいつもの */

.content--inner-large {
    width: 100%;
    max-width: var(--inner-large);
}

.content--inner-medium {
    width: 100%;
    max-width: var(--inner-medium);
    margin-bottom: 88px;
}

.content--inner-small {
    width: 100%;
    max-width: var(--inner-small);
}

.content--inner-XSmall {
    width: 100%;
    max-width: var(--inner-xsmall);
}

.content--title {
    font-size: 3.2rem;
    text-align: center;
}

.content--textBox {
    margin-top: 24px;
}

.content--text {
    text-align: center;
}

.content--btnBox {
    margin-top: 24px;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .content--inner-medium {
        padding: 0 5%;
    }

    .content--title {
        font-size: 2.4rem;
    }
    
    .content--text {
        text-align: left;
    }
}

.darkTheme {
    color: var(--white);
}

.emphasis {
    color: var(--primary-bland-color);
}

.localLargeFont {
    font-size: 1.4em;
}

.localSmallFont {
    font-size: 0.8em;
}

.leftAlignment {
    display: flex;
    justify-content: flex-start;
    margin-left: calc(50% - 50vw);
}

.rightAlignment {
    display: flex;
    justify-content: flex-end;
    margin-right: calc(50% - 50vw);
}

.sectionTitle {
    font-size: var(--font-size-title);
    text-align: center;
}

.sectionSubTitle {
    font-size: var(--font-size-subtitle);
    text-align: center;
    margin-top: 16px;
}

.sectionContentsBox {
    margin-top: 40px;
}

.sectionTextBox {
    margin-top: 1.6rem;
}

.sectionText {
    font-size: var(--font-size-text);
    text-align: center;
    line-height: 1.5;
}

.sectionBtnBox {
    display: grid;
    place-items: center;
    margin-top: 40px;
}

.sectionLink {
    color: var(--primary-bland-color);
    text-decoration: underline;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .sectionTitle {
        font-size: var(--font-size-title-sp);
    }

    .sectionText {
        text-align: left;
    }
}

.media {
    display: flex;
}

.media-reverse {
    flex-direction: row-reverse;
}

.media--imgBox {
    width: 320px;
    line-height: 0;
}

.media--img {
    width: 100%;
}

.media--body {
}

.media--text {
    line-height: 1.5;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .media {
        flex-direction: column;
    }

    .media--imgBox {
        width: 100%;
    }

    .media--img {
        width: 100%;
    }
}

/* 親要素を無視したwidth100%の設定 */
.widthFullsizeIgnoreParentElement {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .widthFullsizeIgnoreParentElement-spOnly {
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
    }
}

/* アンダーライン */
/* .underline-white {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.underline-white::after {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 0.1em;
    background-color: var(--white);
} */

.underline-white {
    background-image: linear-gradient(transparent 90%, var(--white) 0%);
}

.underline-accentColor {
    background-image: linear-gradient(transparent 60%, var(--accent-color) 0%);
}

.grid-col2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.grid-col3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.grid-col4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.grid-col5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

@media screen and (max-width: 599px) {
    /* max-witdhの値pxまでの幅の場合に適応される */
    
    .grid-col2,
    .grid-col3,
    .grid-col4,
    .grid-col5 {
        grid-template-columns: repeat(1, 1fr);
    }

}

/* パンくずリスト */
.breadcrumbs {
    display: grid;
    place-items: center;
    padding: 16px 5% 32px;
}

.breadcrumbs--item {
    padding-left: 8px;
    padding-right: 8px;
    font-weight: bold;
}

.breadcrumbs--item:first-of-type {
    padding-left: 0;
}

.breadcrumbs--baseline {
    vertical-align: text-top;
}

/* ボタン */

.sectionBtn {
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    font-size: 1.8rem;
    color: var(--white);
    background-color: var(--primary-bland-color);
    padding: 12px 24px;
    text-align: center;
}

.arrowBtn {
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 24px 2%;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    background: var(--primary-bland-color);
    color: var(--white);
}

.arrowBtn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-100%, -50%);
    width: 16px;
    height: 16px;
    background-image: url(/img/icon_arrow_right_white.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.darkTheme .arrowBtn {
    background: var(--primary-bg-gradation);
}

.darkTheme .arrowBtn::after {
    background-image: url(/img/icon_arrow_right_white.png);
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .arrowBtn {
        font-size: 1.8rem;
    }
}

.arrowBorderBtn {
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 360px;
    padding: 16px 2%;
    border-radius: 9999px;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: var(--primary-bland-color);
    background: var(--white);
    border: 2px solid var(--primary-bland-color);
}

.arrowBorderBtn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-100%, -50%);
    width: 16px;
    height: 16px;
    background-image: url(/img/icon_arrow_right_orange.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.darkTheme .arrowBorderBtn {
    color: var(--white);
    background-color: transparent;
    border: 2px solid var(--white);
}

.darkTheme .arrowBorderBtn::after {
    background-image: url(/img/icon_arrow_right_white.png);
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .arrowBorderBtn {
        font-size: 1.8rem;
    }
}

.squareArrowBtn {
    padding: 16px 24px 16px 16px;
    width: 100%;
    max-width: 360px;
    border: 3px solid var(--black);
    display: flex;
    align-items: center;
    column-gap: 16px;
    position: relative;
}

.squareArrowBtn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-100%, -50%);
    width: 16px;
    height: 16px;
    background-image: url(/img/icon_arrow_right_black.png);
    background-size: contain;
    background-repeat: no-repeat;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .squareArrowBtn {
        font-size: 1.8rem;
    }
}

.contactBtn {
    background: var(--primary-bg-gradation);
    padding: 24px 48px;
    display: grid;
    place-items: center;
}

.telBtn {
    border: 2px solid var(--black);
    background-color: var(--white);
    padding: 24px 48px;
    display: grid;
    place-items: center;
}

.contactBtn--contact {
    font-size: 3.2rem;
    font-weight: bold;
    text-align: left;
    position: relative;
    padding-left: 40px;
}

.contactBtn--contact::before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 20px;
    background-image: url(/img/icon_mail_white.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.telBtn--tel {
    color: var(--black);
    font-size: 3.2rem;
    font-weight: bold;
    text-align: left;
    position: relative;
    padding-left: 24px;
}

.telBtn--tel::before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 24px;
    background-image: url(/img/icon_phone_black.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.contactBtn--text {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 16px;
}

.telBtn--text {
    color: var(--black);
    font-size: 1.8rem;
    text-align: center;
    margin-top: 16px;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .contactBtn,
    .telBtn {
        padding: 16px 24px;
    }

    .contactBtn--contact,
    .telBtn--tel {
        font-size: 2.4rem;
    }

    .contactBtn--text,
    .telBtn--text {
        font-size: 1.6rem;
    }
}

/* テーブル */

.horizontalTableBox {
    width: 100%;
    margin-top: 32px;
}

.horizontalTable {
    width: 100%;
}

.horizontalTable--body {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

.horizontalTable--bodyRow {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.horizontalTable--header {
    width: 33%;
    min-width: 240px;
    color: var(--font-color-black);
    text-align: left;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: var(--bg-color-table-header);
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color-table-header);
}

.horizontalTable--header:first-of-type {
    /* textのborderと高さを合わせる為なので、「--bg-color-table-header」で正しい */
    border-top: 1px solid var(--bg-color-table-header);
}

.horizontalTable--text {
    width: auto;
    color: var(--font-color-black);
    text-align: left;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: var(--white);
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color-table-text);
    border-right : 1px solid var(--border-color-table-text);
    line-height: 1.5;
}

.horizontalTable--text:first-of-type {
    border-top: 1px solid var(--border-color-table-text);
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .horizontalTable--body {
    }

    .horizontalTable--bodyRow {
        margin-top: 8px;
    }

    .horizontalTable--header {
        width: 50%;
        min-width: 0;
        padding: 1em;
        font-size: 1.2rem;
    }
    
    .horizontalTable--text {
        width: 50%;
        padding: 1em;
        font-size: 1.4rem;
    }

    .horizontalTable--body.spVertical {
        display: block;
    }

    .horizontalTable--bodyRow.spVertical {
        display: block;
    }

    .horizontalTable--header.spVertical {
        display: block;
    }
    
    .horizontalTable--text.spVertical {
        display: block;
        background-color: transparent;
    }
}

/* カード */

.card {
    width: 100%;
    position: relative;
    border: 1px solid var(--border-color-card);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
    padding: 16px;
    background-color: var(--white);
}

.card--title {
    font-size: 1.6rem;
    margin-top: 8px;
}

.card--imgBox {
    width: 100%;
    line-height: 0;
}

.card--img {
    width: 100%;
}

.card--body {
    width: 100%;
    padding: 1em;
}

.card--date {
    color: var(--secondary-bland-color);
    font-size: 1.3rem;
    font-weight: bold;
}

.card--textBox {
    margin-top: 8px;
}

.card--text {
    color: var(--font-color-black);
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: justify;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .card--title {
        font-size: 2rem;
    }
}

/* 表示非表示 */

@media screen and (min-width: 600px) {
    /* 600px以上の幅の場合に適応される */
    
    .spOnly {
        display: none;
    }
    
}

@media screen and (max-width: 1025px) {
    /* 1024pxまでの幅の場合に適応される */
    .pcOnly {
        display: none;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .notSpOnly {
        display: none;
    }
}

@media not screen and (min-width: 599px) and (max-width: 1024px) {
    /* 599px以上、1024px以下の幅の場合に適応される */
    .tabletOnly {
        display: none;
    }
}

/* common section */

.hero-lowerPage {
    padding: 120px 5%;
    background-image: url(/img/bg-hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: grid;
    place-items: center;
}

.hero-lowerPage--inner {
    width: 100%;
    max-width: var(--inner-medium);
}

.hero-lowerPage--title {
    font-size: 4rem;
    text-align: center;
    color: var(--white);
    filter: drop-shadow(0 0 8px var(--black));
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .hero-lowerPage {
        padding: 48px 5%;
    }
    
    .hero-lowerPage--title {
        font-size: 3.2rem;
    }

}

/* googleMapSection */

.googleMapSection {
    line-height: 0;
}

.googleMapBox {
    margin-top: 24px;
}

/* figure */

.figure {
    width: 100%;
}

.figure--img {
    width: 100%;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .figure {
        width: 100%;
    }

    .figure--img {
        width: 100%;
    }
}

/* link */

.linkBox--link-external {
    font-size: 1.7rem;
    padding-right: 1em;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
}

.linkBox--link-external::after {
    position: absolute;
    content: "";
    background-image: url(../img/external-link.svg);
    background-size: cover;
    height: 1em;
    width: 1em;
    margin-left: 8px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.linkBox--text {
    font-size: 1.6rem;
    text-align: left;
    line-height: 1.5;
}