@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*リセット*/
#content {
    padding-top: 0;
}

.l-content {
    margin-bottom: 0;
}

/*下層ページタイトル:使えるときは消す*/
.c-pageTitle {
    display: none;
}

.l-mainContent__inner>.post_content {
    margin: 0;
    padding: 0;
}

div#breadcrumb {
    display: none;
}

#before_footer_widget {
    overflow: visible;
}

/*フルワイドの左右paddingなし*/
@media (min-width: 960px) {
    .swell-block-fullWide__inner {
        padding: 0;
    }
}

p.copyright span[lang=en] {
    display: none;
}
/*リセット*/

/*フロントで非表示。タグ残す*/
.visually-hidden {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    white-space: nowrap !important;
    /* これにより、複数行にまたがるテキストが単一行に制限されます */
  }

/*トップ*/
.top-reason-border{
	position:relative;
	width: 260px;
}
.top-reason-border:before {
    content: "";
    display: block;
    height: 1px;
    background-image: repeating-linear-gradient(to right, #000 0px, #000 1px, transparent 2px, transparent 5px);
    width: 100%;
    position: absolute;
    top: 50%;
}

/*START 投稿一覧*/
.p-postList__body {
    display: flex;
    flex-flow: column;
}

.p-postList__body:after,
.p-postList__body:after {
    content: "READ MORE";
    display: inline-block;
    border-bottom: 1px solid;
    font-size: 0.875em;
    order: 3;
    width: fit-content;
    margin-top: 1em;
}

.p-postList__title {
    order: 0;
    min-height: 66.5px;
    font-size: 1.3375em !important;
}

.p-postList__meta {
    order: 1;
    font-size: .9em;
}

.p-postList__excerpt {
    min-height: 88px;
    order: 2;
    line-height: 22px;
    letter-spacing: .02em;
}

.c-pagination {
    margin: 0;
    padding: 6em 0 6em 0;
}

.my-pagenation {
    position: relative;
}

.my-pagenation:before,
.my-pagenation:after {
    content: "";
    display: block;
    height: 0.5em;
    position: absolute;
    width: 0.5em;
    z-index: 1;
    top: 50%;
}

.my-pagenation-prev:before {
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    left: -30px;
    -webkit-transform: rotate(45deg) translateY(-100%);
    transform: rotate(45deg) translateY(-100%);
}

.my-pagenation-next:before {
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    right: -30px;
    -webkit-transform: rotate(-45deg) translateY(-100%);
    transform: rotate(-45deg) translateY(-100%);
}

.my-pagenation-prev:after {
    border-bottom: 1px solid;
    border-left: 1px solid;
    left: -25px;
    transform: rotate(45deg) translateY(-100%);
}

.my-pagenation-next:after {
    border-bottom: 1px solid;
    border-right: 1px solid;
    right: -25px;
    transform: rotate(-45deg) translateY(-100%);
}

.my-pagenation-prev {
    margin-right: 2em;
}

.my-pagenation-next {
    margin-left: 2em;
}

/*END 投稿一覧*/

/*START アーカイブ*/
.my-custom-post-header {
    margin-bottom: 2.8125em;
}

.p-articleThumb {
    margin: 2.8125em 0;
}

.p-pnLinks__item.-archivelink .p-pnLinks__link {
    justify-content: center;
}

#after_article .p-pnLinks__item {
    width: 33.333%;
}

#after_article .p-pnLinks__item {
    font-size: .875em;
}

#after_article .p-pnLinks__item.-prev .p-pnLinks__title,
#after_article .p-pnLinks__item.-next .p-pnLinks__title {
    width: 121px;
    letter-spacing: .078em;
    padding: 9px 10px;
    text-align: center;
}

#after_article .p-pnLinks__item.-archivelink .p-pnLinks__title {
    width: 121px;
    letter-spacing: .078em;
    padding: 9px 10px;
    text-align: center;
}

/*ページネーション*/
.p-pnLinks .-prev:before,
.p-pnLinks .-next:before {
    color: #000;
}

.p-pnLinks .-prev .p-pnLinks__link {
    border-left: none;
}

.p-pnLinks .-next .p-pnLinks__link {
    border-right: none;
}

.p-pnLinks__item.-prev:after {
    content: "";
    display: block;
    height: 0.5em;
    pointer-events: none;
    position: absolute;
    top: 50%;
    width: 0.5em;
    z-index: 1;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    transform: rotate(45deg) translateY(-50%);
}

