/*!
Theme Name: TSUGUTASU
Theme URI: http://underscores.me/
Author: tsugutasu
Author URI: http://www.re-japan.jp/
Description: 誰にでも簡単に依頼ができるサイト制作。寄り添うサイト制作。
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: canvas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

canvas is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@charset "UTF-8";

:root{}

@media (min-width: 1024px) {}
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* index */
#toppage{}

/* static */
#static{}

/* category / archive / single */
#archive,
#primary,
#single-post{ width: 90%; max-width: 1200px; margin: 0px auto; display: flex; justify-content: space-between; flex-wrap: wrap;}
#archive #archive-list,
#primary #container,
#single-post #detail{ width: 72%; order: 1;}
#archive #secondary,
#primary #secondary,
#single-post #secondary{ width: 24%; order: 2;}

/* page layout */
body.page-template-default header.entry-header{ display: none;}
body.page-template-default #container main{ width: 100%; margin: 0px auto;}
body.page-template-default #container #secondary{ display: none;}


/*--------------------------------------------------------------
# top page
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# middle page
--------------------------------------------------------------*/

/* 404 not found
--------------------------------------------------------------*/
body.error404 .entry-content{}
body.error404 .entry-header h1{ width: 100%; padding: 1.6em 5% 0.4em; font-size: 3.2rem; line-height: 1.2em; text-align: center !important; color: var(--clr-prim); letter-spacing: 0.05em; position: relative; border-top: solid 1px #DDD;}
body.error404 .entry-header h1:after{ content: ""; width: 2.0em; height: 1px; background: var(--clr-prim); position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);}

section.error404{}
section.error404 h2{ font-size: 6.5rem; line-height: 1.2em; text-align: center; color: rgba(51,51,51,0.4);}
section.error404 h2 strong{ display: block; text-align: center; font-size: 20.0rem; line-height: 1.0em;}
section.error404 p{ text-align: center; margin-top: 2.0em;}

/* post
--------------------------------------------------------------*/

/*　archive/category　*/

/* リストレイアウト（デフォルト・サイドメニューあり） */
#archive.layout-list { display: flex; justify-content: space-between; flex-wrap: wrap; }
#archive.layout-list #archive-list { width: 72%; order: 1; }
#archive.layout-list #secondary { width: 24%; order: 2; }

/* カードレイアウト（サイドメニューなし・全幅グリッド） */
#archive.layout-card { display: block; }
#archive.layout-card #archive-list { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; align-items: start; }

