@charset "utf-8";

/* Font & Template Imports
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url("slide.css");
@import url("inview.css");

/* CSS Custom Properties
---------------------------------------------------------------------------*/
:root {
	--base-color: #fff;
	--base-inverse-color: #323232;
	--primary-color: #81e8ed;
	--primary-inverse-color: #323232;
	--space-large: 8vw;
}

/* Keyframes
---------------------------------------------------------------------------*/
@keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }
@keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;visibility: hidden;} }
@keyframes progress { 0% {transform: scaleX(0);} 100% {transform: scaleX(1);} }
@keyframes animation1 { 0% {right: -100vw;} 100% {right: 0px;} }
@keyframes slide-rtl { 0% {transform: translateX(0);} 100% {transform: translateX(-50%);} }
@keyframes slide-ltr { 0% {transform: translateX(-50%);} 100% {transform: translateX(0);} }

/* Global Styles & Resets
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}

html,body {
	font-size: 13px;
	height: 100%;
}

body {
	margin: 0;padding:0;
	font-family: "Noto Sans JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	-webkit-text-size-adjust: none;
	background: var(--base-color);
	color: var(--base-inverse-color);
	line-height: 2;
}

figure, dd, nav ul, nav, ul, li, ol { margin: 0; padding: 0; }
nav ul {list-style: none;}
section li {margin-left: 1rem;}
table {border-collapse:collapse;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
video {max-width: 100%;}
iframe {width: 100%;}
input {font-size: 1rem;}
section {
	overflow-x: hidden;
	padding: var(--space-large);	
}

a {
	color: inherit;
	transition: 0.3s;
}
a:hover {
	text-decoration: none;
	opacity: 0.9;
}

/* Loading Screen
---------------------------------------------------------------------------*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease 2s forwards;
}
#loading img {
	width: 300px;
	margin-bottom: 20px;
}
.progress-container {
    width: 200px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
}
.progress-bar {
    width: 100%;
    height: 100%;
    background: #000;
    animation: progress 2s linear;
    transform-origin: left;
}

/* Main Layout: Container, Header, Footer
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

header {
	position: absolute;z-index: 1;
	left: 0px;
	top: 0px;
	width: 100%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;
}

#logo img {
	display: block;
	width: 150px;
}
#logo {
	margin: 0;padding: 0;
	padding-left: 3vw;
	padding-top: 3vw;
}

footer {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	padding: 2rem;
	display: flex;
	flex-direction: column-reverse;
}
footer div:nth-of-type(1) {
    text-align: center;
}
footer div:nth-of-type(2) {
    flex: 1;
    display: flex;
    gap: 2rem;
}
footer ul {
	margin: 0;padding: 0;list-style: none;
	margin-bottom: 2rem;
}
footer small {
	display: block;
	padding-top: 2rem;
}
.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	justify-content: center;
	gap: 1rem;
}
.icons i {
	font-size: 30px;
}

/* Main Navigation & Hamburger Menu
---------------------------------------------------------------------------*/
header nav ul {display: none;}

header nav ul ul,
.small-screen #menubar ul ul {
	animation: fadeIn 0.5s 0.1s both;
}
header nav ul ul {
	position: absolute;z-index: 100;
	margin-left: 1rem;
}
header nav ul ul a {
	padding: 0.3em 1em;
	margin-top: 4px;
	background: var(--base-color);
	color: var(--base-inverse-color);
	border: 1px solid var(--base-inverse-color);
	border-radius: 3px;
}

#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}
#menubar_hdr.display-none {display: none;}
.ddmenu_parent ul {display: none;}

a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	content: "\f078";
	font-weight: bold;
	margin-right: 0.5em;
}

#menubar .logo {
	width: 200px;
}

.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 90px 10vw 50px;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	animation: animation1 0.2s both;
}
.small-screen #menubar li {
	margin: 1rem 0;
}
.small-screen #menubar a {
	border-radius: 5px;
	padding: 1rem 2rem;
	background: var(--base-inverse-color);
	color: var(--base-color);
}
.small-screen #menubar ul ul a {
	background: var(--base-color);
	color: var(--base-inverse-color);
	border: 1px solid var(--base-inverse-color);
	margin-left: 2rem;
}

#menubar_hdr {
	animation: fadeIn 0s 0.2s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 0px;
	top: 0px;
	padding: 20px 15px;
	width: 60px;
	height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transform-origin: right top;
	background: var(--base-inverse-color);
	border-radius: 0px 0px 0px 10px;
}
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	border-top: 1.5px solid var(--base-color);
}
#menubar_hdr.ham {
	background: #ff0000;
}
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
}
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(6px, 5.8px);
}
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(7px, -7px);
}
#menubar_hdr.ham span:nth-of-type(2){
	display: none;
}

/* Main Image / Hero Section
---------------------------------------------------------------------------*/
#mainimg {
	background: var(--base-color) url("../images/mainimg_sh.jpg") no-repeat center center / cover;
	width: 100%;
	padding-top: 150%;
	position: relative;
	overflow: hidden;
}
#mainimg > div {
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	
}
#mainimg p {margin: 0;}
#mainimg .text {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.8;
	text-align: center;
}
#mainimg .btn {
	font-size: 0.9rem;
	font-weight: 600;
	margin-top: 3vw;
	display: flex;
	gap: 1rem;
}
#mainimg .btn a {
	display: block;text-decoration: none;
	padding: 0.8rem 2rem;
	margin-bottom: 10px;
}
#mainimg .btn a:hover {
	opacity: 1;
	transform: scale(1.05);
}
#mainimg .btn p:nth-of-type(1) a {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
}
#mainimg .btn p:nth-of-type(2) a {
	background: var(--base-inverse-color);
	color: var(--primary-color);
	letter-spacing: 0.1em;
}
#mainimg .btn i {
	transform: scale(1.4);
	padding-right: 0.8rem;
}