.p-pnLinks__item.-next:after {
    content: "";
    display: block;
    height: 0.5em;
    pointer-events: none;
    position: absolute;
    top: 50%;
    width: 0.5em;
    z-index: 1;
    border-bottom: 1px solid;
    border-right: 1px solid;
    right: 0em;
    -webkit-transform: rotate(-45deg) translateY(-50%);
    transform: rotate(-45deg) translateY(-50%);
}

/*END アーカイブ*/

/*カスタムイベントスライダー*/
.cpl-slider {
    overflow: hidden;
    margin-bottom: 2.8125em !important;
}

.cpl-slider .swiper-slide:before {
    content: "";
    position: absolute;
    top: 0;
    left: -45px;
    width: 1px;
    height: 100%;
    border-left: 1px solid;
}

.cpl-post-thumbnail {
    height: 165px;
    background: #fff;
}

.cpl-post-thumbnail img {
    min-height: 100%;
    max-height: 100%;
    object-fit: cover;
    width: 100%;
}

.cpl-post-meta {
    padding: 14px 14px 10px 14px;
    background: #fff;
    margin: 0;
    min-height: 135px;
}

.cpl-post-date {
    font-size: 1em;
    color: #ababab;
    line-height: 1em;
}

h2.cpl-post-title {
    margin: 10px 0;
    background: transparent;
    border: none;
    font-size: 1em;
    padding: 0;
    font-weight: normal;
    letter-spacing: .09em;
    min-height: 60px;
    max-height: 60px;
    overflow: scroll;
    line-height: 1.35em;
}

h2.cpl-post-title::before {
    display: none;
}

ul.cpl-post-term {
    list-style: none;
    margin-top: auto;
    margin: 0;
    padding: 0;
    display: flex;
    color: #fff;
    flex-flow: row;
    flex-wrap: nowrap;
    overflow: hidden;
}

li.cpl-post-term-item {
    display: inline-block;
    font-size: 11px;
    line-height: 2;
    overflow: hidden;
    padding: 0 0.75em;
    white-space: nowrap;
}

.swiper-pagination {
    position: relative!important;
    margin-top: 25px;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #000;
}

span.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
}


@media (max-width: 769px) {
    .swiper-pagination {
        display: none;
    }

    .cpl-slider .swiper-slide:before {
        display: none;
    }

    .cpl-slider {
        margin-bottom: 1.5em !important;
    }
}

/*カスタムイベントスライダー*/

/*ループスライダー*/
.loop-slider {
    display: flex;
    gap: 1.5rem;
    /* 画像間の余白を指定 */
  }
  
  .loop-slider .wp-block-group__inner-container,
  .loop-slider .swell-block-columns {
    display: contents;
  }
  
  .loop-slider .swell-block-columns__inner {
    flex-wrap: nowrap;
    animation: infinity-scroll-right 30s infinite linear;
    /* アニメーションの時間を指定 */
  }
  
  .loop-slider .swell-block-column figure {
    width: 436px;
    /* 画像の横幅を指定（パソコン） */
    position: relative;
    overflow: hidden;
  }
  
  .loop-slider .swell-block-column figure::before {
    padding-top: 75%;
    /* 画像の縦横比を指定 */
    display: block;
    content: "";
  }
  
  .loop-slider .swell-block-column figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }
  
  .loop-slider-2 {
    display: flex;
    overflow: hidden;
    gap: 4rem;
    /* 画像間の余白を指定 */
    position: absolute;
    z-index: 1;
    top: 0;
    transform: translateY(-50%);
  }
  
  .loop-slider-2 .wp-block-group__inner-container,
  .loop-slider-2 .swell-block-columns {
    display: contents;
  }
  
  .loop-slider-2 .swell-block-columns__inner {
    flex-wrap: nowrap;
    animation: infinity-scroll-left-2 20s infinite linear;
    /* アニメーションの時間を指定 */
  }
  
  .loop-slider-2 .swell-block-column figure {
    width: 1331px;
    /* 画像の横幅を指定（パソコン） */
    position: relative;
    overflow: hidden;
  }
  
  .loop-slider-2 .swell-block-column figure::before {
    padding-top: 7.137%;
    /* 画像の縦横比を指定 */
    display: block;
    content: "";
  }
  
  .loop-slider-2 .swell-block-column figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }
  
  @media screen and (max-width: 959px) {
    .loop-slider .swell-block-column figure {
      width: 200px;
      /* 画像の横幅を指定（スマホ） */
    }
  
    .loop-slider-2 .swell-block-column figure {
      width: 500px;
      /* 画像の横幅を指定（スマホ） */
    }
  }
  
  @keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
  
    to {
      transform: translateX(-100%);
    }
  }
  
  @keyframes infinity-scroll-right {
    from {
      transform: translateX(-100%);
    }
  
    to {
      transform: translateX(0%);
    }
  }
  
  @keyframes infinity-scroll-left-2 {
    from {
      transform: translateX(0);
    }
  
    to {
      transform: translateX(-100%);
    }
  }

