/*
Theme Name: Kumon Nozomi
Theme URI: https://nozomi-kumon.com/
Author: 株式会社パーキーパット・デザインズ
Author URI: https://perkypat.jp/
Description: 公文のぞみ用オリジナルテーマ
Version: 1.0
Text Domain: kumon-nozomi
*/
html {
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  color: #000;
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  color: #000;
  letter-spacing: 0.08em;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: 400;
  font-feature-settings: 'palt'1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
p {
  line-height: 2.0;
  text-align: justify;
  margin-bottom: 1.4em;
}
p:last-child {
  margin-bottom: 0 !important;
}
a {
	color: #000;
	text-decoration: none;
	transition: .3s;
}
a:hover {
  opacity: 0.7;
}
.roboto {
	font-family: "Roboto Condensed", sans-serif;
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: nowrap;
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
  body {
    font-size: 1.5rem;
    line-height: 1.875em;
    letter-spacing: 0.1em;
  }
  p {
    line-height: 1.8;
  }
}
@media only screen and (min-width: 781px) {
  .sp {
    display: none !important;
  }
  .pc {
    display: block;
  }
}
@media only screen and (max-width: 780px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}


/* レイアウト
--------------------------------------------------------*/
.layout {
  display: flex;
  min-height: 100vh;
}
.main {
  flex: 1;
  min-width: 0;
}
/* PC sidebar */
.sidebar {
  background-color: #FFE3E2;
	
}
.sidebar::-webkit-scrollbar {
  width: 8px;              /* 細さ */
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(0,0,0,0); /* トラックは透明 */
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(226,106,90,0.25);  /* #E26A5A を薄めた */
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.35); /* ピンク背景に馴染ませる縁 */
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(226,106,90,0.70);
}
/* ===== Firefox ===== */
.sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(226,106,90,0.55) transparent;
}
/* ホバー/スクロール中は濃く */
.sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(226,106,90,0.60);
}

.sidebar__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}


/* Breakpoint*/
@media screen and (max-width: 1260px) { /*-----------------調整----- */
  .layout {
    display: block;
	  height: auto;
  }
	.sidebar {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 9999;
	}
	.sidebar__inner {
	  position: sticky;
	  top: 0;
	  height: auto;
	  overflow: auto;
	}
  .navOverlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
  }
  .sidebar--sp {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: min(80vw, 320px);
    height: 100vh;
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform .25s ease;
  }
  /* 開いた状態（JSでクラス付与） */
  body.is-nav-open .sidebar--sp {
    transform: translateX(0);
  }
  body.is-nav-open .navOverlay {
    display: block;
  }
}



