/*
Theme Name: brandconnect
Description: 
Version: 1.0
*/

/* ------------------------------------
 *  メインビュースライダー
 * ------------------------------------ */

.slider-pc,.slider-sp {
   width: 100%;
   height: auto;
}
/* 最初にゆっくり表示 */
.slider-pc,.slider-sp {
  opacity: 0;
  animation: fadeInSlider 3s ease-out forwards;
  animation-delay: 0.2s; /* 読み込み後、少し間を置いてから表示開始 */
}
@keyframes fadeInSlider {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 画像を暗く */
/* 1枚目の画像：元の明るさの70%*/
.slide-img-1,.slide-img-2 {
  filter: brightness(0.7);
}

.mainvview__title {
	position: absolute;
    top: 27%;
    left: 16%;
    z-index: 10;
    color: #eee;
}
.mainvview__title-l {
	font-size: 2rem;
	margin-bottom: 20px;
}
.mainvview__title-s {
	line-height: 1.5;
}
@media (max-width: 1024px) {
	.mainvview__title {
		top: 21%;
    	left: 6%;
	}	
}
/* @media (max-width: 768px) {
	.mainvview__title {
		top: 30%;
	}
	.mainvview__title-l {
		letter-spacing: -0.05em;
	}
} */

/* @media (min-width: 381px) and (max-width: 440px) {
	.mainvview__title {
		top: 28%;
	}
} */

.mainvview__inner {
	max-width: 1400px;
    margin-inline: auto;
}
/*-------------------------------------------
固定ページ
-------------------------------------------*/

/* 配下ページ背景画像　全体 */
.page__title-bg,.result__title-bg {
	padding: 120px 0;
	margin-bottom: 60px;
}
@media (max-width: 768px) {
	.page__title-bg,.result__title-bg {
		padding: 90px 0;
	}
}

/* 事業・サービス紹介 */
.page-id-38 .page__title-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* ← 暗くするレイヤー */ url(https://demo-richwin.work/wp-content/uploads/2025/12/topsub_bg1.webp) no-repeat 50% 50% / cover;
}

/* 安心への取り組み */
.page-id-36 .page__title-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* ← 暗くするレイヤー */ url(https://demo-richwin.work/wp-content/uploads/2025/12/topsub_bg2.webp) no-repeat 50% 87% / cover;
}

/* お客様の声 */
.post-type-archive-voice .result__title-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* ← 暗くするレイヤー */ url(https://demo-richwin.work/wp-content/uploads/2025/12/topsub_bg3.webp) no-repeat 50% 10% / cover;
}

/* 会社概要 */
.page-id-68 .page__title-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* ← 暗くするレイヤー */ url(https://demo-richwin.work/wp-content/uploads/2025/12/topsub_bg4.webp) no-repeat 50% 0 / cover;
}

/* 買取実績 */
.post-type-archive-result .result__title-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* ← 暗くするレイヤー */ url(https://demo-richwin.work/wp-content/uploads/2025/12/topsub_bg10.webp) no-repeat 50% 50% / cover;
}

/* よくある質問 */
.page-id-24 .page__title-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* ← 暗くするレイヤー */ url(https://demo-richwin.work/wp-content/uploads/2025/12/topsub_bg8.webp) no-repeat 50% 50% / cover;
}

/* お問い合わせ */
.page-id-22 .page__title-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* ← 暗くするレイヤー */ url(https://demo-richwin.work/wp-content/uploads/2025/12/topsub_bg7.webp) no-repeat 50% 39% / cover;
}

@media (max-width: 768px) {
	.page-id-38 .page__title-bg {
		background-position: left top;
	}
	.page-id-36 .page__title-bg {
		background-position: 40% top;
	}
	.post-type-archive-voice .result__title-bg {
    	background-position: 38% top;
	}
}


/*-------------------------------------------
固定ページ 買取実績一覧・お客様の声一覧
-------------------------------------------*/

.page-title,.result-title,.voice-title {
	font-size: 2rem;
    color: #fff;
	text-align: center;
}
@media screen and (max-width: 768px) {
	.page-title,.result-title {
		font-size: 1.6rem;
	}
}

.entry-title {
	margin-bottom: 20px;
	text-align: center;
}
.result-item {
margin-bottom: 50px;
}
.result__items dl {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(80px, 1fr) 2fr; 
    border-bottom: 1px dashed;
	padding-block: 10px;
}

.result__items dl,.result__items dl {
	word-break: break-word; 
}
.entry-thumbnail a {
	width: 100%;
}

.voice-list,
.result-list {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    margin-top: 40px;
    margin-bottom: 20px; 
}
@media (min-width: 768px) {
    .voice-list,
    .result-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pagination-container {
    margin-top: 30px; 
    margin-bottom: 60px; 
    text-align: center; 
}

.pagination-container .page-numbers {
    display: inline-block;
    padding: 8px 15px; 
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    color: #333;
    transition: background-color 0.2s;
}

/* 現在のページ */
.pagination-container .current {
    background-color: #333333;
    color: #fff;
    border-color: #333333;
}

/* リンク付きのページ番号 */
.pagination-container a.page-numbers:hover {
    background-color: #f0f0f0;
}

.pagination-container .prev,
.pagination-container .next {
    font-weight: bold;
}

.pagination {
	text-align: center;
}

.voice-item {
    border: 1px solid #ccc;
	background: #fff;
	padding: 20px;
}



.voice-item .entry-title {
	border-bottom: 1px solid #0a162b;
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
    text-align: center;
}
.voice-item .entry-content {
    background-image: linear-gradient(180deg, hsla(0, 0%, 39%, 0), hsla(0, 0%, 39%, 0) 98%, #646464);
    background-size: 100% 2em;
    box-sizing: border-box;
    line-height: 2em;
    min-height: 400px;
    padding-left: 0.5em;
}
/*-------------------------------------------
投稿
-------------------------------------------*/

.post-nav {
    display: flex;
    justify-content: space-between;
}
.post-back {
	text-align: center;
}
.post-back a {
    border: 1px solid #565656;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    background-color: #565656;
}
.post-back a:hover {
    border: 1px solid #565656;
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--txt-c);
    background-color: #fff;
}

.result-content, .voice-content {
	max-width: 500px;
	margin-inline: auto;
}

/* ------------------------------------
 * 買取の流れ
 * ------------------------------------ */

.flow-step-item {
    margin-bottom: 3rem; 
}
.flow-step-item:last-child {
    margin-bottom: 0; 
}

.flow-grid {
    display: flex;
    flex-direction: column; 
    overflow: hidden;
}
@media (min-width: 768px) {
    .flow-grid {
        flex-direction: row; 
    }
}

.flow-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem; 
    width: 100%;
}
@media (min-width: 768px) {
    .flow-content {
        padding: 2.5rem; 
        width: 50%; 
    }
}

.flow-bg-light {
    background-color: #efefef;
}
#buy_saiji .flow-bg-light {
    background-color: #f8f7f2;
}

