/*------------------------------------------------------------------
  anchor
------------------------------------------------------------------*/
.anchor{
    padding-top: 120px;
    margin-top: -120px;
    position: relative;
    z-index: -1;
}
@media screen and (max-width:767px){
    .anchor{
        padding-top: 70px;
        margin-top: -70px;
    }
}


/*------------------------------------------------------------------
  section
------------------------------------------------------------------*/
.section-xsmall{
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    z-index: 1;
}
.section-small{
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    z-index: 1;
}
.section-medium{
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    z-index: 1;
}
.section-large{
    position: relative;
    padding-top: 130px;
    padding-bottom: 130px;
    z-index: 1;
}
@media screen and (max-width:767px){ 
    .section-xsmall{
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .section-small{
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .section-medium{
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .section-large{
        padding-top: 100px;
        padding-bottom: 100px;
    }
}


/*------------------------------------------------------------------
  title
------------------------------------------------------------------*/

/* title-line 
------------------------------------------------------------------*/
.title-line{
    position: relative;
    display: inline-block;
    margin-bottom: 0.7em;
    font-family: "Lora", "NotoSerifJP";
    font-size: 72px;
}
.title-line span{
    opacity: 0;
}
.title-line::after{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-1px);
    content: "";
    width: 0;
    height: 1px;
    background: #fff;
    z-index: 2;
}
.title-line.in span{
    animation: title-line 1.2s cubic-bezier(.58,.09,.41,1) forwards;
}
.title-line.in::after{
    animation: title-line-after 1s cubic-bezier(.58,.09,.41,1) forwards;
}
@keyframes title-line {
    0%{
        opacity: 0;
    }
    30%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
@keyframes title-line-after {
    0%{
        left: 0;
        width: 0;
    }
    100% {
        left: calc(100% + 15px);
        width: 200px;
    }
}
@media screen and (max-width:1399px){
    .title-line{
        font-size: 60px;
    }
    @keyframes title-line-after {
        0%{
            left: 0;
            width: 0;
        }
        100% {
            left: calc(100% + 15px);
            width: 150px;
        }
    }
}
@media screen and (max-width:1199px){
    .title-line{
        font-size: 48px;
    }
    @keyframes title-line-after {
        0%{
            left: 0;
            width: 0;
        }
        100% {
            left: calc(100% + 15px);
            width: 100px;
        }
    }
}
@media screen and (max-width:767px){
    .title-line{
        font-size: 36px;
    }
    @keyframes title-line-after {
        0%{
            left: 0;
            width: 0;
        }
        100% {
            left: calc(100% + 15px);
            width: 80px;
        }
    }
}
@media screen and (max-width:575px){
    .title-line{
        font-size: 30px;
    }
}

/* title-on-english 
------------------------------------------------------------------*/
.title-on-english {
    margin-bottom: 1em;
    font-family: "Lora";
    font-size: 30px;
}
.title-on-english .text{
    display: block;
    font-family: "NotoSerifJP";
    font-size: 16px;
}
@media screen and (max-width:767px){
    .title-on-english {
        font-size: 24px;
    }
    .title-on-english .text{
        font-size: 14px;
    }
}

/* title-bold 
------------------------------------------------------------------*/
.title-bold{
    margin-bottom: 1em;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
}

/* 文字サイズ変更 */
.title-bold.small{ font-size: 24px;}
.title-bold.xsmall{ font-size: 20px;}

@media screen and (max-width:1199px){
    .title-bold{ font-size: 28px;}
    .title-bold.small{ font-size: 22px;}
    .title-bold.xsmall{ font-size: 18px;}
}
@media screen and (max-width:991px){
    .title-bold{ font-size: 26px;}
    .title-bold.small{ font-size: 20px;}
}
@media screen and (max-width:767px){
    .title-bold{ font-size: 24px;}
    .title-bold.small{ font-size: 18px;}
    .title-bold.xsmall{ font-size: 16px;}
}
@media screen and (max-width:575px){
    .title-bold{ font-size: 22px;}
}


/*------------------------------------------------------------------
  btn   
------------------------------------------------------------------*/

/*  btn
------------------------------------------------------------------*/
.btn{
    position: relative;
    display: inline-block;
    min-width: 250px;
    padding: 1em 2em;
    border: 1px solid #ccb063;
    background: #ccb063;
    color: #1c1c1c;
    text-align: center;
    line-height: 1;
    transition: .2s ease;
}
.btn::before{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
}
.btn:hover{
    background: #1c1c1c;
    color: #ccb063;
}
.btn.back{
    background: #fff;
    border: 1px solid #fff;
}
.btn.back::before{
    left: 10px;
    right: initial;
    content: "\f104";
    font-family: "Font Awesome 6 Free";
}
.btn.back:hover{
    background: #1c1c1c;
    color: #fff;
}

/*  btn-view
------------------------------------------------------------------*/
.btn-view{
    position: relative;
    display: inline-block;
    padding: 13px 60px 11px 0;
    font-family: "Lora";
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    transition: .2s ease;
}
.btn-view::before{
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    transition: .2s ease;
}
.btn-view::after{
    position: absolute;
    top: 7px;
    right: 25px;
    content: url(../images/common/btn-view-arrow.png);
    transition: .2s ease;
}
/* ホバー時の動作 */
.btn-view:hover{
    color: #ccb063;
}
.btn-view:hover::before{
    border: 1px solid #ccb063;
    background: #ccb063;
}
.btn-view:hover::after{
    filter: brightness(0) invert(0); /* filterでpngの色を無理矢理変更 */
    right: 7px;
}
@media screen and (max-width:768px){
    .btn-view{
        font-size: 14px;
    }
}


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

/* list-disc ----------------------------------------*/
.list-disc > li{
    position: relative;
    padding-left: 1.2em;
}
.list-disc > li::before{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "・";
}

/* list-decimal ----------------------------------------*/
.list-decimal > li {
    line-height: 1.8;
    margin-left: 1em;
    position: relative;
    list-style: decimal;
}

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

/* list-check ----------------------------------------*/
.list-dog > li{
    position: relative;
    padding-left: 1.5em;
    line-height: 2;
}
.list-dog > li::before{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "\f1b0";
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
}

/* list-indent ----------------------------------------*/
.list-indent > li{
    padding-left: 1em;
    text-indent: -1em;
}


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

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


/*------------------------------------------------------------------
  table
------------------------------------------------------------------*/

/* wrap-table ----------------------------------------*/
.wrap-table{
    overflow-x: scroll;
}

/* table01 ----------------------------------------*/
.table01{
    width: 100%;
    line-height: 1.5;
}
.table01 > tbody > tr > th,
.table01 > tbody > tr > td{
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #999;
}
.table01 > tbody > tr > th{
    width: 28%;
}

/* table02 ----------------------------------------*/
.table02{
    width: 100%;
    line-height: 1.5;
}
.table02 > tbody > tr > th,
.table02 > tbody > tr > td{
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #999;
}
.table02 > tbody > tr > th{
    width: 28%;
}
@media screen and (max-width:991px){
    .table02 > tbody > tr > th,
    .table02 > tbody > tr > td{
        display: block;
    }
    .table02 > tbody > tr > th{
        width: 100%;
        padding: 20px 0 10px 0;
        border-bottom: initial;
    }
    .table02 > tbody > tr > td{
        padding: 0 0 20px 0;
    }
}


/*------------------------------------------------------------------
  link
------------------------------------------------------------------*/
a.link-text{
    text-decoration: underline;
    transition: .4s;
}
a.link-text:hover{
    color: #ccb063;
}
a.link-text.external::after{
    display: inline-block;
    margin-left: 10px;
    content: "\f35d";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
}

a.link-img img{ transition: .2s;}
a.link-img:hover img{ opacity: 0.6;}


/*------------------------------------------------------------------
  iframe responsive wrapper
------------------------------------------------------------------*/

/*  googlemap
------------------------------------------------------------------*/
.googlemap iframe {
    width: 100%;
    height: 500px;
}
@media screen and (max-width: 767px) {
    .googlemap {
      position: relative;
      padding-bottom: 62.5%;
      height: 0;
      overflow: hidden;
    }
    .googlemap iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
}

/*  youtube
------------------------------------------------------------------*/
.youtube{
    position: relative;
    padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
    height: 0;
    overflow: hidden;
}
.youtube iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*------------------------------------------------------------------
  pagetop-btn
------------------------------------------------------------------*/
#pagetop-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 999;
}
#pagetop-btn img:hover {
    animation: rotates 0.7s linear infinite;
}
@keyframes rotates {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}
@media (max-width: 991px) {
    #pagetop-btn img{
        width: 40px;
    }
}