/* ナビ
--------------------------------------------------------*/
.sidebar__inner {
	padding: 50px 40px;
}
h1 {
	margin-bottom: 50px;
}
h1 a {
	font-size: 3.0rem;
	font-weight: 900;
}
h1 a span {
	font-size: 1.8rem;
	display: block;
}
.side-nav__list {
	font-size: 2.8rem;
	margin-bottom: 30px;
}
.side-nav__list li {
	margin-bottom: 30px;
}
.side-nav__list li:last-child {
	margin-bottom: 0;
}
.form_btn {
	margin-bottom: 40px;
	width: 170px;
}
.form_btn a {
	display: block;
	background-color: #000000;
	color: #fff;
	font-size: 1.6rem;
	font-weight: bold;
	border-radius: 100px;
	text-align: center;
	padding: 10px;
}
.sns {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.sns li:nth-child(1) {
	width: 22.5px;
}
.sns li:nth-child(2) {
	width: 29px;
}
.sns li:nth-child(3) {
	width: 28px;
}
.sns li:nth-child(4) {
	width: 28.5px;
}
@media screen and (max-width: 1260px) { /*-----------------調整----- */
	.sidebar__inner {
		padding: 0;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.site-brand {
		padding-left: 14px;
	}
	h1 {
		margin-bottom: 0;
		line-height: 1;
	}
	h1 a {
		font-size: 2.2rem;
		line-height: 1;
	}
	h1 a span {
		font-size: 1.2rem;
		margin-bottom: -4px;
		line-height: 1;
	}
	.sp_box {
		display: flex;
		flex-direction: row-reverse;
		align-items: center;
	}
	.side-nav {
	}
	.side-nav__list {
		display: flex;
		align-items: center;
		gap: 30px;
	}
	.side-nav__list {
		font-size: 2.0rem;
		margin-bottom: 0;
	}
	.side-nav__list li {
		margin-bottom: 0;
	}
	.form_btn {
		margin-bottom: 0;
		width: auto;
		margin-left: 20px;
		height: 66px;
	}
	.form_btn a {
		font-size: 1.4rem;
		padding: 8px 16px;
		height: 66px;
		border-radius: 0;
		display: flex;
		align-items: center;
		letter-spacing: 0.02em;
	}
	.sns {
		display: flex;
		gap: 20px;
		
	}
	.sns li:nth-child(1) {
		width: 18px;
	}
	.sns li:nth-child(2) {
		width: 22px;
	}
	.sns li:nth-child(3) {
		width: 22px;
	}
	.sns li:nth-child(4) {
		width: 24px;
	}
}
@media screen and (max-width: 960px) { /*-----------------調整----- */
	.side-nav, .sns {
		display: none;
	}
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
		h1 a {
			font-size: 2.0rem;
		}
		h1 a span {
			margin-bottom: -3px;
		}
		.form_btn {
			margin-left: 0;
			height: 60px;
		}
		.form_btn a {
			height: 60px;
		}
}


/* =========================================================
  SP Hamburger (<=960px) : right slide-in
========================================================= */

/* ボタンは通常非表示 */
.navToggle {
  display: none;
}

/* オーバーレイ/ドロワー共通：通常は閉じている */
.navOverlay {
  display: none;
}

.spNav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(80vw, 360px);
  height: 100vh;
  background: #FFE3E2;
  z-index: 10020;
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 18px 30px;
}

/* 開いた状態（base.jsが body に is-nav-open を付ける） */
body.is-nav-open .spNav {
  transform: translateX(0);
}

.navOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 10010;
}

/* 開いた時だけオーバーレイ表示 */
body.is-nav-open .navOverlay {
  display: block;
}

/* 開いている間、背面スクロール抑止 */
body.is-nav-open {
  overflow: hidden;
}

/* 960px以下でボタンを表示（既存：.side-nav,.sns は非表示のままでOK） */
@media screen and (max-width: 960px) { /*-----------------調整----- */
	.navToggle {
		display: inline-flex;
		flex-direction: column;      /* ← 重要 */
		justify-content: center;
		align-items: center;
		width: 66px;
		height: 48px;
		background: transparent;
		border: 0;
		cursor: pointer;
		gap: 6px;                    /* ← 3本の間隔 */
	}
	.navToggle__line {
		display: block;
		width: 26px;
		height: 2px;
		background: #000;
		border-radius: 999px;
	}
}

/* spNav 内部（最低限） */
.spNav__head{
  display:flex;
  justify-content:flex-end;
  margin-bottom: 12px;
}
.spNav__close{
  background:#fff;
  color:#000;
	font-size: 2.0rem;
	font-weight: bold;
  border:0;
  border-radius: 4px;
  padding: 6px 10px 8px;
  cursor:pointer;
	line-height: 1;
}
.spNav__list{
  list-style:none;
  margin: 0 0 30px;
  padding: 0;
  font-size: 2.0rem;
}
.spNav__list li{
  border-bottom: 1px solid #E26A5A;
}
.spNav__list a{
  display:block;
  padding: 14px 6px;
	font-size: 2.4rem;
}
.spNav__cta{
  margin-top: 14px;
}
.spNav__btn{
  display:block;
  text-align:center;
  background:#000;
  color:#fff;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight:bold;
	margin: 0 auto 40px;
	width: 100%;
	max-width: 240px;
}
.spNav__sns {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}
.spNav__sns li:nth-child(1) {
	width: 22.5px;
}
.spNav__sns li:nth-child(2) {
	width: 29px;
}
.spNav__sns li:nth-child(3) {
	width: 28px;
}
.spNav__sns li:nth-child(4) {
	width: 28.5px;
}