.flow-content p {
    color: #4b5563; 
    line-height: 1.625; 
}

.flow-content .text-small {
    font-size: 0.875rem; 
    line-height: 1.25rem;
}

.flow-number {
    font-size: 1.5rem; 
/*     font-weight: bold; */
    line-height: 1.2;
    padding-bottom: 4px; 
    display: inline-block; 
}

.flow-title-box {
    border-bottom: 1px solid #d4d4d4;
    margin-bottom: 1rem;
}

.flow-image-area {
    background-color: #e5e7eb; 
    overflow: hidden;
    width: 50%;
}

@media (max-width: 768px) {
    .flow-image-area {
        width: 100%; 
    }
	.flow-content {
		padding-bottom: 20px;
	}

}

.flow-image-area img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}


/* ====================================
 * コンタクトフォーム7 カスタムスタイル
 * ==================================== */
.contact-form {
	max-width: 500px;
    margin-inline: auto;
}

.contact-form-item {
    margin-bottom: 2rem; 
}

.cf7-label {
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
    font-size: 1rem;
}

/* ------------------------------------
 * 必須ラベル（赤色のボックス）
 * ------------------------------------ */

.cf7-required-label {
    display: inline-block;
    background-color: #a00000; 
    color: white;
    font-size: 0.75rem; 
    font-weight: 700; 
    padding: 4px 6px;
    margin-right: 8px; 
    line-height: 1; 
}

/* ------------------------------------
 * 入力フィールド（テキスト、メール、電話）
 * ------------------------------------ */

.cf7-input-field {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc; 
    border-radius: 4px;
    font-size: 1rem;
    box-shadow: none; 
    transition: border-color 0.3s;
    box-sizing: border-box; 
}

.cf7-input-field:focus {
    border-color: #333; 
    outline: none;
}

/* ------------------------------------
 * テキストエリア（備考欄）
 * ------------------------------------ */

