@charset "UTF-8";


/*****************************************************
　ヘッダー　
*****************************************************/
#header .header-inner{
	border-radius:8px;
	box-shadow:0px 0px 16px rgba(118,118,118,0.15);
	margin:25px auto 110px;
	max-width:1865px;
	padding:19px;
	text-align:center;
	width:95%;
}
/* ロゴ 
------------------------------------------------- */
#logo {
text-align:center;
margin-left: auto;
margin-right: auto;
display: inline-block;
}


/*****************************************************
　セクション　
*****************************************************/
.section > .inner{
	border-bottom:1px solid #bdbdbd;
	padding:60px 20px 100px;
	position:relative;
}
.section > .inner:after{
	background:#fff url('../img/common/icon.png') no-repeat right center;
	bottom:-10px;
	content:'';
	display:block;
	height:20px;
	position:absolute;
	right:0;
	width:25px;
	z-index:0;
}
/* タイトル 
------------------------------------------------- */
.section-head{
	margin:0 0 40px;
}
.section-head .section-ttl{
	font-size:40px;
	font-size:4.0rem;
	letter-spacing:0.2em;
	line-height:1.4;
}
.section-head .section-subttl{
	line-height:1.4;
	margin:12px 0 0;
}
.section-head .section-subttl:before{
	color:#cc0001;
	content:'■';
	font-size:10px;
	font-size:1.0rem;
	margin:0 0.5em 0 0;
}


/*****************************************************
　.inner　
*****************************************************/
.inner{
	margin:0 auto;
	max-width:1600px;
	width:95%;
}


/*****************************************************
　ボタン　
*****************************************************/
.btn{
	background:#cc0001;
	border-radius:21px;
	line-height:42px;
	margin:0 auto;
	text-align:center;
	width:192px;
}
.btn a{
	display:block;
}
.btn a span{
	background:url('../img/common/arrow_right_white.png') no-repeat right center;
	color:#fff;
	display:inline-block;
	font-size:16px;
	font-size:1.6rem;
	font-weight:400;
	letter-spacing:0.18em;
	padding:0 27px 0 20px;
}


/*****************************************************
　フォント　
*****************************************************/
.f-shippori-mincho-regular{
	font-family: "Shippori Mincho", serif;
	font-weight: 400;
	font-style: normal;
}
.f-shippori-mincho-medium{
	font-family: "Shippori Mincho", serif;
	font-weight: 500;
	font-style: normal;
}


.section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 42px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}


/* ==========================================================================
  NEWS
   ========================================================================== */

.news-container {
    align-items: center;
    margin: 0 auto;
    max-width: 1100px;
    padding: 40px 0 80px;
    position: relative;
    width: 70%;
	line-height: 1.8em;
}

.news-container2 {
    align-items: center;
    margin: 0 auto;
    max-width: 1100px;
    padding: 10px 0 20px;
    position: relative;
    width: 70%;
	line-height: 1.8em;
}


.news-contents {
    margin: 0 auto;
    max-width: 1000px;
    padding: 40px 0 80px;
    position: relative;
    width: 70%;
}


.news-contents2 {
    margin: 0 auto;
    max-width: 1000px;
    padding: 40px 0 40px;
    position: relative;
    width: 70%;
}

.news-img img {
    margin: 0 auto;
	margin-bottom: 30px;
	margin-top: 20px;
}

.section-title2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 42px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    text-align: center;
	padding-top: 20px;
	line-height: 1.4em;
}


.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 1px solid #a9a9a9;
    padding-bottom: 15px;
}

.news-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

.news-category::before {
    content: '■';
    color: #dc3545;
    margin-right: 6px;
    flex-shrink: 0;
}

.news-date {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}


/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

/* 画面サイズが768px以下の場合の調整 */
@media (max-width: 768px) {
	
.news-container {
    align-items: center;
    padding: 40px 0 80px;
    width: 90%;
}
	
.news-contents {
    margin: 0 auto;
    position: relative;
    width: 90%;
}
	
.section-title2 {
    font-size: 32px;
	line-height: 1.4em;
}

}


/* ==========================================================================
  法人概要
   ========================================================================== */

.about-container {
    align-items: center;
    margin: 0 auto;
    max-width: 1100px;
    padding: 40px 0 80px;
    position: relative;
    width: 75%;
}


/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

/* 画面サイズが768px以下の場合の調整 */
@media (max-width: 768px) {
	

.about-container {
	padding: 40px 10px;
    width: 95%;
}

}



/* デフォルト(PC) */
.sp-only {
    display: none;
}

.pc-only {
    display: block; /* または flex など */
}

/* スマホ */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
    
    .sp-only {
        display: block;
    }
}




/* ==========================================================================
  お問い合わせ
   ========================================================================== */

