/* =========================================================
   事業内容ページ SERVICE
   ========================================================= */
.p-service-intro {
	text-align: center;
}

.p-service-intro__catch {
	font-size: 38px;
	margin-bottom: 40px;
	line-height:1.8;
}

.p-service-intro__desc {
	line-height:1.8;
}

.service-list-container {
	margin: 100px 0;
	padding: 100px 0;
	background-color: #FFF2E5;
	border-radius: 20px;
}

.l-main .p-service-title {
	font-size: 48px;
	color: #F79B3F;
	text-align: center;
	margin-bottom: 10px;
}

.p-service-work__sub {
	text-align: center;
	margin-bottom: 50px;
}

.service-list-inner {
	display: flex;
	flex-direction: column;
	gap: 110px;
}

/* 各項目（左テキスト・右画像） */
.p-service__item {
    display: flex;
    align-items: center;
    gap: 6%;
}
.p-service__item:last-child {
    margin-bottom: 0;
}
/* 左：テキスト囲み */
.p-service__item .p-service {
    flex: 1;
}
/* SERVICE番号 */
.l-main .p-service-num {
    color: #F79B3F;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}
/* 見出し */
.p-service__title {
    color: #002F34;
    font-size: 30px;
    font-weight: 700;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #F79B3F;
}
/* 説明文 */
.p-service__desc {
    color: #002F34;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}
/* 右：画像（背後にオレンジの角丸） */
.p-service__img {
    flex: 0 0 44%;
    position: relative;
}

.p-service__img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* 偶数番（2つ目・4つ目）は左右反転（画像左・テキスト右） */
.p-service__item:nth-child(even) {
    flex-direction: row-reverse;
}

/* =========================================================
料金表（1枚目デザイン：オレンジヘッダー＋左カテゴリ列）
========================================================= */
.p-price__scroll {
	overflow-x: auto;
}
.p-price__table {
	width: 100%;
	border-collapse: collapse;
	min-width: 1000px;   /* 8列あるため狭い画面では横スクロール */
}
/* ヘッダー行（オレンジ） */
.p-price__table thead th {
	background: #F79B3F;   /* オレンジ（1枚目に寄せた色） */
	color: #fff;
	font-weight: 700;
	padding: 14px 10px;
	text-align: center;
	border: 1px solid #fff;
	line-height: 1.4;
	vertical-align: middle;
}
/* ヘッダー左上のカテゴリ列・作業列 */
.p-price__th-cat {
	background: #F79B3F;
	width: 90px;
}
.p-price__th-work {
	background: #F79B3F;
	text-align: center;
}
/* 左カテゴリ列（縦書き風・濃いオレンジ） */
.p-price__cat {
	background: #F79B3F;
	color: #fff;
	font-weight: 700;
	text-align: center;
	border: 1px solid #fff;
	width: 60px;
	line-height: 1.4;
}
/* 行見出し（薄いオレンジ） */
.p-price__row-head {
	background: #FFF2E5;   /* 薄いオレンジ */
	color: #6b3a10;
	font-weight: 700;
	text-align: left;
	padding: 12px;
	border: 1px solid #ccc;
	white-space: nowrap;
}
/* データセル */
.p-price__table td {
	color: #333;
	text-align: right;
	padding: 12px;
	border: 1px solid #ccc;
	white-space: nowrap;
}

.p-price__text {
	margin-top: 10px;
}

.contact-container {
	margin-top: 100px;
	margin-bottom: 150px;
}

.contact-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* 各カード */
.p-contact-cards__item {
    border: 1px solid #002F34;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
/* アイコン（オレンジ丸） */
.p-contact-cards__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F79B3F;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.p-contact-cards__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
/* 3つ目（LINE）のアイコンだけオレンジ丸を消す */
.contact-inner .p-contact-cards__item:nth-child(3) .p-contact-cards__icon {
    background: none;       /* オレンジ丸を消す */
}
/* 3つ目（LINE）のアイコン画像を丸いっぱいに */
.contact-inner .p-contact-cards__item:nth-child(3) .p-contact-cards__icon img {
    width: 100%;
    height: 100%;
}
/* 見出し */
.p-contact-cards__title {
    color: #002F34;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}
/* 電話番号 */
.p-contact-cards__tel {
    margin-bottom: 12px;
}
.p-contact-cards__tel a {
    color: #002F34;
    font-size: 30px;
    font-weight: 700;
}
/* 注記（営業時間など） */
.l-main .p-contact-cards__note {
    color: #888;
    line-height: 1.7;
    margin: 0;
}
/* ボタン（濃緑） */
.p-contact-cards__btn {
    margin: 0;
}
.p-contact-cards__btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #002F34;
    color: #fff;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
}
.p-contact-cards__btn img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

/* =========================================================
   FLOW（ご利用の流れ）
   ========================================================= */
.flow-container {
    margin-top: 100px;
}

/* ===== PC版：Gridで [アイコン | タイトル] / [アイコン | 説明] ===== */
.flow-item {
    display: grid;
    grid-template-columns: auto 1fr;   /* 左：アイコン幅 / 右：残り幅 */
    grid-template-rows: auto auto;     /* 上：タイトル / 下：説明 */
    grid-template-areas:
        "icon title"
        "icon text";
    align-items: center;               /* アイコンを縦中央に */
    column-gap: 32px;
    row-gap: 8px;
	padding: 30px;
	background-color: #FFF2E5;
	border-radius: 20px;
}

/* アイコン画像（丸）：左列・2行ぶち抜き */
.flow-img {
    grid-area: icon;
    align-self: center;                /* 2行分の中央に配置 */
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* ステップタイトル：右列・上段 */
.flow-item-title {
    grid-area: title;
    align-self: end;                   /* 説明側に寄せて中央寄りに */
    margin: 0;
}

/* 説明文：右列・下段 */
.flow-item-text {
    grid-area: text;
    align-self: start;
    line-height: 1.9;
    margin: 0;
}

/* ステップ間の下向き矢印 */
.next-arrow {
    display: block;
    width: 40px;
    height: auto;
    margin: 20px auto;
}

/* ===== スマホ版：アイコン＋タイトルを横並び、説明はその下 ===== */
@media (max-width: 767px) {
    .flow-container {
        padding: 48px 0;
    }
    /* Gridを解除してFlexの縦積みに */
    .flow-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 16px;
        row-gap: 16px;
    }
    .flow-img {
        width: 70px;
        height: 70px;
        align-self: center;   /* 行内で縦中央に固定 */
    }
    .flow-item-title {
        font-size: 20px;
        margin: 0;
        align-self: center;   /* アイコンと縦中央で揃える */
        line-height: 1.4;     /* 行の高さを詰めて中心を合わせやすくする */
    }
    /* 説明を必ず次の行へ（アイコン＋タイトルの下に落とす） */
    .flow-item-text {
        flex: 0 0 100%;
    }
    .next-arrow {
        margin: 16px auto;
    }
}

@media screen and (max-width: 767px) {
	.l-main p {
		font-size: 14px;
	}
	.p-service-intro__catch {
		margin: 30px 0;
		font-size: 26px;
	}
	.service-list-container {
		margin: 80px 0;
		padding: 80px 0;
	}
	.l-main .p-service-title {
		font-size: 30px;
		margin-bottom: 5px;
	}
	.p-service-work__sub {
		margin-bottom: 30px;
	}
	.p-service__title {
		font-size: 24px;
	}
	.p-service__item {
		flex-direction: column;
		gap: 24px;
	}
	.p-service__item:nth-child(even) {
		flex-direction: column;
	}
	.service-list-inner {
		gap: 40px;
	}
	.flow-container {
		margin-top: 80px;
	}
	.contact-container {
		margin-top: 80px;
		margin-bottom: 120px;
	}
	.p-contact-cards__icon {
		margin-bottom: 30px;
	}
	.l-main p.p-contact-cards__title {
		font-size: 16px;
	}
	.p-contact-cards__tel a {
		font-size: 24px;
	}
}

@media screen and (max-width: 1081px) {
	.p-contact-cards__btn:nth-child(3) a {
		font-size: 14px;
	}
}

@media screen and (max-width: 980px) {
	.contact-inner {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* 注意書きリスト：2列×2行 */
 .p-price-notes {
    list-style: none;                 /* デフォルトの「・」を消す */
    margin-top: 5px;
	 margin-bottom: 0;
    padding: 0;
}

/* 各項目：先頭に●を付ける */
.p-price-notes li {
    position: relative;
    padding-left: 20px;               /* ●のぶんの字下げ */
    line-height: 1.6;
}
.p-price-notes li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #002F34;                      /* ●の色 */
}

.p-price__yen {
	text-align: right;
	margin-top: 5px;
}

@media screen and (max-width: 767px) {
	.p-price-notes li {
		font-size: 14px;
	}
}