/* Global CSS - 共通スタイル */

/* ========================================
   リセット・ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ========================================
   レイアウトコンテナ
======================================== */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   セクションタイトル
======================================== */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #dc000c;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

/* セクションタイトル下線（一部のファイルで使用） */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #dc000c;
    border-radius: 2px;
}

/* ========================================
   CTAセクション - パターンA（背景画像付き）
======================================== */
.cta-section {
    padding: 80px 0 80px 50%;
    background: url("../img/04_feature-webmarketing/ill10.png") no-repeat left center #f1f1f1;
    background-size: 50% auto;
    color: #000;
    text-align: center;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #dc000c;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #dc000c;
}

.cta-button:hover {
    background: #b3000a;
    border-color: #b3000a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 0, 12, 0.3);
}

/* ========================================
   CTAセクション - パターンB（グラデーション背景）
======================================== */
.cta-section.gradient {
    padding: 80px 0;
    background: linear-gradient(135deg, #dc000c 0%, #b3000a 100%);
    color: white;
    text-align: center;
}

.cta-section.gradient .cta-title {
    color: white;
}

.cta-section.gradient .cta-description {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section.gradient .cta-button {
    background: white;
    color: #dc000c;
    border-color: white;
}

.cta-section.gradient .cta-button:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* ========================================
   FAQセクション
======================================== */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-container,
.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #dc000c;
    box-shadow: 0 5px 15px rgba(220, 0, 12, 0.1);
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #dc000c;
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background: #dc000c;
    color: white;
}

.faq-question:hover::after {
    color: white;
}

.faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {

    .wrapper,
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .cta-section {
        padding: 60px 0;
        background: #f1f1f1;
        background-size: 100% auto;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .faq-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 15px;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 15px;
    }

    .faq-answer.active {
        padding: 15px;
    }
}

/* ========================================
   ユーティリティクラス
======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

a.plan-button,
a.cta-button,
a.step-button{
    color: #FFF;
    text-decoration: none;
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   フォーカス状態（アクセシビリティ）
======================================== */
.cta-button:focus,
.faq-question:focus {
    outline: 3px solid rgba(220, 0, 12, 0.3);
    outline-offset: 2px;
}

/* ========================================
   プリントスタイル
======================================== */
@media print {

    .hero-section,
    .cta-section {
        background: white !important;
        color: black !important;
    }

    .cta-button {
        background: #dc000c !important;
        color: white !important;
    }
}

/*title
************************************************************************************/
.pagetitle{
	width: 100%;
	position: relative;
	border-bottom: 1px solid #f1f1f1;
	background: #f6f6f6;
}
.pagetitle:before{
	padding-top: 8%;
	display: block;
	content: "";
}
.pagetitle .maintitle{
	position: absolute;
	width: 90%;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 20;
}
.pagetitle .maintitle .subtitle{
	position: relative;
	font-family: "solitaire-mvb-pro", sans-serif;
	font-weight: 400;
	letter-spacing: .1313em;
}
.pagetitle .maintitle h1:before{
	width: 50px;
	height: 2px;
	background: #000;
	content: "";
	position: absolute;
	transform: translateY(-50%);
	left: 0;
	top: 65%;
}
.pagetitle .maintitle h1{
	font-size: 3em;
	padding: 0 0 0 60px;
	margin: 0;
	font-weight: 500;
}

.titleBox{
	margin: 0;
	display: inline-block;
}
.titleBox h1{
	font-size: 2.5em;
	line-height: 1;
	min-width: 5em;
}
.titleBox .ttl_jp{
	width: 100%;
	position: relative;
	font-size: 1em;
	margin-top: 1em;
	letter-spacing: .05em;
}
.titleBox .ttl_jp span {
	display: inline-block;
	padding: 0 10px 0 3px;
	background-color: #fff;
    position: relative;
    z-index: 1;
}
.titleBox .ttl_jp:after {
	content: "";
	width: 100%;
	height: 1px;
	display: block;
	background-color: #DC000C;
	position: absolute;
	top: .9em;
	left: 0;
}

.lv_h2,
.h2{
	font-size: 2.2em;
	line-height: 1em;
	padding-bottom: 1em;
	margin: 1em 0 1.5em;
	font-weight: 800;
	border-bottom: 1px solid #000;
	text-align: center;
}

.h3{
	font-weight: 600;
	font-size: 1.875em;
	line-height: 1em;
	margin: 1em 0 1em;
	position: relative;
	padding-left: 70px;
	color: #3a3a3a;
}

.h3:before{
	position: absolute;
	top: 50%;
	left: 0;
	width: 60px;
	height: 1px;
	content: "";
	transform: rotateY(-50%);
	background-color: #DC000C;
}

.h4{
	font-weight: 600;
	font-size: 1.5em;
	line-height: 1.3em;
	margin: 1em 0 1em;
	color: #3a3a3a;
}

.h5{
	font-weight: 600;
	font-size: 1.125em;
	margin: 1em 0 1em;
	color: #3a3a3a;
}

/*buttons
************************************************************************************/
/*contents top*/
ul.contentstop_btn{
	display: -webkit-flex;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 50px auto;
}
ul.contentstop_btn li{
	display: block;
	box-sizing: border-box;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	width: 48%;
	margin: 1%;
	box-shadow: 0px 0px 14px -5px #c7c7c7;
	background: #FFF;
}
ul.contentstop_btn li a{
	color: #000;
	text-decoration: none;
}
ul.contentstop_btn li .imagebox{
	padding: 40px 40px 0;
	text-align: center;
}
ul.contentstop_btn li .imagebox .image{
	text-align: center;
}
ul.contentstop_btn li .imagebox img{
	width: 150px;
	height: auto;
}
ul.contentstop_btn li .imagebox .titlebox{
	text-align: center;
}
ul.contentstop_btn li .imagebox .s_title{
	padding: .3em 0;
	font-size: 0.875em;
}
ul.contentstop_btn li .imagebox .title{
	font-weight: bold;
	font-size: 1.313em;
}
ul.contentstop_btn li .details{
	padding: 20px;
}
ul.contentstop_btn li .btn_more{
	text-align: center;
	padding: 1.5em 0 40px;
}

ul.list_btns{
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	margin: 0 auto 40px;
	list-style: none !important;
}
ul.list_btns li{
	width:calc(96% / 4);
	box-sizing: border-box;
	border: 1px solid #ccc;
	text-align: center;
	font-size: 0.875em;
	margin: 0.5%;
	text-align: center;
}
ul.list_btns li a{
	display: inline-block;
	padding: 1em;
}
ul.list_btns li a:before{
	content: "navigate_next";
	display: inline-block;
	vertical-align: middle;
	margin-right: .4em;
	z-index: 10;
	width: 20px;
	height: 20px;
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 20px;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
	vertical-align: middle;

	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;

	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;

	/* Support for IE. */
	font-feature-settings: 'liga';
}



/*pagelist*/
ul.pagelist{
	display: flex;
	flex-wrap: wrap;
	margin: 50px 0;
	border: 1px solid #ccc;
	padding: 15px;
}
ul.pagelist li{
	width:calc(calc(100% - 12em) / 4);
	margin: 0 .5%;
	box-sizing: border-box;
	border-right: 1px solid #ccc;
	text-align: center;
}
ul.pagelist li:last-child{
	border: 0;
}
ul.pagelist li.label-name{
	width: 10em;
	font-weight: bold;
	text-align: center;
}

@media screen and (min-width: 1025px) {
	ul.contentstop_btn li{
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		-o-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;
	}
	ul.contentstop_btn li:hover{
		box-shadow: 0px 0px 0px 0px #FFF;
	}
}
@media screen and (max-width: 768px){
	ul.contentstop_btn li{
		width: 100%;
		box-sizing: border-box;
	}
	ul.contentstop_btn li .imagebox{
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		text-align: left;
	}
	ul.contentstop_btn li .imagebox .image{
		width: 35%;
	}
	ul.contentstop_btn li .imagebox img{
		width: 100%;
		height: auto;
	}
	ul.contentstop_btn li .imagebox .titlebox{
		width: 65%;
		padding-left: 30px;
		box-sizing: border-box;
	}
	ul.contentstop_btn li .imagebox .s_title{
		padding: .3em 0;
		font-size: 0.875em;
	}
	ul.contentstop_btn li .imagebox .title{
		font-weight: bold;
		font-size: 1.313em;
	}
	ul.contentstop_btn li .details{
		padding: 20px;
	}
	
	/*pagelist*/
	.pagelist_wrap{
		display: flex;
		flex-wrap: wrap;
		margin: 50px 0;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}
	ul.pagelist li.label-name{
		width: 100% !important;
		border: 0;
		border-bottom: 1px solid #ccc;
		padding: 1em;
		box-sizing: border-box;
	}
	ul.pagelist{
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	ul.pagelist li{
		width:calc(100% / 2);
		border: 0;
		box-sizing: border-box;
		padding: 1%;
		margin: 0;
	}
	ul.pagelist li a{
		display: block;
		padding: 1em;
		border: 1px solid #f1f1f1;
		box-sizing: border-box;
	}
	ul.pagelist li:nth-child(4n){
	}
	ul.pagelist li:nth-child(n + 5){
		position: static;
		margin-top: 0px;
	}
	ul.pagelist li:nth-child(n + 5):before{
		display: none;
	}
}


/*template
************************************************************************************/
/*article{
	background: url("../img/bg.png") no-repeat center right fixed;
	background-size: 70% auto;
}*/

article.layout-column .wrapper{
	display: flex;
	flex-wrap: wrap;
}
article.layout-column #sidebar{
	width: 300px;
	padding: 0px 0 50px 50px;
	box-sizing: border-box;
}
article.layout-column #sidebar nav.sidemenuWrap{
	position: -webkit-sticky;
	position: sticky;
	top: 0;
}