/* Main Content Area
---------------------------------------------------------------------------*/
main {
	flex: 1 0 auto;
	overflow-x: hidden;
	margin-top: 20vw;
}
main h2 {
	margin: 0;padding: 0;
	font-size: 1.4rem;
	font-weight: 800;
	margin-bottom: 5vw;
	display: flex;
	flex-direction: column-reverse;
	letter-spacing: 0.1em;
	position: relative;
}
main h2.c {
	align-items: center;
}
main h2 span {
	font-size: 0.85rem;
	opacity: 0.5;
	font-weight: normal;
}
h2 img {
	width: 100px;
	transform: rotate(-10deg);
	position: absolute;
	left: -10px;
	top: -40px;
}
.content-section,
.demo-section {
    background-color: #ecf0f1;
    max-width: 1200px;
    margin: auto;
    margin-top: -30px;
}
.demo-container {
    max-width: 900px;
    margin: auto;
    margin-bottom: 100px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

/* Reusable Components & Blocks
---------------------------------------------------------------------------*/
.faq dt {
	display: flex;
	align-items: flex-start;
	border-radius: 3px;
	margin-bottom: 1rem;
	background: var(--base-color);
	color: var(--base-inverse-color);
	padding: 1rem;
}
.faq dt::before {
	font-family: "Font Awesome 6 Free";
	content: "\51";
	margin-right: 0.5rem;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	border-radius: 50%;
	width: 30px;
	line-height: 30px;
	text-align: center;
	flex-shrink: 0;
	margin-top: 0.2em;
}
.faq dd {
	padding: 0 1rem 1rem 3.7rem;
}
.openclose {
	cursor: pointer;
}
.new dd {
	padding-bottom: 1rem;
}
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;
	border-radius: 2px;
	padding: 0 1rem;
	width: 8rem;
	transform: scale(0.85);
	border: 1px solid #777;
}
.new .icon-bg1 {
	border-color: transparent;
	background: #cd0000;
	color: #fff;
}
.new .icon-bg2 {
	border-color: transparent;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
}
.slide-thumbnail1 .img {
	display: flex;
}
.slide-thumbnail1 .img img {
	padding: 5px;
}
.slide-thumbnail1 .rtl, .slide-thumbnail1 .ltr {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
.slide-thumbnail1 .rtl {animation-name: slide-rtl;}
.slide-thumbnail1 .ltr {animation-name: slide-ltr;}
.text-slide-wrapper {
	overflow-x: hidden;
	margin-top: calc(-1 * (1.6 * var(--space-large)));
}
.text-slide {
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	display: flex;
	white-space: nowrap;
    font-size: 15vw;
	opacity: 0.05;
}
.text-slide span {
	padding: 0 20px;
}
.btn1 a {
	text-shadow: none;display: block;text-decoration: none;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	font-size: 1.4rem;
	padding: 0.5rem 2rem;
	border-radius: 100px;
	text-align: center;
}
.bg-primary-color .btn1 a {
	background: var(--primary-inverse-color);
	color: var(--primary-color);
}
.btn1 a:hover {
	opacity: 1;
	transform: scale(1.05);
	background: var(--primary-inverse-color);
	color: var(--primary-color);
}
.bg-primary-color .btn1 a:hover {
	background: #fff;
	color: #333;
}
.btn1 a::after {
	font-family: "Font Awesome 6 Free";
	content: "\f0a9";
	font-weight: bold;
	margin-left: 0.5em;
}

/* --- Background Helpers --- */
.bg-primary-color {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
}
.bg1 {
	background-color: var(--base-inverse-color);
	color: var(--base-color);
}
.bg2 { background: #f3f3e9; }
.bg3 { background: #fff; }
.bg-pattern1 {
	background-image: url("../images/bg_pattern1.png");
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;
}
.bg-pattern2 {
	background-image: url("../images/bg_pattern2.png");
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;
}
.bg-pattern3 {
	background-image: url("../images/bg_pattern3.png");
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;
}

/* --- Arrow Shape Mask --- */
.arrow {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,95 L50,100 L0,95 Z' fill='%23000000'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}
.arrow + section {
	padding-top: calc(var(--space-large) + 150px);
	margin-top: -150px;
}

/* --- Grids & Layouts --- */
.list-grid-simple .list * {margin: 0;padding: 0;}
.list-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.list-grid-simple .list {
    display: grid;
	position: relative;
}
.list-grid-simple .list h4 {
	margin-top: 0.5rem;
	font-weight: normal;
}
.list-grid1 .list * {margin: 0;padding: 0;}
.list-grid1 .list {
    display: grid;
	margin-bottom: 3rem;
	position: relative;
	border-radius: 5px;
	background: #fff;
	color: #333;
	box-shadow: 2px 5px 5px rgba(0,0,0,0.1);
	padding: 2rem;
}
.list-grid1 .list.bg-black {
	background: #111;
	color: #fff;
}
.list-grid1 .list .num {
	position: absolute;
	left: -20px;
	top: -30px;
	font-size: 60px;
	line-height: 1;
	font-family: "MonteCarlo", cursive;
	opacity: 0.2;
}
.list-grid1 .list h4.kazari::before {
	content: "“";
	position: absolute;
	left: -1rem;
	top: -40px;
	opacity: 0.2;
	font-size: 60px;
	line-height: 1;
}
.list-grid1 .list h4 {
	font-size: 1.4rem;
	line-height: 1.6;
	margin-bottom: 1rem;
	position: relative;
}
.list-grid1 .list p {
	font-size: 0.9rem;
	line-height: 1.6;
	font-weight: normal;
}
.list-grid1 .list.bg-black p {
	color: #999;
}
.list-grid1 .list figure.icon {
	margin: 0 auto;
	width: 100px;
	margin-top: -40px;
}
.bg1 .list-grid1 .list figure.icon {
	filter: grayscale(100%) brightness(90%);
	margin-bottom: 1rem;
}
.list-c2 > a {
    text-decoration: none;
    display: block;
}
.list-c2 .list {
	text-align: center;
	position: relative;
	overflow-y: hidden;
	color: #fff;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.6);
	padding: 5rem 2rem;
	margin: 1rem 0;
	border-radius: 30px;
}
.list-c2 .list.image1 {
	background: url("../images/bg_contact.jpg") no-repeat center center / cover;
}
.list-c2 .list.image2 {
	background: url("../images/bg_request.jpg") no-repeat center center / cover;
}
.list-c2 h4 {
	line-height: 1.2;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
}
.list-c2 h4 .main-text {
	display: block;
	font-size: 3rem;
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}
.list-c2 .list .text {
	position: relative;z-index: 1;
	font-size: 0.85rem;
}
.list-c2 .list::before {
	content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;
	background: rgba(0,0,0,0.6);
	transition: transform 0.3s 0.1s;
}
.list-c2 .list:hover::before {
	transform: translateY(100%);
}
.bg-slideup {
	margin-left: calc(-1 * var(--space-large));
	margin-right: calc(-1 * var(--space-large));
}
section > .bg-slideup:first-child {
	margin-top: calc(-1 * var(--space-large));
}
.bg-slideup .image {
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	padding: 10vw 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 3rem;
	color: #fff;
}
.en-text {
	writing-mode: horizontal-tb;
	font-size: 0.8rem;
}
.jp-text {
	writing-mode: vertical-rl;
	text-orientation: upright;
}
#products .bg-slideup .image {
	background-image: url("../images/bg_works.jpg");
}
#company .bg-slideup .image {
	background-image: url("../images/bg_company.jpg");
}
.list-normal1 * {margin: 0;padding: 0;}
.list-normal1 .list {
	background: var(--base-color) url("../images/bg-dot.png") no-repeat right bottom / 200px;
	color: var(--base-inverse-color);
	padding: 3rem;
	margin-bottom: 2rem;
	box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
	position: relative;
}
.list-normal1 figure {
	width: 45%;
	margin-bottom: 1rem;
}
.list-normal1 h4 {
	font-size: 1.2rem;
	line-height: 1.5;
	margin-bottom: 1rem;
}
.list-normal1.flow h4 i {
	margin-right: 1rem;
}
.list-normal1 .name {
	text-align: right;
	margin-top: 1rem;
}
.list-normal1.flow .list::after {
	content: "▼";
	position: absolute;
	left: 50%;
	bottom: -2rem;
	transform: scaleX(1.5);
	opacity: 0.5;
}
.list-normal1.flow .list:last-child::after {
	content: none;
}

/* --- Tables --- */
.ta1 caption {
	font-weight: bold;
	padding: 0.5rem 1rem;
	background: var(--base-inverse-color);
	color: var(--base-color);
	margin-bottom: 1rem;
	border-radius: 5px;
}
.ta1 {
	table-layout: fixed;
	width: 100%;
	border-top: 1px solid #ccc;
	margin-bottom: 2rem;
}
.ta1 tr {
	border-bottom: 1px solid #ccc;
}
.ta1 td, .ta1 th {
	word-break: break-all;
	background: var(--base-color);
	color: var(--base-inverse-color);
	text-align: left;
	padding: 0.5rem;
}
.ta1 th {
	width: 25%;
	text-align: center;
}
.ta1.plan, .ta1.plan td, .ta1.plan th {
	text-align: center;
	border: 2px solid var(--base-inverse-color);
	padding: 0.5rem;
}
.ta1.plan th:first-child,
.ta1.plan td:first-child {
    width: 12rem;
}
.ta1.plan th {
	width: auto;
	position: relative;
	overflow: hidden;
}
.ta1.plan th .osusume {
	position: absolute;
	left: 0px;
	top: 0px;
	background: #ff0000;
	color: #fff;
	font-size: 0.8rem;
	width: 120px;
	text-align: center;
	padding-top: 43px;
	padding-bottom: 2px;
	transform: rotate(-45deg) translate(-18px, -60px);
}
.ta1.plan th i {
	display: block;
	font-size: 1.4rem;
}
.ta1.plan th:nth-child(2) { background: #ecfbfc; }
.ta1.plan td:nth-child(2) { background: #ecfbfc; }
.ta1.plan th:nth-child(3) { background: var(--primary-color); color: var(--primary-inverse-color); }
.ta1.plan td:nth-child(3) { background: var(--primary-color); color: var(--primary-inverse-color); }
.ta1.plan th:nth-child(4) { background: #ecfbfc; }
.ta1.plan td:nth-child(4) { background: #ecfbfc; }
.plan th > span {
	display: block;
	font-size: 1.6rem;
	font-family: "Oswald", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
}

/* Page Specific & Themed Sections
---------------------------------------------------------------------------*/
#manual #container {
	all: unset;
}
.manual {
	background: #fff;
	color: #333;
	padding: 5vw;
}
.manual .look {background: #eee;}
.manual h2 {
	margin-top: 2rem;
	font-size: 2rem;
	text-align: center;
}
.manual h3 {
	line-height: 3;
	margin-top: 2rem;
}
.manual h3 span {
	background: linear-gradient(transparent 60%, yellow);
}
.manual h3 + p {margin-top: -0.5rem;}
.manual.margin-left {padding-left: 300px;}

/* ▼▼▼▼▼ 利用規約ページ & 著作表示削除ページ専用スタイル ▼▼▼▼▼ */
#rule-container,
#product-container {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 3rem 4rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    max-width: 960px;
    margin-top: -30px;
    margin-bottom: 100px;
}

#rule-container h2 {
    font-size: 2.2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 2.5rem;
    margin-top: 30px;
}
#rule-container .rule-lead {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
}
.rule-article {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}
.rule-article h3 {
    font-size: 1.5rem;
    color: var(--base-inverse-color);
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 1rem;
}
.rule-article p,
.rule-article ol,
.rule-article ul {
    font-size: 0.95rem;
    line-height: 2.2;
    padding-left: 1.5rem;
}
.rule-article li {
    margin-bottom: 1rem;
}
.rule-article strong {
    background: linear-gradient(transparent 60%, #ffdd57 60%);
    font-weight: 600;
    color: #333;
}

/* ▼▼▼▼▼ 著作表示削除ページ専用スタイル ▼▼▼▼▼ */
#product-container h2 {
    font-size: 2.2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 2.5rem;
    margin-top: 30px;
}
#product-container .product-lead {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    text-align: center;
}
.product-section {
    margin-bottom: 3rem;
}
.product-section h3 {
    font-size: 1.6rem;
    color: var(--base-inverse-color);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}
.product-section h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
}
.flow-steps {
    list-style: none;
    padding: 0;
}
.flow-steps li {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}
.flow-steps .step-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 2rem;
    flex-shrink: 0;
}
.flow-steps .step-content strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}
.flow-steps .step-content p {
    line-height: 2;
    margin: 0;
}
.flow-steps .important {
    font-size: 1.1em;
    font-weight: 700;
    color: #c0392b;
    background-color: #f9e5e3;
    padding: 0.1em 0.4em;
    border-radius: 4px;
}
.notes-list {
    list-style-type: none;
    padding: 0;
    background-color: #fff8e1;
    border: 1px solid #ffecb3;
    border-radius: 8px;
    padding: 2rem;
}
.notes-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5em;
    position: relative;
}
.notes-list li:last-child {
    margin-bottom: 0;
}
.notes-list li::before {
    content: "※";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f071";
    color: #f57c00;
    position: absolute;
    left: 0;
    top: 0.2em;
}
.notes-list strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}
.notes-list p {
    line-height: 2;
    margin: 0;
}
.note-final {
    text-align: center;
    background-color: #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}
.note-final p {
    margin: 0;
}
.note-final i {
    margin-right: 0.5em;
    color: var(--primary-color);
}

/* ▼▼▼▼▼ デモページ専用スタイル ▼▼▼▼▼ */
#demo-page-container {
    max-width: 1100px;
    margin: -30px auto 100px auto;
    padding: 3rem 4rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    border: 1px solid #eee;
}
.demo-header {
    text-align: center;
    margin-bottom: 4rem;
}
.demo-header .sub-title {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.4em 1.2em;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.demo-header .main-title {
    font-size: 2.8rem;
    margin: 0;
}
.demo-header .demo-lead {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-top: 1.5rem;
}
.feature-highlights {
    margin-bottom: 4rem;
}
.feature-highlights h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}
.feature-list li {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #eee;
}
.feature-list i {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.feature-list strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}
.feature-list span {
    font-size: 0.9rem;
    color: #666;
}
.demo-content-block {
    margin-bottom: 4rem;
}
.demo-content-block h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
}
.demo-content-block h3 i {
    margin-right: 0.5em;
}
.demo-content-block > p {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
}
.demo-frame-wrapper {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}
.frame-header {
    height: 30px;
    background-color: #e9ecef;
    position: relative;
}
.frame-header::before {
    content: '● ● ●';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    letter-spacing: 5px;
    font-size: 0.9rem;
}
.demo-frame-wrapper iframe {
    display: block;
}
.demo-cta {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}
.demo-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.demo-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}
.cta-button {
    display: inline-block;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    opacity: 1;
}
.demo-cta .sub-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.free-version .sub-title { background-color: #e7f5ff; color: #1c7ed6; }
.free-version .feature-list i { color: #228be6; }
.free-version .demo-content-block h3 i { color: #228be6; }
.free-version .demo-cta { background-color: #f1f3f5; }
.free-version .cta-button.free { background-color: #228be6; }
.paid-version .sub-title { background-color: #fff0f6; color: #d6336c; }
.paid-version .feature-list i { color: #f06595; }
.paid-version .demo-content-block h3 i { color: #f06595; }
.paid-version .demo-cta { background-color: var(--primary-color); }
.paid-version .demo-cta h3, .paid-version .demo-cta p { color: var(--primary-inverse-color); }
.paid-version .cta-button.paid { background-color: #fff0f6; color: #d6336c; font-weight: bold; }
.paid-version .sub-link a { color: var(--primary-inverse-color); font-weight: bold;}

/* ▼▼▼▼▼ 設置ガイドページ専用スタイル ▼▼▼▼▼ */
#installation-guide {
    background-color: #fff;
    border-radius: 12px;
    padding: 3rem 4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    max-width: 960px;
    margin-top: -30px;
    margin-bottom: 100px;
    border: 1px solid #eee;
}
.guide-header {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}
.guide-header .sub-title {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: #f0fdfd;
    padding: 0.4em 1.2em;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
    letter-spacing: 0.1em;
}
.guide-header .sub2-title {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e90ff;
    background-color: #e0ffff;
    padding: 0.4em 1.2em;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
    letter-spacing: 0.1em;
}
.guide-header .main-title {
    font-size: 2.4rem;
    margin: 0;
    color: var(--base-inverse-color);
}
.guide-header .guide-lead {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 0;
}
.badge-free {
    display: inline-block;
    background-color: #1e90ff;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.3em 0.8em;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 0.5rem;
    letter-spacing: 0.05em;
}
.step-container {
    position: relative;
    padding-bottom: 2rem;
}
.step-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 100px;
}
.step-number-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    text-align: center;
}
.step-number-box .step-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
}
.step-number-box .step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    font-family: 'Oswald', sans-serif;
}
.step-content {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    width: 100%;
    border: 1px solid #eee;
}
.step-content h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--base-inverse-color);
}
.step-content h3 i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}
.step-content p {
    line-height: 2;
    margin: 0 0 1rem 0;
}
.step-content p:last-child {
    margin-bottom: 0;
}
.step2-content {
    background-color: #f0fff0;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    width: 100%;
    border: 1px solid #eee;
}
.step2-content h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--base-inverse-color);
}
.step2-content h3 i {
    margin-right: 0.75rem;
    color: #ff7f50;
}
.step2-content p {
    line-height: 2;
    margin: 0 0 1rem 0;
}
.step2-content p:last-child {
    margin-bottom: 0;
}
#installation-guide .code-block {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0;
    white-space: pre-wrap;
    word-break: break-all;
}
.point-list {
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0 0 0;
}
.point-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.8rem;
}
.point-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.2em;
}
.license-info {
    text-align: center;
    background-color: #f0fdfd;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    margin-top: 3rem;
    border: 1px solid var(--primary-color);
}
.license-info h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}
.license-info h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}
.license-info p {
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}
.license-button {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--primary-inverse-color);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(129, 232, 237, 0.4);
}
.license-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(129, 232, 237, 0.6);
    opacity: 1;
}