/*------------------------------------------------------------------
  form
------------------------------------------------------------------*/

/* required ----------------------------------------*/
.required {
    display: inline-block;
    flex-shrink: 0;
    background-color: #b4101e;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 1;
}
th .required{
    float: right;
}

/* policy ----------------------------------------*/
.policy{
    height: 300px;
    padding: 15px;
    margin-bottom: 30px;
    border: 1px solid #666;
    overflow-y: scroll;
    line-height: 1.5;
}

/* form-style ----------------------------------------*/
.form-xs { width: 150px;}
.form-s { width: 200px;}
.form-m { width: 300px;}
.form-l { width: 100%;}
.form-h { width: 100%; height: 150px;}
@media screen and (max-width: 991px) {
    .form-xs, .form-s, .form-m, .form-l, .form100 {
        width: 100%;
    }
    .form-h {
        width: 100%;
        height: 100px;
    }
}

/* input-style ----------------------------------------*/
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
select,
textarea {
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #1c1c1c;
    line-height: normal;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border: 1px solid #fff;
    box-shadow: 0 0 5px 0 #9cb4f8;
    
}
label:hover,
select:hover {
    cursor: pointer;
}
.inputfile_box {
    margin-bottom: 15px;
}
::-webkit-input-placeholder {
    color: #aaa;
    opacity: 1;
}
:-moz-placeholder {
    color: #aaa;
}
::-moz-placeholder {
    color: #aaaaaa;
    opacity: 1;
}
:-ms-input-placeholder {
    color: #aaa;
}