article.layout-column #sidebar .title{
	font-size: 1.3535em;
	margin-bottom: 1em;
	font-weight: 800;
}
article.layout-column #sidebar .title a{
	text-decoration: none;
}
article.layout-column #sidebar ul{
	margin-bottom: 3em;
}
article.layout-column #sidebar ul li{
	background: url("../img/ar_black2.svg") no-repeat left top .6em;
	background-size: 7px auto;
	padding-left: 17px;
	margin-bottom: .5em;
	font-size: 0.875em;
}
article.layout-column #sidebar ul li a.current{
	font-weight: bold;
}
article.layout-column #sidebar ul li a{
	text-decoration: none;
}
#sidebar nav.hierarchical-menu > ul > li > ul.children ul.children{
	display: none;
}

#sidebar li.current_page_item a{
	font-weight: bold;
}
#sidebar li.current_page_item ul.children a{
	font-weight: normal;
}
@media screen and (min-width: 769px){
	article.layout-column #sidebar ul li,
	article.layout-column #sidebar ul li a,
	article.layout-column #sidebar .title a{
		transition: all .2s ease-in-out;
	}
	article.layout-column #sidebar ul li:hover{
		background: url("../img/ar_black2.svg") no-repeat left .2em top .6em;
		background-size: 7px auto;
	}
	article.layout-column #sidebar .title a:hover,
	article.layout-column #sidebar ul li a:hover{
		color: #DF3B64;
	}
}
article.layout-column .mainContents{
	width: calc(100% - 300px);
	padding-right: 50px;
	box-sizing: border-box;
}