/* ▼▼▼▼▼ 設置ガイドページ（有料版含む）専用スタイル ▼▼▼▼▼ */
.badge-paid {
    display: inline-block;
    background-color: #d6336c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.3em 0.8em;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 0.5rem;
    letter-spacing: 0.05em;
}
#installation-guide .guide-header .sub-title {
    color: #d6336c;
    background-color: #fff0f6;
    border-color: #d6336c;
}
.important-notes {
    margin-top: 4rem;
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 2.5rem;
}
.important-notes h3 {
    font-size: 1.4rem;
    color: #c0392b;
    text-align: center;
    margin: 0 0 1.5rem 0;
}
.important-notes h3 i {
    margin-right: 0.75rem;
}
.important-notes p {
    line-height: 2;
    margin-bottom: 2rem;
}
.important-notes ul {
    list-style: none;
    padding-left: 0;
}
.important-notes li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 1.2rem;
    line-height: 1.9;
}
.important-notes li::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f57c00;
    position: absolute;
    left: 0;
    top: 0.2em;
}
.disclaimer {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: #fbecec;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    line-height: 1.8;
}
.disclaimer strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* ▼▼▼▼▼ php.ini 設定ガイドページ専用スタイル ▼▼▼▼▼ */
#php-ini-guide .guide-header .sub-title {
    color: #495057;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}
