@charset "UTF-8";
/* =============================================================================
 * 見積り写真の撮り方（2026-10-23 作り直し）　/photograph/css/photo2.css
 *   土台は解説ページの部品（/css/guide_s.css の .gs-g ＋ kyuutouki_top.css の .kyt）。ここはこのページだけの部品（.ph-*）。
 *   見本写真は200px角が多いので引き伸ばさない（PC 160px・SP 120px）。左だけ太い線は使わない。@media は最後に置く。
 * ========================================================================== */
.ph { --ph-acc: #e8742a; --ph-ink: #1f2d3a; --ph-sub: #5a6b78; --ph-line: #dfe6ee; --ph-blue: #1f5d96; --ph-soft: #f5f8fb; }

/* ---- 商材を選ぶ（商品写真つき） ---- */
.ph .ph-nav { margin: 0 0 26px; padding: 16px 18px 18px; border: 1px solid var(--ph-line); border-radius: 12px; background: var(--ph-soft); }
.ph .ph-nav__h { margin: 0 0 4px; font-weight: 700; font-size: 16px; color: var(--ph-ink); }
.ph .ph-nav__g { margin: 12px 0 6px; font-size: 13px; font-weight: 700; color: var(--ph-sub); }
.ph .ph-nav__l { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ph .ph-nav__l li { margin: 0; padding: 0; }
.ph .ph-nav__l li::before { content: none; }
.ph .ph-nav__l a { display: flex; align-items: center; gap: 8px; height: 100%; padding: 6px 8px 6px 6px; white-space: nowrap; border: 1px solid var(--ph-line); border-radius: 10px; background: #fff; color: var(--ph-ink); font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: border-color .15s; }
.ph .ph-nav__l a:hover { border-color: var(--ph-blue); }
.ph .ph-nav__l img { flex: none; width: 52px !important; height: 52px !important; }

/* ---- 5つのコツ ---- */
.ph .ph-tips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; counter-reset: tip; }
.ph .ph-tips li { display: grid; grid-template-columns: 30px 13em minmax(0, 1fr); gap: 12px; align-items: center; margin: 0; padding: 12px 14px; border: 1px solid var(--ph-line); border-radius: 10px; background: #fff; counter-increment: tip; }
.ph .ph-tips li::before { content: counter(tip); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ph-blue); color: #fff; font-weight: 700; font-size: 15px; }
.ph .ph-tips b { font-size: 14.5px; line-height: 1.45; color: var(--ph-ink); }
.ph .ph-tips span { font-size: 13px; line-height: 1.7; color: #3a4955; }

/* ---- 商材ごと ---- */
.ph .ph-sec { margin: 0 0 34px; scroll-margin-top: 150px; }
.ph .ph-sec__hd { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; align-items: center; margin: 0 0 12px; padding: 10px 14px 10px 10px; border: 1px solid var(--ph-line); border-radius: 12px; background: #fff; }
.ph .ph-sec__hd img { grid-row: 1 / 3; width: 76px !important; height: 76px !important; }
.ph .ph-sec__hd h3 { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 18px !important; line-height: 1.4 !important; font-weight: 700; color: var(--ph-ink) !important; }
.ph .ph-sec__hd h3::before, .ph .ph-sec__hd h3::after { content: none !important; }
.ph .ph-sec__hd h3 span { font-size: 14px; font-weight: 700; color: var(--ph-sub); }
.ph .ph-sec__hd p { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ph .ph-chip { display: inline-flex; align-items: baseline; gap: 2px; padding: 2px 10px; border-radius: 999px; background: #eef4fa; font-size: 12.5px; font-weight: 700; color: var(--ph-blue); white-space: nowrap; }
.ph .ph-chip b { font-size: 15px; }
.ph .ph-chip.is-or { background: #fff1e6; color: #c2410c; }

/* 撮る場所（見本写真＋説明を横に並べる・PC 2列） */
.ph .ph-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ph .ph-list li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; padding: 10px; border: 1px solid var(--ph-line); border-radius: 10px; background: #fff; }
.ph .ph-list li::before { content: none; }
.ph .ph-list__ph { display: block; width: 160px; height: 160px; border-radius: 8px; overflow: hidden; background: var(--ph-soft); }
.ph .ph-list__ph img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
.ph .ph-list__ph.is-none { display: flex; align-items: center; justify-content: center; }
.ph .ph-list__ph.is-none small { font-size: 12px; color: var(--ph-sub); }
.ph .ph-list__h { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; }
.ph .ph-n { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ph-acc); color: #fff; font-weight: 700; font-size: 14px; }
.ph .ph-list__h b { font-size: 15px; line-height: 1.4; color: var(--ph-ink); }
.ph .ph-list__t > p:last-child { margin: 0; font-size: 13.5px; line-height: 1.75; color: #3a4955; }
.ph .ph-sec__ft { margin: 10px 0 0; text-align: right; font-size: 13.5px; }
.ph .ph-sec__ft a { font-weight: 700; color: var(--ph-blue); }

@media screen and (max-width: 900px) {
	.ph .ph-nav__l { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ph .ph-list { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (max-width: 767px) {
	.ph .ph-sec { scroll-margin-top: 76px; }
	.ph .ph-nav { padding: 12px; }
	.ph .ph-nav__l { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.ph .ph-nav__l a { font-size: 12.5px; padding: 4px 8px 4px 4px; }
	.ph .ph-nav__l img { width: 44px !important; height: 44px !important; }
	.ph .ph-tips li { grid-template-columns: 30px minmax(0, 1fr); row-gap: 4px; }
	.ph .ph-tips li span { grid-column: 2; }
	.ph .ph-sec__hd { grid-template-columns: 60px minmax(0, 1fr); padding: 8px 10px 8px 8px; }
	.ph .ph-sec__hd img { width: 60px !important; height: 60px !important; }
	.ph .ph-sec__hd h3 { font-size: 16px !important; }
	.ph .ph-sec__hd h3 span { display: block; font-size: 12px; }
	.ph .ph-list li { grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 8px; }
	.ph .ph-list__ph { width: 120px; height: 120px; }
	.ph .ph-list__h b { font-size: 14px; }
	.ph .ph-list__t > p:last-child { font-size: 12.5px; line-height: 1.7; }
}
