/*
 Theme Name:   inspiro_child
 Template:     inspiro
*/


/* 共通 */

/* htmlとbodyの余白をリセット */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}



body {
  opacity: 0;
  transition: opacity 3.0s ease; 
}

body.page-loaded {
  opacity: 1;
}

body, h1, h2, h3, h4, h5, h6, .navbar-nav a, input, select, textarea {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif!important;
}

html[lang=ja] body * {
    letter-spacing: 0.1em !important;
}

body, h1, h2, h3, h4, h5, h6 {
    line-height: 1.6;
    color: #333!important;
}

:root :where(a:where(:not(.wp-element-button))) {
    color: #333!important;
    text-decoration: none;
}

.custom-logo-link img {
    max-height: 50px!important;
}

.link-btn a {
    position: relative;
    margin-top: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: block;
    width: 280px;
    border: 1px solid #333;
    border-radius: 30px;
    padding: 11px 0;
    background-color: #fff;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
    text-decoration: none;
    text-align: center;
    transition: .2s;
    box-sizing: border-box;
    letter-spacing: 1.1;
}

.link-btn a:hover {
    color: #fff!important;
    background-color: #333;
}

.link-btn a::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 25px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    transition: .2s;
    box-sizing: border-box;
}

.link-btn a:hover::after {
    right: 20px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.p-100 {
    padding: 100px 0;
}

.p-150 {
    padding: 150px 0 100px;
}

.inner-wrap {
	padding-right; 40px;
}

/* h1.entry-title {
	text-align: center!important;
}*/



/* フェードアップアニメーション */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 遅延アニメーション */
.fade-up.delay-1 {
    transition-delay: 0.2s;
}

.fade-up.delay-2 {
    transition-delay: 0.4s;
}

.fade-up.delay-3 {
    transition-delay: 0.6s;
}

#content {
    background-image: url(/test/wp-content/uploads/2025/09/ruler_2-1.png);
    background-repeat: repeat-y;
    background-size: 25px auto;
    background-position: right center;
}

ol, ul {
    margin: 0!important;
}

/* TOPページ */

/* ヘッダー */

.site-branding {
    display: none;
}

.headroom--not-top .navbar, .has-header-image.home.blog .headroom--not-top .navbar, .has-header-image.inspiro-front-page .headroom--not-top .navbar, .has-header-video.home.blog .headroom--not-top .navbar, .has-header-video.inspiro-front-page .headroom--not-top .navbar {
    background-color: #fafafa!important; 
    opacity: 0.9;
}

.custom-header {
    background-color: #fafafa!important; 
}

.navbar {
    color: #333!important; 
}

.navbar-toggle .icon-bar {
    background: #333!important; 
}

#scroll-to-content:before {
    border-color: #333!important; 
}

.navbar-nav a, .navbar-nav>li>a:hover {
    border-bottom: none!important; 
}