#php-ini-guide .guide-content {
    padding: 0 1rem;
}
#php-ini-guide h3 {
    font-size: 1.5rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}
#php-ini-guide h3 i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}
#php-ini-guide p {
    line-height: 2;
}
.guide-step {
    background: #fff;
    border: 1px solid #eee;
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}
.guide-step h4 {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}
.code-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 1rem 0;
}
.code-box dl {
    margin: 0;
}
.code-box dt {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.code-box dd {
    margin-left: 1.5em;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.code-box dd:last-child {
    margin-bottom: 0;
}
.point-check {
    background-color: #e7f5ff;
    border: 1px solid #a5d8ff;
    padding: 1rem 1.5rem;
    border-radius: 4px;
}
.point-check i {
    color: #339af0;
    margin-right: 0.5rem;
}
.important-notes-sub {
    margin-top: 4rem;
    background-color: #fff9db;
    border-radius: 8px;
    padding: 2.5rem;
}
.important-notes-sub h3 {
    border-bottom: none;
    text-align: center;
    margin-top: 0;
}
.disclaimer-sub {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: #f1f3f5;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}
.guide-link-button {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--primary-inverse-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 400px;
    transition: all 0.3s;
}
.guide-link-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* ▼▼▼▼▼ Gmail設定ガイドページ専用スタイル ▼▼▼▼▼ */
#installation-phpm {
    background-color: #fff;
    border-radius: 12px;
    padding: 3rem 4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    max-width: 960px;
    margin-top: -30px;
    margin-bottom: 100px;
    border: 1px solid #eee;
}
.phpm-header {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}
.phpm-header .sub-title {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c71610;
    background-color: #fce8e6;
    padding: 0.4em 1.2em;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid #f9d5d4;
    letter-spacing: 0.1em;
}
.phpm-header .sub2-title {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e90ff;
    background-color: #e0ffff;
    padding: 0.4em 1.2em;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid #add8e6;
    letter-spacing: 0.1em;
}
.phpm-header .main-title {
    font-size: 2.4rem;
    margin: 0;
    color: var(--base-inverse-color);
}
.phpm-header .phpm-lead {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 0;
}
#installation-phpm .step-container {
    position: relative;
    padding-bottom: 2rem;
}
#installation-phpm .step-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 100px;
}
#installation-phpm .step-number-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    text-align: center;
}
#installation-phpm .step-number-box .step-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
}
#installation-phpm .step-number-box .step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    font-family: 'Oswald', sans-serif;
}
#installation-phpm .step-content {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    width: 100%;
    border: 1px solid #eee;
}
#installation-phpm .step-content h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--base-inverse-color);
}
#installation-phpm .step-content h3 i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}
#installation-phpm .step-content p {
    line-height: 2;
    margin: 0 0 1rem 0;
}
#installation-phpm .step-content p:last-child {
    margin-bottom: 0;
}
#installation-phpm .code-block strong {
    color: #f7b731;
}
#installation-phpm .point-list {
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0 0 0;
}
#installation-phpm .point-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.8rem;
}
#installation-phpm .point-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.2em;
}
#installation-phpm .important-notes {
    margin-top: 4rem;
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 2.5rem;
}
#installation-phpm .important-notes h3 {
    font-size: 1.4rem;
    color: #c0392b;
    text-align: center;
    margin: 0 0 1.5rem 0;
}
#installation-phpm .important-notes h3 i {
    margin-right: 0.75rem;
}
#installation-phpm .important-notes ul {
    list-style: none;
    padding-left: 0;
}
#installation-phpm .important-notes li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 1.2rem;
    line-height: 1.9;
}
#installation-phpm .important-notes li::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f57c00;
    position: absolute;
    left: 0;
    top: 0.2em;
}
.phpm-link-button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--primary-inverse-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    margin: 0.5rem 0;
    transition: all 0.3s;
}
.phpm-link-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}
.smtp-image-container {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.smtp-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
}
.smtp-image-container p {
    font-size: 0.9rem;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ▼▼▼▼▼ 豆知識ページ専用スタイル ▼▼▼▼▼ */
#tips-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 3rem 4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: auto;
    margin-top: -30px;
    margin-bottom: 100px;
    border: 1px solid #eee;
    line-height: 2.2;
}
.tips-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}
.tips-header .main-title {
    font-size: 2.4rem;
    margin: 0 0 1rem 0;
}
.tips-header .update-date {
    font-size: 0.9rem;
    color: #666;
}
.tips-header .update-date i {
    margin-right: 0.5em;
}
.tips-lead {
    font-size: 1.1rem;
    line-height: 2;
    background-color: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}
