/* ----- ----- root ----- ----- */
:root {
    --color-black: #1a1a1a;
    --sec-padding1: 8rem 0;
    --transition: 0.3s;
    --scroll-margin: 130px;
    --radius: 1.5rem;
}


/* ----- ----- global ----- ----- */
html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    color: #232323;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    letter-spacing: 0.06rem;
    counter-reset: number 0;
}

.page {
    margin: 0;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.home section, .company section, .custom section {
    padding: var(--sec-padding1);
}

.page-content, .entry-content, .entry-summary {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    transition: 0.3s;
}

a:focus {
    outline: none;
}

a, a:visited {
    color: #232323;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.text-c {
    text-align: center;
}

.text-r {
    text-align: right;
}

.block {
    display: block;
}

.red {
    color: #ff0000;
    font-size: 1.5rem;
}

.radius {
    border-radius: var(--radius);
}


/* ----- ----- font ----- ----- */
/* ----- h ----- */
h2.title {
    background-image: url(../img/post/ic-maki.svg);
    background-size: 31px 49px;
    background-position-y: 12px;
    background-repeat: no-repeat;
    padding-left: 40px;
    /* margin-bottom: 40px; */
    display: flex;
    align-items: baseline;
    font-size: 3.571rem;
    font-weight: 600;
    word-break: break-all;
}


/* ----- post-card ----- */
.post-title {
    font-size: 1.142rem;
    font-weight: 700;
}

.meta-cat {
    font-size: 12px;
    color: #555;
}


/* ----- ----- button ----- ----- */
/* ----- btn1 ----- */
a.btn1 {
    color: #ffffff;
    display: inline-flex;
    justify-content: space-between;
    min-width: 180px;
}

.btn1 {
    background: #232323;
    border: 1px solid #322e2d;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 2rem;
}

.btn1:hover {
    background: #ffffff;
    color: #232323;
}

.btn1::after {
    content: '\2192';
    margin-left: 10px;
}


/* ----- btn1 ----- */
.btn2 {
    color: #000000;
    border: 1px solid #b5b5b6;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 2rem;
}

.btn2:hover {
    background: #b5b5b6;
    color: #ffffff;
}




/* ----- btn2 ----- */



/* ----- btn3 ----- */


/* ----- btn-box ----- */
.btn-box {
    margin-top: 4rem;
    margin-bottom: 6rem;
    text-align: center;
}


/* ----- loading ----- */
.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.runner-wrapper {
    position: relative;
    width: 400px;
    height: 280px;
    margin-bottom: 20px;
}
.runner {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
}

.frame1 { animation: show1 1s steps(1) infinite; }
.frame2 { animation: show2 1s steps(1) infinite; }
.frame3 { animation: show3 1s steps(1) infinite; }
.frame4 { animation: show4 1s steps(1) infinite; }

@keyframes show1 {
    0%, 24.99% { opacity: 1; }
    25%, 100%  { opacity: 0; }
}
@keyframes show2 {
    25%, 49.99% { opacity: 1; }
    0%, 24.99%, 50%, 100% { opacity: 0; }
}
@keyframes show3 {
    50%, 74.99% { opacity: 1; }
    0%, 49.99%, 75%, 100% { opacity: 0; }
}
@keyframes show4 {
    75%, 100% { opacity: 1; }
    0%, 74.99% { opacity: 0; }
}

.progress-bar {
    width: 60%;
    height: 12px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #fde401;
    transition: width 0.2s ease-out;
}


/* ----- ----- header ----- ----- */
body.admin-bar header.site-header {
    top: 32px;
}

.site-header {
    padding: 10px 0;
}

header.site-header {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.site-header.scrolled {
    background-color: rgb(255, 255, 255, .9);
}


/* ----- ----- common ----- ----- */
/* ----- layout -----*/
.full {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 20px;
}


/* ----- image -----*/
.sp {
    display: none;
}


/* ----- swiper -----*/
.swiper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    flex: 1;
    position: relative;
    padding-bottom: 10px;
}

.swiper-wrapper {
    height: 100%;
}

.swiper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    transition: transform 0.3s;
}

#mainSwiper .slide-thumb-link {
    flex-grow: 1;
    display: block;
}

#mainSwiper .slide-thumb {
    height: 100%;
}

.swiper-slide-active {
    transform: scale(1.05);
    z-index: 2;
}