@media screen and (max-width: 1024px){
	article.layout-column #sidebar{
		width: 200px;
		padding: 30px 30px 30px 0;
	}
	article.layout-column section{
		width: calc(100% - 200px);
		padding-left: 30px;
	}
}
@media screen and (max-width: 768px){
	article.layout-column #sidebar{
		display: none;
	}
	article.layout-column .mainContents{
		width: 100%;
		padding-left: 0;
		border: 0;
	}
}


/*contactarea
************************************************************************************/
#contactarea .contact_text_wrapper{
	display: grid;
	grid-template-columns: 4fr 2fr;
	grid-template-rows: auto;
	column-gap: 20px;
	row-gap: 20px;
	align-items: stretch;
	margin-top: 30px;
}
#contactarea .contact_text_wrapper .message{
	padding: 0 50px 0 0;
}
#contactarea .contact_text_wrapper .linkBox{
	border: 1px solid #000;
	padding: 30px;
	transition: 0.3s ease-in-out;
}
#contactarea .contact_text_wrapper .linkBox .title{
	font-size: 1.5em;
	font-weight: 700;
	margin-bottom: .5em;
	padding-bottom: .5em;
	background: url("../img/ar_black_cr.svg") no-repeat right .2em;
	background-size: 25px 25px;
	border-bottom: 1px solid #000;
}
#contactarea .contact_text_wrapper .linkBox a{
	text-decoration: none;
}
#contactarea .contact_text_wrapper .linkBox:hover{
	background: #f5f5f5;
}