/*下から浮き上がって表示*/

/*コンタクトフォーム7：カスタマイズ*/
/* Modern Success Message */
        .wpcf7-response-output {
            position: relative;
            border: none!important;
            padding: 1.5rem 2rem!important;
            margin: 1.5rem auto!important;
			width:60%;
            font-size: 1rem;
            font-weight: 500;
            color: #ffffff;
            background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
            border-radius: 16px;
            box-shadow: 
                0 10px 30px rgba(0, 184, 148, 0.3),
                0 4px 20px rgba(0, 0, 0, 0.1);
            animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(10px);
            overflow: hidden;
        }

        .wpcf7-response-output::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .wpcf7-response-output::after {
            content: '✓';
            position: absolute;
            top: 50%;
            right: 1.5rem;
            transform: translateY(-50%);
            font-size: 1.5rem;
            font-weight: bold;
            opacity: 0.8;
            animation: checkmark 0.6s ease-out 0.3s both;
        }

        /* Error variant */
        .wpcf7-form.invalid .wpcf7-response-output {
            color: #ffffff;
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
            box-shadow: 
                0 10px 30px rgba(255, 107, 107, 0.3),
                0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .wpcf7-response-output.error::after {
            content: '✕';
        }
        
        
        /* Animations */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes checkmark {
            from {
                opacity: 0;
                transform: translateY(-50%) scale(0.5) rotate(-180deg);
            }
            to {
                opacity: 0.8;
                transform: translateY(-50%) scale(1) rotate(0deg);
            }
        }

@media(max-width: 960px){
	.wpcf7-response-output {
    padding: 1.6rem 1.1rem !important;
    font-size: 0.8rem;
		width:100%;
	}
	.wpcf7-response-output::after {
    right: 0.6rem;
		font-size: 1.1rem;
}
/*●付きアコーディオン
.beg-aq-aco details:not([open]) summary:after,
.beg-aq-aco details[open] summary:after {
    content: "";
    background: var(--color_list_good);
    display: inline-block;
    position: absolute;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    left: 35px;
    top: 46px;
}

.beg-aq-aco details:not([open]) summary:after {
    opacity: 1;
    transition: opacity 0.1s linear;
}

.beg-aq-aco details[open] summary:after {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.beg-aq-aco details:not([open]) summary:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .beg-aq-aco summary {
        padding: 35px 50px;
    }

    .beg-aq-aco .swell-block-accordion__body {
        padding: 0px 50px 35px;
    }

    .beg-aq-aco .icon-plus:before,
    .beg-aq-aco .icon-minus:before {
        font-size: 30px;
    }

    .beg-aq-aco details:not([open]) summary:after,
    .beg-aq-aco details[open] summary:after {
        left: 20px;
        top: 44px;
    }

    .beg-aq-aco summary:before {
        left: 20px;
        top: 37px;
    }
}

*/

@media(max-width: 768px) {

    /*START 投稿一覧＆アーカイブ*/
    .p-postList__title {
        min-height: 2em;
    }

    .p-postList__excerpt {
        min-height: unset;
    }

    .p-postList__body::after {
        margin-left: auto;
    }

    .p-postList__item:not(:last-child) {
        margin-bottom: 6em;
    }

    .my-pagenation-prev:before {
        left: -20px;
    }

    .my-pagenation-prev:after {
        left: -15px;
    }

    .my-pagenation-next:before {
        right: -20px;
    }

    .my-pagenation-next:after {
        right: -15px;
    }

    .my-pagenation-prev {
        margin-right: 1em;
    }

    .my-pagenation-next {
        margin-left: 1em;
    }

    /*END 投稿一覧＆アーカイブ*/

    /*START投稿*/
    .c-categoryList__link {
        min-width: 100px;
    }

    .c-categoryList>.c-categoryList__link:first-child {
        margin-left: 0.25em;
    }

    /*END投稿*/
}