/* メインビジュアル
--------------------------------------------------------*/
.sec_hero {
	background: url("image/mv.jpg") top right no-repeat;
	background-size: cover;
	background-color: #B2B7CB;
	padding: 100px 120px;
	height: 100vh;
	min-height: 860px;
	position: relative;
}
@media screen and (max-width: 1500px) { /*-----------------調整----- */
	.sec_hero {
		background: url("image/mv.jpg") top right -220px no-repeat;
		background-size: cover;
		background-color: #B2B7CB;
	}
}
@media screen and (max-width: 1260px) { /*-----------------調整----- */
	.sec_hero {
		padding: 166px 100px 100px;
	}
}
.hero_sample {
	display: inline-block;
}
.hero_sample h2 {
	font-size: 4.6rem;
	margin-bottom: 30px;
}
.hero_sample_list {
	display: flex;
	align-items: center;
	margin-bottom: 24px;
}
.hero_sample_list h3 {
	font-size: 2.2rem;
	margin: 0 30px 0 0;
	line-height: 1;
}
.hero_sample_list h3 span {
	font-size: 2.4rem;
	margin: 0 12px 0 0;
}
.hero_btn {
	display: flex;
}

.hero_sample_list .btn_play {
	margin: 0 10px 0 0;
	cursor: pointer;
	display: block;
	background-color: #000000;
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	border-radius: 100px;
	text-align: center;
	width: 100px;
	line-height: 32px;
	transition: .3s;
}
.hero_sample_list .btn_dl {
	display: block;
	background-color: #000000;
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	border-radius: 100px;
	text-align: center;
	width: 100px;
	line-height: 32px;
	letter-spacing: 0.01em;
}
.btn_play:hover {
	opacity: 0.7;
}
.btn_play[data-state="playing"] {
  background-color: #E26A5A!important;
}
.hero_more {
	text-align: right;
	font-size: 3.0rem;
}

.hero_news {
	position: absolute;
	bottom: 100px;
	left: 100px;
}
.hero_news h2 {
	font-size: 4.6rem;
	margin-bottom: 30px;
}
.hero_news dl {
	max-width: 560px;
}
.hero_news dt {
	font-size: 1.6rem;
	font-weight: 400;
	margin-bottom: 5px;
}
.hero_news dd {
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.6;
	margin-bottom: 20px;
}
.hero_news dd:last-child {
	margin-bottom: 0;
}
.hero_news dd a {
	text-decoration: underline;
}
@media screen and (max-width: 1000px) { /*-----------------調整----- */
	.hero_news {
		left: 60px;
	}
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
	.sec_hero {
		background: url("image/mv_sp.jpg") top right no-repeat;
		background-size: 100%;
		background-color: #FFEBE3;
		height: auto;
		min-height: auto;
		padding-top: 110%;
		padding-bottom: 3em;
	}
	.hero_sample h2 {
		font-size: 3rem;
		margin-bottom: 20px;
	}
	.hero_sample_list {
		display: block;
		margin-bottom: 24px;
	}
	.hero_sample_list h3 {
		font-size: 1.8rem;
		margin: 0 0 14px;
	}
	.hero_sample_list h3 span {
		font-size: 2.0rem;
		margin: 0 6px 0 0;
	}
	.hero_btn {
		gap: 14px;
	}
	.hero_sample_list .btn_play {
		margin: 0;
		width: 100px;
	}
	.hero_news {
		position: static;
		margin-top: 50px;
	}
	.hero_news h2 {
		font-size: 3rem;
		margin-bottom: 20px;
	}
	.hero_news dt {
		font-size: 1.2rem;
	}
	.hero_news dd {
		font-size: 1.5rem;
		line-height: 1.6;
	}
}



/* DEMO
--------------------------------------------------------*/
/* これだけは必須：hidden を必ず効かせる */
#ytModal[hidden] { display:none !important; }

/* DEMOパネル：hidden を必ず効かせる（最重要） */
.sec_demo ul.demoGrid[hidden]{
  display: none !important;
}