@media screen and (max-width: 768px){
	.pagetitle:before{
		padding-top: 25%;
		display: block;
		content: "";
	}
	.pagetitle .maintitle h1{
		font-size: 1.875em;
	}
}

/* ========================================
   目的別サービス紹介セクション（共通）
======================================== */
.service-intro-section {
    background: white;
    padding-top: 50px;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 50px;
}

.service-intro-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.service-intro-card:nth-child(-n+4) {
    border-top: none;
}

.service-intro-card:nth-child(4n-3) {
    border-left: none;
}

.service-intro-card:nth-child(4n) {
    border-right: none;
}

.service-intro-card:nth-child(-n+4) {
    border-bottom: none;
}

.service-intro-icon {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.service-intro-icon svg {
    width: 60px;
    height: 60px;
    max-width: 100%;
}

.service-intro-icon img {
    width: 60px;
    height: auto;
    max-width: 100%;
}

.service-intro-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
}

.service-intro-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.service-intro-link {
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.service-intro-link:hover {
    color: #dc000c;
}

/* 目的別サービス紹介セクション - レスポンシブ */
@media (max-width: 1024px) {
    .service-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-intro-card:nth-child(-n+4) {
        border-top: 1px solid #e0e0e0;
    }

    .service-intro-card:nth-child(-n+2) {
        border-top: none;
    }

    .service-intro-card:nth-child(2n-1) {
        border-left: none;
    }

    .service-intro-card:nth-child(2n) {
        border-right: none;
    }

    .service-intro-card:nth-child(n+3) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: 0;
        border: 1px solid #e0e0e0;
        border-right: none;
        border-bottom: none;
    }

    .service-intro-card {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        border-top: 1px solid #e0e0e0;
    }

    .service-intro-card:first-child {
        border-top: none;
    }

    .service-intro-card:last-child {
        border-bottom: none;
    }

    .service-intro-card:nth-child(2n-1),
    .service-intro-card:nth-child(2n) {
        border-left: none;
        border-right: none;
    }

    .service-intro-title {
        font-size: 1.1rem;
        text-align: center;
    }

    .service-intro-description {
        font-size: 0.9rem;
    }
}

/*実績セクション
----------------------------------------------------------------------*/
/* ポートフォリオセクション */
.portfolio-section {
    padding: 80px 0;
    background: #fff;
}

.portfolio-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dc000c;
    border-radius: 0;
    padding: 60px;
    text-align: center;
    margin-top: 40px;
}

.scroll-indicator {
    color: #000;
    font-size: 1.2rem;
    font-weight: 600;
}

.posts .portfolio-section ul,
.posts .portfolio-section li{
    margin: 0;
    list-style: none;
}