.contact-container {
    align-items: center;
    margin: 0 auto;
    max-width: 1100px;
    padding: 40px 0 80px;
    position: relative;
    width: 75%;
}

@media screen and (max-width: 768px) {
.contact-container {
    width: 90%;
}
}

/* ==========================================================================
  プライバシーポリシー
   ========================================================================== */


.policy-container {
    align-items: center;
    border-bottom: 1px solid #bdbdbd;
    margin: 0 auto;
    max-width: 1600px;
    padding: 40px 0 80px;
    position: relative;
    width: 95%;
}

.policy-container:after{
	background:#fff url('../img/common/icon.png') no-repeat right center;
	bottom:-10px;
	content:'';
	display:block;
	height:20px;
	position:absolute;
	right:0;
	width:25px;
	z-index:0;
}



/* ==========================================================================
   フッター
   ========================================================================== */
.footer {
    padding: 40px 20px;
    border-top: 1px solid #bdbdbd;
    max-width: 1600px;
    width: 95%;
    margin: auto;
}

.footer-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: absolute;
    right: 220px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 116px;
    height: 60px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.02em;
}

.company-info {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.company-name {
    margin-bottom: 4px;
}

.company-address-row {
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.contact-button {
    background-color: #dc3545;
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
    background-color: #b02a2a;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.contact-button::after {
    content: '→';
    font-size: 18px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 12px;
    color: #666;
}

.privacy-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #333;
    text-decoration: underline;
}

.copyright {
    color: #999;
}


/* フッタースマホ表示用のレスポンシブスタイル */
@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 20px 30px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        position: static;
    }
    
    .footer-left {
        position: static;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
        order: 1;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-icon {
        width: 140px;
        height: 72px;
    }
    
    .company-info {
        text-align: center;
        font-size: 13px;
    }
    
    .company-name {
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .company-address-row {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    
    .footer-right {
        align-items: center;
        gap: 20px;
        width: 100%;
        order: 2;
    }
    
    .contact-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 15px;
        border-top: 1px solid #e0e0e0;
        width: 100%;
        order: 3;
    }
    
    .privacy-link {
        font-size: 13px;
    }
    
    .copyright {
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 30px 15px 25px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-left {
        gap: 20px;
    }
    
    .logo-icon {
        width: 120px;
        height: 62px;
    }
    
    .company-info {
        font-size: 12px;
    }
    
    .company-name {
        font-size: 13px;
    }
    
    .contact-button {
        max-width: 280px;
        padding: 12px 25px;
        font-size: 14px;
    }
}


/* ==========================================================================
   記事詳細ナビ
   ========================================================================== */

/* 前後の記事ナビゲーション */
.news-navigation {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.news-contents {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.news-contents2 {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* 前の記事・次の記事の共通スタイル */
.nav-previous,
.nav-next {
    flex: 1;
    min-width: 280px;
}

/* 前の記事が無い場合、次の記事を右寄せ */
.news-contents:has(.nav-next:only-child) {
    justify-content: flex-end;
}

/* 次の記事が無い場合、前の記事を左寄せ */
.news-contents:has(.nav-previous:only-child) {
    justify-content: flex-start;
}

.nav-link {
    display: block;
    padding: 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    height: 100%;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link:hover .nav-title {
    color: #d32f2f;
}

/* ラベル部分 */
.nav-label {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    font-weight: 500;
}

.nav-previous .nav-label {
    text-align: left;
}

.nav-next .nav-label {
    text-align: right;
}

/* タイトル部分 */
.nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.nav-previous .nav-title {
    text-align: left;
}

.nav-next .nav-title {
    text-align: right;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .news-navigation {
        margin: 40px auto;
    }
	
	.news-container2 {
   width: 90%;

}
    
    .news-contents {
        flex-direction: column;
        gap: 20px;
    }
	
	.news-contents2 {
	width: 90%;
    }
    
    .nav-previous,
    .nav-next {
        width: 100%;
        min-width: auto;
    }
    
    .nav-link {
        padding: 20px;
    }
    
    .nav-label {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .nav-title {
        font-size: 15px;
    }
    
    /* スマホでは両方左寄せ */
    .nav-next .nav-label,
    .nav-next .nav-title {
        text-align: left;
    }
}

/* ACTIVITYナビゲーション用(同じスタイルを適用) */
.activity-navigation {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.activity-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.activity-navigation .nav-previous,
.activity-navigation .nav-next {
    flex: 1;
    min-width: 280px;
}

.activity-nav-links:has(.nav-next:only-child) {
    justify-content: flex-end;
}

.activity-nav-links:has(.nav-previous:only-child) {
    justify-content: flex-start;
}

@media screen and (max-width: 768px) {
    .activity-navigation {
        margin: 40px auto;
    }
    
    .activity-nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .activity-navigation .nav-previous,
    .activity-navigation .nav-next {
        width: 100%;
        min-width: auto;
    }
}