.slide-thumb {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.swiper .thumb {
    background: #ddd;
    aspect-ratio: 16 / 9;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.new-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fcfc5e;
    color: #222222;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 30px;
    z-index: 2;
    border: 2px solid #000000;
}

#mainSwiper .slide-title-link {
    flex-shrink: 0;
    display: block;
    text-decoration: none;
    color: inherit;
}

#mainSwiper h3.slide-title {
    font-size: 18px;
    margin: 0;
}

.swiper-button-prev,
.swiper-button-next {
    background: rgba(51, 51, 51, 0.7);
    color: #fff;
    --swiper-navigation-size: 36px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
    cursor: pointer;
    padding: 40px 20px;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

.swiper-pagination {
    bottom: 10px !important;
}


/* ----- ----- top ----- ----- */
/* ----- common ----- */
.home .full {
    background: #f3f2ed;
}


/* ----- fv ----- */
#fv {
    /* display: grid; */
    grid-template-columns: 1fr; 
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 7rem;
}

.senko {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
}

.left-wrapper {
    flex: 1 1 65%;
    min-width: 400px;
    display: flex;
    flex-direction: column;
}

#fv .box {
    background-color: gray;
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-top: 56.25%;
    height: 0; 
}

.right-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 calc(35% - 20px);
}

.right-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 150px;
    gap: 6px;
}


/* ----- pick up ----- */
#pickup {
    margin-bottom: 7rem;
}


/* ----- all posts ----- */
#all-posts h2 {
    margin-top: 0;
    margin-bottom: 2rem;
}

.cat-swiper {
    position: relative;
}

.cat-swiper .swiper-button-prev {
    position: relative;
    float: left;
}

.cat-swiper .swiper-button-next {
    position: relative;
    float: right;
}

.post-list {
	display: grid;
    grid-template-columns: 1fr 1fr;
	gap: 40px 20px;
}

.post-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-item .thumb {
	position: relative;
	width: 100%;
	padding-top: 56.25%; 
	background-size: cover;
	background-position: center;
}


/* ----- cat-swiper ----- */
.cat-swiper {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.cat-swiper .swiper-slide {
    width: auto;
}

.cat-swiper .swiper-button-prev,
.cat-swiper .swiper-button-next {
    background: rgba(51, 51, 51, .6);
    --swiper-navigation-size: 25px;
    transform: translateY(-65%);
    padding: 30px 17px;
}


/* ----- transform ----- */
.home #transform {
    display: none;
}

/* ----- ----- post ----- ----- */
/* ----- common -----*/
.single .entry-content img {
    margin-bottom: 2rem;
}

.single .entry-content section {
    margin-bottom: 5rem;
}

.single .entry-content a {
    color: #5bacd1;
    font-weight: 600;
}


/* ----- header -----*/
.single .entry-header {
    margin-bottom: 2rem;
}

.single h1 {
    background-image: url(../img/post/ic-maki.svg);
    background-size: 32px 32px;
    background-position-y: 11px;
    background-repeat: no-repeat;
    padding-left: 38px;
    margin-bottom: 3rem;
    display: flex;
    align-items: baseline;
    font-size: 2.5rem;
    font-weight: 600;
    word-break: break-all;
}

.single .entry-meta .post-categories a {
    font-size: 0.714rem;
    padding: 5px 20px;
    margin-right: 10px;
}


/* ----- thum -----*/
.single .post-thumbnail {
    margin-bottom: 3rem;
}


/* ----- qa -----*/
.single main section.qa {
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 70px;
}

.tobi, .kevin {
    margin-bottom: 45px;
}

.qa-in {
    display: inline-flex;
    align-items: center;
    background: #ebf2f6;
    padding: 15px 20px;
    width: calc(100% - 85px);
}

.tobi .qa-in {
    margin-left: 85px;
}

.tobi  .thum, .kevin .thum {
    content: '';
    border: 1px solid #231815;
    background-size: contain;
    border-radius: 70px;
    display: inline-block;
    width: 70px;
    height: 70px;
    position: absolute;
    text-align: center;
}

.tobi .thum {
    background-image: url('../img/post/ta-tobimaru1.webp');
    margin-right: 10px;
}

.kevin .thum {
    background-image: url('../img/post/ta-kevin1.webp');
    margin-left: 13px;
}

.tobi .thum::after, .kevin .thum::after {
    font-size: 10px;
    font-weight: 600;
    display: block;
    position: relative;
    top: 72px;
}