.sec_demo {
	padding: 100px 120px;
}
.demoHead {
	display: flex;
	gap: 60px;
	align-items: flex-end;
	margin-bottom: 50px;
}
.sec_demo h2 {
	font-size: 10rem;
}
@media screen and (max-width: 960px) { /*-----------------調整----- */
	.demoHead {
		display: block;
	}
	.sec_demo h2 {
		margin-bottom: 30px;
	}
}
.demoTabs {
	display: flex;
	gap: 20px;
	padding-bottom: 16px;
}
.demoTabs button {
	display: block;
	background-color: #FFE3E2;
	color: #333;
	font-size: 2.0rem;
	font-weight: bold;
	border: none;
	border-radius: 100px;
	text-align: center;
	padding: 10px 48px;
	transition: 0.3s;
	cursor: pointer;
	white-space: nowrap;
}
@media screen and (max-width: 1030px) { /*-----------------調整----- */
	.demoTabs button {
		font-size: 1.8rem;
		padding: 8px 30px;
	}
}
.demoTab.is-active {
  background: #E26A5A;
  color: #fff;
}
ul.demoGrid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 5%;  
}
ul.demoGrid li {
	width: calc( 100% / 3 - 5% );
	margin-bottom: 50px;
}
@media screen and (max-width: 960px) { /*-----------------調整----- */
	ul.demoGrid li {
		width: calc( 100% /2 - 5% );
	}
}
ul.demoGrid li h3 {
	font-size: 1.8rem;
	margin-bottom: 10px;
}
ul.demoGrid li p {
	line-height: 1.5;
	margin-bottom: 20px;
}
.demo_btn {
	display: flex;
}
ul.demoGrid .btn_play {
	margin: 0 14px 0 0;
	cursor: pointer;
	display: block;
	background-color: #000000;
	color: #fff;
	font-size: 1.5rem;
	font-weight: bold;
	border-radius: 100px;
	text-align: center;
	width: 120px;
	line-height: 40px;
	transition: .3s;
}
ul.demoGrid .btn_dl {
	display: block;
	background-color: #000000;
	color: #fff;
	font-size: 1.5rem;
	font-weight: bold;
	border-radius: 100px;
	text-align: center;
	width: 120px;
	line-height: 40px;
	letter-spacing: 0.01em;
}
h3.demo_reel {
	margin-top: 30px;
	font-size: 5.0rem;
	margin-bottom: 30px;
}
ul.demo_reel {
	display: flex;
	jjustify-content: flex-start;
	gap: 3%;
}
ul.demo_reel li {
	width: calc( 100% / 3 - 3% );
}
.demoReelThumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000; /* 念のため */
}
.demoReelThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ★重要 */
  display: block;
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
	.sec_demo {
		padding-top: 4em;
		padding-bottom: 4em;
	}
	.demoHead {
		margin-bottom: 30px;
	}
	.sec_demo h2 {
		font-size: 5rem;
	}
	.demoTabs {
		gap: 14px;
		padding: 0;
	}
	.demoTabs button {
		font-size: 1.6rem;
		padding: 4px 24px;
	}
	ul.demoGrid {
		display: block;
	}
	ul.demoGrid li {
		width: 100%;
		margin-bottom: 40px;
	}
	ul.demoGrid li h3 {
		font-size: 1.6rem;
		margin-bottom: 6px;
		line-height: 1.5;
	}
	ul.demoGrid li p {
		font-size: 1.3rem;
		line-height: 1.4;
		margin-bottom: 14px;
	}
	.demo_btn {
		display: flex;
		margin: 0;
	}
	ul.demoGrid .btn_play {
		font-size: 1.2rem;
		width: 100px;
		line-height: 32px;
		margin: 0 14px 0 0;
	}
	ul.demoGrid .btn_dl {
		margin: 0;
		font-size: 1.2rem;
		width: 100px;
		line-height: 32px;
	}
	h3.demo_reel {
		font-size: 4.0rem;
		margin-bottom: 20px;
	}
	ul.demo_reel {
		display: flex;
		justify-content:flex-start; 
		flex-wrap: wrap;
		gap: 20px;
	}
	ul.demo_reel li {
		width: calc( 100% / 2 - 3% );
	}
}