.navbar-nav > li > a {
    position: relative;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.navbar-nav > li > a:hover {
    text-decoration: none;
    color: inherit;
}

.navbar-nav a::after {
    background-color: #333;
    bottom: -2.5px;
    content: "";
    height: 2px; /* 元のborder-bottomと同じ太さに統一 */
    left: 0;
    position: absolute;
    transform: scaleX(0); /* X軸のみスケール（左右伸縮） */
    transform-origin: center; /* 中央から伸びる */
    transition: transform 0.3s ease;
    width: 100%;
}

.navbar-nav a:hover::after {
    transform: scaleX(1);
}

.navbar-nav > li.active > a::after,
.navbar-nav > li.current-menu-item > a::after {
    transform: scaleX(1) !important;
}


/*保留
.header-widgets-wrapper {
    display: none!important; 
}*/


/* MISSION */

.mission_wrap {
    margin: 50px 0 100px 0!important; 
}

.works_wrap, .blog_wrap {
    margin: 100px 0!important; 
}

h2.fixed-page-title {
    font-size: 2.5em;
    text-align: center;
    margin: 30px 0 60px!important;
}

h3.column-title {
    text-align: center;
    margin-bottom: 0!important; 
}

.column-sub-title {
    color: #b4b4b4;
    text-align: center!important;
    font-size: 0.9em;
    margin-top: 10px;
}

.three-columns-container {
    display: flex;
}

.column-content {
    margin: 0 40px!important;
}

.column-image {
    text-align: center;
}

.column-image img {
    width: 30%;
}

.column-text {
    margin: 20px 0;
}


/* WORKS */

.posts-three-columns-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.post-column-item {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-column-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.post-column-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.post-column-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.post-column-image:hover img {
    transform: scale(1.05);
}

.post-column-title {
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    z-index: 2;
    opacity: 1!important;
    padding: 0;
    background: none!important;
    font-weight: normal!important;
}

.post-column-title a {
    color: #fff!important;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: block;
    background: none!important;
}

.post-column-meta {
    margin-bottom: 15px;
}

.posts-row-break {
    display: none;
}

.custom-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.custom-gallery img {
    width: calc(33.333% - 10px);
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .custom-gallery img {
        width: calc(50% - 7.5px);
    }
}

@media (max-width: 480px) {
    .custom-gallery img {
        width: 100%;
    }
}
.pswp__counter {
	display: none!important;
}

.pswp__img {
	border-radius: 5px!important;
}

.works-content h4, .blog-content-sg h4 {
	margin-top: 50px!important;
}


/* BLOG */

.latest-posts-list {
    list-style: none;
    margin: 0;
    padding-bottom: 20px;
}

.latest-posts-container {
    margin: 0 auto;
    background: #fff;
    border-radius: 5px;
    padding: 30px 60px;
    border: 1px solid #333;
}

.latest-post-content {
    display: flex;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 70px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    visibility: visible;
}

.latest-post-date {
    color: #b4b4b4;
    margin-right: 20px;
}

.latest-post-title {
    padding: 0;
    font-size: 16px;
    margin: 0;
    background: none;
}

.post-thumbnail a img {
    border-radius: 5px!important;
}

.entry-header .entry-title {
    font-size: 2em;
}



/* フッター */

.site-info {
    padding: 1.5em 0!important;
}

.site-info .copyright {
    display: block!important;
    text-align: center!important;
}

.site-footer .copyright span:first-child {
    color: #b4b4b4!important;
}


/* ABOUT */
#site-navigation {
    background: none;
}

.site-content-contain .inner-wrap {
    max-width: calc(var(--container-width-narrow));
}

.about-sec-title {
    padding-bottom: 50px;
}

.stripe-table {
    margin: 50px 0;
	width: auto !important;
    table-layout: auto !important;
}

.profile-table {
	width: auto !important;
    table-layout: auto !important;
}

.stripe-table tr, .profile-table tr  {
    border: none;
}

td.table-title {
    width: auto !important;
    text-align: right !important;
    white-space: nowrap !important;
    font-weight: bold;
    vertical-align: top;
	font-size: 0.9em !important;
	padding: 0;
}

td.table-txt {
	font-size: 0.9em !important;
	padding: 0 0 0 20px;
}

.sns_wrap, .profile_wrap {
    display: flex;
    margin: 50px 0;
}

.profile_wrap img {
	border-radius: 5px;
}

.sns_img {
    width: 35px;
    margin-right: 10px;
}

.sns_txt {
    align-items: center;
}

.table-txt a, .sns_txt a {
    text-decoration: none!important;
}

.table-txt a:hover, .sns_img a:hover, .sns_txt a:hover, td a:hover, .works-content a:hover {
    opacity: 0.8;
    text-decoration: underline!important;
}

.profile_img img {
    border-radius: 5px;
}

.profile_txt {
    margin-left: 30px;
}

.profile_txt_1 {
    line-height: 1.3;
}

td.profile-title {
	width: auto !important;
	white-space: nowrap !important;
	text-align: right !important;
    vertical-align: top;
    font-weight: bold;
	padding: 0;
	font-size: 0.9em;
}

.career-table {
	width: auto !important;
    table-layout: auto !important;
}

td.career-year {
	vertical-align: top;
	padding: 0 10px 0 0;
	width: auto !important;
	white-space: nowrap !important;
}

td.career-text {
	padding: 0;
}


/* MISSION */

.mission_content {
    margin-bottom: 50px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 30px 50px;
    text-align: center!important;
    background-color: #fff;
}

.mission_content li, .column-text {
    text-align: justify;
    margin: 20px 0;
}

.mission-list, li::marker {
    font-weight: bold;
    font-size: 1.2em;
}

.entry-content h2 {
	line-height: 1.8;
}

.entry-content ul li {
    margin: 50px 0 20px;
}

.mission_content img {
    margin-top: 10px;
    border-radius: 5px;
}

/* WORKS */

.works-list-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 100px auto 30px;
}