.tips-content h3 {
    font-size: 1.6rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 5px solid var(--primary-color);
}
.tips-list {
    list-style: none;
    padding-left: 0;
}
.tips-list li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 1rem;
}
.tips-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.1em;
}
#tips-container .code-block {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: 'Consolas', 'Courier New', monospace;
}
#tips-container .code-block strong {
    color: #f7b731;
}
.summary-box {
    background-color: #f0fdfd;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem 2.5rem;
    margin-top: 4rem;
}
.summary-box h3 {
    text-align: center;
    font-size: 1.4rem;
    margin: 0 0 1.5rem 0;
    border-left: none;
    padding-left: 0;
}
.summary-box h3 i {
    margin-right: 0.5em;
    color: var(--primary-color);
}

/* ▼▼▼▼▼ 豆知識一覧ページ専用スタイル ▼▼▼▼▼ */
#tips-index-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 3rem 4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    max-width: 960px;
    margin: auto;
    margin-top: -30px;
    margin-bottom: 100px;
    border: 1px solid #eee;
}
.tips-index-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.tips-index-header h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}
.tips-index-header p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}
.tips-card-list {
    display: grid;
    gap: 2rem;
    list-style: none;
    padding: 0;
}
.tips-card a {
    display: block;
    text-decoration: none;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.tips-card a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
    opacity: 1;
}
.tips-card h3 {
    font-size: 1.4rem;
    margin: 0 0 0.8rem 0;
    color: var(--base-inverse-color);
}
.tips-card p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 0;
}
.tips-card .card-arrow {
    text-align: right;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 1rem;
    font-weight: bold;
}

/* ▼▼▼▼▼ ファイル安全設置ガイド専用スタイル ▼▼▼▼▼ */
#secure-guide-container {
    background-color: #fff;
    max-width: 960px;
    margin: -30px auto 100px auto;
    padding: 3rem 3rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border-radius: 12px;
    border: 1px solid #eee;
}
#secure-guide-container .guide-header {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}
#secure-guide-container .guide-header .main-title {
    font-size: 2.4rem;
    margin: 0;
    color: var(--base-inverse-color);
}
#secure-guide-container .guide-header .sub-lead {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    margin-top: 1.5rem;
}
#secure-guide-container .step-card-custom {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 130px;
}
#secure-guide-container .step-number-box-custom {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    text-align: center;
}
#secure-guide-container .step-number-box-custom .step-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #1e90ff;
}
#secure-guide-container .step-number-box-custom .step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e90ff;
    line-height: 1;
    font-family: 'Oswald', sans-serif;
}
#secure-guide-container .step-content-custom {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    width: 100%;
    border: 1px solid #e0e0e0;
}
#secure-guide-container .step-content-custom h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--base-inverse-color);
}
#secure-guide-container .step-content-custom h3 i {
    margin-right: 0.75rem;
    color: #1e90ff;
}
#secure-guide-container .step-content-custom p,
#secure-guide-container .step-content-custom li {
    line-height: 2;
    margin-bottom: 1rem;
}
#secure-guide-container .step-content-custom p:last-child,
#secure-guide-container .step-content-custom li:last-child {
    margin-bottom: 0;
}
#secure-guide-container .step-content-custom code {
    background-color: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Courier New', monospace;
    color: #c7254e;
}
#secure-guide-container .important-notes-custom {
    margin-top: 2rem;
    background-color: #fff9db;
    border: 1px solid #ffecb3;
    border-radius: 8px;
    padding: 1.5rem;
}
#secure-guide-container .important-notes-custom h4 {
    font-size: 1.1rem;
    color: #856404;
    margin: 0 0 1rem 0;
}
#secure-guide-container .important-notes-custom h4 i {
    margin-right: 0.5rem;
}