/* VIDEO
--------------------------------------------------------*/
.sec_video {
	padding: 0 120px 100px;
	border-top: 160px solid #FFEBE3;
}
.sec_video h2 {
	font-size: 10rem;
	margin-top: -0.5em;
	margin-bottom: 50px;
}
.video_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 3%;  
}
.video_list li {
	width: calc( 100% / 4 - 3% );
	margin-bottom: 60px;
}
@media screen and (max-width: 960px) { /*-----------------調整----- */
	.video_list li {
		width: calc( 100% / 3 - 3% );
	}
}
.video_list li h3 {
	font-size: 1.8rem;
	margin-top: 10px;
	margin-bottom: 6px;
}
.video_list li p {
	line-height: 1.5;
	margin-bottom: 20px;
}
.video_thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000; /* 念のため */
}
.video_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ★重要 */
  display: block;
	border: 1px solid #aaa;
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
	.sec_video {
		padding-bottom: 4em;
		border-top: 60px solid #FFEBE3;
	}
	.sec_video h2 {
		font-size: 5rem;
		margin-top: -0.4em;
		margin-bottom: 30px;
	}
	.video_list li {
		width: calc( 100% / 2 - 3% );
		margin-bottom: 30px;
	}
	.video_list li h3 {
		font-size: 1.5rem;
		margin-top: 6px;
		line-height: 1.5;
		margin-bottom: 6px;
	}
	.video_list li p {
		font-size: 1.3;
		line-height: 1.4;
		margin-bottom: 0;
	}
}



/* 再生アイコン付きサムネイル
--------------------------------------------------------*/
.demoReelThumb,
.video_thumb {
  position: relative;
  display: block;
  overflow: hidden;
}
/* 再生アイコン */
.demoReelThumb::after,
.video_thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("image/start.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px auto; /* サイズは好みで調整 */
  pointer-events: none; /* ★重要：クリックを邪魔しない */
}

/* 動画再生モーダル
--------------------------------------------------------*/
#ytModal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ytModal .ytModal_overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.6);
}

/* パネル自体を前面に */
#ytModal .ytModal_panel{
  position: relative;
  z-index: 1;
  width: min(960px, 92vw);
	max-height: 80vh;
}

/* 閉じるボタンはパネル内右上に固定 */
#ytModal .ytModal_close{
	position:absolute;
	bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
	z-index: 2;
	font-size: 1.6rem;
	font-weight: bold;
	background-color: #fff;
	border: none;
	border-radius: 100px;
	padding: 6px 30px;
	cursor: pointer;
}
#ytModal .ytModal_close:hover {
	opacity: 0.7;
}

/* 中身ラッパー（ここに iframe か video が入る） */
#ytModal .ytModal_body{
  position: relative;
}

/* YouTube用：比率ボックスはこれ1つだけ */
#ytModal .ytModal_ratio{
  position: relative;
  padding-top: 56.25%;
}

#ytModal .ytModal_ratio iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

/* YouTube(iframe) 用：比率ボックスは panel の max-height に収まる */
#ytModal .ytModal_ratio,
#ytModal .ytModal_frameWrap {
  max-height: 80vh;
}

/* ★動画ファイル用：縦長でも画面内に収める */
#ytModal video {
  width: 100%;
  height: auto;
  max-height: 80vh;      /* ここで画面高に制限 */
  display: block;
  object-fit: contain;   /* 縦長でも切れずに収まる */
  background: #000;      /* 余白が出た時に黒（任意） */
}

html.is-modal-open,
html.is-modal-open body{
  overflow:hidden;
}



/* ABOUT
--------------------------------------------------------*/
.sec_about {
	padding: 0 120px 100px;
	border-top: 160px solid #FFEBE3;
}
.sec_about h2 {
	font-size: 10rem;
	margin-top: -0.5em;
	margin-bottom: 50px;
}
.about_flex {
	display: flex;
}
.about_img {
	width: 40%;
	max-width: 430px;
	margin-right: 7%;
}
.about_txt {
	flex: 1;
}
.about_txt h3 {
	font-size: 2.2rem;
	font-weight: 900;
	margin-bottom: 34px;
}
.about_txt p {
	font-size: 1.6rem;
	line-height: 1.8;
}
@media screen and (max-width: 960px) { /*-----------------調整----- */
	.about_flex {
		display: block;
	}
	.about_img {
		width: 40%;
		max-width: 430px;
		margin-right: 0;
		margin-bottom: 40px;
	}
	.about_txt {
		flex: 1;
	}
	.about_txt h3 {
		font-size: 2.2rem;
		font-weight: 900;
		margin-bottom: 34px;
	}
	.about_txt p {
		font-size: 1.8rem;
	}
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
	.sec_about {
		padding-bottom: 4em;
		border-top: 60px solid #FFEBE3;
	}
	.sec_about h2 {
		font-size: 5rem;
		margin-top: -0.4em;
		margin-bottom: 30px;
	}
	.about_img {
		width: 70%;
		max-width: 430px;
		margin-bottom: 30px;
	}
	.about_txt h3 {
		font-size: 2.0rem;
		margin-bottom: 20px;
	}
	.about_txt p {
		font-size: 1.5rem;
	}
}
	