.works-item {
    border-radius: 5px;
    overflow: hidden;
}

.works-item-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.works-item-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    flex-shrink: 0;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-item:hover .works-item-image {
    transform: translateY(-4px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.works-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.works-item-image:hover img {
    transform: scale(1.05);
}

.no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: 14px;
}

.works-item-text {
    padding: 5px 0 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-name {
    font-size: 0.8em;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 2px 15px;
    margin-right: 10px;
}

.work-entry-title {
    margin: 0!important;
    font-size: 1.1em!important;
    line-height: 1.4!important;
    padding-top: 5px;
	font-weight: bold;
}

.work-entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.work-entry-title a:hover {
    color: #666;
}

.works-item-meta {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #666;
}

.works-item-date {
    display: inline-block;
}

.entry-summary {
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    flex: 1;
}

/* ページネーション */
.pagination {
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.comments-pagination .page-numbers.current, .comments-pagination .page-numbers:not(.dots):hover, .pagination .page-numbers.current, .pagination .page-numbers:not(.dots):hover {
    color: #999!important;
}

.pagination {
    padding-bottom: 100px!important;
}


/* WORKS-single */

.category-badge {
    border: 1px solid #333;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.8em;
    color: #333;
    padding: 2px 15px;
    margin-right: 10px;
    letter-spacing: 0.5px;
}

.works-title {
    padding: 0;
    margin-top: 10px;
}

.works-content {
    padding-bottom: 50px;
}

.works-content img {
    border-radius: 5px;
}


/* BLOG */

.blog-title {
    padding: 0!important;
    font-size: 1.5em;
    margin: 10px 0;
}

.blog-title a:hover {
    opacity: 0.7;
}

.blog-date, .post-date, .works-date {
    color: #b4b4b4!important;
    font-size: 0.8em;
}

.blog-item {
    margin: 80px 0;
}

.blog-image img {
    width: 100%;
    border-radius: 5px;
}

.blog-title-sg {
    padding: 0!important;
    margin-top: 10px;
}

.blog-content-sg {
    padding-bottom: 50px;
}

.blog-content-sg p img {
    border-radius: 5px;
}

/* サイドバー付きレイアウト */
.inner-wrap .content-wrapper {
    display: flex;
    gap: 30px;
    margin: 0 auto;
}

.inner-wrap .content-area {
    flex: 2;
    min-width: 0; /* フレックスアイテムの縮小を許可 */
}

.inner-wrap .blog-sidebar {
    flex: 0 0 200px; /* 幅300px固定 */
    padding: 20px;
    border-radius: 5px;
    margin-left: 30px;
}

/* サイドバー内のウィジェット */
.blog-sidebar .widget {
    margin-top: 50px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.blog-sidebar .widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    border-left: 4px solid #333;
    padding-left: 10px;
}

.blog-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .widget ul li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dotted #ddd;
}

.blog-sidebar .widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-sidebar .widget ul li a:hover {
    opacity: 0.8;
}

.blog-sidebar .post-date {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.post-item-content {
    margin-bottom: 50px;
}

.archive .page-title {
    text-align: left!important;
}

.post-details {
    text-align: left;
}

.post-title {
    font-size: 1.5em;
    padding: 0;
    margin: 10px 0;
}




/* レスポンシブ対応 */
@media (max-width: 768px) {
    .inner-wrap .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
	
	.inner-wrap {
		padding-right: 40px!important;
	}
    
    .inner-wrap .blog-sidebar {
        flex: none;
        order: 2; /* スマホではサイドバーを下に */
    }
	
	.inner-wrap .blog-sidebar {
		margin-left: 0;
	}
	
	#secondary {
		padding: 1em 5em 0 0;
	}
	
	.about-sec-title {
		padding-bottom: 30px;
	}
}


/* CONTACT */

input {
    line-height: 1.3!important;
}

 input[type=text], input[type=email], input[type=tel], input[type=category] {
    width: 50%!important;
}


.submit-btn {
    position: relative!important;
    top: 50%!important;
    left: 50%!important;
	margin: 50px 0!important;
    transform: translate(-50%,-50%)!important;
    display: block!important;
    width: 280px!important;
    border: 1px solid #333!important;
    border-radius: 30px!important;
    padding: 11px 0!important;
    background-color: #fff!important;
    font-size: 14px!important;
    font-weight: 700!important;
    color: #333!important;
    line-height: 1.6!important;
    text-decoration: none!important;
    text-align: center!important;
    transition: .2s!important;
    box-sizing: border-box;
    letter-spacing: 1.5!important;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif!important;
}

.submit-btn:hover {
    color: #fff!important;
    background-color: #333!important;
    border-color: #fff!important;
}

.submit-btn::after {
    content: ''!important;
    position: absolute!important;
    top: 0!important;
    bottom: 0!important;
    right: 25px!important;
    width: 9px!important;
    height: 9px!important;
    margin: auto!important;
    border-top: 2px solid #333!important;
    border-right: 2px solid #333!important;
    transform: rotate(45deg)!important;
    transition: .2s!important;
    box-sizing: border-box!important;
}

.submit-btn:hover::after {
    right: 20px!important;
    border-top: 2px solid #fff!important;
    border-right: 2px solid #fff!important;
}

select {
    font-size: 16px!important;
    padding: 10px 20px 10px 10px!important;
    border: 2px solid rgba(68, 68, 68, .19)!important;
    line-height: 1.3!important;
}

.side-nav__scrollable-container {
    background-color: #333!important;
    color: #fff!important;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: none;
	border: none;
	text-align: center;
	margin-bottom: 50px;
}




@media screen and (max-width: 64em) {

    h2 {
        font-size: 1.5em!important;
    }

    .navbar-nav li a {
       color: #fff!important;
    }

    .navbar-nav a::after {
        background-color: none!important;
    }

    .three-columns-container, .posts-three-columns-container, .profile_wrap, .works-list-container {
        display: block;
    }

    .column-item {
        margin-bottom: 50px;
    }
	
	.column-image img {
		width: 40%;
	}
	
	.column-content {
		margin: 0 20px!important;
	}

    .posts-three-columns-container {
        padding: 0;
    }

    .post-column-item {
        margin-bottom: 20px;
    }

    .post-column-title {
        font-size: 1em;
    }

    .page .entry-title, .page-title, .page .entry-cover-image .entry-header .entry-title {
        font-size: 1.5em!important;
    }

    .profile_txt {
        margin: 0;
    }

    .mission_wrap, .works-list-container, .blog-grid, .wpcf7-form, .posts-three-columns-section, .latest-posts-section {
        padding-right: 10px;
    }

    .mission_content {
        margin-bottom: 30px;
        padding: 30px;
    }

    .works-list-container article {
        margin-bottom: 30px;
    }

    .latest-posts-container {
        padding: 30px;
    }
	
	.latest-post-date {
		font-size: 0.8em;
	}
	
	.latest-post-title {
		font-size: 1em;
	}
	
	.blog-title, .about-sec-title, .blog-title-sg, .works-title, .post-title {
		font-size: 1.5em!important;
	}
	
	.custom-logo-link img {
		max-height: 40px !important;
	}
	
	.blog-item {
    margin: 0 0 50px 0;
	}






}

@media screen and (max-width:640px) {
	.pc {
		display: none;
	}

        
    input[type=text], input[type=email], input[type=tel] {
        width: 100%!important;
    }

}
@media screen and (min-width:641px) {
	.sp {
		display: none;
	}


}