.cf7-textarea-field {
    display: block;
    width: 100%;
    height: 150px; 
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-shadow: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
    resize: vertical; 
}

.cf7-textarea-field:focus {
    border-color: #333;
    outline: none;
}

/* ------------------------------------
 * 送信ボタン
 * ------------------------------------ */

.contact-form-submit {
    text-align: center; 
    margin-top: 3rem; 
}

.contact-form-submit input[type="submit"] {
    background-color: #333; 
    color: white;
    font-weight: 700;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.contact-form-submit input[type="submit"]:hover {
    background-color: #555; 
}

span.wpcf7-not-valid-tip {
    font-size: 0.9rem;
    color: #a00000;
    display: block;
    margin-top: 5px;
}

.contact-form-submit {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-top: 3rem; 
}

.wpcf7-spinner {
    display: none; 
}

.contact__cta {
	margin-top: 60px;
}

/* ====================================
* FAQ セクション (シンプルデザイン)
* ==================================== */

/* 質問コンテナ */
.faq-container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 15px;
	overflow: hidden;
}

/* FAQアイテム */
.faq-item {
	margin-bottom: 0;
	background-color: #fff;
	overflow: hidden;
	border-bottom: 1px solid #eee; /* 各アイテム間の区切り線 */
}
/* 最後のアイテムの下線は削除 */
.faq-item:last-child {
	border-bottom: none;
}

/* 質問部分 (Q.表示とクリック領域) */
.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 25px;
	background-color: #fff;
	cursor: pointer;
	transition: background-color 0.3s;
	font-size: 1.2rem;
}

/* 質問部分に「Q.」を挿入 (スクリーンショットのデザイン) */
.faq-question::before {
	content: 'Q.';
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--bg-c2);
	margin-right: 15px;
	flex-shrink: 0;
}

/* 質問テキスト */
.faq-q-text {
	margin: 0;
	padding-right: 20px;
	line-height: 1.6;
	flex-grow: 1;
}

/* 展開アイコン (シェブロン矢印) */
.faq-icon {
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	position: relative;
	transition: transform 0.3s ease;
}

/* 矢印の描画 */
.faq-icon::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	top: 50%;
	left: 50%;
	/* 矢印（シェブロン）のスタイル */
	border: solid #555;
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -50%) rotate(45deg); /* 下向きの矢印 */
	transition: transform 0.3s ease;
}

/* 開いている時のアイコンの回転 (上向きに) */
.faq-question.is-open .faq-icon::after {
	transform: translate(-50%, -50%) rotate(-135deg);
}

/* 回答ラッパー */
.faq-answer-wrap {
	height: 0;
	overflow: hidden;
	transition: height 0.3s ease-in-out;
}

/* 回答部分 (A.表示と回答テキスト) */
.faq-answer {
	padding: 15px 25px 25px 25px;
	line-height: 1.8;
	position: relative;
}

/* 回答部分に「A.」を挿入 */
/*  .faq-answer::before {
	content: 'A.';
	font-size: 1.1rem;
	font-weight: 700;
	color: #888;
	position: absolute;
	top: 20px;
	left: 25px;
} */

/* 回答テキストのインデント */
.faq-answer p {
	margin: 0;
	padding-left: 35px; /* A. の文字の幅に合わせてテキストをインデント */
}
/* モバイル対応 */
@media (max-width: 768px) {
/* 	.page-title {
		font-size: 2rem;
	} */
	.faq-question {
		padding: 15px 10px;
	}
	.faq-question::before {
		font-size: 1rem;
		margin-right: 10px;
	}
	.faq-answer {
		padding: 10px 15px 15px 15px;
	}
	.faq-answer::before {
		top: 15px;
		left: 15px;
	}
	.faq-answer p {
		padding-left: 30px;
	}
}

/* ---------------------------------------------------- */
/* TOPページ 事業内容
/* ---------------------------------------------------- */
.top_about {
    background: #efefef;
    padding: 60px 0;
}
@media (min-width: 1400px) {
	.top_about {
		margin-top: 60px;
	}
}
.about_content {
    display: flex; 
    align-items: stretch; 
    flex-wrap: nowrap; 
    width: 100%;
    min-height: 400px;
	margin-top: 75px;
}

/* 左側：画像（メディア）部分 */
.about_image {
    flex-basis: 50%; /* PC表示では幅を50%にする */
    max-width: 50%;
    position: relative;
    overflow: hidden;
}