/* ▼▼▼▼▼ Privacy Policy & Other Legal Pages ▼▼▼▼▼ */
.privacy-policy-container,
.transaction-container,
.permission-guide-container,
.embed-guide-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    line-height: 1.8;
    color: var(--base-inverse-color);
}
.privacy-policy-container h1,
.transaction-container h1,
.permission-guide-container h1,
.embed-guide-container h1 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}
.privacy-policy-container h1:after,
.transaction-container h1:after,
.permission-guide-container h1:after,
.embed-guide-container h1:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}
.privacy-policy-container h2,
.permission-guide-container h2,
.embed-guide-container h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}
.privacy-policy-container p,
.permission-guide-container p,
.embed-guide-container p {
    margin-bottom: 1.5rem;
}
.privacy-policy-container ul {
    padding-left: 20px;
    list-style-type: none;
}
.privacy-policy-container ul li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
}
.privacy-policy-container ul li::before {
    content: "・";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}
.policy-note {
    background-color: #f8f9fa;
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    margin-top: 3rem;
}
.privacy-policy-container strong {
    color: #d9534f;
}
.transaction-container .info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}
.transaction-container .info-table th,
.transaction-container .info-table td {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}
.transaction-container .info-table th {
    width: 30%;
    background-color: #f8f9fa;
    font-weight: bold;
}
.transaction-container .info-table td {
    background-color: #ffffff;
}
.transaction-container .info-table td strong {
    color: #d9534f;
}
.info-table td img {
    height: 1.1em;
    width: auto;
    vertical-align: middle;
}
.transaction-container .note-section {
    background-color: #f8f9fa;
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    margin-top: 3rem;
}
.permission-guide-container .permission-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.permission-guide-container .permission-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}
.permission-guide-container .permission-box ul {
    padding-left: 1.5rem;
}
.permission-guide-container .permission-box li {
    margin-bottom: 0.5rem;
}
.permission-guide-container .highlight {
    font-weight: bold;
    color: #d9534f;
}
.permission-guide-container code {
    background-color: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Courier New', monospace;
}
.embed-guide-container h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 0.5rem;
}
.embed-guide-container .description-block {
    background-color: #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.8rem;
    white-space: pre;
}
.embed-guide-container .step-list {
    list-style: none;
    counter-reset: my-counter;
    padding-left: 0;
}
.embed-guide-container .step-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}
.embed-guide-container .step-list li::before {
    counter-increment: my-counter;
    content: counter(my-counter);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    background-color: var(--primary-color);
    color: var(--primary-inverse-color);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
}
.embed-guide-container .note-box {
    background-color: #f8f9fa;
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    margin-top: 3rem;
}
.description-container {
    text-align: right;
}
.embed-guide-container .copy-btn {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 10px;
    background-color: var(--primary-color);
    color: var(--primary-inverse-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
.embed-guide-container .copy-btn:hover {
    background-color: #71d9e0;
}
.embed-guide-container .file-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: -1rem;
}
.embed-guide-container .file-list li {
    padding-left: 0;
    margin-bottom: 0.5rem;
}
.embed-guide-container .file-list li::before {
    content: none;
}
.mini-btn-link {
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-inverse-color);
    background-color: #fff;
    padding: 0.3em 0.8em;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-block;
    line-height: 1.5;
}
.mini-btn-link:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.mini-btn-link::after {
    font-family: "Font Awesome 6 Free";
    content: "\f35a";
    font-weight: 900;
    margin-left: 0.5em;
    font-size: 0.9em;
}

/* Utility Classes
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb-space-large {margin-bottom: var(--space-large) !important;}
.look {line-height: 1.5 !important; display: inline-block;padding: 5px 10px;background: rgba(0,0,0,0.1);border: 1px solid rgba(0,0,0,0.3);border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.inline-block {display: inline-block !important;}
.relative {position: relative;}
.marker {background: linear-gradient(transparent 50%, yellow);}
pre {white-space: pre-wrap;word-wrap: break-word;overflow-wrap: break-word;}
.pr a {
	text-decoration: none;
	display: block;
	background: rgba(0,0,0,0.9);
	text-align: right;
	padding: 0.5rem 1rem;
	color: #ccc;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: bold;
	margin-right: 0.5em;
}
.padding0 {
	padding: 0 !important;
}
.padding-lr0 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Media Queries (Grouped)
---------------------------------------------------------------------------*/

@media screen and (min-width:420px) {
	#mainimg {
		background: var(--base-color) url("../images/mainimg.jpg") no-repeat center center / cover;
		padding-top: 56.25%;
	}
	#mainimg > div {
		left: var(--space-large);
		align-items: flex-start;
		justify-content: center;
	}
	#mainimg .text {
		text-align: left;
		font-size: 3.4vw;
	}
	#mainimg .btn a {
		margin: 0;
		padding: 0.6rem 3rem;
	}
	#mainimg .btn {
		font-size: 1.1vw;
	}
}