/* WORK
--------------------------------------------------------*/
.sec_work {
	padding: 0 120px 100px;
	border-top: 160px solid #FFEBE3;
}
.sec_work h2 {
	font-size: 10rem;
	margin-top: -0.5em;
	margin-bottom: 50px;
}
.work_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.work_cm, .work_vp, .work_other {
	width: calc( 100% / 2 - 5% );
}
@media screen and (max-width: 960px) { /*-----------------調整----- */
	.work_list {
		display: block;
	}
	.work_cm, .work_vp, .work_other {
		width: 100%;
	}
}
.work_cm, .work_vp {
	margin-bottom: 50px;
}
.work_list h3 {
	background-color: #E26A5A;
	color: #fff;
	font-size: 1.8rem;
	width: 140px;
	text-align: center;
	margin-bottom: 20px;
	line-height: 30px;
}
.work_list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.work_list li {
	font-size: 1.8rem;
	margin-bottom: .6em;
	margin-left: 1.4em;
	text-indent: -1.4em;
}
.work_list li::before {
  content: "■ ";
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
	.sec_work {
		padding-bottom: 4em;
		border-top: 60px solid #FFEBE3;
	}
	.sec_work h2 {
		font-size: 5rem;
		margin-top: -0.4em;
		margin-bottom: 30px;
	}
	.work_cm, .work_vp {
		margin-bottom: 40px;
	}
	.work_list h3 {
		font-size: 1.5rem;
	}
	.work_list li {
		font-size: 1.5rem;
		margin-bottom: 10px;
		line-height: 1.5;
	}
}


/* FORM
--------------------------------------------------------*/
.sec_form {
	padding: 0 120px 100px;
	border-top: 160px solid #FFEBE3;
}
.sec_form h2 {
	font-size: 10rem;
	margin-top: -0.5em;
	margin-bottom: 50px;
}
.form_main p {
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1;
	margin-bottom: 14px;
	margin-top: 35px;
}
.form_main input.wpcf7-text, .form_main textarea {
	padding: 6px;
	border-radius: 4px;
	border: 1px solid #333;
}
.form_main input.wpcf7-text {
	max-width: 400px;
	width: 100%;
}
.form_main textarea {
	max-width: 640px;
	width: 100%;
}
.form_main .wpcf7-radio {
	font-size: 1.8rem;
	font-weight: bold;
}
.wpcf7-list-item.first {
	margin-left: 0;
}
.form_main .required {
	font-size: 1.2rem;
	font-weight: 400;
	background-color: #E26A5A;
	color: #fff;
	line-height: 1;
	padding: 2px 4px;
	margin-left: 10px;
}
.btn_form {
	font-size: 2.0rem;
	font-weight: bold;
	border: 2px solid #E26A5A;
	border-radius: 100px;
	color: #E26A5A;
	background-color: #fff;
	width: 260px;
	padding: 10px;
	cursor: pointer;
	transition: 0.3s;
}
.btn_form:hover {
	background-color: #E26A5A;
	color: #fff;
}
.privacy {
	max-width: 640px;
	width: 100%;
	height: 240px;
	overflow-y: scroll;
	padding: 30px;
	margin: 30px 0 10px;
	border: 1px solid #aaa;
}
.privacy h4 {
	font-size: 1.6rem;
	font-weight: bold;
	margin-bottom: 30px;
}
.privacy p {
	font-size: 1.5rem;
}
.privacy ul {
	margin-left: 1.6em;
}
.privacy li {
	list-style: disc;
	font-size: 1.5rem;
	margin-bottom: 14px;
	line-height: 1.5;
}
.privacy li:last-child {
	margin-bottom: 0;
}
.recap {
	font-size: 1.2rem;
	letter-spacing: 0.01em;
	margin-top: 60px;
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
	.sec_form {
		padding-bottom: 4em;
		border-top: 60px solid #FFEBE3;
	}
	.sec_form h2 {
		font-size: 5rem;
		margin-top: -0.4em;
		margin-bottom: 30px;
	}
	.form_main p {
		font-size: 1.5rem;
		margin-bottom: 10px;
		margin-top: 35px;
	}
	.form_main input.wpcf7-text, .form_main textarea {
		padding: 6px;
		border-radius: 4px;
		border: 1px solid #333;
	}
	.form_main .wpcf7-radio {
		font-size: 1.5rem;
	}
	.btn_form {
		margin: 0 auto;
	}
	.privacy {
		height: 200px;
		padding: 5%;
		margin: 30px 0 12px;
	}
	.privacy h4 {
		font-size: 1.5rem;
		line-height: 1.5;
		margin-bottom: 20px;
	}
	.recap {
		margin-top: 40px;
	}
	.btn_wrap {
		text-align: center;
		margin-top: 40px;
	}
	.wpcf7-spinner {
		display: block;
	}
}



