:root {
    --color-main: #008f79; /* main rgb(0, 143, 121) */
    --color-caution: #d91f11;
    --color-caution-bg: #fcd8d5;
    --color-pale-red: #fdf6f6;
    --color-pale-green: #f0fbfa;
    --color-process-area: #c7e8e3;
    --color-border-glay: #c8cdd6;
    --color-blue: #0d6efd;
    --color-disabled-bg: #e5e5e5;
    --color-disabled-text: #909090;    
}

html {
	width: 100h;
	height: 100h;
}
body {
	width: 100%;
	height: 100%;
}

.header {
    width: 100%;
    height: 100px;
    background-color: #fff;
    justify-content: space-between;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .4);
    position: sticky;
    top: 0;
    z-index: 30;
}
.header_contents {
    width: 1200px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.header-logo {
    width: 240px;
    height: auto;
}
.footer {
    height: 400px;
    background-color: #454545;
}
.footer-contents {
    width: 1200px;
    margin: 0 auto;
    padding-top: 53px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    line-height: 2;
    font-size: 14px;
}
.foooter-copylight {
    text-align: center;
    margin: 60px auto 18px;
    color: #fff;
    font-size: 12px;
}


select,
input[type="text"] {
    width: 100%;
    max-width: 930px;
}
textarea {
    width: 100%;
    max-width: 930px;
}

.title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 38px;
}
.subtitle {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
}

/* 必須バッジ */
.badge.bg-secondary.bg-danger {
	height:22px;
	margin-left: 5px;
	margin-right: 5px;
}

/* 任意バッジ */
.badge.bg-secondary.bg-info {
	height: 22px;
	margin-left: 5px;
	margin-right: 5px;
}
.content {
	max-width: 1200px;
	margin: 56px auto 160px;
    min-height: calc(100vh - 650px);
}

.lead-area-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
    padding: 0 30px;
    margin: 45px 0;
}

/* glay */
/* #c8cdd6 */

/* blue */
/* #0d6efd */

/* disabled */
/* bg #e5e5e5 */
/* text #909090 */

/* noactive 薄い赤 */
/* #fdf6f6 */



/* ======================================== */
/* ボタン */
/* ======================================== */
a.btn-wrap {
    text-decoration: none;
}