@media screen and (min-width:600px) {
	.list-c2 {
		display: flex;
		gap: 2vw;
	}
	.list-c2 > * {
		flex: 1;
	}
	.list-c2 .list {
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.list-c2 > a .list {
		height: 100%;
	}
	.list-c2 .list:nth-of-type(1) {
		border-radius: 0px 30px 30px 0px;
	}
	.list-c2 .list:nth-of-type(2) {
		border-radius: 30px 0px 0px 30px;
	}
	.list-c2 h4 .main-text {
		font-size: 4rem;
	}
	.list-normal1 .text {
		flex: 1;
	}
	.reverse {
		flex-direction: row-reverse;
		background-position: left bottom !important;
	}
	.list-normal1 .list {
		display: flex;
		gap: 2rem;
	}
	.list-normal1 figure {
		margin-bottom: 0;
	}
	.list-normal1 h4 {
		font-size: 2rem;
		line-height: 1.8;
	}
}

@media screen and (min-width:700px) {
	header {
		height: 90px;
	}
	#logo img {
		width: 250px;
	}
	#menubar_hdr {
		transform: scale(1.5);
	}
	main {
		margin-top: 11vw;
	}
	main h2 {
		font-size: 2.4rem;
	}
	h2 img {
		width: 140px;
		left: 40px;
	}
	footer {
		flex-direction: row;
		gap: 4rem;
		padding: 4rem;
	}
	footer div:nth-of-type(1) {
		text-align: left;
		width: 30%;
	}
	footer div:nth-of-type(2) {
		justify-content: flex-end;
		gap: 4rem;
	}
	.icons {
		justify-content: flex-start;
	}
	.c2 {
		display: flex;
		gap: 2rem;
	}
	.c2 .title {
		width: 30%;
	}
	.c2 .text {
		flex: 1;
	}
	.faq {
		font-size: 1.2rem;
	}
	.new {
		display: grid;
		grid-template-columns: auto 1fr;
	}
	.arrow {
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,90 L50,100 L0,90 Z' fill='%23000000'/%3E%3C/svg%3E");
		padding-bottom: 150px;
	}
	#rule-container {
        padding: 2rem 1.5rem;
    }
    .rule-article {
        padding: 1.5rem;
    }
    #rule-container h2 {
        font-size: 1.8rem;
    }
    .rule-article h3 {
        font-size: 1.3rem;
    }
	#product-container {
        padding: 2rem 1.5rem;
    }
    #product-container h2 {
        font-size: 1.8rem;
    }
    .product-section h3 {
        font-size: 1.4rem;
    }
    .flow-steps li {
        flex-direction: column;
        align-items: flex-start;
    }
    .flow-steps .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
        background-color: var(--primary-color);
        color: var(--primary-inverse-color);
        padding: 0.3rem 1rem;
        border-radius: 20px;
    }
	#demo-page-container {
        padding: 2rem 1.5rem;
    }
    .demo-header .main-title {
        font-size: 2rem;
    }
	#installation-guide {
        padding: 2rem 1.5rem;
    }
    .guide-header .main-title {
        font-size: 1.8rem;
    }
    .step-card {
        flex-direction: column;
        padding-left: 0;
    }
    .step-number-box {
        position: static;
        width: auto;
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .step-number-box .step-number {
        font-size: 2.5rem;
    }
    .step-content {
        padding: 1.2rem;
    }
	.important-notes {
        padding: 1.5rem;
    }
    .important-notes h3 {
        font-size: 1.2rem;
    }
	#php-ini-guide .guide-content {
        padding: 0;
    }
	#tips-container {
        padding: 2rem 1.5rem;
    }
    .tips-header .main-title {
        font-size: 1.8rem;
    }
}

@media screen and (min-width:800px) {
	.list-grid-simple {
		grid-template-columns: repeat(3, 1fr);
	}
	.list-grid1 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 3vw;
	}
	.list-grid1 .list {
		margin-bottom: 0;
	}
	.list-grid1 .list figure.icon {
		width: 150px;
		margin-top: -50px;
	}
}

@media screen and (min-width:801px) {
	.ta1.plan, .ta1.plan td, .ta1.plan th {
		font-size: 1.2rem;
		padding: 2rem 1rem;
	}
	.plan th > span {
		font-size: 2.4rem;
	}
}

@media screen and (min-width:900px) {
	header > nav > ul {
		margin-right: 100px;
		display: flex;
	}
	header nav li a {
		font-size: 0.9rem;
		padding: 0.5rem 1rem;
	}
	header nav i {
		padding-right: 0.5rem;
	}
	.ws {width: 65%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}
}

@media screen and (min-width:1000px) {
	html, body {
		font-size: 14px;
	}
}

@media screen and (min-width:1600px) {
	html, body {
		font-size: 1vw;
	}
}

/* Max-width queries */
@media screen and (max-width:999px) {
	.manual.margin-left {padding-left: 4vw;}
}
@media screen and (max-width:800px) {
	.scroll .ta1.plan {width: 700px;}
	.scroll {overflow-x: auto;}
}
@media (max-width: 768px) {
    .transaction-container .info-table,
    .transaction-container .info-table tbody,
    .transaction-container .info-table tr,
    .transaction-container .info-table th,
    .transaction-container .info-table td {
        display: block;
        width: 100%;
    }
    .transaction-container .info-table th {
        border-bottom: none;
    }
    .transaction-container .info-table td {
        border-top: none;
        margin-bottom: 1rem;
    }
	#secure-guide-container {
        padding: 2rem 1.5rem;
    }
    #secure-guide-container .guide-header .main-title {
        font-size: 1.8rem;
    }
    #secure-guide-container .step-card-custom {
        flex-direction: column;
        padding-left: 0;
    }
    #secure-guide-container .step-number-box-custom {
        position: static;
        width: auto;
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    #secure-guide-container .step-number-box-custom .step-number {
        font-size: 2.5rem;
    }
    #secure-guide-container .step-content-custom {
        padding: 1.2rem;
    }
}
@media screen and (min-width: 768px) {
    .tips-card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ▼▼▼▼▼ 有料版ガイドの追加修正 ▼▼▼▼▼ */

/* 1. 「HIGH SPEC VERSION」の色合いを有料版バッジと統一 */
#secure-guide-container .guide-header .sub-title {
    background-color: #d6336c; /* 背景色を有料版バッジの色に */
    color: #fff;             /* 文字色を白に */
    border-color: #d6336c;    /* 枠線の色も統一 */
}

/* 2. 補足情報ブロック（埋め込み・パーミッション）のデザインを変更 */
.step-card-extra .step-content-custom {
    background-color: #f0f2f5; /* 背景色を少し落ち着いたグレーに */
    border: 1px dashed #b0b9c4; /* 枠線を点線に */
}

/* 補足情報のステップ番号（STEP 00）の色を変更 */
.step-card-extra .step-number-box-custom .step-number,
.step-card-extra .step-number-box-custom .step-label {
    color: #8a96a8; /* 番号の色をグレー系に */
}

/* 補足情報カード内の見出しアイコンの色も統一 */
.step-card-extra .step-content-custom h3 i {
    color: #8a96a8;
}

/* ▲▲▲▲▲ 有料版ガイドの追加修正 ▲▲▲▲▲ */

/* ▼▼▼▼▼ 補足情報ブロックのカラー変更（修正版） ▼▼▼▼▼ */

/* IDセレクタを追加して優先順位を上げます */
#secure-guide-container .step-card-extra .step-content-custom {
    background-color: #fffbe6; /* 注意を促す薄い黄色 */
    border: 1px solid #ffe58f;  /* 少し濃い黄色 */
}