.card-item { break-inside: avoid; }
.card-item .card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: #333; border: solid 1px #E8E8E8; border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s ease; }
.card-item .card-link:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.10); color: #333; }
.card-item .card-thumbnail { aspect-ratio: 16 / 9; overflow: hidden; background: #F5F5F5; }
.card-item .card-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.card-item .card-link:hover .card-thumbnail img { transform: scale(1.04); }
.card-item .card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-item .card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem; font-size: 1.2rem; color: #999; margin-bottom: 0.8rem; }
.card-item .card-meta a { color: #999; text-decoration: none; }
.card-item .card-meta .posted-on a { color: #999; }
.card-item .card-meta .card-cat a { color: #999; }
.card-item .card-title { font-size: 1.5rem; font-weight: 600; line-height: 1.5em; margin-bottom: 0.8rem; }
.card-item .card-excerpt { font-size: 1.3rem; line-height: 1.7em; color: #777; margin-top: auto; }
.card-item .card-excerpt p { margin: 0; }

@media (max-width: 1023px) {
	#archive.layout-card #archive-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
	#archive.layout-card #archive-list { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* single */

/* pagenation */
.posts-navigation{ display: none;}
.wp-pagenavi{ margin-top: 6.4rem; display: flex; justify-content: center; flex-wrap: wrap;}
.wp-pagenavi a,
.wp-pagenavi span{ font-size: 1.6rem; line-height: 2.4rem; min-width: 3.2rem; text-align: center; padding: 0.5em !important; margin: 0 2px !important; border: solid 1px #DDD !important; border-radius: 2px;}
.wp-pagenavi span.current{ border-color: #CCC !important; background: #EEE; font-weight: normal !important;}
.wp-pagenavi a:hover{ background: #999 !important; color: #FFF !important; border-color: #888 !important;}

/* side navigation */
.widget{ margin-top: 6.4rem;}
.widget:nth-child(1){ margin-top: 0;}
.widget h2{ background: rgba(0,0,0,0.032); font-weight: 600; line-height: 1.2em; padding: 1.2em 0.8em; padding-left: 1.6em; position: relative;}
.widget h2:before{ content: ""; width: 1.0em; height: 1px; background: #333; position: absolute; top: 50%; left: -0.2em;}
.widget ul{ margin-top: 0.5em;}
.widget ul li{ border-bottom: solid 1px #EEE; padding-right: 1.2em;}
.widget ul li a{ display: block; padding: 1.0em 0.5em; padding-right: 1.2em; position: relative; color: #666; text-decoration: none;}
.widget ul li a:hover{ color: rgba(51,51,51,0.64);}
.widget ul li a:after{ content: "\e5e1"; font-family: "Material Icons"; color: rgba(51,51,51,0); font-size: 1.0rem; position: absolute; top: 50%; right: 0.4em; transform: translateY(-50%); transition: all 0.3s ease 0s;}
.widget ul li a:hover:after{ right: 0; color: rgba(51,51,51,0.64);}

/* next back */
.post-navigation{ width: 100%; margin: 0px auto; }
.nav-links{ display: flex; justify-content: space-between; flex-wrap: wrap; border-top: double 3px #E4E4E4; padding-top: 2.0rem; margin: 0px auto;}
.nav-previous .nav-subtitle,
.nav-next .nav-subtitle{ display: none;}
.nav-previous a,
.nav-next a{ color: #333; text-decoration: none; display: inline-block; position: relative;}
.nav-previous a:hover,
.nav-next a:hover{ color: rgba(51,51,51,0.6);}
.nav-previous a:before{ content: "\e5e1"; font-family: "Material Icons"; color: var(--clr-prim); padding-right: 0.5em;}
.nav-next a:after{ content: "\e5e1"; font-family: "Material Icons"; color: var(--clr-prim); padding-left: 0.5em;}

/* contact form
--------------------------------------------------------------*/
article.contents.form{ background: rgba(var(--bg-blue-rgb),0.16);}
.wpcf7{ background: #FFF; box-shadow: 0 0 16px rgba(0,0,0,0.08); border-radius: 16px; padding: 1.0em 2.0em; padding-bottom: 2.0em;}
span.red{ color: #FF0000; font-weight: 600;}

.wpcf7-form{}
.wpcf7-form dl{ display: flex; justify-content: space-between; flex-wrap: wrap;}
.wpcf7-form dl dt{ width: 32%; padding: 1.6em 0; position: relative; border-bottom: solid 1px #EEE; display: flex; flex-wrap: wrap; align-items: center;}
.wpcf7-form dl dt .require{ font-size: 1.4rem; line-height: 1.2em; font-weight: 700; color: #FF0000; margin-left: 0.5em;}
.wpcf7-form dl dt em{ display: block; font-size: 1.4rem; line-height: 1.2em; font-style: normal;}
.wpcf7-form dl dd{ width: 68%; padding: 1.6em 0; padding-left: 2.0em; border-bottom: solid 1px #EEE;}
.wpcf7-form dl dd input[type="tel"],
.wpcf7-form dl dd input[type="text"],
.wpcf7-form dl dd input[type="email"],
.wpcf7-form dl dd textarea{ border: solid 1px #DDD; background: #F9F9F9; padding: 1.0em; border-radius: 4px; transition: all 0.3s ease 0s;}
.wpcf7-form dl dd input[type="tel"]:focus,
.wpcf7-form dl dd input[type="text"]:focus,
.wpcf7-form dl dd input[type="email"]:focus,
.wpcf7-form dl dd textarea:focus{ outline: none; background: #FFF; border: solid 1px #DDD;}
.wpcf7-form dl dd input.wpcf7-not-valid,
.wpcf7-form dl dd textarea.wpcf7-not-valid{}
.wpcf7-form-control.wpcf7-checkbox{ display: flex; justify-content: flex-start; flex-wrap: wrap;}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item{ margin-left: 0px; padding-right: 2.0em;}
.wpcf7-form-control.wpcf7-acceptance.optional .wpcf7-list-item{ margin-left: 0px;}
.wpcf7-not-valid-tip{ font-size: 1.4rem !important; line-height: 1.2em !important; font-weight: 600; color: #FF0000 !important; margin-top: 0.5em;}
.wpcf7-list-item.first{ margin-left: 0;}

.wpcf7-spinner{ display: none !important;}
.submit-container{ text-align: center;}
.submit-container input[type="button"]{ background: #EEE; border-color: E4E4E4; font-size: 1.6rem; font-weight: 600; line-height: 1.0em; padding: 1.25em 2.0em; border-radius: 0; cursor: pointer; border-radius: 8px; margin-right: 2.0em;}
.submit-container input[type="submit"]{ background: var(--txt-blue); color: #FFF; border-color: var(--txt-blue); font-size: 1.6rem; font-weight: 600; line-height: 1.0em; padding: 1.25em 4.0em; border-radius: 0; cursor: pointer; border-radius: 8px;}

.wpcf7-response-output{ text-align: center; background: #FFF;}

/* Forms
========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { overflow: visible;}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { text-transform: none;}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] { -webkit-appearance: button;}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner { border-style: none; padding: 0;}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring { outline: 1px dotted ButtonText;}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] { box-sizing: border-box; padding: 0;}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button { height: auto;}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px;}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration { -webkit-appearance: none;}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit;}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
#wrapper{ width: 100%; margin: 0px auto; position: relative; overflow: hidden;}

/* header */
header#masthead{}
header#masthead section{}

/* breadcrumb */
.breadcrumb-container{ display: none;}

/* footer */
footer#colophon{}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.menu-navigation-container{ display: none;}
#site-navigation{}
#primary-menu{ display: flex; justify-content: space-between; flex-wrap: wrap;}
#primary-menu li{position: relative;}
#primary-menu li a{ display: block; position: relative; cursor: pointer;}
#primary-menu li a:hover{}
#primary-menu li ul{ display: block; position: absolute; width: 100%; top: 110%; left: 0; nowhitespace: afterproperty; opacity: 0; transition: all 0.3s ease 0s; visibility: hidden; z-index: 100; background: #FFF; box-shadow: 0 0 16px rgba(0,0,0,0.16);}
#primary-menu li:hover ul{ top: 100%; margin: 0; opacity: 1; visibility: visible;}
#primary-menu li ul li{}
#primary-menu li ul li a{ display: block;}
#primary-menu li ul li a:hover{}
.menu-toggle { display: none;}

/* Posts and pages
--------------------------------------------- */
.sticky { display: block;}
.post,
.page {}
.updated:not(.published) { display: none;}
.page-content,
.entry-content,
.entry-summary { margin: 0 auto;}
.entry-content{ padding: 0;}
.page-links { clear: both; margin: 0 0 1.5em;}

/* Comments
--------------------------------------------- */
.comment-content a { word-wrap: break-word;}
.bypostauthor { display: block;}

/* Widgets
--------------------------------------------- */
.widget {}
.widget select { max-width: 100%;}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0;}

/* Make sure logo link wraps around logo image. */
.custom-logo-link { display: inline-block;}

/* Captions
--------------------------------------------- */
.wp-caption { margin-bottom: 1.5em; max-width: 100%;}
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto;}
.wp-caption .wp-caption-text { margin: 0.8075em 0;}
.wp-caption-text { text-align: center;}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer { display: none;}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer { display: block;}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;}
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus { outline: 0;}

/* Alignments
--------------------------------------------- */
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em;}
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em;}
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em;}

/* pagination
--------------------------------------------- */
.pagination { display: flex; align-items: center; justify-content: center; margin: 4.0rem 0; position: relative; font-size: 12px;}
.pagination span,
.pagination a { display: block; width: auto; margin: 4px; padding: 8px; border: 1px solid #555; color: #333; text-decoration: none; text-align: center; line-height: 16px; border-radius: 4px;}
.pagination .pager { width: 32px;}
.pagination a:hover,
.pagination .current { color: #fff; border-color: #555; background-color: #555;}
.pagination a.prev { margin-right: 16px;}
.pagination a.next { margin-left: 16px;}
.pagination a.first {}
.pagination a.last {}
.pagination span.page_num { display: none;}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] { border: 1px solid; border-color: #ccc #ccc #bbb; border-radius: 3px; background: #e6e6e6; color: rgba(0, 0, 0, 0.8); line-height: 1; padding: 0.6em 1em 0.4em;}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover { border-color: #ccc #bbb #aaa;}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus { border-color: #aaa #bbb #bbb;}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea { color: #666; border: 1px solid #ccc; border-radius: 3px; padding: 3px;}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus { color: #111;}
select { border: 1px solid #ccc;}
textarea { width: 100%;}

/*=============================================================
	common
=============================================================*/
*{ -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}

body{ 
	margin:0;
	padding:0;
	text-align:center;
	font-size: 1.6rem;
	line-height: 1.8em;
	font-family: -apple-system,"Noto Sans JP", BlinkMacSystemFont, "Helvetica Neue", YuGothic, Hiragino Kaku Gothic ProN, Arial, Meiryo, sans-serif;
	font-optical-sizing: auto;
	color: #333;
	background: #FFF;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position:relative;
}

a{color: rgba(51,51,51,1.0); text-decoration:underline; transition: all 0.3s ease 0s;}
a:hover{color: rgba(51,51,51,0.64); text-decoration:none;}

/*=============================================================
	reset
=============================================================*/
html { height:100%; font-size:62.5%;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,blockquote,th,td,img,p{ margin: 0px; padding: 0px; font-weight: 400;}
address,caption,cite,code,dfn,em,strong,th,var { font-style: normal;}
h1, h2, h3, h4, h5, h6,
div, p, pre, ul, ol, dl, dt, dd,
address, form, blockquote{ text-align: left; display: block;}
table { border-collapse: collapse; border-spacing: 0;}
caption,th { text-align: left;}
q:before,q:after { content: '';}
img,
object,
embed { vertical-align: top;}
legend{ display: none;}
h1,h2,h3,h4,h5,h6 { font-size: 100%;}
img,abbr,acronym,fieldset{ border:none;}
li{ list-style-type: none;}
svg{ fill: currentColor;}
input[type="submit"]{ background-color: transparent; border: none; cursor: pointer; outline: none; padding: 0; appearance: none;}

/*---------- align ----------*/
.align-left{ text-align: left;}
.align-right{ text-align: right;}
.align-center{ text-align: center;}

/*----- clearfix -----*/
.container,
.clearfix { zoom:1;}
.container:after,
.clearfix:after{ content: ""; display: block; clear: both;}
.clearfloat { clear: both; height: 0; font-size: 1px; line-height: 0px;}

/*=============================================================
  ツグタス LP
=============================================================*/

/* ---- CSS 変数 ---- */
.tsg-lp {
  --tsg-main:   #7B35B8;
  --tsg-accent: #B43EC6;
  --tsg-grad:   linear-gradient(135deg, #B43EC6 0%, #221B6B 100%);
  --tsg-text:   #1a1a2e;
  --tsg-bg:     #f7f8fc;
  --tsg-white:  #ffffff;
  --tsg-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --tsg-radius: 14px;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tsg-text);
  background: var(--tsg-bg);
  text-align: left;
}

/* WordPress テンプレートラッパーのリセット */
.tsg-lp #toppage,
.tsg-lp article,
.tsg-lp .entry-content,
.tsg-lp .entry-footer { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; display: block; }
.tsg-lp .entry-header { display: none !important; }

/* ---- ユーティリティ ---- */
.tsg-lp *, .tsg-lp *::before, .tsg-lp *::after { box-sizing: border-box; }
.tsg-lp a { text-decoration: none; color: inherit; }
.tsg-lp img { max-width: 100%; height: auto; display: block; }
.tsg-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.tsg-section   { padding: 88px 0; }
.tsg-sec-title { font-size: 32px; font-weight: 700; text-align: center; margin: 0 0 16px; line-height: 1.35; }
.tsg-sec-sub   { font-size: 16px; text-align: center; color: #666; margin: 0 0 56px; }

/* ---- ボタン ---- */
.tsg-btn { display: inline-block; padding: 15px 34px; border-radius: 50px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all .3s; text-align: center; border: none; line-height: 1.3; font-family: inherit; }
.tsg-btn-primary { background: var(--tsg-grad); color: var(--tsg-white); box-shadow: 0 4px 18px rgba(123,53,184,.45); }
.tsg-btn-primary:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(123,53,184,.55); color: var(--tsg-white); }
.tsg-btn-outline { background: transparent; color: var(--tsg-white); border: 2px solid rgba(255,255,255,.7); }
.tsg-btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); color: var(--tsg-white); }

@media (max-width: 768px) { .tsg-section { padding: 64px 0; } .tsg-sec-title { font-size: 26px; } }
@media (max-width: 480px) { .tsg-section { padding: 48px 0; } .tsg-sec-title { font-size: 22px; } .tsg-sec-sub { margin-bottom: 40px; } }

/* ---- ヘッダースペーサー ---- */
.tsg-header-spacer { height: 64px; }

/* ============================================================
   ヘッダー
   ============================================================ */
.tsg-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 64px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.tsg-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.tsg-logo {
  font-size: 23px; font-weight: 700; letter-spacing: -.5px;
  background: var(--tsg-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tsg-nav-links { display: flex; align-items: center; gap: 28px; }
.tsg-nav-links a { font-size: 14px; font-weight: 500; color: var(--tsg-text); transition: color .2s; text-decoration: none; }
.tsg-nav-links a:hover { color: var(--tsg-main); }
.tsg-nav-login { color: #777 !important; }
.tsg-nav-cta {
  background: var(--tsg-grad) !important;
  color: var(--tsg-white) !important;
  padding: 10px 22px !important;
  border-radius: 50px; font-size: 14px; font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(123,53,184,.38);
  transition: all .3s !important;
  text-decoration: none !important;
}
.tsg-nav-cta:hover { opacity: .9 !important; transform: translateY(-1px); }

/* ハンバーガー */
.tsg-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; line-height: 1; }
.tsg-hamburger span { display: block; width: 24px; height: 2px; background: var(--tsg-text); border-radius: 2px; transition: all .3s; }
.tsg-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tsg-hamburger.is-open span:nth-child(2) { opacity: 0; }
.tsg-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルナビ */
.tsg-mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 9998; background: #fff; padding: 20px 24px 28px; box-shadow: 0 8px 28px rgba(0,0,0,.12); flex-direction: column; gap: 0; }
.tsg-mobile-nav.is-open { display: flex; }
.tsg-mobile-nav a { font-size: 16px; font-weight: 500; color: var(--tsg-text); padding: 14px 0; border-bottom: 1px solid #f0f0f0; display: block; text-decoration: none; }
.tsg-mobile-nav .tsg-nav-cta { margin-top: 16px; text-align: center; padding: 14px 22px !important; border-bottom: none !important; }

@media (max-width: 768px) { .tsg-nav-links { display: none; } .tsg-hamburger { display: flex; } }

/* ============================================================
   ヒーロー
   ============================================================ */
.tsg-hero {
  background: linear-gradient(135deg, #B43EC6 0%, #3B1D8A 60%, #221B6B 100%);
  color: #fff; text-align: center;
  padding: 104px 24px 88px;
  position: relative; overflow: hidden;
}
.tsg-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 60% at 65% 35%, rgba(255,255,255,.07) 0%, transparent 70%); }
.tsg-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.tsg-hero h1 { font-size: 51px; font-weight: 700; line-height: 1.25; margin: 0 0 28px; letter-spacing: -.5px; color: #fff; }
.tsg-hero-sub { font-size: 18px; line-height: 1.85; opacity: .92; margin: 0 auto 44px; max-width: 580px; }
.tsg-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
.tsg-btn-white { display: inline-block; background: #fff; color: var(--tsg-main); font-size: 17px; font-weight: 700; padding: 17px 40px; border-radius: 50px; box-shadow: 0 6px 24px rgba(0,0,0,.22); transition: all .3s; text-decoration: none; }
.tsg-btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.28); color: var(--tsg-main); }
.tsg-hero-btns .tsg-btn-outline { font-size: 17px; padding: 17px 40px; }
.tsg-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.tsg-badge { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 50px; padding: 10px 26px; backdrop-filter: blur(6px); text-align: center; }
.tsg-badge strong { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; }
.tsg-badge span   { font-size: 13px; opacity: .85; }

@media (max-width: 768px) { .tsg-hero { padding: 80px 24px 64px; } .tsg-hero h1 { font-size: 37px; } .tsg-hero-sub { font-size: 16px; } }
@media (max-width: 480px) {
  .tsg-hero h1 { font-size: 30px; }
  .tsg-btn-white, .tsg-hero-btns .tsg-btn-outline { width: 100%; padding: 16px 24px; font-size: 16px; }
  .tsg-badge { padding: 10px 20px; }
}

/* ============================================================
   課題提起
   ============================================================ */
.tsg-problems { background: #fff; }
.tsg-problems-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tsg-prob-card { background: #fdf6ff; border: 1px solid #ede0f8; border-radius: var(--tsg-radius); padding: 28px 24px; transition: transform .3s, box-shadow .3s; }
.tsg-prob-card:hover { transform: translateY(-3px); box-shadow: var(--tsg-shadow); }
.tsg-prob-icon { font-size: 30px; margin-bottom: 12px; line-height: 1; }
.tsg-prob-card p { font-size: 15px; color: #333; line-height: 1.75; font-weight: 500; margin: 0; }

@media (max-width: 768px) { .tsg-problems-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .tsg-problems-grid { grid-template-columns: 1fr; } }

/* ============================================================
   解決策（機能）
   ============================================================ */
.tsg-features { background: var(--tsg-bg); }
.tsg-feat-item { display: flex; align-items: center; gap: 56px; padding: 52px 0; border-bottom: 1px solid #e8e8f0; }
.tsg-feat-item:last-child { border-bottom: none; }
.tsg-feat-item.rev { flex-direction: row-reverse; }
.tsg-feat-visual { flex: 0 0 200px; height: 168px; background: linear-gradient(135deg, rgba(180,62,198,.13), rgba(34,27,107,.13)); border: 1px solid rgba(123,53,184,.16); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 64px; }
.tsg-feat-body { flex: 1; }
.tsg-feat-num { display: inline-block; background: var(--tsg-grad); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 14px; border-radius: 50px; margin-bottom: 14px; letter-spacing: .5px; }
.tsg-feat-body h3 { font-size: 23px; font-weight: 700; color: var(--tsg-main); margin: 0 0 14px; }
.tsg-feat-body p  { font-size: 16px; color: #444; line-height: 1.85; margin: 0; }

@media (max-width: 768px) {
  .tsg-feat-item, .tsg-feat-item.rev { flex-direction: column; gap: 28px; text-align: center; }
  .tsg-feat-visual { flex: none; width: 120px; height: 120px; font-size: 48px; margin: 0 auto; }
}

/* ============================================================
   選ばれる理由
   ============================================================ */
.tsg-reasons { background: #fff; }
.tsg-reasons-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.tsg-reason-card { background: var(--tsg-bg); border-radius: var(--tsg-radius); padding: 36px 32px; box-shadow: var(--tsg-shadow); border: 1px solid rgba(123,53,184,.08); transition: transform .3s, box-shadow .3s; }
.tsg-reason-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(123,53,184,.15); }
.tsg-reason-icon { font-size: 42px; margin-bottom: 16px; line-height: 1; }
.tsg-reason-card h3 { font-size: 19px; font-weight: 700; color: var(--tsg-main); margin: 0 0 12px; }
.tsg-reason-card p  { font-size: 15px; color: #555; line-height: 1.8; margin: 0; }

@media (max-width: 480px) { .tsg-reasons-grid { grid-template-columns: 1fr; } }

/* ============================================================
   料金
   ============================================================ */
.tsg-price { background: var(--tsg-bg); }
.tsg-price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 40px; align-items: start; }
.tsg-plan-card { background: #fff; border-radius: var(--tsg-radius); padding: 32px 22px; box-shadow: var(--tsg-shadow); border: 2px solid transparent; text-align: center; position: relative; transition: transform .3s; }
.tsg-plan-card:hover { transform: translateY(-4px); }
.tsg-plan-card.featured { border-color: var(--tsg-main); background: linear-gradient(180deg,#fdf6ff 0%,#fff 100%); }
.tsg-plan-ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--tsg-grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 18px; border-radius: 50px; white-space: nowrap; }
.tsg-plan-tier  { font-size: 12px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 8px; }
.tsg-plan-name  { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.tsg-plan-price { margin-bottom: 10px; }
.tsg-plan-price strong { font-size: 32px; font-weight: 700; color: var(--tsg-main); }
.tsg-plan-price .tsg-plan-period { font-size: 13px; color: #999; }
.tsg-plan-note  { font-size: 12px; color: #888; margin-bottom: 6px; }
.tsg-plan-target { font-size: 14px; color: #666; margin-bottom: 22px; line-height: 1.5; }
.tsg-plan-btn { display: block; padding: 13px 18px; border-radius: 50px; font-size: 14px; font-weight: 700; text-align: center; transition: all .3s; text-decoration: none; }
.tsg-plan-btn-fill { background: var(--tsg-grad); color: #fff; box-shadow: 0 4px 14px rgba(123,53,184,.38); }
.tsg-plan-btn-fill:hover { opacity: .9; color: #fff; }
.tsg-plan-btn-line { border: 2px solid var(--tsg-main); color: var(--tsg-main); }
.tsg-plan-btn-line:hover { background: var(--tsg-main); color: #fff; }

/* 機能比較テーブル */
.tsg-feat-table-wrap { background: #fff; border-radius: var(--tsg-radius); box-shadow: var(--tsg-shadow); overflow: hidden; }
.tsg-feat-table { width: 100%; border-collapse: collapse; }
.tsg-feat-table th, .tsg-feat-table td { padding: 15px 18px; text-align: center; border-bottom: 1px solid #f2f2f6; font-size: 14px; }
.tsg-feat-table th { background: #f7f0ff; font-weight: 700; color: var(--tsg-main); }
.tsg-feat-table th:first-child, .tsg-feat-table td:first-child { text-align: left; font-weight: 500; color: var(--tsg-text); }
.tsg-feat-table tr:last-child td { border-bottom: none; }
.tsg-feat-table .fc-yes { color: var(--tsg-main); font-size: 18px; }
.tsg-feat-table .fc-no  { color: #ccc; font-size: 18px; }
.tsg-feat-table .tsg-fcol { background: rgba(123,53,184,.04); }
.tsg-feat-table tbody tr:hover td { background: #fdf6ff; }
.tsg-feat-table tbody tr:hover .tsg-fcol { background: rgba(123,53,184,.08); }

@media (max-width: 768px) { .tsg-price-grid { grid-template-columns: repeat(2,1fr); } .tsg-feat-table-wrap { overflow-x: auto; } .tsg-feat-table { min-width: 560px; } }
@media (max-width: 480px) { .tsg-price-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.tsg-faq { background: #fff; }
.tsg-faq-list { max-width: 800px; margin: 0 auto; }
.tsg-faq-item { border: 1px solid #e8e8f0; border-radius: var(--tsg-radius); margin-bottom: 12px; overflow: hidden; transition: box-shadow .3s; }
.tsg-faq-item:hover { box-shadow: var(--tsg-shadow); }
.tsg-faq-trigger { width: 100%; background: none; border: none; padding: 20px 24px; display: flex; align-items: center; gap: 14px; cursor: pointer; text-align: left; font-size: 16px; font-weight: 600; color: var(--tsg-text); font-family: inherit; transition: background .2s; }
.tsg-faq-trigger:hover { background: #fdf6ff; }
.tsg-faq-q-mark { flex: 0 0 30px; width: 30px; height: 30px; background: var(--tsg-grad); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.tsg-faq-q-text { flex: 1; }
.tsg-faq-arrow { width: 22px; height: 22px; flex-shrink: 0; border: 2px solid var(--tsg-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--tsg-main); font-size: 14px; font-weight: 700; transition: transform .35s; }
.tsg-faq-item.is-open .tsg-faq-arrow { transform: rotate(45deg); }
.tsg-faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; padding: 0 24px 0 68px; font-size: 15px; color: #555; line-height: 1.85; border-top: 0 solid #f0f0f4; }
.tsg-faq-item.is-open .tsg-faq-body { max-height: 300px; padding: 16px 24px 22px 68px; border-top: 1px solid #f0f0f4; }

@media (max-width: 480px) { .tsg-faq-body, .tsg-faq-item.is-open .tsg-faq-body { padding-left: 24px; } }

/* ============================================================
   CTA
   ============================================================ */
.tsg-cta-wrap { background: linear-gradient(135deg, #B43EC6 0%, #3B1D8A 60%, #221B6B 100%); color: #fff; text-align: center; padding: 104px 24px 96px; position: relative; overflow: hidden; }
.tsg-cta-wrap::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 55% at 35% 65%, rgba(255,255,255,.06) 0%, transparent 70%); }
.tsg-cta-inner-box { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.tsg-cta-wrap h2 { font-size: 35px; font-weight: 700; margin: 0 0 16px; line-height: 1.35; color: #fff; }
.tsg-cta-wrap p  { font-size: 17px; opacity: .9; margin: 0 0 44px; }
.tsg-cta-big-btn { display: inline-block; background: #fff; color: var(--tsg-main); font-size: 18px; font-weight: 700; padding: 19px 52px; border-radius: 50px; box-shadow: 0 6px 28px rgba(0,0,0,.22); transition: all .3s; text-decoration: none; }
.tsg-cta-big-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.28); color: var(--tsg-main); }

@media (max-width: 768px) { .tsg-cta-wrap h2 { font-size: 29px; } }
@media (max-width: 480px) { .tsg-cta-wrap { padding: 72px 24px; } .tsg-cta-wrap h2 { font-size: 24px; } .tsg-cta-big-btn { width: 100%; padding: 18px 24px; } }

/* ============================================================
   フッター
   ============================================================ */
.tsg-footer { background: #14122a; color: rgba(255,255,255,.78); padding: 64px 24px 36px; }
.tsg-footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; margin-bottom: 48px; }
.tsg-footer-logo-txt { font-size: 26px; font-weight: 700; background: linear-gradient(135deg,#B43EC6,#7B35B8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; margin-bottom: 14px; }
.tsg-footer-desc { font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.85; margin: 0; }
.tsg-footer-nav h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,.38); margin: 0 0 18px; }
.tsg-footer-nav ul { list-style: none; padding: 0; margin: 0; }
.tsg-footer-nav li { margin-bottom: 12px; }
.tsg-footer-nav a { font-size: 14px; color: rgba(255,255,255,.68); transition: color .2s; text-decoration: none; }
.tsg-footer-nav a:hover { color: #B43EC6; }
.tsg-footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.tsg-footer-legal { display: flex; gap: 24px; }
.tsg-footer-legal a { font-size: 13px; color: rgba(255,255,255,.45); transition: color .2s; text-decoration: none; }
.tsg-footer-legal a:hover { color: rgba(255,255,255,.8); }
.tsg-footer-copy { font-size: 13px; color: rgba(255,255,255,.35); margin: 0; }

@media (max-width: 480px) { .tsg-footer-grid { grid-template-columns: 1fr; gap: 36px; } .tsg-footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ===== 固定ページ（利用規約・プライバシーポリシー等）===== */

.page-template-default .entry-title,
.page .entry-title {
  font-size: 28px;
  font-weight: 900;
  color: #1a1a2e;
  border-bottom: 3px solid #7B35B8;
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.page-template-default .entry-content,
.page .entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  line-height: 1.9;
  color: #374151;
  font-size: 15px;
}

.page-template-default .entry-content p strong,
.page .entry-content p strong {
  color: #1a1a2e;
}

.page-template-default .entry-content p:has(> strong:first-child),
.page .entry-content p:has(> strong:first-child) {
  background: #f5f3ff;
  border-left: 4px solid #7B35B8;
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0 12px;
  font-weight: 700;
  color: #1a1a2e;
}

.page-template-default .entry-content ul,
.page .entry-content ul {
  padding-left: 0;
  list-style: none;
  margin: 12px 0 20px;
}

.page-template-default .entry-content ul li,
.page .entry-content ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
}

.page-template-default .entry-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7B35B8;
}

.page-template-default .entry-content p,
.page .entry-content p {
  margin-bottom: 14px;
}

.page-template-default .entry-content p:last-of-type,
.page .entry-content p:last-of-type {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: #6b7280;
  margin-top: 40px;
}

.page-template-default .entry-content p:last-child,
.page .entry-content p:last-child {
  text-align: right;
  font-size: 13px;
  color: #9ca3af;
  background: none;
  border: none;
  padding: 0;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .page-template-default .entry-content,
  .page .entry-content {
    padding: 24px 16px;
    font-size: 14px;
  }

  .page-template-default .entry-title,
  .page .entry-title {
    font-size: 22px;
  }
}