.kevin .thum::after {
    content: 'KEVIN';
}

.tobi .thum::after {
    content: 'TOBIMARU';
}


/* ----- ul -----*/
ul.list {
    background: #ebf2f6;
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 30px 30px 30px 40px;
}

ul.list li {
    margin-bottom: .7rem;
}

ul.list li::before {
    content: '・';
    display: inline-block;
}

ul.list li h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}


/* ----- faq -----*/
#faq dd:last-child {
    margin-bottom: 0;
}

#faq dt > div, #faq dd > div {
    padding: .5rem 0;
}

#faq dt {
    border-bottom: 1px solid #cfd4dc;
    display: block;
    font-size: 1.142rem;
    font-weight: 600;
}

#faq dd {
    display: block;
    margin: 0 0 1rem;
}

#faq .inner {
    display: flex;
    align-items: flex-start;
}

#faq dt .inner::before {
    content: 'Q.';
}

#faq dd .inner::before {
    content: 'A.';
    font-size: 1.142rem;
    font-weight: 600;
}


/* ----- postcard -----*/
.post-card {
    border: 1px solid #ccc;
    margin: 16px 0 60px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.post-card a {
    text-decoration:none;
    padding: 16px;
    color: #242424 !important;
    display:flex;
    gap:16px;
}

.post-card-content h3 {
    font-size: 18px !important;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 7px !important;
}

.post-card-content p {
    font-weight: normal;
    margin: 0
}

.post-card-thumb {
    flex-shrink: 0;
}

.post-card-thumb img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 0 !important;
}


/* ----- side -----*/
aside {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.widget {
    margin-bottom: 3rem;
}

.widget li {
    border-bottom: 1px solid #cfd4dc;
}

.widget li a {
    padding: 10px 10px;
}

.widget li a {
    display: flex;
}

.widget-area .thumb-wrapper {
    width: 35%; 
    overflow: hidden;
    margin-right: 10px;
}

.widget-area .thumb-img,
.widget-area .thumb-wrapper picture img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.widget-area .title {
    width: calc(100% - 35%);
}

.widget-area {
	list-style: none;
	padding: 0;
	margin: 0;
}
.seimode-related-posts li, .seimode-recent-posts li {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}
.seimode-recent-posts .thumb {
	background-size: cover;
	background-position: center;
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    margin-bottom: 15px;
    width: 100%;
}


/* ----- post nav -----*/
.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
    margin-bottom: 5rem;
	border-top: 1px solid #dddddd;
	padding-top: 20px;
}

.post-nav-item {
	display: flex;
	align-items: center;
	gap: 15px;
	width: 48%;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s;
}

.post-nav-item:hover {
	opacity: 0.8;
}

.post-nav .thumb-wrapper {
	width: 35%; 
    overflow: hidden;
    margin-right: 10px;
}

.post-nav .thumb-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.nav-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
    width: calc(100% - 35%);
}

.nav-label {
	font-size: 0.8rem;
	color: #666;
	margin-bottom: 4px;
}

.nav-title {
	font-weight: 600;
}



/* ----- about ----- */
.character-info {
    display: flex;
    margin: 0 auto;
    margin-bottom: 3rem;
    max-width: 800px;
}

.character-info .left {
    width: 20%;
}

.character-info .right {
    width: calc(100% - 20%);
    padding-left: 20px;
}

.writer h2, .writer h3 {
    margin: 0 0 8px;
}

.character .main-image {
    max-width: 800px;
    margin: 0 auto;
}


/* ----- ----- page ----- ----- */
/* ----- common ----- */
.page .entry-content section {
    margin-bottom: 7rem;
}


/* ----- country ----- */
.country ul {
    display: grid;
}

.country ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.country li {
    text-align: center;
}

.country li img {
    width: 60px;
    height: auto;
    border-radius: 30px;
}

.country li span {
    display: block;
}


