@charset "utf-8";

.faqPage { padding-top: 0; background: #fff; color: #1d1b1a; }
.faqPage .container { width: 100%; max-width: 500px; margin: 0 auto; overflow: hidden; border-radius: 32px 32px 0 0; }
.faqPage .faqMain { width: 100%; max-width: 500px; box-sizing: border-box; margin: 0 auto; padding: 16px; background: #fff; }

.faqPage .faqHero { min-height: 0; padding: 88px 0 40px; }
.faqPage .faqHero__eyebrow { margin: 0 0 4px; color: #1d1b1a; font-family: Outfit, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1.4; }
.faqPage .faqHero h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: .05em; line-height: 1.5; }
.faqPage .faqHero img, .faqPage .faqIntro > p { display: none; }
.faqPage .faqIntro { padding: 0 0 32px; }

.faqPage .faqCategoryNav { display: flex; gap: 8px; }
.faqPage .faqCategoryNav a { position: relative; display: flex; flex: 1; align-items: center; justify-content: center; min-height: 34px; box-sizing: border-box; padding: 7px 28px 7px 5px; border: 1px solid #1d1b1a; border-radius: 50px; color: #1d1b1a; font-size: 12px; letter-spacing: 0; line-height: 1.4; text-align: center; text-decoration: none; white-space: nowrap; transition: box-shadow .4s ease, background-color .4s ease; }
.faqPage .faqCategoryNav a:hover { box-shadow: inset 0 0 0 999px rgba(29, 27, 26, .04); }
.faqPage .faqCategoryNav a:first-child { flex: .8; }
.faqPage .faqCategoryNav a::after { position: absolute; top: 50%; right: 8px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.99959 12.131L11.9246 9.22479C12.0621 9.08729 12.234 9.01541 12.4402 9.00916C12.6465 9.00291 12.8246 9.07479 12.9746 9.22479C13.1121 9.36229 13.1808 9.53729 13.1808 9.74979C13.1808 9.96229 13.1121 10.1373 12.9746 10.2748L9.52459 13.7248C9.44959 13.7998 9.36834 13.8529 9.28084 13.8842C9.19334 13.9154 9.09959 13.931 8.99959 13.931C8.89959 13.931 8.80584 13.9154 8.71834 13.8842C8.63084 13.8529 8.54959 13.7998 8.47459 13.7248L5.02459 10.2748C4.88709 10.1373 4.81522 9.96541 4.80897 9.75916C4.80272 9.55291 4.87459 9.37479 5.02459 9.22479C5.16209 9.08729 5.33709 9.01854 5.54959 9.01854C5.76209 9.01854 5.93709 9.08729 6.07459 9.22479L8.99959 12.131ZM8.99959 7.63104L11.9246 4.72479C12.0621 4.58729 12.234 4.51541 12.4402 4.50916C12.6465 4.50291 12.8246 4.57479 12.9746 4.72479C13.1121 4.86229 13.1808 5.03729 13.1808 5.24979C13.1808 5.46229 13.1121 5.63729 12.9746 5.77479L9.52459 9.22479C9.44959 9.29979 9.36834 9.35291 9.28084 9.38416C9.19334 9.41541 9.09959 9.43104 8.99959 9.43104C8.89959 9.43104 8.80584 9.41541 8.71834 9.38416C8.63084 9.35291 8.54959 9.29979 8.47459 9.22479L5.02459 5.77479C4.88709 5.63729 4.81522 5.46541 4.80897 5.25916C4.80272 5.05291 4.87459 4.87479 5.02459 4.72479C5.16209 4.58729 5.33709 4.51854 5.54959 4.51854C5.76209 4.51854 5.93709 4.58729 6.07459 4.72479L8.99959 7.63104Z' fill='%231D1B1A'/%3E%3C/svg%3E") center / 18px 18px no-repeat; content: ""; transform: translateY(-50%); }
.faqPage .faqCategoryNav a > svg { display: none; }

.faqPage .faqContent { display: grid; gap: 32px; }
.faqPage .faqSection { scroll-margin-top: 80px; }
.faqPage .faqSection h2 { position: static; top: auto; left: auto; width: auto; margin: 0 0 12px; transform: none; filter: none; color: #9e9e9e; font-size: 18px; font-weight: 700; line-height: 1.7; text-align: left; }
.faqPage .faqList { display: grid; gap: 12px; margin: 0; }
.faqPage .faqItem { padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 9.615px 0 rgba(0, 0, 0, .06); }

.faqPage .accordionTit { position: relative; display: flex; align-items: flex-start; min-height: 30px; margin: 0; padding: 2px 28px 0 38px; color: #1d1b1a; font-size: 14px; font-weight: 500; line-height: 1.7; cursor: pointer; transition: color .3s ease; }
.faqPage .accordionTit.open { color: #f6732a; }
.faqPage .accordionTit::before { position: absolute; top: 0; left: 0; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: #f6732a url("../images/faq_q_icon.png") center / 14px 14px no-repeat; content: ""; }
.faqPage .accordionTit span { position: absolute; top: 0; right: 0; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.0008 14.9748C11.8674 14.9748 11.7424 14.954 11.6258 14.9123C11.5091 14.8706 11.4008 14.7998 11.3008 14.6998L6.70078 10.0998C6.51745 9.91647 6.42578 9.68314 6.42578 9.3998C6.42578 9.11647 6.51745 8.88314 6.70078 8.6998C6.88411 8.51647 7.11745 8.4248 7.40078 8.4248C7.68411 8.4248 7.91745 8.51647 8.10078 8.6998L12.0008 12.5998L15.9008 8.6998C16.0841 8.51647 16.3174 8.4248 16.6008 8.4248C16.8841 8.4248 17.1174 8.51647 17.3008 8.6998C17.4841 8.88314 17.5758 9.11647 17.5758 9.3998C17.5758 9.68314 17.4841 9.91647 17.3008 10.0998L12.7008 14.6998C12.6008 14.7998 12.4924 14.8708 12.3758 14.9123C12.2591 14.954 12.1341 14.9748 12.0008 14.9748Z' fill='%23F6732A'/%3E%3C/svg%3E") center / 24px 24px no-repeat; }
.faqPage .accordionTit.open span { background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.0008 10.8004L8.10078 14.7004C7.91745 14.8837 7.68411 14.9754 7.40078 14.9754C7.11745 14.9754 6.88411 14.8837 6.70078 14.7004C6.51745 14.5171 6.42578 14.2837 6.42578 14.0004C6.42578 13.7171 6.51745 13.4837 6.70078 13.3004L11.3008 8.70039C11.5008 8.50039 11.7341 8.40039 12.0008 8.40039C12.2674 8.40039 12.5008 8.50039 12.7008 8.70039L17.3008 13.3004C17.4841 13.4837 17.5758 13.7171 17.5758 14.0004C17.5758 14.2837 17.4841 14.5171 17.3008 14.7004C17.1174 14.8837 16.8841 14.9754 16.6008 14.9754C16.3174 14.9754 16.0841 14.8837 15.9008 14.7004L12.0008 10.8004Z' fill='%23F6732A'/%3E%3C/svg%3E"); }

.faqPage .accordionDetail { position: relative; display: none; margin: 12px 0 0; padding: 12px 0 0 38px; border-top: 0; }
.faqPage .accordionDetail::before { position: absolute; top: 12px; left: 0; z-index: 1; width: 30px; height: 30px; box-sizing: border-box; border: 1px solid #f6732a; border-radius: 50%; background: #fff url("../images/faq_a_icon.png") center / 12px 12px no-repeat; content: ""; }
.faqPage .accordionDetail p { margin: 0; color: #1d1b1a; font-size: 14px; letter-spacing: .02em; line-height: 1.8; }
.faqPage .accordionDetail p + p { margin-top: 8px; }
.faqPage .faqAddress { display: grid; justify-items: start; gap: 8px; margin-top: 16px; }
.faqPage .faqAddress > span { padding: 3px 8px; border: 1px solid #f6732a; border-radius: 6px; color: #f6732a; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .01em; }
.faqPage .faqAddress > p { line-height: 1.7; overflow-wrap: anywhere; }
.faqPage .accordionDetail a { color: #345cc8; text-decoration: underline; transition: color .4s ease; }
.faqPage .accordionDetail a::after { display: inline-block; width: 12px; height: 12px; margin: 0 5px; vertical-align: middle; background: #345cc8; content: ""; mask: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMEg1VjFIMVY5SDlWNUgxMFY5QzEwIDkuNTUyMjggOS41NTIyOCAxMCA5IDEwSDFDMC40NDc3MTUgMTAgMCA5LjU1MjI4IDAgOVYxQzAgMC40NDc3MTUgMC40NDc3MTUgMCAxIDBaTTYgMEgxMFY0SDlWMS43MDcxMUw0LjM1MzU1IDYuMzUzNTVMMy42NDY0NSA1LjY0NjQ1TDguMjkyODkgMUg2VjBaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMEg1VjFIMVY5SDlWNUgxMFY5QzEwIDkuNTUyMjggOS41NTIyOCAxMCA5IDEwSDFDMC40NDc3MTUgMTAgMCA5LjU1MjI4IDAgOVYxQzAgMC40NDc3MTUgMC40NDc3MTUgMCAxIDBaTTYgMEgxMFY0SDlWMS43MDcxMUw0LjM1MzU1IDYuMzUzNTVMMy42NDY0NSA1LjY0NjQ1TDguMjkyODkgMUg2VjBaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2ZyI=") center / contain no-repeat; }
.faqPage .accordionDetail a:hover { color: #3359c1; }
.faqPage .accordionDetail a:hover::after { background-color: #3359c1; }
.faqPage .accordionDetail a:not([target="_blank"])::after { display: none; }

/* guide / index と同じ外部リンクアイコン */
.faqPage .accordionDetail a[target="_blank"]::after {
    background: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0H5V1H1V9H9V5H10V9C10 9.55228 9.55228 10 9 10H1C0.447715 10 0 9.55228 0 9V1C0 0.447715 0.447715 0 1 0ZM6 0H10V4H9V1.70711L4.35355 6.35355L3.64645 5.64645L8.29289 1H6V0Z' fill='%23345CC8'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
    mask: none;
    -webkit-mask: none;
}

.faqPage .faqContact { display: grid; gap: 32px; padding: 40px 0 48px; }
.faqPage .faqContact > p { margin: 0; font-size: 15px; letter-spacing: .02em; line-height: 1.8; }
.faqPage .faqButton { display: flex; align-items: center; justify-content: center; min-height: 40px; box-sizing: border-box; padding: 6px 16px; border: 1px solid #1d1b1a; border-radius: 50px; color: #1d1b1a; background: #fff; font-size: 14px; line-height: 1.7; text-decoration: none; }
.faqPage .faqButton span { display: inline-block; width: 12px; height: 12px; margin-left: 5px; overflow: hidden; background: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0H5V1H1V9H9V5H10V9C10 9.55228 9.55228 10 9 10H1C0.447715 10 0 9.55228 0 9V1C0 0.447715 0.447715 0 1 0ZM6 0H10V4H9V1.70711L4.35355 6.35355L3.64645 5.64645L8.29289 1H6V0Z' fill='%231D1B1A'/%3E%3C/svg%3E") center / 10px 10px no-repeat; font-size: 0; vertical-align: middle; }

html { scroll-behavior: smooth; }

@media (min-width: 501px) {
    body.faqPage { padding-top: 16px; }
}
