.contact__form--thanks{
    width: 600px;
    margin: 0 auto 30px;
    max-width: calc(100% - 20px);
}
.contact h2{
    font-family: "Noto Sans JP";
    font-weight: var(--font-medium);
    font-size: 26px;
    margin-bottom: 10px;
}
.form__btn02-box{ 
    display: flex;
    margin: 30px auto;
    gap: 10px;
}
.form__btn02,
.form__btn02-2{
    position: relative;
    cursor: pointer;
}
#contact .form__btn02-box .wpcf7-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
    height: 45px;
    position: relative;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding-left: 20px;
    padding-right: 20px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: 0.5s;
    border-radius: 5px;
    margin: auto;
}

.form__btn02-box .wpcf7-previous {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
    height: 45px;
    position: relative;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding-left: 20px;
    padding-right: 20px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: 0.5s;
    border-radius: 5px;
    margin: auto;
    text-align: right;
}
.form__btn::after {
    transition: 0.2s;
}
.form__btn02::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    width: 22px;
    height: 4px;
    background-image: url('../images/common/arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    transition: 0.2s;
}
.form__btn02-2::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 4px;
    background-image: url('../images/common/arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    transition: 0.2s;
}
.form__btn:hover::after{
    margin-right: -5px;
}
.form__btn02:hover::after{
    margin-left: -5px;

}
.form__btn02-2:hover::after{
    margin-right: -5px;
}
.form__btn::after {
    display: none;
}


/* 詳細ページ */


.single-box{
    margin: 60px auto;
}

.single-datebox{
    display: flex;
    align-items: center;
}
.single-date{
    font-size: 14px;
    position: relative;
    padding-right: 20px;
    padding-right: 24px;
}
.single-cat{    
    font-size: 12px;
    border-radius: 3px;
    background: #30416c;
    color: #fff;
    height: 100%;
    margin-right: 5px;
    padding: 1px 8px;
    line-height: 1;
}
.single-ttl{
    color:#00064A;
    font-size: 28px;
    font-weight: 500;
    line-height: 42px;
    margin: 20px 0 30px;
}
.single-area h2{
    color:  var(--color-primary);
    font-size: 30px;
    border-bottom: solid #CCCCCC 1px;
    padding: 8px 0 25px;
    margin: 10px 0 45px;
    position: relative;
}
.single-area h2:after{
    content:"";
    background:  var(--color-primary);
    width: 80px;
    bottom:0;
    position: absolute;
    height: 1px;
    left:0;
}
.single-area  h3{
    color:#00064A;
    font-size: 20px;
    border-bottom: solid #D4D6E0 1px;
    padding:10px 0;
    margin:10px 0 30px;
}
.single-area  h4{
    color:#00064A;
    font-size: 18px;
    padding:10px 0 10px 25px;
    margin:10px 0 20px;
    position: relative;
}
.single-area h4:after{
    width: 16px;
    height: 16px;
    position: absolute;
    background-color:#242533 ;
    left: 0;
    top: 15px;
    content:"";
}
.single-area h5{
    color:#00064A;
    font-size: 16px;
    padding:10px 0 10px 0;
    margin:10px 0 10px;
    position: relative;
}
.single-area .alignleft {
  float: left;
  margin: 0 1.5em 1em 0; /* 上右下左 */
  max-width: 100%;       /* レスポンシブ対応 */
  height: auto;
}

/* 中央寄せ */
.single-area .aligncenter {
  display: block;
  margin: 0 auto 1em;    /* 上左右自動 下 */
  max-width: 100%;       /* レスポンシブ対応 */
  height: auto;
}

/* 右寄せ */
.single-area .alignright {
  float: right;
  margin: 0 0 1em 1.5em; /* 上右下左 */
  max-width: 100%;       /* レスポンシブ対応 */
  height: auto;
}

/* clearfix（float 要素を含む親要素用） */
.single-area .clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.subpage-content{
    margin: 60px auto;
}

.next-prev-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
}
.next-prev-box .next{
    width: 48%;
    position: relative;
}
.next-prev-box .prev{
    width: 48%;
}
.next-prev-box .next a{
    padding-left: 20px ;
    position: relative;
    display: block;
    color:#111111;
    font-size: 14px;
    width: fit-content;
}
.next-prev-box .next:before {
    width: 1px;
    height: 40px;
    top: -10px;
    position: absolute;
    right: -2%;
    transform: skew(-15deg);
    content: "";
    background: #D4D6E0;
}
.next-prev-box .next a:before {
    position: absolute;
    width: 8px;
    height: 8px;
    top: 5px;
    left:0;
    border-top: solid 1px #111111;
    border-left: solid 1px #111111;
    transform: rotate(-45deg);
    content: "";
}
.next-prev-box .prev a{
    margin: 0 0 0 auto;
    padding-right: 20px ;
    position: relative;
    display: block;
    color:#111111;
    font-size: 14px;
    width: fit-content;
}
.next-prev-box .prev a:before {
    position: absolute;
    width: 8px;
    height: 8px;
    top: 5px;
    right: 0;
    border-top: solid 1px #111111;
    border-right: solid 1px #111111;
    transform: rotate(45deg);
    content: "";
}
.archive-link{
    width: 100%;
}
.archive-link a {
    margin: 55px auto 0;
}

@media screen and (max-width: 750px) {
    .single-area  h2{
        font-size: 20px;
        padding: 0px 0 13px;
        margin: 0px 0 30px;
    }
    .single-area  h3{
        font-size: 18px;
        padding:8px 0;
    }
    .single-area  h4{
        padding:8px 0 8px 20px;
        margin:10px 0 20px;
        font-size: 17px;
    }
    .single-area h4:after{
        width: 14px;
        height: 14px;
        top: 16px;
    }
}