/* ----- contact ----- */
.wpcf7 {
    background-color: #f0f0f0; /* ライトグレー */
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: auto;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.wpcf7-form .required {
    background-color: #ff0000;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 10px;
    font-size: 12px;
    display: inline-block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:hover,
.wpcf7 textarea:hover {
    border-color: #0073aa;
    transition: 0.3s;
}

.wpcf7 input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 15px 0;
    width: 100%;
    font-size: 1.2em;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 3px 0 0 rgb(0 0 0 / 6%);
    transition: background-color 0.3s;
}
.wpcf7 input[type="submit"]:hover {
    background-color: #0056b3;
}






/* ----- ----- archive ----- ----- */
.archive .post-content {
    margin-bottom: 6rem;
}


/* ----- ページネーション ----- */
.pagination {
	display: flex;
	justify-content: center;
	margin: 3rem auto;
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pagination li {
	display: inline-block;
}

.pagination a {
	display: block;
	padding: 0.6em 1em;
	border-radius: 9999px;
	background: #f3f3f3;
	color: #333;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid #ddd;
	transition: all 0.25s ease;
}

.pagination a:hover {
	background: #333;
	color: #fff;
	border-color: #333;
}

.pagination .current {
	display: block;
	padding: 0.6em 1em;
	border-radius: 9999px;
	background: #111;
	color: #fff;
	font-weight: 700;
	border: 1px solid #111;
}

.pagination .prev a::before {
	content: "◀ ";
}
.pagination .next a::after {
	content: " ▶";
}






@media (min-width: 882px) {
    /* ----- ----- common ----- ----- */
    /* ----- swiper -----*/
    .post-list {
        grid-template-columns: repeat(3, 1fr);
    }


    /* ----- ----- top ----- ----- */
    /* ----- fv ----- */
    #fv .sub-box {
        padding-top: 0;
        height: 190px;
    }


    /* ----- all-posts ----- */
    #all-posts {
        display: flex;
        gap: 30px;
    }

    .home .all-posts {
        width: calc(100% - 300px);
        order: 1;
    }


    /* ----- cat-swiper ----- */
    .cat-swiper {
        width: 300px;
        order: 2;
    }

	.cat-swiper .swiper-wrapper {
		display: grid;
        grid-template-columns: 1fr 1fr;
        height: auto;
		gap: 20px;
	}

    .lang-en .cat-swiper .swiper-wrapper, .lang-es .cat-swiper .swiper-wrapper {
        grid-template-columns: 1fr;
	}

	.cat-swiper .swiper-slide {
		width: auto !important;
	}

	.cat-swiper .swiper-button-prev,
	.cat-swiper .swiper-button-next {
		display: none;
	}

    /* ----- ----- archive ----- ----- */
    .archive .all-posts {
        width: 100%;
    }


    /* ----- ----- post ----- ----- */
    .post-container {
        display: flex;
    }

    .post-content {
        width: 100%;
        padding-right: 30px;
    }

    /* ----- side -----*/
    aside {
        display: block;
        width: 380px;
    }

}


@media (max-width: 768px) {
    /* ----- ----- common ----- ----- */
    /* ----- image -----*/
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }


    /* ----- ----- top ----- ----- */
    .left-wrapper,
    .right-container {
        width: 100%;
        flex: 0 0 100%;
        min-width: auto;
    }
    
    .swiper {
        min-height: auto;
    }
    
    #mainSwiper .slide-thumb-link {
        flex-grow: 0;
    }

    #mainSwiper .slide-thumb {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    #fv .right-container {
        flex-direction: unset;
    }


    /* ----- ----- page ----- ----- */
    /* ----- common ----- */
    .country li {
        margin-bottom: 30px;
    }

    .character img {
        max-width: 100%;
    }

    .country ul {
        grid-template-columns: repeat(2, 1fr);
    }



    /* ----- ----- post ----- ----- */
    /* ----- post nav -----*/
	.post-nav {
		flex-direction: column;
	}
	.post-nav .post-nav-item {
		width: 100%;
	}


    /* ----- ----- archive ----- ----- */
    /* ----- ページネーション ----- */
	.pagination ul {
		gap: 0.25rem;
	}
	.pagination a,
	.pagination .current {
		padding: 0.5em 0.8em;
		font-size: 0.9rem;
	}

}


@media screen and (max-width: 480px) {
    html {
        margin-top: 0 !important;
    }
    
    .full {
        padding: .8rem;
    }

    .container {
        padding: .8rem;
    }

    /* ----- ----- header ----- ----- */
    header .site-logo {
        max-width: 100px;
    }


    /* ----- ----- top ----- ----- */

    
    /* ----- ----- post ----- ----- */


    /* ----- side -----*/
    aside {
        width: 100%;
        display: block;
    }

    .widget-area .thumb-wrapper {
        width: 25%;
    }

    .widget-area .title {
        width: calc(100% - 25%);
    }

    
}