/* select-box ----------------------------------------*/
.select-box {
    position: relative;
    display: inline-block;
}
.select-box::after {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    pointer-events: none;
}
@media screen and (max-width: 767px) {
    .select-box {
        display: block;
        margin-bottom: 10px;
    }
    .select-box.date{
        display: inline-block;
        margin-bottom: 0;
    }
}

/* radio-list ----------------------------------------*/
.radio-list {
    margin-bottom: -10px;
}
.radio-list input {
    display: none;
}
.radio-list label {
    position:relative;
    display: inline-block;
    padding-left: 20px;
    margin-right: 15px;
    margin-bottom: 10px;
    line-height: 1;
}
.radio-list input + span::before{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border: 1px solid #999;
    border-radius: 50%;
}
.radio-list input:checked + span{
    color: #ccb063;
}
.radio-list input:checked + span::after{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    background: #ccb063;
    border-radius: 50%;
}

@media screen and (max-width:767px){
    .radio-list input + label::before{
        width: 13px;
        height: 13px;
    }
    .radio-list input:checked + label{
        color: #ccb063;
    }
    .radio-list input:checked + label::after{
        width: 7px;
        height: 7px;
    }
}


/* checkbox-list ----------------------------------------*/
.checkbox-list {
    margin-bottom: -10px;
}
.checkbox-list input {
    display: none;
}
.checkbox-list label {
    position:relative;
    display: inline-block;
    padding-left: 20px;
    margin-right: 15px;
    margin-bottom: 10px;
    line-height: 1;
}
.checkbox-list span::before{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border: 1px solid #999;
    border-radius: 3px;
}
.checkbox-list input:checked + span{
    color: #ccb063;
}
.checkbox-list input:checked + span::after{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 5px;
    width: 7px;
    height: 14px;
    transform: translateY(-55%) rotate(40deg);
    border-bottom: 3px solid #ccb063;
    border-right: 3px solid #ccb063;
}

/*------------------------------------------------------------------
  overlay
------------------------------------------------------------------*/
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    visibility: hidden;
    opacity: 0;
    transition: .4s;
    z-index: 999;
}
.overlay.in{
    visibility: visible;
    opacity: 1;
}