.about_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* 右側：テキストコンテンツ部分 */
.about_text {
    flex-basis: 50%;
    max-width: 50%;
    padding: 60px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.about_text p {
	line-height: 1.8;
/*     margin-bottom: 20px;
	margin-top: 75px; */
}

@media (max-width: 768px) {
    .about_content {
        flex-wrap: wrap; 
    }

    .about_image,
    .about_text {
        flex-basis: 100%; 
        max-width: 100%;
    }
    
    .about_image {
        min-height: 300px; 
    }
    
    .about_text {
        padding: 40px 20px; 
    }
}

/* ---------------------------------------------------- */
/* TOPページ 買取の流れ
/* ---------------------------------------------------- */

.buy-method-section {
    padding: 60px 0;
    background-color: #fcfcfc; 
}

.buy-method-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.buy-method-title {
    text-align: center;
    margin-bottom: 80px;
}

.buy-method-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
    justify-content: center;
}
.buy-method-card {
    flex-basis: 100%; 
    max-width: 480px;
/*     border-radius: 6px; */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.buy-method-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .buy-method-card {
        flex-basis: calc(50% - 15px); 
    }
}

.buy-method-image-wrap {
    overflow: hidden;
    height: auto;
    padding-top: 66.66%; 
    position: relative;
}

.buy-method-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.buy-method-card:hover .buy-method-image {
    transform: scale(1.05);
}

.buy-method-content {
    padding: 25px;
    background-color: #f7f5f0; 
    text-align: center;
}

.buy-method-content p {
    font-size: 0.95rem;
/*     color: #555; */
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 80px;
	margin-top: 65px;
}

.buy-method-link-wrap {
    margin-top: 15px;
}

.buy-method-link {
    display: inline-block;
    padding: 10px 30px;
    background-color:var(--bg-c2);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, opacity 0.3s;
    letter-spacing: 0.05em;
    position: relative;
    padding-right: 40px; 
}

.buy-method-link:hover {
    background-color: #555;
    opacity: 0.9;
}

/* 三角アイコン (CSSで作成) */
.buy-method-link::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}


/* ------------------------------------
 * 個人情報保護方針
 * ------------------------------------ */

.policy-container {
    max-width: 1080px;
    margin: 80px auto;
    line-height: 1.8;
}

.policy-container p{
		text-align:center;
}

.page-section_title {
	font-size: 2rem;
	text-align: center;
    margin-bottom: 40px;
	font-weight:bold;
}

.policy-container .page-section_title{
	margin-bottom:65px;
}

.page-section_title-s {
	font-size: 1.6rem;
	font-weight: bold;
	margin-top: 40px;
    margin-bottom: 20px;
	color: #020249;
}

.policy-section-title {
    font-size: 1.5rem;
    font-weight: bold;
    border-left: 2px solid #2d2d2d; 
    padding-left: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
	.page-section_title {
		font-size: 1.6rem;
	}
	.policy-section-title {
		font-size: 1.3rem;
	}
	.page-section_title-s {
		font-size: 1.4rem;
	}
}

.policy-content p,
.policy-content ol,
.policy-content ul {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5em;
    padding-left: 0;
}
.policy-content ul {
	margin-left: 2em;
}

.policy-content li {
	list-style: disc;
}

.policy-content ol {
    list-style-type: decimal;
    padding-left: 20px;
}


/* ------------------------------------
 *  会社概要
 * ------------------------------------ */

.company-profile-container {
    max-width: 900px;
	margin-inline: auto;
	margin-bottom: 60px;
}


.company-info-table {
    border: 1px solid #ddd;
    border-collapse: collapse; 
    width: 100%; 
}

.info-row {
    display: flex;
}

.info-row.alt {
    background-color: transparent;
}


.info-label {
    width: 30%;
    padding: 15px 20px;
    font-size: 0.95rem;
    font-weight: bold; 
    border-bottom: 1px solid #ddd; 
    border-right: 1px solid #ddd;    
    background-color: #f8f7f2;
    display: flex;
    align-items: center; 
}

.info-value {
    width: 70%; 
    padding: 15px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    background-color: #fff; 
    border-bottom: 1px solid #ddd;
}

/* ------------------------------------
「安心・信頼」出来るポイント
------------------------------------ */