/* 補足情報のステップ番号（STEP 00）の色 */
#secure-guide-container .step-card-extra .step-number-box-custom .step-number,
#secure-guide-container .step-card-extra .step-number-box-custom .step-label {
    color: #c5a742; /* ゴールド系の色 */
}

/* 補足情報カード内の見出しアイコンの色も統一 */
#secure-guide-container .step-card-extra .step-content-custom h3 i {
    color: #c5a742;
}

/* ▼▼▼▼▼ ファイル内コード表示用のスタイル ▼▼▼▼▼ */

.file-display-container {
    background-color: #2d3748; /* コードブロックの背景色 */
    border-radius: 8px;
    border: 1px solid #4a5568;
    margin: 1.5rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden; /* 角丸を維持するため */
}

.file-header {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 0.6rem 1rem;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
    border-bottom: 1px solid #4a5568;
}

.file-header i {
    margin-right: 0.5em;
    color: #63b3ed;
}

.file-content pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.file-content code {
    display: block;
    padding: 1rem 1.5rem;
    color: #e2e8f0;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.8;
}

/* 編集してほしい行をハイライト表示 */
.highlight-line {
    display: block;
    background-color: #4a5568; /* ハイライト用の背景色 */
    border-left: 3px solid #f7b731; /* 左側にアクセント線 */
    margin: 0 -1.5rem; /* 親のpaddingを打ち消して幅いっぱいに */
    padding: 0.2rem 1.5rem;
    padding-left: calc(1.5rem - 3px); /* アクセント線の分だけ内側に入れる */
}

/* ▼▼▼▼▼ 補足説明用のスタイル ▼▼▼▼▼ */
.supplementary-note {
    background-color: #f0f2f5;
    border: 1px solid #d1d9e6;
    border-left: 5px solid #8a96a8;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 0 5px 5px 0;
}
.supplementary-note p {
    margin: 0;
    line-height: 1.8;
    font-size: 0.9em;
}

/* ▼▼▼▼▼ お問い合わせフォーム専用スタイル ▼▼▼▼▼ */
.form-container {
    max-width: 900px; /* 全体の幅を800pxから900pxに広げました */
    margin: -30px auto 100px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 3.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    font-size: 0.8rem; /* 全体の文字サイズを少し大きく調整しました */
}

.form-container h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* フォームテーブルの調整 */
.form-container .ta1 {
    border: none;
    margin-bottom: 2rem;
}
.form-container .ta1 th {
    width: 260px; /* ラベルの幅を220pxから260pxに広げ、1行に収まるようにしました */
    text-align: left;
    padding: 1.5rem;
    vertical-align: top;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
}
.form-container .ta1 td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}
.form-container .ta1 tr:last-child th,
.form-container .ta1 tr:last-child td {
    border-bottom: none;
}
.form-container .ta1 th span {
    background: #e43333;
    color: #fff;
    font-size: 0.7em; /* em単位に変更 */
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 入力フィールドの調整 */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container textarea {
    border: 1px solid #ccc;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 1em; /* コンテナの文字サイズを基準にするように変更 */
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus,
.form-container textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(129, 232, 237, 0.4);
    outline: none;
}
.form-container div[style="color:red"] {
    margin-top: 0.5rem;
    font-weight: bold;
}

/* 確認画面の表示調整 */
.form-container .confirm-value {
    line-height: 1.9;
    font-size: 1em;
}

/* ボタンの調整 */
.form-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.form-btn {
    padding: 14px 40px;
    font-size: 1em; /* コンテナの文字サイズを基準にするように変更 */
    font-weight: bold;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    line-height: 1.5;
}
.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.form-btn-primary {
    background-color: var(--primary-color);
    color: var(--primary-inverse-color);
}
.form-btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

/* 送信完了ページの調整 */
.finish-message {
    text-align: center;
    padding: 4rem 1rem;
}
.finish-message .fa-check-circle {
    font-size: 4em;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.finish-message p {
    font-size: 1.1em;
    line-height: 2;
}

/* スマートフォン表示への対応 */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
        margin-top: 0;
        font-size: 1rem; /* スマホでは基準フォントサイズをリセット */
    }
    .form-container .ta1,
    .form-container .ta1 tbody,
    .form-container .ta1 tr,
    .form-container .ta1 th,
    .form-container .ta1 td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .form-container .ta1 th {
        width: 100%;
        text-align: left;
        border-bottom: none;
        padding: 1rem 0.5rem 0.5rem;
    }
    .form-container .ta1 td {
        border-top: none;
        padding: 0 0.5rem 1rem;
    }
    .form-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ▼▼▼▼▼ セキュリティ解説セクション専用スタイル（詳細版） ▼▼▼▼▼ */

/* セクション全体の余白調整 */
#security {
    padding-bottom: calc(var(--space-large) - 2rem); /* 少しだけ下の余白を調整 */
}

/* 導入文のスタイル */
#security .security-intro {
    max-width: 800px;
    margin: 3rem auto 4rem;
    text-align: center;
    line-height: 2;
    font-size: 1.1em;
}

/* 各項目のコンテナ */
#security .security-details-container {
    max-width: 900px;
    margin: 0 auto;
}

/* 各項目のスタイル */
#security .security-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    overflow: hidden; /* h3の背景がはみ出ないように */
}

/* 各項目のメイン見出し (h3) */
#security .security-item h3 {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    margin: 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}
#security .security-item h3 i {
    margin-right: 1.2rem;
    color: var(--primary-color);
    font-size: 1.2em;
}

/* 解説コンテンツ部分の余白 */
#security .security-item .security-content {
    padding: 1.5rem 2.5rem 2.5rem;
}

/* リスクと対策の小見出し (h4) */
#security .security-item h4 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
#security .security-item h4:first-child {
    margin-top: 0;
}
#security .security-item h4 i {
    margin-right: 0.8rem;
    font-size: 1.1em;
}
/* リスクのアイコンの色 */
#security .security-item h4 .fa-triangle-exclamation {
    color: #e67e22;
}
/* 対策のアイコンの色 */
#security .security-item h4 .fa-circle-check {
    color: #27ae60;
}

/* 解説文のスタイル */
#security .security-item p {
    line-height: 2.2;
    padding-left: 2.2rem; /* アイコンと見出しのインデントに合わせる */
    margin: 0;
}

/* コード表示のスタイル */
#security .security-item code {
    background-color: #e9ecef;
    color: #c7254e;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
}

/* スマホ表示用の調整 */
@media screen and (max-width: 768px) {
    #security .security-item .security-content {
        padding: 1.5rem;
    }
    #security .security-item h3 {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }
    #security .security-item p {
        padding-left: 0;
    }
}

/* ▲▲▲▲▲ セキュリティ解説セクション専用スタイル（詳細版） ▲▲▲▲▲ */