.btn-base,
a.btn-base {
    position: relative;
    background: var(--color-main);
    color: #fff;
    border-radius: 10px;
    height: 40px;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 0;
}
.btn-line,
a.btn-line {
    position: relative;
    box-sizing: border-box;
    background: #fff;
    border: solid 1px var(--color-main);
    color: var(--color-main);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.btn-base button,
a.btn-base button,
.btn-line button,
a.btn-line button {
    color: inherit;
    background-color: inherit;
    margin: 0em;
    padding-block: 0;
    padding-inline: 0;
    border-width: 0;
    border-image: initial;
}

.header .btn-line {
    border: solid 2px var(--color-main);
    font-weight: bold;
}

.btn-del-s {
    width: 60px;
    height: 60px;
    position: relative;
    box-sizing: border-box;
    background: #fff;
    border: solid 1px var(--color-main);
    color: var(--color-main);
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-del-s:disabled {
    background-color: #fff;
    border-color: var(--color-disabled-text);
    color: var(--color-disabled-text);
}

/* ボタン矢印 */
.add-arrow::before,
.add-arrow-back::before {
    content: "";
    position: absolute;    
    width: 13px;
    height: 22px;
    top: calc(50% - 11px);
}

.add-arrow::before {
    background: url(../images/icon_arrow_white.png);
    background-size: cover;
    right: 27px;
}
.add-arrow-back::before {
    background: url(../images/icon_arrow_white.png);
    background-size: cover;
    transform: scale(-1, -1);
    left: 27px;
}

.btn-base:disabled.add-arrow::before,
.btn-base:disabled.add-arrow-back::before {
    background: url(../images/icon_arrow_gray.svg);
    background-size: cover;
}

.btn-base:hover,
.btn-line:hover {
    opacity: .6;
}
.btn-base:disabled,
.btn-line:disabled {
    opacity: 1;
    background-color: var(--color-disabled-bg);
    border: 0;
    color: var(--color-disabled-text);
}

.btn-ss,
a.btn-ss {
    width: 230px;
    height: 50px;
}
.btn-s,
a.btn-s {
    width: 400px;
    height: 60px;
}
.btn-m,
a.btn-m,
.btn-l {
    width: 400px;
    height: 80px;
}


/* ボタンテキストアイコン */
.btn-add-icon {
    width: 12px;
    margin-right: 10px;
    display: inline-block;
}

.btn-size-m {
    width: 400px;
    height: 60px;
}
.btn-size-s {
    width: 240px;
    height: 50px;
}
.btn-size-auto {
    width: auto;
    height: 50px;
    padding: 0 10px;
}

.btn-base-camera,
a.btn-base-camera {
    position: relative;
    background: var(--color-main);
    color: #fff;
    border-radius: 10px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 0;
    display:inline-block;
}

/* ======================================== */
/* タイトル */
/* ======================================== */
.section-title {
    padding: 4px 0 4px 13px;
    border-left: solid 4px var(--color-main);
    font-size: 26px;
    color: #333;
    margin-bottom: 30px;
}
.section-caption{
    font-size: 20px;
}
.title-red-rhombus {
    font-size: 22px;
    position: relative;
    display: flex;
    justify-content: left;
    align-items: flex-start;
    margin-bottom: 26px;
}
.title-red-rhombus::before {
    content: "◆";
    font-size: 22px;
    position: relative;
    color: var(--color-main);
}

/* ======================================== */
/* box */
/* ======================================== */
.text-line-wrap {
    border: solid 1px #c8cdd6;
    border-radius: 10px;
    margin-bottom: 34px;
    padding: 22px 30px;
    font-size: 20px;
    line-height: 35px;
}

/* ======================================== */
/* ul */
/* ======================================== */
ol, ul {
    padding-left: 0 !important;
}

ul li {
    list-style-type: none;
    margin-bottom: 24px;
    padding-left: 24px;
    position: relative;
    line-height: 35px;
}
ul li::before {
    content: "●";
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 0;
}
ul.dot li::before {
    content: "・";
}
ul.dot.block-list-inner {
    padding-left: 20px !important;
    line-height: inherit;
}
ul.dot.block-list-inner li {
    margin-bottom: 0;
    padding-left: 18px;
}
ul.dot.block-list-inner li::before {
    top: -2px;
}

/* flexにして、先頭分、内容を右にずらすように設定させる */
.block-list-style > p {
    display: flex;
    text-align: left;
    margin-bottom: 5px;
    line-height: 35px;
}
.block-list-style > p > span {
    display: inline-block;
    min-width: 35px;
    width: fit-content;
}
.block-list-style > p > span.list-caution-title {
    width: 70px;
    display: inline-block;
    white-space: nowrap;
}

.agree-checkbox-content .text-padding-20 {
    padding-left: 35px;
}

/* ======================================== */
/* アイコン */
/* ======================================== */
.icon-home,
.icon-back,
.icon-hukidasi {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}
.icon-home {
    background: url(../images/icon_home.png) no-repeat;
    background-position: center;
    background-size: contain;
}
.icon-back {
    background: url(../images/icon_back.png) no-repeat;
    background-position: center;
    background-size: contain;
}
.icon-fukidasi {
    position: relative;
    width: 20px;
    height: 17.5px;
    background: url(../images/icon_fukidasi.png) no-repeat;
    background-position: center;
    background-size: cover;
}

/* ======================================== */
/* 作業の流れ */
/* ======================================== */
.flow-wrap {
    display: block;
    margin-bottom: 60px;
}
.flow-wrap-tablet {
    display: none;
}

/* ======================================== */
/* エラー */
/* ======================================== */
/* エラーテキスト */
[class^="is-error-"] span {
    margin-top: 10px;
    display: inline-block;
}
span.is-error {
    color: var(--color-caution);
}
.error-msg {
    color: var(--color-caution);
    margin: 10px 0;
}


/* ======================================== */
/* モーダル */
/* ======================================== */
.modal-bg {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, .6);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    backdrop-filter: blur(12px);
    z-index: 10;
}
.modal-wrap {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
}
.modal-content {
    width: 290px;
    min-height: 180px;
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    text-align: left;
    z-index: 20;
}
.modal-message-area {
    min-height: 60px;
    display: flex;
    align-items: center;
}
.modal-message {
    color: var(--color-main);
    align-items: center;
}
.modal-btn-area {
    margin-top: 20px;
}

/* モーダル表示時に画面のスクロールをさせないための設定 */
.contents-noscroll {
    height: 100vh;
    overflow: hidden;
}

/* ======================================== */
/* パーツ */
/* ======================================== */
.no-border {
    border: 0 !important;
}

.color-red {
    color: var(--color-caution);
}

.font-b {
    font-weight: bold;
}
.font-normal {
    font-weight: normal;
}
.font-18 {
    font-size: 18px;
}
.wd-100p {
    width: 100%;
}
.mr-15 {
    margin-right: 15px;
}
.ml-spacer {
    padding-left: 18px;
    display: inline-block;
}
.mt-5 {
    margin-top: 5px !important;
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-100 {
    margin-top: 100px;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.mb-10 {
    margin-bottom: 10px !important;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-40 {
    margin-bottom: 40px !important;
}
.pt-20 {
    padding-top: 20px;
}

.hide {
    display: none;
}
.hide-pc {
    display: none;
}
.hide-sp {
    display: block;
}

.block {
    display: block;
}
.inline-block {
    display: inline-block;
}
.vertical-align-top {
    vertical-align: top;
}

.deco-none {
    text-decoration: none;
}

.visible {
    visibility: visible !important;
}
.flex-y-center {
    display: flex;
    align-items: center;
}

.text-decoration-none {
    text-decoration: none;
}

/* タブレット */
@media screen and (max-width: 1112px) {
    .content {
        padding: 0 30px;
        width: calc(100% - 60px);
    }
    /* ======================================== */
    /* 作業の流れ */
    /* ======================================== */
    .frow-item {
        font-size: 14px;
    }
    .frow-item::before,
    .frow-item.now::before,
    .frow-item.comp::before {
        border-radius: 50%;
        width: 24px;
        height: 24px;
    }
    .frow-item::before {
        content: attr(data-frow);
        background-color: #eee;
    }
    .frow-item::after {
        width: 20px;
        margin: 0 6px;
    }
}
@media screen and (max-width: 950px) {
    /* 流れ項目2行時 */
    .frow-item {
        padding-left: 32px;
    }
    .frow-item::before {
        position: absolute;
        left: 0;
    }
    .flow-wrap-tablet > div:nth-child(3) {
        margin-right: 11px;
    }
}

@media screen and (max-width: 1200px) {
    .header {
        width: 100%;
        height: 50px;
        margin-bottom: 30px;
    }
    .header_contents {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
    }
    .header-logo {
        width: 118px;
        height: auto;
    }
    .header .btn-line {
        font-size: 14px;
        width: 170px;
        min-width: 170px;
        height: 30px;
        border-radius: 5px;
    }
    .footer {
        height: auto;
    }
    .footer-contents {
        width: calc(100% - 40px);
        padding: 10px;
        padding-top: 30px;
        display: block;
        color: #fff;
        line-height: 1.6;
        font-size: 12px;
    }
    .footer-contents .font-14 {
        font-size: 12px;
    }
    .footer-contents .font-18 {
        font-size: 14px;
    }
    .footer-contents .mt-30 {
        margin-top: 12px;
    }
    .foooter-copylight {
        text-align: center;
        margin: 30px auto 0;
        padding-bottom: 30px;
        font-size: 10px;
    }
    .footer .btn-line {
        margin-top: 20px;
        width: 100%;
    }
    .btn-base {
        font-size: 14px;
    }
    .btn-line,
    .btn-base {
        min-width: auto;
    }
    .btn-ss,
    a.btn-ss {
        width: 180px;
        min-width: 180px;
        height: 50px;
    }
    .btn-s,
    a.btn-s {
        width: 220px;
        min-width: 220px;
        height: 50px;
    }
    .btn-m,
    a.btn-m {
        width: 220px;
        min-width: 220px;
        height: 60px;
    }
    .btn-l {
        width: 270px;
        min-width: 270px;
        height: 60px;
        font-size: 12px;
    }
    .add-arrow::before,
    .add-arrow-back::before {
        width: 6.5px;
        height: 11px;
        top: calc(50% - 5.5px);
    }
    .add-arrow::before {
        right: 12px;
    }
    .add-arrow-back::before {
        left: 12px;
    }
    .title {
        margin-bottom: 20px;
    }
    .flow-wrap {
        display: none;
    }
    .flow-wrap-tablet {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 75px;
        gap: 10px 0;
    }
    .flow-wrap-tablet > div {
        position: relative;
        font-size: 11px;
        color: var(--color-main);
        background-color: var(--color-pale-green);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 11px;
        padding: 4px 7px;
        border-radius: 5px;
        border: solid 1px var(--color-main);
        box-sizing: border-box;
        line-height: 1;
    }
    .flow-wrap-tablet:not(.item1) > div:nth-child(2) {
        width: 95px;
    }
    .flow-wrap-tablet:not(.item1) > div:nth-child(4),
    .flow-wrap-tablet:not(.item1) > div:nth-child(5),
    .flow-wrap-tablet:not(.item1) > div:nth-child(6) {
        width: 106px;
    }
    .flow-wrap-tablet.item1 > div:nth-child(5),
    .flow-wrap-tablet.item1 > div:nth-child(6) {
        width: 107px;
    }
    .flow-wrap-tablet > div.comp,
    .flow-wrap-tablet > div.now {
        background-color: var(--color-main);
        color: #fff;
        border: 0;
    }
    .flow-wrap-tablet > div::before {
        content: "";
        position: absolute;
        width: 8px;
        height: 7px;
        top: calc(50% - 4px);
        right: -11.5px;
        background: url(../images/progress_arrow.svg) no-repeat;
        background-size: contain;
    }
    .flow-wrap-tablet > div:last-child {
        margin-right: 0;
    }
    .flow-wrap-tablet > div:last-child::before {
        content: none;
    }
}

/* SP */
@media screen and (max-width: 667px) {
    ul li {
        line-height: 26px;
    }
    .section-title {
        font-size: 16px;
        padding: 0 0 0 6px;
        margin-bottom: 16px;
    }
    .section-caption{ 
        font-size: 12px;
    }
    .title {
        font-size: 20px;
        line-height: 1.4;
    }
    .subtitle {
        font-size: 20px;
    }
    .content {
        padding: 0 17px;
        width: 100%;
        margin: 0 auto 50px;
    }
    body .flow-wrap {
        margin-top: 22px;
        margin-bottom: 30px;
    }
    .hide-pc {
        display: block;
    }
    .hide-sp {
        display: none;
    }
    .hide-tablet {
        display: none;
    }
    .block-list-style > p {
        line-height: 1.5;
    }
    .block-list-style > p span {
        min-width: 20px;
    }
    .block-list-style > p > span.list-caution-title {
        width: 56px;
        display: inline-block;
        white-space: nowrap;
    }    

    .agree-checkbox-content .text-padding-20 {
        padding-left: 20px;
    }

    .btn-size-m {
        width: 280px;
        height: 50px;
    }
    .btn-size-s,
    .btn-size-auto {
        width: auto;
        height: 30px;
        min-width: 80px;
    }

    .btn-size-s .icon-home,
    .btn-size-s .icon-back {
        margin: 0;
    }

    .form-label-required,
    .form-label-any {
        width: 50px;
        height: 24px;
    }
    .area-input-half label {
        margin-right: 10px;
    }

    .title-red-rhombus,
    .title-red-rhombus::before {
        font-size: 14px;
    }
    .title-red-rhombus,
    .title-red-rhombus::before {
        font-size: 14px;
    }
    .flow-wrap-tablet {
        justify-content: start;
    }
    span.is-error {
        font-size: 14px;
    }
    .mb-sp-0 {
        margin-bottom: 0 !important;
    }
    .mb-sp-50 {
        margin-bottom: 50px !important;
    }
    .ml-spacer {
        padding-left: 14px;
    }
}
@media screen and (max-width: 478px) {
    .flow-wrap-tablet > div:nth-child(3) {
        margin-right: 0;
    }
}
@media screen and (max-width: 368px) {
    .flow-wrap-tablet > div:nth-child(3) {
        margin-right: 11px;
    }
}
