﻿@charset "utf-8";


/* box-white
----------------------------------------------------*/
.box-white{
    padding: 30px;
    background: #fff;
}
@media screen and (max-width:767px) {
    .box-white{
        padding: 15px;
    }
}

/* box-gray
----------------------------------------------------*/
.box-gray{
    padding: 30px;
    background: #f5f5f5;
}
@media screen and (max-width:767px) {
    .box-gray{
        padding: 20px;
    }
}

/* bg-gray
----------------------------------------------------*/
.bg-gray {
    background-color: #f3f3f3;
    padding: 30px 0px;
}
@media print, screen and (min-width: 768px) {
    .bg-gray {
        padding: 40px 0px;
    }
}
@media print, screen and (min-width: 992px) {
    .bg-gray {
        padding: 80px 0px;
    }
}

/* bg-light-red
----------------------------------------------------*/
.bg-light-red {
    background-color: #fce1d8;
    padding: 30px 0px;
}
@media print, screen and (min-width: 768px) {
    .bg-light-red {
        padding: 40px 0px;
    }
}
@media print, screen and (min-width: 992px) {
    .bg-light-red {
        padding: 80px 0px;
    }
}

/* ボタン
---------------------------------------------------- */
.btn-style {
    display: block;
    background-color: #fff;
    border: 1px solid #333;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    border-radius: 50px;
    padding: 12px 10px;
    font-size: 120%;
    text-align: center;
    line-height: normal;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.btn-style:link,
.btn-style:visited,
.btn-style:active {
    color: #333;
    text-decoration: none
}
.btn-style:hover {
    color: #fff;
    background-color: #333;
    border: 1px solid #333;
}
.btn-style i {
    margin-right: 10px;
    font-size: 140%;
}
@media print, screen and (min-width: 768px) {
    .btn-style {
        padding: 15px 15px;
    }
}

/* セクションマージン
---------------------------------------------------- */
.sec-margin-bottom {
    margin-bottom: 50px;
}
@media print, screen and (min-width: 992px) {
    .sec-margin-bottom {
        margin-bottom: 90px;
    }
}

/* title-simple
-------------------------------------------------*/
.title-simple{
    font-size: 260%;
    line-height: 1.4;
}
.title-simple.small{
    font-size: 180%;
}
.title-simple.xsmall{
    font-size: 150%;
}
.title-simple.xxsmall{
    font-size: 130%;
}

/* title-leftline 
------------------------------------------------------------------*/
.title-leftline{
    padding-left: 0.5em;
    border-left: 3px solid #333;
    font-size: 180%;
    line-height: 1.5;
}
/* 文字サイズ変更 */
.title-leftline.small{ font-size: 150%;}
.title-leftline.xsmall{ font-size: 120%;}

@media screen and (max-width:1399px){
    .title-leftline{ font-size: 160%;}
}
@media screen and (max-width:991px){
    .title-leftline{ font-size: 150%;}
    .title-leftline.small{ font-size: 140%;}
    .title-leftline.xsmall{ font-size: 110%;}
}

/* title-underline 
------------------------------------------------------------------*/
.title-underline{
    padding-bottom: 10px;
    border-bottom: 1px solid #aaa;
    font-size: 180%;
    line-height: 1.5;
}
/* 文字サイズ変更 */
.title-underline.small{ font-size: 150%;}
.title-underline.xsmall{ font-size: 120%;}

/* ライン色変更 */

@media screen and (max-width:1399px){
    .title-underline{ font-size: 160%;}
}
@media screen and (max-width:991px){
    .title-underline{ font-size: 150%;}
    .title-underline.small{ font-size: 140%;}
    .title-underline.xsmall{ font-size: 110%;}
}


/*------------------------------------------------------------------
  list-style
------------------------------------------------------------------*/

/* list-disc ----------------------------------------*/
.list-disc{
    margin: 0;
    line-height: 1.5;
    list-style: none;
}
.list-disc > li{
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 10px;
}
.list-disc > li:last-of-type{
    margin-bottom: 0;
}
.list-disc > li::before{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "・";
}

/* list-decimal ----------------------------------------*/
.list-decimal{
    line-height: 1.5;
}
.list-decimal > li {
    position: relative;
    padding-left: 1.3em;
	counter-increment: cnt;
}
.list-decimal > li::before{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: ""counter(cnt)".";
}

/* list-bracket ----------------------------------------*/
.list-bracket{
    line-height: 1.5;
}
.list-bracket > li{
    position: relative;
    padding-left: 2em;
	counter-increment: cnt;
}
.list-bracket > li::before{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "("counter(cnt)")";
}

/* list-asterisk ----------------------------------------*/
.list-asterisk{
    line-height: 1.5;
}
.list-asterisk > li{
    position: relative;
    padding-left: 1.5em;
}
.list-asterisk > li::before{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "※";
}

/* list-asterisk-bracket ----------------------------------------*/
.list-asterisk-bracket{
    line-height: 1.5;
}
.list-asterisk-bracket > li{
    position: relative;
    padding-left: 2em;
	counter-increment: cnt;
}
.list-asterisk-bracket > li::before{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "※"counter(cnt)"";
}

/* list-check ----------------------------------------*/
.list-check{
    line-height: 1.5;
}
.list-check > li{
    position: relative;
    padding-left: 1.5em;
}
.list-check > li::before{
    position: absolute;
    top: 0.05em;
    left: 0;
    display: block;
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
    color: var(--primary-color);
}
/* list-indent ----------------------------------------*/
.list-indent{
    line-height: 1.5;
}
.list-indent > li{
    padding-left: 1em;
    text-indent: -1em;
}

/* list-line-dashed ----------------------------------------*/
.list-line-dashed > li{
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px dashed #bbb;
}
.list-line-dashed > li:last-of-type{
    margin-bottom: 0;
}

/*------------------------------------------------------------------
  list-margin
------------------------------------------------------------------*/
.list-margin-small > li{ margin-bottom: 0.7em;}
.list-margin-medium > li{ margin-bottom: 1em;}
.list-margin-large > li{ margin-bottom: 1.3em;}

.list-margin-small > li:last-of-type,
.list-margin-medium > li:last-of-type,
.list-margin-large > li:last-of-type{ margin-bottom: 0;}


/* link-text
-------------------------------------------------*/
.link-text{
    text-decoration: underline;
}
.link-text:hover{
    color: #999;
    text-decoration: underline;
}

/* 縦横比固定 */
.photo-ofi {
    height: 0;
    display: block;
    padding-bottom: 50%;
    /* 高さを指定（ボックスの横幅を基準） */
    background-color: #fff;
    overflow: hidden;
    position: relative;
    /*margin-bottom: 10px;*/
}
.photo-ofi img {
    max-width: inherit;
    max-height: inherit;
    width: 100%;
    height: 100%;
    -o-object-fit: scale-down;
    object-fit: scale-down;
    font-family: 'object-fit: scale-down;';
    position: absolute;
    left: 0;
    top: 0;
}

/* 縦横比固定 正方形 */
.photo-ofi2 {
    height: 0;
    display: block;
    padding-bottom: 100%;
    /* 高さを指定（ボックスの横幅を基準） */
    /*background-color: #EFEFEF;*/
    overflow: hidden;
    position: relative;
    /*margin-bottom: 10px;*/
}
.photo-ofi2 img {
    max-width: inherit;
    max-height: inherit;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    position: absolute;
    left: 0;
    top: 0;
}


/*------------------------------------------------------------------
  img-fit
------------------------------------------------------------------*/
.img-fit{
    height: 100%;
    overflow: hidden;
}
.img-fit img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table_form {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}
.table_form th {
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 10px;
    background-color: #f1f1f1;
    vertical-align: top;
    text-align: left;
    display: block;
}
.table_form td {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: middle;
    padding: 10px;
    display: block;
}
@media print, screen and (min-width: 768px) {
    .table_form th {
        padding: 15px;
        vertical-align: middle;
        display: table-cell;
        width: 35%;
    }
    .table_form td {
        border-top: 1px solid #ddd;
        padding: 15px;
        display: table-cell;
    }
}
@media print, screen and (min-width: 992px) {
    .table_form th {
        width: 30%;
    }
}
@media print, screen and (min-width: 1200px) {
    .table_form th {
        width: 25%;
    }
}

/* 必須・任意 */
/*p.need:before{ content: "必須";background-color:#f66; color:#fff;padding:3px 5px; font-size:11px; font-weight:normal; margin-right:5px;vertical-align:middle;border-radius: 3px;}*/
.table_form th.need:after {
    content: "必須";
    background-color: #f66;
    color: #fff;
    padding: 3px 5px;
    font-size: 11px;
    font-weight: normal;
    line-height: normal;
    vertical-align: middle;
    float: right;
    border-radius: 3px;
}
.table_form th.any:after {
    content: "任意";
    background-color: #999;
    color: #fff;
    padding: 3px 5px;
    font-size: 11px;
    font-weight: normal;
    line-height: normal;
    vertical-align: middle;
    float: right;
    border-radius: 3px;
}
.need input[type="text"],
.need input[type="password"],
.need select,
.need textarea {
    border: 1px solid #fcc;
    /*background-color:#fee;*/
    padding: 14px;
}
.need input[type="text"]:focus,
.need input[type="password"]:focus,
.need select:focus,
.need textarea:focus {
    border: 1px solid #f66;
}

/* テキストボックスのサイズ */
.form-xs {
    width: 70px;
}
.form-s, .form-m, .form-l, .form100 {
    width: 100%
}
.form-h {
    width: 100%;
    height: 100px;
}
@media print, screen and (min-width: 768px) {
    .form-s {
        width: 200px
    }
    .form-m {
        width: 300px
    }
    .form-l {
        width: 100%
    }
    .form-h {
        width: 100%;
        height: 150px;
    }
}

/* フォーム関係タグの初期設定とデザイン */
input[type="checkbox"], input[type="radio"] {
    vertical-align: text-top;
}
input[type="text"] {
    font-size: 100%;
    vertical-align: middle;
    padding: 14px;
}
textarea {
    width: 95%;
    height: 100px;
}
input[type="text"],
input[type="password"],
select,
textarea {
    border: 1px solid #ddd;
    /*background-color:#eee;*/
    padding: 14px;
    border-radius: 4px
}
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border: 1px solid #999;
}
label {
    font-weight: normal
}