.features-container {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     gap: 10px; 
 }
 .feature-box {
     background-color: #f8f7f2;
     padding: 30px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
     flex: 1 1 30%; 
     min-width: 280px;
     position: relative;
     line-height: 1.7;
 }
 .feature-title {
     font-size: 1.3rem;
     font-weight: bold;
     margin-top: 15px;
     margin-bottom: 10px;
	 text-align: center;
 }

 .separator {
     width: 50px;
     height: 1px;
     background-color: #b3a37d; 
     margin: 0 0 25px 0;
	 margin-inline: auto;
 }
 
/* リボン */
 .point-label {
     position: absolute;
     top: 0;
     left: 0;
     width: 50px;
     height: 50px;
     background-color: #c9b384; 
     color: #fff;
     font-weight: bold;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     font-size: 1.2rem;
     z-index: 10;
 }

   .point-label::before {
     content: "POINT";
     font-size: 0.7rem;
    margin-top: 3px;
 }

   /* リボンが折り返す部分の三角形 (上部) */
 .point-label::after {
     content: '';
     position: absolute;
     bottom: -15px; /* 下に突き出す */
     left: 0;
     /* 三角形を作成 */
     border-style: solid;
     border-width: 15px 25px 0 25px;
     border-color: #c9b384 transparent transparent transparent;
     z-index: 9;
     filter: brightness(0.9); /* 少し暗くして折り返しを表現 */
 }
 
 @media (max-width: 768px) {
     .features-container {
         flex-direction: column; 
     }

       .feature-box {
         flex: 1 1 100%; 
         padding-top: 50px; 
     }
 }

/* ---------------------------------------------------- */
/* 代表挨拶
/* ---------------------------------------------------- */

.ceo-message-section {
    display: flex; 
    align-items: stretch; 
    flex-wrap: nowrap; 
    width: 100%;
    min-height: 400px;
}

/* 左側：画像（メディア）部分 */
.ceo-media {
    flex-basis: 50%; /* PC表示では幅を50%にする */
    max-width: 50%;
    position: relative;
    overflow: hidden;
}

.ceo-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* 右側：テキストコンテンツ部分 */
.ceo-content {
    flex-basis: 50%;
    max-width: 50%;
    background-color: #f7f5f0; 
    padding: 60px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.ceo-content-inner {
	max-width: 500px;
	margin: 0 auto;
}
.ceo-content p {
    line-height: 1.8;
    margin-bottom: 20px;
	margin-top: 75px;
}

.title_is-lined {
    position: relative;
	font-size: 2rem;
	font-weight: bold;
    text-align: center;
	line-height: 1.2;
}
.title_is-lined:after {
    background-color: #b3a37d;
    bottom: -25px;
    content: "";
    height: 1px;
    left: calc(50% - 25px);
    position: absolute;
    width: 50px;
}

@media (max-width: 768px) {
    .ceo-message-section {
        flex-wrap: wrap; 
    }

    .ceo-media,
    .ceo-content {
        flex-basis: 100%; 
        max-width: 100%;
    }
    
    .ceo-media {
        min-height: 300px; 
    }
    
    .ceo-content {
        padding: 40px 20px; 
    }
}


/* ---------------------------------------------------- */
/* 取り扱い商材
/* ---------------------------------------------------- */

.items-list__subttl{
	line-height:1.7;
	text-align:center;
	font-size:1.2em;
}
.items-list__link {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    list-style: none;
    margin-block: 40px;
    padding: 0;
}
@media (max-width: 768px) {
	.items-list__link {
		display: grid;
		gap: 40px;
		grid-template-columns: repeat(1, 1fr);
		justify-items: center;
		list-style: none;
		margin-block: 40px;
		padding: 0;
	}
.items-list__subttl{
	font-size:1em;
}
}
.items-list__link li {
    background-color: var(--bg-c2);
}
.items-list__link li a {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    height: 100%;
    position: relative;
}
.items-list__link li p {
    align-items: center;
    color: #fff;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    padding-inline: 10px;
	padding-block: 25px;
    text-align: center;
}

/* .items-list__link li .items__dirtcol-img:after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    height: 32px;
    position: absolute;
    right: 9px;
    top: 42%;
    width: 32px;
} */

/* リンク用の丸ボタン */
/* .items-list__link li .items__dirtcol-img {
    position: relative; 
}
.items-list__link li .items__dirtcol-img:after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    height: 32px;
    position: absolute;
    right: 9px;
    top: 42%;
    width: 32px;
}
.items-list__link li .items__dirtcol-img:before {
    content: "";
    height: 8px; 
    width: 8px;  
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    position: absolute;
    right: 22px; 
    top: calc(42% + 12px); 
    transform: rotate(45deg);
    z-index: 10;
} */