.copyright {
	font-size: 1.1rem;
	text-align: center;
	margin-bottom: 30px;
}
.pagetop{
  position: fixed;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 999;
	width: 60px;
}

.pagetop.is-show{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media screen and (max-width: 1000px) { /*-----------------調整----- */
	.sec_hero,
	.sec_demo,
	.sec_video,
	.sec_about,
	.sec_work,
	.sec_form {
		padding-left: 60px;
		padding-right: 60px;
	}
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
	.sec_hero,
	.sec_demo,
	.sec_video,
	.sec_about,
	.sec_work,
	.sec_form {
		padding-left: 6%;
		padding-right: 6%;
	}
}
	
	

/* お知らせページ
--------------------------------------------------------*/
.sec_news_list {
	padding: 60px 100px 120px;
}
.sec_news_list h2 {
	font-size: 5rem;
	margin-bottom: 0;
}
.sec_news_list dt {
	padding: 40px 0 10px;
}
.sec_news_list dd {
	padding: 0 0 40px;
	border-bottom: 1px solid #000;
	line-height: 1.8;
}
.sec_news_list dd a {
	text-decoration: underline;
	color: #5C302A;
}
@media screen and (max-width: 1260px) { /*-----------------調整----- */
	.sec_news_list {
		padding: 120px 100px 120px;
	}
}
@media screen and (max-width: 780px) { /*-----------------SP----- */
	.sec_news_list {
		padding: 100px 6% 4em;
	}
	.sec_news_list h2 {
		font-size: 3rem;
	}
	.sec_news_list dt {
		padding: 30px 0 10px;
	}
	.sec_news_list dd {
		padding: 0 0 30px;
	}
}


/* =========================================================
  Pagination
========================================================= */
.pagination{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0 10px;
  font-size: 1.6rem;
}

.pagination .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 999px;
  text-decoration: none;
  color: #000;
  background: #fff;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.pagination .page-numbers:hover{
  background: rgba(0,0,0,.06);
  transform: translateY(-1px);
  border-color: rgba(0,0,0,.35);
}

.pagination .page-numbers.current{
  background: #000;
  color: #fff;
  border-color: #000;
  pointer-events: none;
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev{
  font-weight: 900;
  min-width: 44px;
	border: none;
  background: transparent;
  height: auto;
  padding: 0 4px;
  border-radius: 0;
}

/* 無効時（prev/nextがspanで出るテーマもあるため保険） */
.pagination .page-numbers.dots,
.pagination .page-numbers.disabled{
  opacity: .45;
  pointer-events: none;
}

/* SP微調整 */
@media (max-width: 480px){
  .pagination{
    gap: 6px;
  }
  .pagination .page-numbers{
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 1.5rem;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}