/* ラジオボタンのデザイン */
input[type="radio"] {
    display: none;
    width: 20px;
    height: 20px;
}
input[type="radio"]+label {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-size: 100%;
    border: 1px solid #333;
    border-radius: 30px;
    padding: 5px 10px;
    background: #fff;
    color: #333;
    line-height: 2.5em;
    cursor: pointer;
}
input[type="radio"]:checked+label {
    background: #333;
    color: #fff;
}
@media print, screen and (min-width: 768px) {
    input[type="radio"]+label {
        display: inline-block;
        padding: 2px 15px;
    }
}

/* チェックボックスのデザイン */
input[type="checkbox"]+label {
    display: inline-flex;
    align-items: center;
    column-gap: 10px;
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
    width: 100%;
}
input[type="checkbox"]+label:before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    font-weight: 900;
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 5px;
}
input[type="checkbox"] {
    display: none;
}
input[type="checkbox"]:checked+label:before {
    font-size: 20px;
    background-color: #666;
    vertical-align: middle;
    text-align: center;
}
@media print, screen and (max-width: 991px) {
    input[type="checkbox"]+label {
        display: flex;
    }
}

/* placeholder */
input::-webkit-input-placeholder {
    color: #999;
}
input:-ms-input-placeholder {
    color: #999;
}
input::placeholder {
    color: #999;
}

/* buttonのデザイン */
input[type="button"], input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}
/*iosのグラデ、角丸解除*/
.submit {
    width: 100%;
    display: block;
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
    font-weight: normal;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 30px;
}
@media print, screen and (min-width: 768px) {
    .submit {
        width: auto;
        display: inline;
        padding: 20px 50px;
        height: auto;
        border-radius: 40px;
    }
}
@media print, screen and (min-width: 992px) {
    .submit {
        padding: 20px 80px;
    }
}