
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');
:root{
  --ink:#182027;--sub:#68757c;--line:#dfe5e8;--blue:#147ca9;--cyan:#24b3c8;
  --navy:#102d3d;--soft:#f4f7f8;--warm:#f1efe8;--white:#fff;--rail:286px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);background:#fff;font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;line-height:1.75}
a{color:inherit;text-decoration:none} img{max-width:100%;height:auto}
.rail{position:fixed;inset:0 auto 0 0;width:var(--rail);background:#fff;border-right:1px solid var(--line);z-index:20}
.rail-inner{height:100%;padding:35px 28px 26px;display:flex;flex-direction:column}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.brand img{width:155px}.brand span{font:600 10px/1.2 Inter,sans-serif;letter-spacing:.18em;color:#7b878d}
.rail-nav{margin-top:72px;display:grid;gap:3px}
.rail-nav a{display:grid;grid-template-columns:30px 1fr;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f2;font-size:13px;font-weight:600}
.rail-nav a span{font:600 9px/1 Inter,sans-serif;color:#9ba4a9}
.rail-nav a:hover,.rail-nav a.current{color:var(--blue)}.rail-nav a.current{padding-left:5px}
.rail-actions{margin-top:auto;display:grid;gap:8px}
.rail-action{display:flex;min-height:44px;align-items:center;justify-content:center;border:1px solid #cdd7dc;font-size:12px;font-weight:700}
.rail-action.primary{background:var(--ink);border-color:var(--ink);color:#fff}
.rail-note{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.rail-note strong,.rail-note span{display:block;font-size:10px;font-weight:600;color:#7a858b}
.main{margin-left:var(--rail)} .mobile-head{display:none}
.breadcrumb{min-height:48px;padding:14px clamp(28px,5vw,72px);display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line);font-size:10px;color:#7c888e}
.breadcrumb a:hover{color:var(--blue)} .breadcrumb strong{color:#435059}
.service-hero{position:relative;min-height:286px;padding:58px clamp(34px,6vw,88px);display:flex;align-items:center;overflow:hidden;background:linear-gradient(90deg,#fff 0%,#f7fbfc 50%,#cfe9ee 100%);border-bottom:1px solid var(--line)}
.service-hero-copy{position:relative;z-index:2;max-width:780px}
.kicker{margin:0 0 16px;font:700 10px/1 Inter,sans-serif;letter-spacing:.22em;color:var(--blue)}
.service-hero h1{margin:0;font-size:clamp(34px,5vw,57px);line-height:1.15;letter-spacing:-.055em}
.lead{margin:20px 0 0;max-width:720px;font-size:14px;color:#526169}
.service-hero-visual{position:absolute;inset:0 0 0 55%;opacity:.96}
.service-hero-visual:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 43px,rgba(20,124,169,.09) 44px),repeating-linear-gradient(90deg,transparent 0 43px,rgba(20,124,169,.09) 44px)}
.ring{position:absolute;border:1px solid rgba(20,124,169,.37);border-radius:50%}
.r1{width:430px;height:160px;right:3%;top:52px;transform:rotate(-12deg)} .r2{width:300px;height:300px;right:15%;top:-27px}
.route{position:absolute;width:430px;height:1px;right:-3%;top:123px;background:linear-gradient(90deg,transparent,rgba(20,124,169,.52),rgba(36,179,200,.42),transparent)}
.q1{transform:rotate(-17deg)} .q2{top:203px;right:8%;transform:rotate(10deg)}
.dot{position:absolute;width:9px;height:9px;border-radius:50%;background:#189bb2;box-shadow:0 0 0 9px rgba(36,179,200,.12),0 0 22px rgba(20,124,169,.25)}
.d1{right:28%;top:72px}.d2{right:12%;top:141px}.d3{right:38%;top:219px}
.service-switcher{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line);background:#fff}
.service-switcher a{min-height:70px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-right:1px solid var(--line);font-size:10px;font-weight:700;line-height:1.45}
.service-switcher a:last-child{border-right:0}.service-switcher a:hover{background:#f7fafb;color:var(--blue)}
.service-switcher a.active{background:var(--navy);color:#fff}.service-switcher b{font-size:10px}
.page-layout{display:grid;grid-template-columns:minmax(0,1fr) 218px;gap:70px;padding:80px clamp(34px,6vw,88px) 100px;align-items:start}
.content{min-width:0}.page-nav{position:sticky;top:28px;border-top:1px solid var(--ink);padding-top:18px}
.page-nav p{margin:0 0 16px;font:700 9px/1 Inter,sans-serif;letter-spacing:.18em;color:#849096}
.page-nav a{display:grid;grid-template-columns:28px 1fr;padding:9px 0;border-bottom:1px solid var(--line);font-size:10px;font-weight:600}
.page-nav a span{font:600 8px/1.6 Inter,sans-serif;color:#a0aaaf}.page-nav a:hover{color:var(--blue)}
.content-section{display:grid;grid-template-columns:210px minmax(0,1fr);gap:44px;padding:0 0 68px;margin-bottom:68px;border-bottom:1px solid var(--line);scroll-margin-top:30px}
.section-label{padding-top:4px}.section-label span{display:block;margin-bottom:12px;font:700 9px/1 Inter,sans-serif;color:#9aa5aa;letter-spacing:.12em}
.section-label strong{display:block;font-size:16px;line-height:1.5}.section-body{min-width:0}.section-body>p:first-child{margin-top:0}.section-body p{font-size:13px}
.note{margin-top:24px;padding:20px 24px;background:var(--soft);border-left:3px solid #bfd8df}
.note p{margin:0 0 7px;font-size:11px}.note p:last-child{margin-bottom:0}
.note.warning{background:#fbf7ee;border-left-color:#d6b66d}.note.warning strong{color:#7d622a}
.table-scroll{overflow-x:auto;border-top:1px solid var(--ink)}table{width:100%;border-collapse:collapse;min-width:570px}
th,td{padding:12px 14px;border-bottom:1px solid var(--line);border-right:1px solid #eef1f2;text-align:left;font-size:11px}
th{background:#f5f8f9;font-size:10px;color:#607078}th:last-child,td:last-child{border-right:0}
.price-grid{border-top:1px solid var(--ink)}
.price-grid>div{display:grid;grid-template-columns:minmax(210px,1.5fr) 1fr 1fr;border-bottom:1px solid var(--line)}
.price-grid.two>div{grid-template-columns:minmax(210px,1.5fr) 1fr}
.price-grid span,.price-grid strong{padding:14px 16px;border-right:1px solid var(--line);font-size:12px}.price-grid span:last-child{border-right:0}
.price-head{background:#f5f8f9}.price-head span{font-size:10px;font-weight:700;color:#607078}.price-grid small{font-weight:500;color:#7a868c}
.spec-list{margin:0;border-top:1px solid var(--ink)}
.spec-list>div{display:grid;grid-template-columns:220px minmax(0,1fr);border-bottom:1px solid var(--line)}
.spec-list dt,.spec-list dd{margin:0;padding:13px 16px;font-size:11px}.spec-list dt{font-weight:700;background:#f7f9fa;border-right:1px solid var(--line)}.spec-list dd small{color:#78858b}
.option-list{border-top:1px solid var(--ink)}.option-list>div{display:grid;grid-template-columns:minmax(0,1fr) 220px;border-bottom:1px solid var(--line)}
.option-list strong,.option-list span{padding:14px 16px;font-size:11px}.option-list span{text-align:right;border-left:1px solid var(--line);font-weight:700}
.status-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--ink)}
.status-grid>div{padding:18px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}.status-grid>div:nth-child(2n){border-right:0}
.status-grid strong{display:block;font-size:12px}.status-grid span{display:block;margin-top:5px;font-size:10px;color:#738087}
.flow{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}.flow li{display:grid;grid-template-columns:88px 1fr;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
.flow .step{font:700 10px/1.6 Inter,sans-serif;color:var(--blue);letter-spacing:.08em}.flow strong{font-size:13px}.flow p{margin:7px 0 0;font-size:11px;color:#5e6c73}
.flow li.finish{background:#f2f8f9;padding-left:15px;padding-right:15px}
.text-link{color:var(--blue);font-weight:700;border-bottom:1px solid #a7d0dd}
.apply-band{margin-top:-18px;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--navy);color:#fff}
.apply-band span{display:block;margin-bottom:7px;font:700 8px/1 Inter,sans-serif;letter-spacing:.18em;color:#86d3df}.apply-band strong{font-size:15px}
.apply-band a{min-width:190px;padding:13px 16px;display:flex;justify-content:space-between;border:1px solid rgba(255,255,255,.45);font-size:11px;font-weight:700}
.service-index{padding:80px clamp(34px,6vw,88px) 100px}
.index-head{max-width:780px;margin-bottom:44px}.index-head .kicker{margin-bottom:15px}.index-head h1{margin:0;font-size:44px;letter-spacing:-.045em}.index-head p{font-size:13px;color:#68757c}
.service-list{border-top:1px solid var(--ink)}
.service-list a{display:grid;grid-template-columns:72px minmax(230px,.8fr) 1.4fr auto;gap:24px;align-items:center;padding:25px 8px;border-bottom:1px solid var(--line);transition:.15s}
.service-list a:hover{padding-left:15px;background:#f8fafb}.service-list .num{font:700 10px/1 Inter,sans-serif;color:#9aa5aa}.service-list strong{font-size:17px}
.service-list p{margin:0;font-size:11px;color:#6d7980}.service-list b{font-size:20px;color:var(--blue)}
.badge{display:inline-block;margin-left:8px;padding:3px 6px;background:#edf7f8;color:#167d91;font-size:8px;vertical-align:middle}
.footer{padding:46px clamp(34px,6vw,88px) 24px;background:#182027;color:#e7edef}.footer-brand strong,.footer-brand span{display:block;font-size:11px}
.footer-bottom{margin-top:30px;padding-top:16px;border-top:1px solid #344047;display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#83919a}
@media(max-width:1180px){:root{--rail:230px}.rail-inner{padding-left:22px;padding-right:22px}.page-layout{grid-template-columns:1fr;gap:0}.page-nav{display:none}.content-section{grid-template-columns:180px 1fr}.service-switcher{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.rail{display:none}.main{margin-left:0}.mobile-head{height:70px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.mobile-head img{width:125px}.mobile-apply{padding:8px 12px;background:var(--ink);color:#fff;font-size:11px;font-weight:700}.breadcrumb{overflow:auto;white-space:nowrap}.service-hero{min-height:245px;padding:42px 22px}.service-hero h1{font-size:38px}.service-hero-visual{inset:0 0 0 40%;opacity:.58}.service-switcher{grid-template-columns:1fr 1fr}.service-switcher a{min-height:56px}.page-layout{padding:54px 20px 78px}.content-section{grid-template-columns:1fr;gap:18px;padding-bottom:50px;margin-bottom:50px}.section-label{display:grid;grid-template-columns:38px 1fr;align-items:center}.section-label span{margin:0}.spec-list>div{grid-template-columns:170px 1fr}.service-index{padding:54px 20px 80px}.service-list a{grid-template-columns:42px 1fr auto}.service-list p{grid-column:2/-1}}
@media(max-width:540px){.service-hero h1{font-size:32px}.lead{font-size:12px}.service-hero-visual{inset:0 0 0 18%;opacity:.40}.service-switcher{grid-template-columns:1fr}.price-grid>div,.price-grid.two>div{grid-template-columns:1fr 1fr}.price-grid>div>*:first-child{grid-column:1/-1;border-bottom:1px solid var(--line)}.price-head{display:none!important}.spec-list>div{grid-template-columns:1fr}.spec-list dt{border-right:0;border-bottom:1px solid #e8edef}.option-list>div{grid-template-columns:1fr}.option-list span{text-align:left;border-left:0;padding-top:0}.status-grid{grid-template-columns:1fr}.status-grid>div{border-right:0}.flow li{grid-template-columns:66px 1fr;gap:12px}.apply-band{display:block}.apply-band a{margin-top:20px}.service-list a{grid-template-columns:34px 1fr auto;gap:12px}.service-list strong{font-size:14px}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:6px}}

.trademark-note{
  margin:-24px 0 34px;
  padding:12px 0;
  border-top:1px solid var(--line);
  color:#7c888e;
  font-size:10px;
}
.price-summary{
  margin-top:18px;
  border-left-color:#8cc9d4;
}
.price-summary p:first-child{
  margin-bottom:9px;
  color:#33464f;
}

.tax-note{
  padding:10px clamp(34px,6vw,88px);
  border-bottom:1px solid var(--line);
  background:#fbfcfc;
  color:#7a878e;
  font-size:10px;
  text-align:right;
}
@media(max-width:820px){
  .tax-note{padding:9px 20px;text-align:left}
}

.faq-cta{margin:-10px 0 28px;padding:16px 20px;background:#f4f9fa;border:1px solid #d5e6ea}
.faq-cta a{display:flex;justify-content:space-between;font-size:11px;font-weight:700;color:#225466}

.legacy-lines{
  margin-top:24px;
  padding:18px 20px;
  border-top:1px solid #d9e2e5;
  background:#f7f9fa;
}
.legacy-lines h3{
  margin:0 0 8px;
  font-size:12px;
  line-height:1.5;
}
.legacy-lines p{
  margin:0;
  font-size:11px;
  line-height:1.85;
  color:#5f6b70;
}

/* TEST53 hosting / price list */
.hosting-switcher{grid-template-columns:repeat(6,minmax(0,1fr))}
.table-wrap{width:100%;overflow-x:auto}
.plan-table,.plain-table{width:100%;border-collapse:collapse;font-size:11px;min-width:520px}
.plan-table th,.plan-table td,.plain-table th,.plain-table td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.plan-table thead th,.plain-table thead th{background:#f4f7f8;font-size:10px;font-weight:700;color:#53616a}
.plan-table tbody th{width:30%;font-weight:700}
.plan-table td:not(:first-child),.plain-table td:not(:first-child){font-variant-numeric:tabular-nums}
.spec-table td{text-align:center}.spec-table th:first-child{text-align:left}
.small-note{margin:15px 0 0;font-size:10px;line-height:1.8;color:#69767d}
.service-group{margin-top:72px}
.service-group:first-of-type{margin-top:54px}
.service-group-head{display:grid;grid-template-columns:54px 1fr;gap:22px;align-items:start;margin-bottom:24px}
.service-group-head>span{font:700 11px/1 Inter,sans-serif;color:#a2adb2;padding-top:8px}
.service-group-head p{margin:0 0 7px;font:700 9px/1 Inter,sans-serif;letter-spacing:.18em;color:var(--blue)}
.service-group-head h2{margin:0;font-size:24px;letter-spacing:-.03em}
.price-hero{padding:64px clamp(34px,6vw,88px) 52px}
.price-list-page{padding:74px clamp(34px,6vw,88px) 110px;max-width:1320px}
.price-category{margin-bottom:90px}
.price-category-head{display:grid;grid-template-columns:55px 1fr;gap:22px;padding-bottom:24px;border-bottom:1px solid var(--ink)}
.price-category-head>span{font:700 11px/1 Inter,sans-serif;color:#a2adb2;padding-top:8px}
.price-category-head p{margin:0 0 7px;font:700 9px/1 Inter,sans-serif;letter-spacing:.18em;color:var(--blue)}
.price-category-head h2{margin:0;font-size:27px;letter-spacing:-.035em}
.price-service{display:grid;grid-template-columns:230px minmax(0,1fr);gap:42px;padding:36px 0;border-bottom:1px solid var(--line)}
.price-service h3{margin:0;font-size:14px;line-height:1.6}
.price-service h3 a:hover{color:var(--blue)}
@media(max-width:1100px){
  .hosting-switcher{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
  .hosting-switcher{grid-template-columns:1fr 1fr}
  .price-list-page{padding:54px 20px 80px}
  .price-service{grid-template-columns:1fr;gap:16px}
}
@media(max-width:520px){
  .hosting-switcher{grid-template-columns:1fr}
}

.faq-hero{padding:70px clamp(34px,6vw,88px) 56px;background:linear-gradient(90deg,#fff 0%,#f7fbfc 58%,#dbeff2 100%);border-bottom:1px solid var(--line)}
.faq-hero h1{margin:0;font-size:clamp(38px,5vw,60px);letter-spacing:-.05em;line-height:1.15}
.faq-hero p:last-child{margin:18px 0 0;color:var(--sub);font-size:13px}

.service-notice{
  margin:28px clamp(34px,6vw,88px) 0;
  padding:18px 20px;
  border:1px solid #d4e0e3;
  background:#f7fafb;
}
.service-notice strong{display:block;margin-bottom:7px;font-size:12px}
.service-notice p{margin:5px 0;font-size:11px;line-height:1.8;color:#56656c}
.service-status{display:block;margin-top:5px;font-size:9px;font-weight:600;color:#7a4f24}
.ssl-note strong{color:#25353c}
@media(max-width:820px){
  .service-notice{margin:20px 20px 0}
}

/* =========================================================
   TEST58 / SERVICE PAGES RADICAL LAYOUT VARIANT
   ========================================================= */
html,body{overflow-x:hidden}
body.layout58{background:#f1f4f8;color:#18212b}
.layout58 .site-shell{display:block}

/* desktop top navigation */
.layout58 .rail{
  position:sticky;top:0;left:auto;right:auto;bottom:auto;width:100%;height:auto;z-index:80;
  background:rgba(255,255,255,.97);border-right:0;border-bottom:1px solid #dbe1e8;
  backdrop-filter:blur(12px)
}
.layout58 .rail-inner{
  width:min(1480px,100%);height:auto;margin:auto;padding:0 28px;
  display:grid;grid-template-columns:170px minmax(0,1fr) auto;gap:24px;align-items:center
}
.layout58 .brand{height:78px;display:flex;align-items:center}
.layout58 .brand img{width:132px}
.layout58 .brand span{display:none}
.layout58 .rail-nav{display:flex;align-items:stretch;min-width:0}
.layout58 .rail-nav a{
  min-height:78px;padding:0 13px;border:0;border-left:1px solid #edf0f4;
  display:flex;align-items:center;justify-content:center;gap:7px;
  font-size:11px;white-space:nowrap
}
.layout58 .rail-nav a:last-child{border-right:1px solid #edf0f4}
.layout58 .rail-nav a.current{
  padding-left:13px;background:#eef3fb;color:#184b9b;
  box-shadow:inset 0 -3px 0 #184b9b
}
.layout58 .rail-actions{margin:0;display:flex;gap:7px}
.layout58 .rail-action{min-height:38px;padding:0 12px;border-radius:999px;font-size:10px}
.layout58 .rail-action.primary{background:#183d75;border-color:#183d75}
.layout58 .rail-note{display:none}
.layout58 .main{margin-left:0}
.layout58 .mobile-head{display:none}

/* breadcrumb becomes restrained top line */
.layout58 .breadcrumb{
  max-width:1240px;margin:auto;padding:17px 28px;
  border:0;background:transparent
}

/* service hero: dark full-width strip */
.layout58 .service-hero{
  min-height:330px;padding:68px max(32px,calc((100vw - 1180px)/2));
  background:linear-gradient(120deg,#122846 0%,#183d75 58%,#1c6684 100%);
  color:#fff;border:0
}
.layout58 .service-hero-copy{max-width:760px;position:relative;z-index:3}
.layout58 .service-hero h1{font-size:clamp(38px,4.4vw,62px);letter-spacing:-.055em}
.layout58 .service-hero .kicker{color:#82d5df}
.layout58 .service-hero .lead{color:#e7eef8}
.layout58 .service-hero-visual{opacity:.6}
.layout58 .ring{border-color:rgba(255,255,255,.24)}
.layout58 .route{background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),rgba(93,219,225,.40),transparent)}
.layout58 .dot{background:#63d1d8;box-shadow:0 0 0 9px rgba(99,209,216,.10)}

/* switcher becomes pill row floating under hero */
.layout58 .service-switcher{
  width:min(1180px,calc(100% - 56px));margin:-25px auto 34px;
  position:relative;z-index:4;
  display:flex;gap:8px;flex-wrap:wrap;
  padding:12px;background:#fff;border:1px solid #dfe5ec;border-radius:14px;
  box-shadow:0 10px 30px rgba(25,38,53,.08)
}
.layout58 .service-switcher a{
  flex:1 1 150px;min-height:46px;padding:10px 14px;
  border:0;border-radius:9px;background:#f4f7fb
}
.layout58 .service-switcher a.active{background:#183d75}
.layout58 .service-switcher a:hover{background:#eaf0fb}
.layout58 .service-switcher a.active:hover{background:#183d75}
.layout58 .tax-note{
  width:min(1180px,calc(100% - 56px));margin:0 auto 22px;padding:0
}

/* article area: no sticky right index, large card sections */
.layout58 .page-layout{
  width:min(1180px,calc(100% - 56px));margin:0 auto;
  display:block;padding:0 0 80px
}
.layout58 .page-nav{display:none}
.layout58 .content{display:grid;gap:18px}
.layout58 .content-section{
  display:grid;grid-template-columns:170px minmax(0,1fr);
  gap:34px;margin:0;padding:34px;
  border:1px solid #dfe5ec;border-radius:14px;background:#fff;
  box-shadow:0 7px 25px rgba(24,37,55,.035)
}
.layout58 .section-label{
  padding:0 24px 0 0;border-right:1px solid #e5eaf0
}
.layout58 .section-label span{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;margin:0 0 16px;border-radius:50%;
  background:#eaf0fb;color:#184b9b
}
.layout58 .section-label strong{font-size:15px;line-height:1.55}
.layout58 .section-body{min-width:0}

/* make specs feel like cards instead of ledger tables */
.layout58 .spec-list,
.layout58 .price-grid,
.layout58 .option-list,
.layout58 .flow,
.layout58 .table-scroll{
  border-top:0
}
.layout58 .spec-list{
  display:grid;grid-template-columns:1fr 1fr;gap:10px
}
.layout58 .spec-list>div{
  display:block;border:1px solid #e2e7ee;border-radius:9px;overflow:hidden
}
.layout58 .spec-list dt{
  padding:9px 12px;background:#f3f6fa;border:0;font-size:10px
}
.layout58 .spec-list dd{padding:12px;font-size:11px}
.layout58 .price-grid{
  border:1px solid #e0e5ec;border-radius:10px;overflow:hidden
}
.layout58 .option-list{
  display:grid;grid-template-columns:1fr 1fr;gap:10px
}
.layout58 .option-list>div{
  display:flex;justify-content:space-between;gap:20px;
  border:1px solid #e2e7ee;border-radius:9px;overflow:hidden
}
.layout58 .option-list span{border-left:1px solid #e2e7ee}
.layout58 .flow{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px
}
.layout58 .flow li{
  display:block;padding:18px;border:1px solid #e2e7ee;border-radius:9px
}
.layout58 .flow li.finish{grid-column:1/-1;background:#eaf0fb}
.layout58 .flow .step{display:block;margin-bottom:10px}

/* tables: fixed width, wrapping instead of horizontal scrolling */
.layout58 .table-wrap,
.layout58 .table-scroll{overflow:visible;width:100%}
.layout58 table{
  width:100%;min-width:0;table-layout:fixed;
  border:1px solid #e0e5ec;border-radius:10px;overflow:hidden
}
.layout58 th,.layout58 td{
  white-space:normal;overflow-wrap:anywhere;word-break:break-word
}

/* bottom CTA */
.layout58 .apply-band,
.layout58 .apply-block{
  width:min(1180px,calc(100% - 56px));margin:0 auto 70px;
  border-radius:14px;background:linear-gradient(110deg,#183d75,#122846)
}
.layout58 .footer{padding-left:max(28px,calc((100vw - 1240px)/2));padding-right:max(28px,calc((100vw - 1240px)/2))}

/* service index / price list cards */
.layout58 .service-index,
.layout58 .price-list-page{
  width:min(1180px,calc(100% - 56px));margin:auto;padding-top:70px
}
.layout58 .service-group{
  padding:34px;border-radius:16px;background:#fff;border:1px solid #dfe5ec;
  box-shadow:0 7px 25px rgba(24,37,55,.035)
}
.layout58 .service-list{border-top:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.layout58 .service-list a{
  grid-template-columns:44px 1fr auto;gap:12px;
  padding:18px;border:1px solid #e2e7ee;border-radius:10px
}
.layout58 .service-list a p{grid-column:2/3;margin-top:4px}
.layout58 .service-list a:hover{padding-left:18px;background:#f4f7fb}
.layout58 .price-category{
  padding:34px;border-radius:16px;background:#fff;border:1px solid #dfe5ec
}
.layout58 .price-service{grid-template-columns:200px minmax(0,1fr)}

/* tablet */
@media(max-width:1180px){
  .layout58 .rail-inner{grid-template-columns:145px 1fr}
  .layout58 .rail-actions{display:none}
  .layout58 .rail-nav a{padding:0 9px;font-size:10px}
  .layout58 .content-section{grid-template-columns:140px minmax(0,1fr)}
}

/* mobile */
@media(max-width:820px){
  body.layout58{background:#fff}
  .layout58 .rail{display:none}
  .layout58 .mobile-head{
    display:flex;position:sticky;top:0;z-index:70;background:#fff
  }
  .layout58 .breadcrumb{padding:13px 16px}
  .layout58 .service-hero{
    min-height:280px;padding:50px 20px 42px
  }
  .layout58 .service-hero h1{font-size:34px}
  .layout58 .service-switcher{
    width:calc(100% - 32px);margin:-18px auto 24px;
    display:grid;grid-template-columns:1fr
  }
  .layout58 .service-switcher a{width:100%}
  .layout58 .tax-note,
  .layout58 .page-layout{
    width:calc(100% - 32px)
  }
  .layout58 .content{gap:12px}
  .layout58 .content-section{
    display:block;padding:22px 18px;border-radius:11px
  }
  .layout58 .section-label{
    display:flex;gap:12px;align-items:center;
    padding:0 0 14px;margin-bottom:16px;border-right:0;border-bottom:1px solid #e5eaf0
  }
  .layout58 .section-label span{margin:0;width:30px;height:30px}
  .layout58 .spec-list{grid-template-columns:1fr}
  .layout58 .option-list{grid-template-columns:1fr}
  .layout58 .flow{grid-template-columns:1fr}
  .layout58 .flow li.finish{grid-column:auto}
  .layout58 .price-grid>div,
  .layout58 .price-grid.two>div{grid-template-columns:1.3fr 1fr 1fr}
  .layout58 .price-grid span,.layout58 .price-grid strong{padding:10px 8px;font-size:10px}
  .layout58 table{font-size:9px}
  .layout58 th,.layout58 td{padding:8px 6px;font-size:9px}
  .layout58 .apply-band,
  .layout58 .apply-block{width:calc(100% - 32px);border-radius:11px}
  .layout58 .service-index,
  .layout58 .price-list-page{width:calc(100% - 32px);padding-top:44px}
  .layout58 .service-group,.layout58 .price-category{padding:22px 16px;border-radius:12px}
  .layout58 .service-list{grid-template-columns:1fr}
  .layout58 .price-service{grid-template-columns:1fr;gap:14px}
}

/* =========================================================
   TEST59 / SERVICE DETAIL "ONE SHEET" VARIANT
   Top page and other TEST58 layouts unchanged.
   ========================================================= */

/* One large document surface instead of separate section cards */
body.service-sheet59{
  background:#eef2f6;
}
.service-sheet59 .page-layout{
  width:min(1180px,calc(100% - 56px));
  margin:0 auto;
  padding:0 0 82px;
}
.service-sheet59 .content{
  display:block;
  background:#fff;
  border:1px solid #dfe5ec;
  border-radius:14px;
  box-shadow:0 12px 36px rgba(24,37,55,.055);
  overflow:hidden;
}

/* Every numbered section becomes a chapter in the same sheet */
.service-sheet59 .content-section{
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:34px;
  margin:0;
  padding:38px 42px;
  border:0;
  border-bottom:1px solid #e2e7ee;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.service-sheet59 .content-section:last-child{
  border-bottom:0;
}
.service-sheet59 .section-label{
  padding:2px 26px 0 0;
  border-right:1px solid #e5eaf0;
}
.service-sheet59 .section-label span{
  width:auto;height:auto;
  display:block;
  margin:0 0 10px;
  background:none;border-radius:0;
  color:#184b9b;
  font:700 10px/1 Inter,sans-serif;
  letter-spacing:.16em;
}
.service-sheet59 .section-label strong{
  display:block;
  font-size:15px;
  line-height:1.55;
}
.service-sheet59 .section-body{
  min-width:0;
}

/* Internal content can still use subtle boxes where the content itself benefits */
.service-sheet59 .spec-list{
  grid-template-columns:1fr 1fr;
}
.service-sheet59 .spec-list>div,
.service-sheet59 .option-list>div,
.service-sheet59 .flow li{
  box-shadow:none;
}
.service-sheet59 .note{
  border-radius:0 8px 8px 0;
}

/* Application band visually attached to the document */
.service-sheet59 .apply-band,
.service-sheet59 .apply-block{
  width:min(1180px,calc(100% - 56px));
  margin:-1px auto 70px;
  border-radius:0 0 14px 14px;
  box-shadow:0 10px 26px rgba(24,37,55,.06);
}

/* If an apply band immediately follows the sheet, visually connect it */
.service-sheet59 .page-layout + .apply-band,
.service-sheet59 .page-layout + .apply-block{
  margin-top:-83px;
}

/* Mobile: same single-sheet concept, one chapter below another */
@media(max-width:820px){
  body.service-sheet59{
    background:#f3f5f8;
  }
  .service-sheet59 .page-layout{
    width:calc(100% - 24px);
    padding-bottom:56px;
  }
  .service-sheet59 .content{
    border-radius:10px;
  }
  .service-sheet59 .content-section{
    display:block;
    padding:25px 18px 28px;
    border-bottom:1px solid #e2e7ee;
  }
  .service-sheet59 .section-label{
    display:flex;
    gap:10px;
    align-items:baseline;
    padding:0 0 13px;
    margin-bottom:18px;
    border-right:0;
    border-bottom:1px solid #e7ebf0;
  }
  .service-sheet59 .section-label span{
    margin:0;
    flex:0 0 auto;
  }
  .service-sheet59 .section-label strong{
    font-size:14px;
  }
  .service-sheet59 .spec-list{
    grid-template-columns:1fr;
  }
  .service-sheet59 .apply-band,
  .service-sheet59 .apply-block{
    width:calc(100% - 24px);
    border-radius:0 0 10px 10px;
  }
}

/* =========================================================
   TEST64 / KEEP TOP ACTIONS VISIBLE
   1180px以下でも「サービスお申込み」「ご契約内容変更」を消さない。
   821px〜1100pxはヘッダーを2段化。
   ========================================================= */
@media (min-width:1101px) and (max-width:1180px){
  body.layout58 .rail-inner{
    grid-template-columns:130px minmax(0,1fr) auto;
    gap:12px;
    padding-left:18px;
    padding-right:18px;
  }
  body.layout58 .brand img{width:116px}
  body.layout58 .rail-nav a{
    padding-left:7px;
    padding-right:7px;
    font-size:9px;
    gap:4px;
  }
  body.layout58 .rail-actions{
    display:flex;
    gap:4px;
  }
  body.layout58 .rail-action{
    min-height:34px;
    padding:0 9px;
    font-size:9px;
  }
}

@media (min-width:821px) and (max-width:1100px){
  body.layout58 .rail-inner{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    gap:0;
    padding:0 18px;
  }
  body.layout58 .brand{
    grid-area:brand;
    height:60px;
  }
  body.layout58 .brand img{width:120px}
  body.layout58 .rail-actions{
    grid-area:actions;
    display:flex;
    justify-self:end;
    gap:6px;
  }
  body.layout58 .rail-action{
    min-height:34px;
    padding:0 11px;
    font-size:9px;
  }
  body.layout58 .rail-nav{
    grid-area:nav;
    width:100%;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    border-top:1px solid #edf0f4;
  }
  body.layout58 .rail-nav a{
    min-height:44px;
    padding:0 6px;
    border-left:1px solid #edf0f4;
    font-size:9px;
    white-space:normal;
    text-align:center;
    line-height:1.25;
  }
  body.layout58 .rail-nav a:last-child{
    border-right:1px solid #edf0f4;
  }
  body.layout58 .rail-nav a span{
    display:none;
  }
}

/* =========================================================
   TEST65 / NARROW HEADER LOGO LEFT ALIGN
   ========================================================= */
@media (min-width:821px) and (max-width:1100px){
  body.layout58 .rail-inner{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    align-items:center;
  }
  body.layout58 .brand{
    grid-area:brand;
    justify-self:start;
    margin:0;
    padding:0;
    text-align:left;
  }
  body.layout58 .brand img{
    display:block;
    margin:0;
  }
  body.layout58 .rail-actions{
    grid-area:actions;
    justify-self:end;
  }
}

/* =========================================================
   TEST69 / FOOTER LAYOUT UNIFICATION FOR SERVICE.CSS
   Price list uses service.css, so define the same footer grid
   used on the top page.
   ========================================================= */
.footer{
  padding:62px clamp(34px,6vw,88px) 24px;
  background:#182027;
  color:#e7edef;
}
.footer-top{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:70px;
}
.footer-brand strong,
.footer-brand span{
  display:block;
  font-size:12px;
  font-weight:600;
}
.footer-nav{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:30px;
}
.footer-nav h3{
  margin:0 0 13px;
  font-size:10px;
  color:#91a0a8;
}
.footer-nav a{
  display:block;
  padding:3px 0;
  font-size:10px;
  color:#d6dfe3;
}
.footer-bottom{
  margin-top:48px;
  padding-top:18px;
  border-top:1px solid #344047;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:9px;
  color:#83919a;
}

@media(max-width:820px){
  .footer{
    padding:42px 20px 22px;
  }
  .footer-top{
    grid-template-columns:1fr;
    gap:30px;
  }
  .footer-nav{
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
}
@media(max-width:540px){
  .footer-nav{
    grid-template-columns:1fr;
  }
  .footer-bottom{
    display:block;
  }
  .footer-bottom span{
    display:block;
    margin-top:7px;
  }
}

/* =========================================================
   TEST70 / COMMON PAYMENT MATRIX
   Same five payment methods on every service page.
   Unavailable methods remain visible as ×.
   ========================================================= */
.payment-matrix{
  width:100%;
  border-top:1px solid var(--ink);
}
.payment-head,
.payment-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 120px 120px;
}
.payment-head{
  background:#f3f6fa;
  border-bottom:1px solid var(--line);
}
.payment-head span{
  padding:11px 14px;
  border-right:1px solid var(--line);
  font-size:10px;
  font-weight:700;
  color:#596776;
}
.payment-head span:last-child{
  border-right:0;
}
.payment-row{
  border-bottom:1px solid var(--line);
  background:#fff;
}
.payment-row strong,
.payment-row .payment-mark{
  min-width:0;
  padding:13px 14px;
  border-right:1px solid var(--line);
  font-size:11px;
}
.payment-row strong{
  font-weight:700;
}
.payment-row .payment-mark{
  text-align:center;
  font-weight:800;
}
.payment-row .payment-mark:last-child{
  border-right:0;
}
.payment-row .payment-mark.ok{
  color:#174f70;
}
.payment-row .payment-mark.no{
  color:#919aa2;
}
.payment-note{
  margin-top:18px;
}
.payment-note p{
  margin:4px 0;
}

@media(max-width:540px){
  .payment-matrix{
    border-top:1px solid var(--ink);
  }
  .payment-head{
    display:none;
  }
  .payment-row{
    grid-template-columns:1fr 1fr;
    border-bottom:1px solid var(--line);
  }
  .payment-row strong{
    grid-column:1/-1;
    padding:12px 13px 9px;
    border-right:0;
    border-bottom:1px solid #edf1f3;
    background:#f8fafb;
    font-size:11px;
  }
  .payment-row .payment-mark{
    padding:9px 12px 11px;
    border-right:1px solid var(--line);
    font-size:12px;
  }
  .payment-row .payment-mark:last-child{
    border-right:0;
  }
  .payment-row .payment-mark::before{
    content:attr(data-label);
    display:block;
    margin-bottom:4px;
    font-size:8px;
    font-weight:600;
    color:#7b8790;
  }
}

/* =========================================================
   TEST71 / PAYMENT COLUMNS FOLLOW BILLING MODEL
   Rows stay fixed; billing columns vary by service.
   ========================================================= */
.payment-matrix.payment-cols-1 .payment-head,
.payment-matrix.payment-cols-1 .payment-row{
  grid-template-columns:minmax(0,1fr) 150px;
}
.payment-matrix.payment-cols-2 .payment-head,
.payment-matrix.payment-cols-2 .payment-row{
  grid-template-columns:minmax(0,1fr) 120px 120px;
}

@media(max-width:540px){
  .payment-matrix.payment-cols-1 .payment-row{
    grid-template-columns:minmax(0,1fr) 88px;
  }
  .payment-matrix.payment-cols-1 .payment-row strong{
    grid-column:auto;
    padding:12px 13px;
    border-right:1px solid var(--line);
    border-bottom:0;
    background:#f8fafb;
  }
  .payment-matrix.payment-cols-1 .payment-row .payment-mark{
    padding:10px 8px;
    border-right:0;
  }
  .payment-matrix.payment-cols-1 .payment-row .payment-mark::before{
    display:none;
  }

  .payment-matrix.payment-cols-2 .payment-row{
    grid-template-columns:1fr 1fr;
  }
  .payment-matrix.payment-cols-2 .payment-row strong{
    grid-column:1/-1;
  }
}

/* =========================================================
   TEST72 / DOMAIN SERVICES
   ========================================================= */
.other-switcher{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.other-switcher .soon{
  color:#8b969c;
  background:#f8fafb;
  cursor:default;
}
.tld-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.tld-grid span{
  padding:14px 12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#f8fafb;
  text-align:center;
  font-weight:800;
  font-size:13px;
}
.domain-fee-list{
  border-top:1px solid var(--ink);
}
.domain-fee-list>div{
  display:grid;
  grid-template-columns:minmax(190px,.8fr) minmax(0,1.2fr);
  border-bottom:1px solid var(--line);
}
.domain-fee-list strong,
.domain-fee-list span{
  padding:13px 15px;
  font-size:11px;
}
.domain-fee-list strong{
  background:#f7f9fa;
  border-right:1px solid var(--line);
}
.domain-fee-head{
  background:#f3f6fa;
}
.domain-fee-head strong,
.domain-fee-head span{
  font-size:10px;
  color:#596776;
}
.domain-option-free{
  margin-top:14px;
  padding:18px 20px;
  border:1px solid #cfe0e7;
  border-radius:9px;
  background:#f2f8fb;
}
.domain-option-free strong{
  display:block;
  margin-bottom:6px;
  color:#174f70;
}
.service-status.ending{
  display:block;
  margin-top:5px;
  color:#8b4f21;
  font-size:9px;
  font-weight:700;
}
@media(max-width:820px){
  .other-switcher{
    grid-template-columns:1fr;
  }
  .tld-grid{
    grid-template-columns:1fr 1fr;
  }
  .domain-fee-list>div{
    grid-template-columns:1fr;
  }
  .domain-fee-list strong{
    border-right:0;
    border-bottom:1px solid #edf0f2;
  }
}

/* =========================================================
   TEST73 / APPLICATION CTA FIX
   apply-block uses the same internal layout as apply-band.
   ========================================================= */
.layout58 .apply-block{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:25px 28px;
  color:#fff;
}
.layout58 .apply-block > div{
  min-width:0;
}
.layout58 .apply-block p{
  display:block;
  margin:0 0 7px;
  font:700 8px/1 Inter,sans-serif;
  letter-spacing:.18em;
  color:#86d3df;
}
.layout58 .apply-block strong{
  display:block;
  font-size:15px;
  line-height:1.55;
}
.layout58 .apply-block > a{
  flex:0 0 auto;
  min-width:190px;
  padding:13px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:6px;
  color:#fff;
  font-size:11px;
  font-weight:700;
  text-decoration:none;
}
.layout58 .apply-block > a:hover{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.72);
}
.layout58 .apply-block > a b{
  font-size:15px;
  line-height:1;
}
@media(max-width:540px){
  .layout58 .apply-block{
    display:block;
    padding:23px 20px;
  }
  .layout58 .apply-block > a{
    width:100%;
    min-width:0;
    margin-top:20px;
    box-sizing:border-box;
  }
}

/* =========================================================
   TEST76 / PART DOMAIN NEW APPLICATION END NOTICE
   ========================================================= */
.layout58 .service-notice.ending-notice{
  border:2px solid #c65353;
  border-radius:8px;
  background:#fff4f4;
}
.layout58 .service-notice.ending-notice strong{
  color:#a52d2d;
  font-size:14px;
}
.layout58 .service-notice.ending-notice p{
  color:#5e3a3a;
}
.layout58 .service-notice.ending-notice p:first-of-type{
  font-weight:700;
  color:#8f2626;
}


/* =========================================================
   TEST89 / PRICE LIST TABLE TOP RULE
   料金表では、各表の開始位置を明確にするため上罫線を濃色で統一。
   独自ドメイン取得代行の料金表で使用していた見え方に合わせる。
   TEST88 price_table_top_rule の修正を統合。
   ========================================================= */
.layout58 .price-list-page .plan-table,
.layout58 .price-list-page .plain-table,
.layout58 .price-list-page .domain-fee-list{
  border-top:1px solid var(--ink);
}
