/*  
Theme Name: Matsuda2026EN
Author: 
Author URI: 
Version: 1.1
*/
/*>>>>> Setup and Reset <<<<<*/
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
}
body, html, p, ul, ol {
  margin: 0;
  padding: 0;
  border: none;
}
body {
color: #242424;
background-color: #ffffff;
-x-system-font: none;
/* font-family: 'Overpass', YuGothic, "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; */
font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",sans-serif;
font-stretch: normal;
font-style: normal;
font-variant: normal;
font-size-adjust: none;
font-weight: 400;
font-feature-settings: "palt";
width: 100%;
height: 100%;
font-size: 1.03em;
line-height: 1.5em;
text-align: left;
position: relative;
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  display: block;
  margin-top: 5px;
  margin-bottom: 5px;
  clear: both;
  padding: 20px 0;
  line-height: 1.5em;
  font-weight: bold;
}
h1 {
  font-size: 30px
}
h2 {
  font-size: 27px
}
h3 {
  font-size: 24px;
  padding: 5px 0;
}
h4 {
  font-size: 21px;
  padding: 10px 0;
}
h5 {
  font-size: 18px
}
h6 {
  font-size: 16px
}
.entry h3.soushoku span {
  width: 40%;
  display: inline-block;
}
.entry h3.soushoku {
  text-align: center;
  font-size: 30px;
  letter-spacing: 2px;
  line-height: 1.2em;
  margin: 100px 0 30px;
}
.entry h3.soushoku::before {
  background: url(images/h3-bg-left.png) no-repeat center left;
  width: 30%;
  height: 1.2em;
  display: inline-block;
  content: "";
  float: left;
  background-size: contain;
}
.entry h3.soushoku::after {
  background: url(images/h3-bg-right.png) no-repeat center right;
  width: 30%;
  height: 1.2em;
  display: inline-block;
  content: "";
  float: right;
  background-size: contain;
}
p {
  line-height: 1.8em;
  margin: 10px 0;
}
ul, ol {
  margin: 10px 0;
  padding: 0 19px 0 19px;
}
/*>>>>> Navigation <<<<<*/
a {
  color: #3c3a3a;
  text-decoration: underline;
}
.entry a {
  text-decoration: underline;
}
a:link, a:visited {}
a:hover {
  text-decoration: none;
}
a[href^="tel:"] {}
br.mobile {
  display: none;
}
br.desktop {
  display: block;
}
pre {
	white-space: pre-wrap ;
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
}

/* IMAGES*/
img {
  margin: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: top !important;
  max-width: 100%;
  transition: all 0.5s ease-in-out 0s;
}
a:hover img:not(.sticky-thumb) {
  opacity: 0.5;
  transition: all 0.5s ease-in-out 0s;
}
.single img {
  max-width: 100%;
  height: auto;
}
#gallery-1 img {
  border: none !important;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.alignleft {
  float: left;
  padding: 5px;
  margin: 0 10px 5px 0;
  display: inline;
}
.alignright {
  float: right;
  padding: 5px;
  margin: 0 0 2px 7px;
  display: inline;
}
a img {
  text-decoration: none;
  outline: 0;
  vertical-align: baseline;
  border: 0;
}
p img {
  height: auto;
  max-width: 100%;
}
body.single .entry p {
  margin: 15px auto;
	word-break: break-all;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  background: transparent none repeat scroll 0 0;
  color: #515151;
  font-size: 10px;
  line-height: 1.4em;
  margin: 0 !important;
  padding: 6px 0;
  text-align: center;
}
.wp-caption img {
  height: auto;
}
/* remember to define focus styles! */ :focus {
  outline: 0 dotted #ccc;
}
.clear {
  clear: both;
  height: 1px;
}
.spacer {
  clear: both;
  height: 1px;
}
table {
  margin: 20px 0 40px;
  width: 100%;
  line-height: 1.5em;
  border-collapse: collapse;
}
table th {
  text-align: left;
}
table td {
	
}
table td, table th {
  border: 1px solid #e3e3e3;
  padding: 15px;
}
table img {
  max-width: 100px;
}
table p.mobile {
  display: none;
}
tr:nth-child(odd) td, table tr:nth-child(odd) th {
  background-color: #fff;
}

.weightbold {
  font-weight: bold;
}
.small {
  font-size: 70%;
  line-height: 1.1em;
}
.slarge {
  font-size: 1.5em;
  line-height: 1.35em;
}
.large {
  font-size: 2em;
  line-height: 1.35em;
}
.xlarge {
  font-size: 3em;
  line-height: 1.4em;
}
.xxlarge {
  font-size: 4em;
  line-height: 1.4em;
}
.xxxlarge {
  font-size: 5em;
  line-height: 1.4em;
}
.padd {
  padding: 1% 2%;
}
.xpadd {
  padding: 2% 4%;
}
.xxpadd {
  padding: 4% 6%;
}
/*   h2-title is the title of posts*/


.h2-title {
  display: block;
  margin: 5px 0 10px 0;
  font-size: 15pt;
  line-height: 1.1em;
  padding: 5px 0;
}
h1.post-title {
  font-size: 2em;
  margin: 0 auto 20px auto;
  max-width: 1280px;
  font-weight: bold;
  padding: 0 0 30px 0;
}
p.tags-date {
  font-size: 1em;
}
.tags-small {
	font-size: 0.9em;
	color: #868686;
	line-height: 1.8em;
}
ul.tags-small li {
	list-style: none;
}
ul.tags-small li::before {
	content: "\f111";
	font-family: "Font Awesome 5 Free";
	width: 20px;
	height: 20px;
	margin: 0;
	color: #B7B7B7;
	font-weight: 900;
	padding: 0 0 25px 0;
	float: left;
	font-size: 0.7em;
}
ul.tags-small li li::before {
	font-size: 0.4em;
}
.tags {
	display: block;
	font-size: 3em;
	line-height: 56px;
	margin: 0;
	padding: 190px 0 10px;
}
body.single-lp {
}
.tags span.char1 {
  text-transform: capitalize;
}
span.no-tr {
  text-transform: none !important;
}
h2.cat-title, .page h1, .search h1, .archive h1, .h2-archive {
  display: block;
  font-size: 20px;
  line-height: 1.5em;
  padding: 0px 10px 20px;
  margin: 12px 0 11px;
  text-align: center;
  border: none;
  letter-spacing: 3px;
}
.hero-en h1 {
font-size: 3.8em !important;
letter-spacing: 0 !important;
line-height: 1em !important;
}
.plane {
  display: block;
  font-size: 2.5em;
  line-height: 1.2em;
  margin: 0;
  padding: 0;
  text-shadow: #444 1px 0 10px;
}
body.single-lp h1.plane {
	margin: 160px 0 0;
}

div.page {
  margin-top: 0;
}

body.home .en-title {
	font-family: 'EB Garamond', serif;
	text-align: center;
	font-size: 3em;
	line-height: 1.8em;
	margin: 70px 0 0 0;
}
body.home h2.home-title {
	font-size: 1.2em;
	text-align: center;
	margin: 0 0 80px;
	font-weight: bold;
	padding: 0;
	letter-spacing: 3px;
}
body.home .page .viewmore {
	position: absolute;
	right: 0;
	top: 1em;
}
.Overpass {
font-family: 'Overpass', cursive;
}
.Garamond {
font-family: 'EB Garamond', serif;
}

#sticky {
	width: 100%;
	background: #ddd;
	text-align: center;
	float: left;
	padding: 10px;
}
#sticky h4 { 
	padding: 0;
	font-size: 1.2em;
}
#sticky h4 a {
	text-decoration: underline;
	color: #32373c;
}

ul.notes > li {
	list-style: none;
	clear: both;
	margin: 0 0 40px;
	overflow: hidden;
}
body.archive div.note-thumb {
	width: 10%;
	float: left;
}
body.archive div.note-desc {
	width: 90%;
	float: left;
	padding: 0 0 0 20px;
}
div.note-desc h4 {
padding:0;
}

#lp .lp-thumb {
float: left;
width: 33%;
}
#lp .lp-body {
	float: left;
	width: 67%;
	padding: 0 10px;
}
#lp .lp-body h4 {
	font-size: 1.1em;
	line-height: 1.2em;
	padding: 0;
}
#lp .lp-body h4 a {
	text-decoration: none;
}
#lp .lp-body p {
	font-size: 0.9em;
	line-height: 1.5em;
}
#lp .quadruple-wrapper {
	padding: 10px;
}
#lp .quadruple-wrapper:hover {
	cursor: pointer;
}
#lp .quadruple-wrapper:nth-of-type(4n+1) {
	clear: both;
}

body.single-lp .entry h2:first-child {
	padding: 15px 0;
}
body.single-lp .entry h2 {
	text-align: center;
	padding: 20px 0 15px;
	font-size: 2.5em;
}
body.single-lp .entry h2::after {
	content: "";
	width: 0;
	height: 4px;
	display: block;
	margin: 0 auto;
	background: #000;
}
body.single-lp .entry h2.show::after {
	width: 20%;
	transition: all 1s ease .5s;
}

.lp-excerpt {
	border-bottom: 2px solid;
	border-top: 2px solid;
	display: inline-block;
	width: 25%;
	padding: 12px 0;
	font-weight: bold;
	text-shadow: #444 1px 0 10px;
}
.frame {
	background: #fff;
	/*box-shadow: 0 0 5px #c8c8c8;*/
	border: solid 1px #ccc;
	margin: 15px;
	/*border-radius: 5px;*/
	padding: 40px 40px 30px;
}
body.single-lp .frame h2 {
	padding: 30px 0;
}

/* ===============================
   LP カルーセル用（frame-container）
   =============================== */

/* 親 */
.frame-container {
 ? ?margin-bottom: 60px;
    width: 100%;
    max-width: 1440px;   /* ← ここを調整 */
    margin-left: auto;
    margin-right: auto;
}

/* カード本体 */
.frame-half {
    background: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
    display:flex;
}

/* --- 高さを揃えるための設定 --- */
.frame-container .slick-track {
    display: flex !important;
}

.frame-container .slick-slide {
    height: auto !important;
    text-align: left !important;
}

.frame-container .slick-slide > div {
    height: 100%;
}

/* --- スライド間の余白（LPだけに限定） --- */
.frame-container .slick-slide {
    margin: 0 10px;
}

.frame-container .slick-list {
    margin: 0 -10px;
}

/* --- SP（768px以下）は1枚表示前提 --- */
@media screen and (max-width: 768px) {
    .frame-half {
        padding: 20px;
    }
}

/* --- LPカルーセル用 ドット強制表示 --- */

.frame-container .slick-dots {
    bottom: -35px;   /* 少し下に出す */
}

.frame-container .slick-dots li button:before {
    font-size: 12px;
    color: #999;   /* 非アクティブ */
    opacity: 1;
}

.frame-container .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #000;   /* アクティブを黒に */
}

.frame-half {
 ?/* width: 100%; */
  /* display: block; ← 削除 */
}
.gray-flex .gray-image img {
  width: 80%;
  height: auto;
  display: block;
}
.gray-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
#media-message li {
}
#media-message .message-thumb {
float: left;
width: 40%;
padding-left: 100px;
}
#media-message .message-body {
	float: left;
	width: 60%;
	padding: 0 100px 0 50px;
	text-align: left;
}
#media-message .message-body h4 {
	
}
#media-message .message-body h4 a {
	text-decoration: none;	
}

body.tax-genre .double-wrapper,
body.post-type-archive-media-message .double-wrapper {
	padding: 20px;
}
body.tax-genre .double-wrapper:nth-of-type(2n+1),
body.post-type-archive-media-message .double-wrapper:nth-of-type(2n+1) {
	clear: both;
}


body.post-type-archive-members h2#representative-partner {
	margin-top: 0;
}

body.post-type-archive-members h2#managing-partner {
	margin-top: 0;
}

body.post-type-archive-members h2 {
	text-align: center;
	margin: 50px 0 20px 0;
	font-size: 2em;
}
body.post-type-archive-members .jobs > .triple-wrapper:nth-of-type(3n+1){
	clear: both;
}
body.post-type-archive-members .triple-wrapper {
	margin-bottom: 20px;
	background: #eee;
	overflow: hidden;
}
body.post-type-archive-members .triple-wrapper:hover {
	cursor: pointer;
}
.triple-wrapper.representative-partner,
.triple-wrapper.special-counsel,
.triple-wrapper.technilcal-advisor,
.triple-wrapper.advisor {
	float: none !important;
	margin: 0 auto;
}

.members-thumb {
	width: 30%;
	float: left;
}
.members-body {
	width: 70%;
	float: left;
	padding: 10px;
}
.members-body h4 {
	margin: 0;
	padding: 0;
	font-size: 1.1em;
}
.members-body h4 a {
	text-decoration: none;
}




.locations-nav {
    border-bottom: 1px solid #e6e6e6;
}
.locations-nav-inner {
margin: 0 auto;
padding: 5px;
overflow: hidden;
}
.locations-nav-inner .alignright,
.locations-nav-inner .alignleft {
    padding:  0;
    margin: 0;
}
.locations-nav-inner .alignleft a {
    padding: 6px 0 2px;
    text-decoration: none;
    display: block;
}
.locations-nav-inner .alignleft a:hover {
    text-decoration: underline;
}

#headerContainer {
    position: fixed;
  width: 100%;
  z-index: 10;
  top: 0;
  transition: all 0.5s ease-in-out 0s;
    border-bottom: 1px solid #e6e6e6;
}
#headerContainer #headerInner {
  margin: 0 auto;
  max-width: 1670px;
  width: 95%;
  overflow: hidden;
  padding: 9px 0 24px;
  transition: all 0.5s ease-in-out 0s;
}
#headerInner #logo {
  transition: all 0.5s ease-in-out 0s;
  float: left;
}
body.home #headerInner #logo {
  opacity: 0;
  top: 15px;
  position: absolute;
  transition: all 0.5s ease-in-out 0s;
}
body.home #headerInner #logo.show {
  opacity: 1;
  top: 15px;
  transform: scale(1);
  transition: all 0.5s ease-in-out 0s;
  width: 232px;
}
header.others {
}
header.others #headerInner {
  transiticon: all 0.5s ease-in-out;
}
header.others #headerInner #logo {
  opacity: 1;
  transform: scale(1);
  transition: all 0.5s ease-in-out 0s;
  width: 232px;
  top: 15px;
  position: absolute;
}

ul.category {
  margin: 30px 0 50px;
  text-align: center;
}
ul.category li {
  display: inline-block;
  list-style: none;
  margin: 5px 0;
  padding: 0;
  line-height: 1.8em;
}
ul.category li a {
  position: relative;
  border: 1px solid #ddd;
  padding: 10px 40px;
  font-size: 0.9em;
  line-height: 1.8em;
  text-decoration: none;
}
ul.category li a::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
ul.category li.current-cat a::after,
ul.category li a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}
.inviews {
  bottom: -30px;
  opacity: 0;
  position: relative;
/*  transform: scale(1);
*/  transition: all 1s ease 0s;
}
.inviews.show {
  bottom: 0;
  opacity: 1;
/*  transform: scale(1);
*/  transition: all 1s ease 0s;
}
/*Dropcap*/
sup {
  color: #333333;
  float: left;
  font-size: 5.5em;
  font-style: normal;
  font-weight: normal;
  line-height: 100%;
  margin-right: 5px;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: bottom;
}
/*Small is the text used in date, and bottom text*/
small {
  text-align: left;
  font-size: 70%;
}
hr {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
blockquote {
    position: relative;
    padding: 60px 20px 30px 20px;
    box-sizing: border-box;
    font-style: normal;
    background: #f1f1f1;
 ? ?color: #000;
}

blockquote:before{
    display: inline-block;
    position: absolute;
    top: 13px;
    left: 15px;
    content: "\f10d";
  font-family: "Font Awesome 5 Free";
    color: #cfcfcf;
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
}

blockquote p {
    padding: 0;
    margin: 10px 0;
    line-height: 1.7;
}

blockquote cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}
.entry {
  margin: 0;
}


#content_box {
  padding: 0;
  position: relative;
  margin: 0 auto;
  max-width: 1280px;
}
#content_box_full {
  padding: 0;
  width: 100%;
  z-index: 1;
}
#left_box {
	margin: 0 auto;
	background: transparent;
	font-size: 1em;
	width: 70%;
	float: left;
	padding: 0 2%;
}
#right_box {
    width: 30%;
    float: right;
    padding: 0 2%;
}
#right_box.fixed {
    position: fixed;
}
#right_box_inner {
    overflow: hidden;
}
/* LP１カラム用 */
#center_box {
	margin: 0 auto;
	background: transparent;
	font-size: 1em;
	width: 90%;
	float: none;
	padding: 0 2%;
}

.widecontent {
	max-width: 1680px;
	margin: 50px auto;
	overflow: hidden;
	position: relative;
	width: 100%;
}
.fullcontent {
width: 100% !important;
margin: 25px auto;
overflow: hidden;
}
.read-more {
  clear: both;
}
.more-link {
  clear: both;
}
.breadcrumb {
  font-size: 0.8em;
  line-height: 1.5em;
  margin-bottom: 50px;
  padding: 2px 10px;
  white-space: nowrap;
/*  overflow: hidden;
*/  text-overflow: ellipsis;
    text-align: center;
    width: 100%;
	display: none;
}
.breadcrumb .home:before {
content: "\f015";
  font-family: "Font Awesome 5 Free";
font-weight: 700;
}
.breadcrumb span {
    padding: 10px;
}
.breadcrumb a {
  text-decoration: none;
}
.breadcrumb .divider {
}
input, textarea, select {
  padding: 8px;
  background: #fff;
  font-size: 16px;
  border: 1px solid #c1c1c1;
font-family: inherit;
}

/* Reset Select */
.lang-select select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	outline: 0;
	box-shadow: none;
	border: 0 !important;
	background-image: none;
	line-height: 1em;
	position: initial;
	margin-top: 2px;
}
/* Remove IE arrow */
.lang-select select::-ms-expand {
  display: none;
}
/* Custom Select */
.lang-select {
  position: relative;
  width: 11em;
  height: 2em;
  line-height: 2;
  overflow: hidden;
    border: 1px solid #e6e6e6;
/*    display: flex;
*/    margin: 5px;
	display: none;
}
.lang-select select {
  flex: 1;
  padding: 0 .5em;
  cursor: pointer;
}
/* Arrow */

/*.lang-select::after {
  content: '\25BC';
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 10px;
  background: #f0f0f0;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
    color: #c1c1c1;
    font-size: 12px;
}
*/
.lang-select::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 10px;
  background: #e72d12;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
/* Transition */
.lang-select:hover::after {
  color: #9B9B9B;
}



textarea {
  width: 100%;
}
.inquiry-box {
  margin: 50px auto;
  width: 100%;
}
.inquiry-box th {
  padding: 10px 20px;
  font-weight: bold;
  width: 30%;
  text-align: left;
}
.inquiry-box td {
 ?padding: 10px;
}
.kakunin-link {
  margin: 15px 0;
  text-align: center;
}
.button-link {
  text-align: center;
}
.hissu {
  float: right;
  margin: 6px 6px 0;
}
.entry ul, .entry ol {
  margin: 0 0 0 10px;
  padding: 0;
}
.entry ul li {
  line-height: 1.6em;
  margin: 3px 0 5px;
  padding: 0;
  list-style: none;
}
.entry ul:not([class]) li::before {
  content: "\f111";
font-family: "Font Awesome 5 Free";
width: 20px;
height: 20px;
margin: 0;
color:#B7B7B7;
font-weight: 900;
padding: 0 0 25px 0;
float: left;
font-size: 0.7em;
}
.entry ol li {
  margin: 3px 0 5px 20px;
  line-height: 1.7em;
}
.entry ul.checks li::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  width: 20px;
  height: 20px;
  margin: 0 10px 0 0;
  color: #6C9DB7;
  font-weight: 500;
  padding: 3px 0 25px 0;
  float: left;
}
.navright {
  float: right;
}
.navleft {
  float: left;
}
.navcenter {}
.wp-pagenavi {
  margin: 100px 0;
  padding: 10px 0;
  text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
  background: none repeat scroll 0 0 #DDDDDD;
  border: 1px solid #DDDDDD !important;
  font-size: 15px;
  line-height: 1.5em;
  padding: 12px 17px !important;
  text-decoration: none !important;
  display: inline-block;
}
.wp-pagenavi a:hover, .wp-pagenavi span:hover {
  background: #999999;
}
.wp-pagenavi span.current {
  background: none repeat scroll 0 0 #999999;
  border: 1px solid #999999 !important;
  color: #FFF;
}
#loading {
  background: url("images/ajax-loader2.gif") no-repeat scroll center center #fff;
  padding: 100px 0;
  text-indent: -9999px;
  width: 100%;
  height: 100%;
}
#home-loading-icon {
  background: url("images/logo.png") no-repeat scroll center center #fff;
  background-size: 400px;
  padding: 10px;
  position: absolute;
  text-indent: -9999px;
  z-index: 10000;
  width: 100%;
  height: 100%;
  display: block;
}
#home-loading-icon.loaded {
  animation: hideop 1s linear 0s;
  animation-fill-mode: forwards;
}
@keyframes hideop {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.slick-prev, .slick-next {
  opacity: 0.4;
}
#main {
  background: none repeat scroll 0 0 #000;
  overflow: hidden;
}
/* Clear (used for horizontal thumbnails)
-------------------------------------------*/
.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
  float: none;
}
span.wpcf7-list-item label {
  display: inline-block !important;
  margin: 4px 11px;
}

p.nocomments {
  display: none;
}
.new-icon {
  vertical-align: inherit !important;
}
.wpcf7-response-output {
    
}
form {
  margin: 0 !important;
}
.prev-posts a {
  background: url("images/prev-posts.png") no-repeat scroll left top transparent;
  left: 0;
  position: fixed;
  top: 50%;
  text-indent: -9999px;
  width: 64px;
  height: 150px;
  margin: -80px 0 0;
}
.next-posts a {
  background: url("images/next-posts.png") no-repeat scroll left top transparent;
  right: 0;
  position: fixed;
  top: 50%;
  text-indent: -9999px;
  width: 64px;
  height: 150px;
  margin: -80px 0 0;
}
.next-posts a.nomore {
  background: url("images/next-posts-nomore.png") no-repeat scroll left top transparent;
}
.prev-posts a.nomore {
  background: url("images/prev-posts-nomore.png") no-repeat scroll left top transparent;
}
.navigation {
  font-size: 13px;
  overflow: hidden;
  clear: both;
}
.box-center {
  width: 1000px;
  margin: 0 auto;
}
/*オリジナル*/
a.button::before {
	height: 1px;
	background: #000;
	content: "";
	width: 80px;
	display: block;
	float: left;
	margin: 11px 15px 0 0;
	transition: all 0.3s ease-in-out 0s;
}
a.button:hover::before {
	width: 50px;
  transition: all 0.3s ease-in-out 0s;
}
a.button {
  background: transparent none repeat scroll 0 0;
  cursor: pointer;
  display: inline-block;
  line-height: 1.2em;
 ?margin: 5px 0;
  min-width: 200px;
  padding: 5px 0;
  text-decoration: none;
  transition-delay: 0s;
  transition-duration: 150ms;
  transition-property: background, color;
  transition-timing-function: linear;
  vertical-align: bottom;
  font-size: 16px;
  border-radius: 3px;
  font-weight: 500;
	font-family: 'EB Garamond', serif;

}
a.button:hover {
}
a.button-white {
  border: 2px solid #FFFFFF !important;
  color: #FFF !important;
}
a.button-white:hover {
  background: #FFFFFF;
  color: #e72d12 !important;
}

.show-image {
  margin: 0;
  padding: 0;
}

body.archive,
body.page,
body.single-lp {
	background: #fff;
}
body.archive .hero,
body.page .hero,
body.single-lp .hero {
	height: 300px;
	position: absolute;
	top:0;
}

.hero-inner .tags,
.hero-inner h1.plane {
	margin: 12px 0  !important ;
	padding: 0 !important;
	text-transform: capitalize;
	text-shadow: #000000 1px 0 10px;
}

.hero {
	width: 100%;
	max-height: 100vh;
	text-align: center;
}
.hero .hero-inner {
	z-index: 1000;
	width: 100%;
	color: #fff;
	position: absolute;
	left: 50%;
	top: 60%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#door {
	height: 300px;
	width: 100%;
	max-height: 100vh;
	background-color: #6a6a6a;
}
#door img,
#door video {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.show-image-content {
  left: 10%;
  width: 40%;
  bottom: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.headline {
  clear: both;
  margin: 0 auto;
  max-width: 1280px;
  z-index: 0;
  padding: 0;
  overflow: hidden;
}
.headline article {
  line-height: 1.8em;
  margin: 10px auto;
  overflow: hidden;
  padding: 0 10px;
  text-align: center;
  width: 90%;
}
.wide-image {
  margin: 0;
  padding: 0;
  width: 100%;
}
.wide-image img {
  width: 100%;
  height: auto;
}
.spacer {
  margin: 30px 0;
}
.full-wrapper {
  clear: both;
  margin: 0 auto;
  overflow: hidden;
  z-index: 0;
}.boxes-wrapper {
  clear: both;
  margin: 0 auto;
  max-width: 1680px;
  overflow: hidden;
  z-index: 0;
}
.boxes-wrapper.colored {
  background: #f1f1f1;
}
.single-wrapper {
  width: 100%;
  float: left;
}
.two-thirds-wrapper {
  float: left;
  width: 66.6666%;
}
.double-wrapper {
  float: left;
  width: 50%;
}
.triple-wrapper {
  margin: 1%;
  width: 31.3333%;
  float: left;
}

.quadruple-wrapper {
  width: 25%;
  float: left;
}

.quintuple-wrapper {
  width: 20%;
  float: left;
}
.one-twentieth-wrapper {
  width: 5%;
  float: left;
}
.boxes-image {
  overflow: hidden;
}
.boxes-image img {
  width: auto;
  height: auto;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.boxes-image:hover img, .boxes-image:focus img {
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

body.home #news {
	background: #f4f4f4;
	padding: 0 0 100px;
}
body.home ul#news-list {
margin: 20px 0 0 20px;
}
ul#news-list {
margin:0;
padding: 0;
}
ul#news-list li {
  list-style: none;
  display: block;
  overflow: hidden;
  padding: 15px 0;
}
ul#news-list li div {
  display: table-cell;
  vertical-align: top;
}
.news-date {
  padding: 10px 20px 10px 0;
    min-width: 7em;
}
.news-cat {
  padding: 7px 30px 7px 0;
}
.news-cat p {
  min-width: 150px;
  text-align: center;
  border: 1px solid #ddd;
  display: inline-block;
  margin: 0;
  font-size: 0.8em;
}
.news-cat p a {
width: 100%;
height: 100%;
padding: 3px 10px 0;
display: block;
text-decoration: none;
line-height: 1.5em;
}
.news-title {
  padding: 10px 0 10px 0;
}
.date-format {
  color: #999;
  font-size: 14px;
  margin-bottom: 5px;
}
.single #carousel {
  margin: 5px 0 20px !important;
  position: relative;
}
.single .flexslider {
  overflow: hidden;
  position: relative;
}
.single .flexslider li {
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#carousel ul {
  width: 100% !important;
}
#carousel .slides > li {
  width: 16.65% !important;
}
#carousel .slides > li:nth-child(6n) {
  margin: 0 !important;
}
#carousel .slides > li:nth-child(6n+1) {
  clear: both;
}
#carousel .gallery-caption {
  font-size: 0.8em;
  cursor: pointer;
}
#carousel .flex-active-slide {
  background: #e7e7e7;
  border-radius: 2px;
}
#carousel .flex-active-slide img {
  opacity: 1;
  padding: 5px;
}
.gallery-caption {
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 1.2em;
}
.gallery-caption span {
  padding: 5px 10px;
  display: block;
}
.tgl-box {
  position: relative;
  padding: 0;
  margin: 0;
  display: none;
}
.tgl {
  background: url("images/tgl-bg.png") no-repeat scroll left top #000000;
  bottom: 0;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 12px;
  height: 20px;
  line-height: 1.7em;
  margin: 0;
  opacity: 0.5;
  padding: 0;
  position: absolute;
  right: 0;
  text-indent: -9999px;
  width: 20px;
}
.tgl.active {
  background: url("images/tgl-bg.png") no-repeat scroll left -20px #000000;
}

.boxes-wrapper h2 {
  margin: 30px 0 20px;
}
.boxes-wrapper h3 {
  margin: 30px 0 20px;
}

.slider,
.slider .slick-slider,
.slider .slick-slide,
.slider .slick-list {
height: 80vh !important;
margin-top: 0;
}

.slider {
  margin: 0 auto;
  overflow: hidden;
}

.slider img {
  transform-origin: center center;
  transform: scale(1.0) rotate(0.1deg);
  transition: 10s ease-out;
}
.slider .slick-active img {
  transform: scale(1.1);
}


.maplink {
  margin: 5px 20px;
  background: #ffba40;
  padding: 5px 9px;
  border-radius: 3px;
  display: inline-block;
}
.select {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}
.select select {
  display: inline-block;
  padding: 10px 30px 10px 20px;
  cursor: pointer;
  color: #7b7b7b;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.select select::-ms-expand {
  display: none;
}
.select select:hover, .select select:focus {
  color: #000;
  background: #e2edd7;
}
.select select:disabled {
  pointer-events: none;
  opacity: .5;
}
.select::after {
  content: '';
  position: absolute;
  top: 19px;
  right: 15px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-width: 8px 5px 0 5px;
  border-style: solid;
  border-color: #7b7b7b transparent transparent transparent;
}
.select select:hover ~ .select__arrow, .select select:focus ~ .select__arrow {
  border-top-color: #000;
}
.select select:disabled ~ .select__arrow {
  border-top-color: #ccc;
}
span.new-mark {
  padding: 2px 5px;
  background: red;
  border-radius: 2px;
  color: #fff;
  margin: 0 5px;
  font-size: 12px;
  line-height: 1rem;
}
span.required {
	padding: 5px 7px 2px;
	background: orange;
	border-radius: 2px;
	color: #fff;
	margin: 0 5px;
	font-size: 12px;
	line-height: 1em;
	vertical-align: text-top;
}
input[type=radio], input[type=checkbox] {
  display: none;
}
.wpcf7-radio .wpcf7-list-item-label, .wpcf7-acceptance .wpcf7-list-item-label, .wpcf7-checkbox .wpcf7-list-item-label {
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  position: relative;
  display: inline-block;
  margin: 0 20px 8px 0;
  padding: 12px 12px 12px 42px;
  border-radius: 4px;
  background-color: #fff;
  vertical-align: middle;
  cursor: pointer;
}
.wpcf7-radio .wpcf7-list-item-label:hover, .wpcf7-acceptance .wpcf7-list-item-label:hover, .wpcf7-checkbox .wpcf7-list-item-label:hover {
  background-color: #e2edd7;
}
.wpcf7-radio .wpcf7-list-item-label:hover:after, .wpcf7-acceptance .wpcf7-list-item-label:hover:after, .wpcf7-checkbox .wpcf7-list-item-label:hover:after {
  border-color: #53b300;
}
.wpcf7-radio .wpcf7-list-item-label:after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  margin-top: -10px;
  width: 18px;
  height: 18px;
  border: 2px solid #bbb;
  border-radius: 50%;
  content: '';
}
.wpcf7-acceptance .wpcf7-list-item-label:after, .wpcf7-checkbox .wpcf7-list-item-label:after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  margin-top: -10px;
  width: 18px;
  height: 18px;
  border: 2px solid #bbb;
  border-radius: 3px;
  content: '';
}
.wpcf7-radio .wpcf7-list-item-label:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 19px;
  display: block;
  margin-top: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #53b300;
  content: '';
  opacity: 0;
}
input[type=radio]:checked + .wpcf7-list-item-label:before {
  opacity: 1;
}
.wpcf7-acceptance .wpcf7-list-item-label:before, .wpcf7-checkbox .wpcf7-list-item-label:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 20px;
  display: block;
  margin-top: -11px;
  width: 9px;
  height: 15px;
  border-right: 3px solid #53b300;
  border-bottom: 3px solid #53b300;
  content: '';
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 10;
}
input[type=checkbox]:checked + .wpcf7-list-item-label:before {
  opacity: 1;
}
input[type="submit"]:hover {
  background: #FF7F00;
}
input[type="submit"] {
  margin: 10px;
  padding: 15px 60px;
  cursor: pointer;
  background: #FF942A;
}
input[type="submit"][disabled] {
  background: #999999 none repeat scroll 0 0;
  cursor: default;
  color: #000;
}
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"], input[type="button"] {
  border-radius: 3px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration, input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus, input[type="button"]::focus {
  outline-offset: -2px;
}
.ggmap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  border: 20px solid #fff;
}
.ggmap iframe, .ggmap object, .ggmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
iframe {
    width: 100%;
}
.youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#inquiry {
  background: #BFBFBF;
}
#inquiry .headline {
  background: #fff;
  max-width: 800px;
  text-align: center;
  margin: 70px auto;
  border-radius: 5px;
}
body.page-contact #inquiry .double-wrapper {
  padding: 20px 10px 30px;
}
#inquiry .double-wrapper {
  padding: 40px 10px 20px;
}
#inquiry .double-wrapper:first-child {
  border-right: 1px solid #BFBFBF;
}
#video {
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  position: relative;
}



a.cli_settings_button {
 color: #000 !important;
}

nav#sub-menu ul {
    margin: 0 10px 0;
padding: 0;
    font-size: 0.9em;
}
nav#sub-menu ul li {
    float: left;
    list-style: none;
}
nav#sub-menu ul li a {
    text-decoration: none;
line-height: 1.5em;
padding: 11px 11px 6px;
display: block;
}
nav#sub-menu ul li a:hover {
	text-decoration: underline;
}


.drawer-brand h1 {
    margin: 0;
    padding: 0;
}
.slick-active .slick-content {
opacity: 1;
transition: all 1s ease-in-out .5s;
}
.slick-content {
z-index: 1000;
width:100%;
text-align: center;
opacity: 0;
color: #fff;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.slick-content h3 {
font-size: 3.5rem;
color:#fff;
line-height: 4.8rem;
padding: 0;
/*text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.5);*/
text-shadow: #000 1px 0 10px;
}
.slick-content  p {
	font-weight: 600;
	text-shadow: #000 2px 5px 10px;
}


footer {
background: #e8e8e8;
}
footer .boxes-wrapper .headline {
	padding: 50px 0;
}
footer ul {
	margin: 0 0 15px;
	padding: 0;
}
footer ul li {
	text-align: left;
	list-style: none;
    margin-bottom: 5px;
}
footer h4 {
	padding: 10px 0;
	font-size: 1.05rem;
}
footer ul li a {
text-decoration: none;
}
footer ul li a:before {
    content: '-';
    padding: 0 10px 0 0;
}
footer ul li a:hover {
	text-decoration: underline;
}
footer .copyright {
	margin: 0;
	background: #fff;
    font-size: 0.8rem;
}
.footer-logo {
	float: left;
	width: 250px;
    padding: 17px 0;
}
.footer-copyright {
float: left;
line-height: 1.5rem;
margin:18px 20px;
    color: #000;
}
footer h5 {
    padding: 0;
}

.side-boxes {
    margin: 0 0 20px;
}

ul.main-menu {
    margin: 1px 0 1px 0;
    padding: 0;
	font-weight: bold;
}
ul.main-menu li {
    list-style: none;
}
ul.main-menu li a {
    position: relative;
    transition: all 0.5s ease-in-out 0s;

}
ul.main-menu li a:hover {
    text-decoration: none;
    color: #000;
    transition: all 0.5s ease-in-out 0s;

}

ul.main-menu li a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
ul.main-menu li.current-cat a::after,
ul.main-menu li a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

.lang.mobile,
nav#sub-menu.mobile {
    display: none;
}
#cookie-law-info-again,
#cookie-law-info-bar {
    box-shadow:  rgba(0,0,0,.8) 0px 0px 4px !important;
    right: 0 !important;
}

li.widget {
    list-style: none;
}
.widgettitle {
border-bottom: 1px solid #1A1A1A;
font-size: 1.3em;
line-height: 1.5em;
list-style: none outside none;
margin: 5px 0 15px;
padding: 5px 0;
    font-family: 'EB Garamond', serif;
}
li.widget_calendar table td, li.widget_calendar table th {
	padding: 10px;
	text-align: center;
	line-height: 1em;
}
table#wp-calendar caption {
    margin-bottom:10px;
}
.side-boxes li ul {
    padding: 0;
}
.side-boxes li  ul li {
    list-style: none;
}
.side-boxes li ul li a {
    text-decoration: none;
    width: 100%;
    display: block;
    padding: 10px;
    transition: all 0.5s ease-in-out 0s;
}
.side-boxes li li a:hover {
    background: #ececec;
    transition: all 0.5s ease-in-out 0s;
}
.side-boxes li li::before {
 content: "\f105";
font-family: "Font Awesome 5 Free";
width: 20px;
height: 20px;
margin: 0;
color:#B7B7B7;
font-weight: 900;
float: left;
padding: 9px 0 0 5px;
}



ul.ez-toc-list {
    margin: 0 !important;
    padding: 0 !important;
}
ul.ez-toc-list li > ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}
ul.ez-toc-list li a {
    border-bottom: 1px solid #dbdbdb;
    padding: 0;
    transition: all 0.5s ease-in-out 0s;
}
ul.ez-toc-list > li:hover > a,
ul.ez-toc-list > li.current-cat > a,
ul.ez-toc-list > li.active > a {
    background: #ececec;
    transition: all 0.5s ease-in-out 0s;
}
ul.ez-toc-list > li > li:hover > a,
ul.ez-toc-list > li > li.active > a {
    background: #ececec;
    transition: all 0.5s ease-in-out 0s;
}

ul.ez-toc-list li a {
text-decoration: none;
line-height: 1.4em;
padding: 10px 15px;
display: block;
}
.ez-toc-widget-container {
    white-space: normal !important;
}
.ez-toc-widget-container ul.ez-toc-list li.active::before {
    display: none;
}






/*--fixed-index--*/
.is-fixed {
    position: fixed !important;
    top: 123px;
    left: auto;
    z-index: 1;
}
.bottom-side {
    position: absolute;
    bottom: 0;
    z-index: 1;
}
/*--fixed-index--*/
#news.boxes-wrapper {
    overflow: inherit;
}

select#name::-ms-expand,
select#cat::-ms-expand,
select[id^="archives-dropdown-"]::-ms-expand {
    display: none;
}
select#name,
select#cat,
select[id^="archives-dropdown-"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin-bottom: 20px;
	padding: 14px;
	font-size: 93%;
	line-height: 1.1em;
	border-radius: 0;
	border: 1px solid #cecece;
	background-image: url("images/toggle.png");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-color: #fff;
	width: 100%;
	background-size: 13px;
}

	
.searchform {
  position: relative;
}
.searchfield {
  font-size: 14px;
  width: 90%;
  margin: 3px;
  padding: 10px;
  border: solid 1px #bbb;
  border-radius: 4px;
  background-color: #efefef;
}
.searchsubmit {
font-family: "Font Awesome 5 Free";
  font-size: 1.4em;
  position: absolute;
  top: 0;
  right: 8%;
  margin-top: 10px;
  padding: 0;
  cursor: pointer;
  color: #6297f5;
  border: none;
  background: transparent;
}
.searchsubmit:hover {
  opacity: .6;
}
#side-search i {
	margin: 0 1%;
	color: #a4a4a4;
	width: 5%;
	text-align: center;
	font-size: 0.6em;
}
#side-search input#s,
#side-search select {
	width: 100%;
	line-height: 1.4em;
	font-size: 16px !important;
	margin: 0;
	/* float: left; */
	padding: 8px !important;
	height: 44px;
	border: 1px solid #cdcdcd;
}
#side-search input#submit {
    width: 100%;
margin: 10px 0;
    background: #e72d12;
    color: #fff;
}

body.search-results #left_box #side-search i {
	width: 2%;
}
body.search-results #left_box #side-search input#submit,
body.search-results #left_box #side-search input#s,
body.search-results #left_box #side-search select {
 	width: 30%;   
}
body.search-results #left_box #side-search input#submit {
padding: 10px;
margin-left: 1%;
}

body.search-results #left_box li {
    border-bottom: 1px solid #cdcdcd;
}
body.search-results h4 {
    padding: 0;
}
body.search-results h4 a {
    text-decoration: none;
}

li.widget.widget_recent_entries li {
    margin-bottom: 10px;    
}
li.widget.widget_recent_entries li a {
    text-decoration: none;    
}
li.widget.widget_recent_entries li span.post-date {
    font-size: 0.8em;
    color: #B5B5B5;
}


.index-box {
	width: 100%;
	margin: 0 auto;
	text-align: center;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 0;
}
.index-box .slides  li:first-child {
       border-left: 1px solid #e6e6e6;
 }
.index-box .slides  li {
    background: #fff none repeat scroll 0 0;
    border-right: 1px solid #e6e6e6;
    margin: 3px 0;
  transition: all 0.3s ease-in-out 0s;
}
.index-box .slides  li.current_page_item {
	background: #e6e6e6;
  transition: all 0.3s ease-in-out 0s;
}
.index-box .slides  li:hover {
	background: #e6e6e6;
  transition: all 0.3s ease-in-out 0s;
}

.index-box .slides  li a {
    display: block;
    height: 100%;
    overflow: hidden;
    padding: 20px 5px;
    text-decoration: none;
    text-transform: uppercase;
}

.frame-2 {
	background: #1e73be;
	/*box-shadow: 0 0 5px #c8c8c8;*/
	margin: 15px;
	border-radius: 5px;
	padding: 40px 40px 20px;
}
body.single-lp .frame-2 h2 {
	padding: 30px 0;
}
body.single-lp .frame-2 p {
	color: #ffffff;
	font-size: 120%;
}

.frame-3 {
	background: #e6f4ff;
	border-color: #1e73be;
	margin: 15px;
	border-radius: 0px;
	padding: 20px 20px 15px;
}
body.single-lp .frame-2 h3 {
	color: #698eb5;
	padding: 30px 0;
}
body.single-lp .frame-3 p {
	color: #000;
	font-size: 100%;
}

.frame-ml {
	width: 100%;
	background: #f8f8f8;
	margin: 0px;
	padding: 10px;
}
.frame-ml h3 {
	font-size: 18px;
	text-align: center;
	padding: 15px;
}

.sticky-2 {
	width: 100%;
	background: #f8f8f8;
	margin: 0px;
	padding: 10px;
}
.sticky-2 h3 {
	font-size: 24px;
	text-align: center;
	padding: 15px;
}
.sticky-2 h3 a{
	font-size: 24px;
	text-align: center;
	padding: 15px;
	font-size: bold;
}
.frame-4{
    margin:2em 0;
    position: relative;
    padding: 1.5em 1.5em;
    border-top: solid 1px #CCCCCC;
    border-bottom: solid 1px #CCCCCC;
	font-weight: 500;
}
.frame-4:before, .frame-4:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #CCCCCC;
}
.frame-4:before {left: 10px;}
.frame-4:after {right: 10px;}
.frame-4 p {
    margin: 0; 
    padding: 0;
}
.frame-5 {
    background: #dbeeff;
    padding: 0px 5px 0px 16px;
}
.frame-5 h3{
    font-size: 20px;
    color: #034974;
}

.hissu-iad {
font-size: 13px;
margin: 10px 10px 0px;
background-color: red;
color: #fff;
padding: 3px 5px 1px 5px;
}

.mincho-big {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
	font-style: italic;
	font-weight: bolder;
	color: #0d3199;
	font-size: 24pt;
	margin-bottom: 1px;
}
.mincho-middle {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
	font-weight: bolder;
	color: #000;
	font-size: 18pt;
	margin-bottom: 1px;
	line-height: 150%;
}
.mincho-small {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
	font-weight: bolder;
	color: #000;
	font-size: 15pt;
	margin-bottom: 1px;
	line-height: 150%;
}
.impact-big {
    font-family: 'impact';
	font-style: italic;
	font-weight: bold;
	color: #0a3772;
	font-size: 24pt;
	margin-bottom: 1px;
}
.impact-middle {
    font-family: 'impact';
	font-weight: normal;
	color: #235499;
	font-size: 18pt;
	margin-bottom: 1px;
	line-height: 150%;
	word-break: normal;
}
.impact-p {
    font-family: 'impact';
	word-break: normal;
}

/*---------------------------------
アコーディオンボックス
--------------------------------*/
.acbox{
  width: auto;
  font-size:0px; /* ラベルと開く部分を分離する時は数値を入れる */
  margin:2px 0px; /* ボックス全体の位置調整 */
}

.acbox label{
  width: auto;
  font-size: 14pt; /* ラベルの文字サイズ */
  font-weight: bold;
  text-align: left;
  background: #ffffff; /* ラベルの背景色 */
  position: relative;
  display: block;
  padding:8px;
  /* border-radius: 4px; /* ラベルの角の丸み */ */
  cursor: pointer;
  color: #000;
  padding:25px 50px 20px 20px;
  line-height: 175%;
  border: solid 1px #CCC
/*  border-bottom: solid 1px #ccc; */
/*  border-right: solid 1px #ccc; */
}

.acbox label:hover{
  background: #ccc; /* ラベルにマウスを乗せた時の背景色 */
}

.acbox input{
  display: none;
}

.acbox label:after{
  color: #ff6c00;
  content:"▼"; /* ラベルのアイコン */
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -14px;
}

.acbox input:checked ~ label::after {
  content:"▲"; /* ラベルをクリックした後のアイコン */
}

.acbox div{
  height: 0px;
  overflow: hidden;
  opacity: 0;
 ?/*transition: 0.15s; /* 開閉スピードの設定 */ */
}

.acbox input:checked ~ div{
    height: auto;
    padding: 21px;
    border-radius: 0px;
    background-color: #fff;
    opacity: 1;
    font-size: 12pt;
    border: solid 1px #ccc;
 ? ?line-height: 125%;
    font-weight: 400;
}

.acbox input:checked ~ label {
  background: #f5f5f5; /* クリック後のラベルの背景色 */
}

.acbox-under{
  font-size: 15pt; /* 開いた部分の文字サイズ */
  color: #000; /* 開いた部分の文字色 */
}

/*---------------------------------
画像とテキストのレイアウトボックス
--------------------------------*/

.smaller-font{
	font-size: smaller;
}

/*---------------------------------
経歴表示用 dl_dd_dt
--------------------------------*/
/* プロフィール関係表示 */
/* Definition list
-----------------------------------------------------------------------------*/
 
#left_box .lp-history dt {
  font-weight: normal;
  float: left;
}
#left_box .lp-history dd {
margin-left: 100px;
margin-bottom: 10px;
}

/* 蛍光マーカー風 */
span.marker {
    background: linear-gradient(transparent 50%, #fff78c 50%);
}
/* 蛍光マーカー風 pink */
span.marker-pink {
    background: linear-gradient(transparent 50%, #ffd5e3 50%);
}

/* ボックスレイアウト追加 */

/* ===============================
   ベース設定
================================ */

/* 左・中央ボックス共通 */
#left_box,
#center_box {
    --box-bg: #f5f5f5;
    --header-bg: #e3e3e3;
    --header-color: #184b81;
    --border-color: #e3e3e3;
}

/* フレックスコンテナ */
.wp-flex-container {
    background-color: var(--container-bg);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: left;
}

/* 各ボックス */
.wp-flex-box {
    background-color: var(--box-bg);
	flex: 1;
    min-width: 200px;
    max-width: 480px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

/* ヘッダー */
.wp-flex-header {
    background-color: var(--header-bg);
    color: var(--header-color);
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 1.3em;
}

/* コンテンツ */
.wp-flex-content {
    background-color: var(--content-bg);
	flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: left;
}


/* ===============================
   White テーマ
================================ */

.is-white {
    --container-bg: none;
	--box-bg: #ffffff;
    --header-bg: #ffffff;
    --header-color: #000000;
    --border-color: #dddddd;
}


/* レイアウト構造　*/
 ? ? ? ?/* 1列レイアウト */
        .wp-flex-1col .wp-flex-box {
            flex: 1 1 calc(100% - 10px);
        }

        /* 2列レイアウト */
        .wp-flex-2col .wp-flex-box {
            flex: 1 1 calc(50% - 10px);
        }

        /* 3列レイアウト */
        .wp-flex-3col .wp-flex-box {
            flex: 1 1 calc(33.33% - 10px);
        }

        /* 4列レイアウト */
        .wp-flex-4col .wp-flex-box {
            flex: 1 1 calc(25% - 10px);
        }

        @media (max-width: 768px) {
            .wp-flex-3col .wp-flex-box, .wp-flex-4col .wp-flex-box {
                flex: 1 1 calc(50% - 10px);
            }
        }

        @media (max-width: 480px) {
            .wp-flex-2col .wp-flex-box, .wp-flex-3col .wp-flex-box, .wp-flex-4col .wp-flex-box {
                flex: 1 1 100%;
            }
        }

}

/* ボックスレイアウト　Stage2　*/
/* コンテンツ全体のスタイル */
#left_box .wp-content-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    padding: 10px;
}

/* 各ボックスのレイアウト */
.wp-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border: 2px solid #e3e3e3;
}

/* 左側の見出しボックス */
.wp-title-box {
    background-color: #00588b;
    color: white;
    flex: 1 1 250px;
    min-width: 200px;
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 右側のテキストボックス */
.wp-text-box {
    flex: 3 1 600px;
    min-width: 300px;
    padding: 20px;
    background-color: white;
}

/* レスポンシブ対応（画面が狭い場合は縦に並べる） */
@media (max-width: 768px) {
    .wp-box {
        flex-direction: column;
    }

    .wp-title-box {
        width: 100%;
    }

    .wp-text-box {
        width: 100%;
    }
}


/* youtubeサンプル用フレーム */
.frame-youtube{
    margin: 2em 0;
    position: relative;
    padding: 0.5em 0.5em;
    border: solid 1px #CCCCCC;
    font-weight: 500;
    max-width: 640px;
    height: auto;
}
}

.divlink a{
	vertical-align: top;
	margin: 0px;
	padding: 0px;
}

/* 試作用CSS　*/
/* ボックスレイアウト　Stage3　*/
/* コンテンツ全体のスタイル */
#left_box-2 .wp-content-block-2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    padding: 10px;
}

/* 各ボックスのレイアウト */
.wp-box-2 {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /*border: 2px solid #e3e3e3;*/
}

/* 左側の見出しボックス */
.wp-title-box-2 {
    /*background-color: #00588b;*/
    color: white;
    flex: 1 1 250px;
    min-width: 200px;
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

/* 右側のテキストボックス */
.wp-text-box-2 {
    flex: 3 1 600px;
    min-width: 300px;
    padding: 20px;
    /*background-color: white;*/
}

/* レスポンシブ対応（画面が狭い場合は縦に並べる） */
@media (max-width: 768px) {
    .wp-box-2 {
        flex-direction: column;
    }

    .wp-title-box-2 {
        width: 100%;
    }

    .wp-text-box-2 {
        width: 100%;
    }
}

.h-ex{
	font-size: 18pt;
	text-align: center;
	/*margin: 0px;*/
    /*padding: 0px 0px 0px 10px;*/
    background-color: #034974;
    color: #fff;
    line-height: 110px;
	display: block;
}

/*ヘッダーなし固定ページ用追加設定*/
.hero-inner-small .tags,
.hero-inner-small h1.plane {
	margin: 12px 0  !important ;
	padding: 0 !important;
	text-transform: capitalize;
}

.hero-small {
	width: 100%;
	max-height: 30vh;
	text-align: center;
}
.hero-small .hero-inner-small {
	z-index: 1000;
	width: 100%;
	color: #fff;
	position: absolute;
	left: 50%;
	top: 30%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#door-small {
	height: 300px;
	width: 100%;
	/*max-height: 100vh;*/
	background-color: #f4a242;
	padding-top: 150px;
	color: #fff;
}

/*　お問い合わせ用ボタンCSS */
#left_box .contact-btn,
#center_box .contact-btn {
    display: flex;
    align-items: center;      /* ← 縦方向の中央揃え */
    justify-content: center;  /* ← 横方向の中央揃え */
    gap: 8px;                 /* アイコンと文字の余白 */
    
    width: 75%;
    margin: 20px auto;
    padding: 15px 0;
    background-color: #ff8c42;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
#left_box .contact-btn:hover,
#center_box .contact-btn:hover {
    background-color: #ff7b22;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
#left_box .contact-btn i,
#center_box .contact-btn i {
    margin-right: 8px;
    font-size: 1.2em;
}

/* PC表示にmenuのコンタクトだけオレンジ色 */
@media screen and (min-width: 1024px) {
 .drawer-menu li:has(a[href*="/contact"]) > a {
   background-color: #e72d12;
   color: #ffffff;
   font-weight: 600;
 }
｝

/* PC表示時にフローティングボタンを非表示 */
@media (min-width: 769px) {
    .lp-floating-contact {
        display: none !important;
    }
}

/* ======================
 ? Gray Area 設定
====================== */
.gray-area {
  background-color: #f5f5f5;
  padding: 20px;
  margin: 15px 0;
}
@media (max-width: 768px) {
  .gray-area {
    background-color: #f5f5f5;
 ? ?padding: 20px 5px 5px 5px;
  }
}
.gray-heading {
  margin: 15px 0px;
}

/* ======================
   左右レイアウト
====================== */
.gray-flex {
  display: flex;
  gap: 30px;
  align-items: stretch; /* ← flex-start から変更 */
}

/* 反転 */
.gray-flex.reverse {
  flex-direction: row-reverse;
}

/* 画像 */
.gray-image {
  width: 30%;
}

.gray-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */
/* .gray-text {
  width: 70%;
}
	*/
	
@media (max-width: 767px) {

  .gray-flex {
    flex-direction: column;
  }

  .gray-flex.reverse {
    flex-direction: column; /* スマホでは反転しない */
  }

  .gray-image,
  .gray-text {
    width: 100%;
  }


/* フル幅のアコーディオン */
.gray-ac-full {
  width: 100%;
  background-color: #f5f5f5;
  padding: 20px;
  margin: 15px 0;
}

.gray-ac-full .acbox-under {
  margin-top: 10px;
}

} /*gray area設定ここまで */

/* 左イメージ右テキスト・左テキスト右イメージ */
.custom-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.custom-layout.image-right {
  flex-direction: row-reverse;
}

.custom-image {
  flex: 1 1 300px;
  max-width: 400px;
}

.custom-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.custom-content {
  flex: 2 1 300px;
  max-width: 600px;
}

.custom-heading {
  background-color: #007acc;
  color: #fff;
  padding: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.custom-textbox {
  background: #fff;
  padding: 15px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  line-height: 1.8;
  font-size: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .custom-layout {
    flex-direction: column;
  }

  .custom-layout.image-right {
    flex-direction: column;
  }

  .custom-image, .custom-content {
    max-width: 100%;
  }

  .custom-heading {
    text-align: center;
  }
}
	
/* =========================
   比較ボックス
   ========================= */
/* ===== 比較ブロック（PC用） ===== */

/* 全体レイアウト */
.compare-wrap {
  display: flex;
  align-items: stretch; /* ← 高さを揃える */
  gap: 24px;
  margin: 15px 0px 30px 0px;
}

/* ボックス共通 */
.compare-box {
  flex: 1;
  background: #fff;
  padding: 0px 0px 15px 0px;
}

/* 見出し */
.compare-title {
  font-weight: bold;
  color: #fff;
  padding: 10px 16px;
  margin-bottom: 16px;
}

/* 左右で色を変える */
.compare-left .compare-title {
  background: #9e9e9e;
}

.compare-right .compare-title {
  background: #1fa4ad;
}

/* リスト */
.compare-box ul {
  padding-left: 1.2em;
  margin: 0;
}

.compare-box li {
  /*margin-bottom: 0.6em;*/
  margin: 3px 5px 5px;
}

/* 矢印（任意） */
.compare-arrow {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #1fa4ad;
  align-self: center;
}

/* DBS用説明SPAN　*/
.dbs {
  font-size: 17px;
  background-color: #1fa4ad;
  font-weight: bold;
  color: #fff;
  padding: 10px 10px 6px 10px;
  line-height: 2.2em;
}

/* 保育用CSS　*/
body.postid-1619.single .entry p{
  margin-top: 5px;
}
body.postid-1619 .entry h2
 {
    text-align: center;
    padding: 20px 0 10px;
    font-size: 2.5em;
}
body.postid-1619 h3 {
    font-size: 24px;
    padding: 10px 0px 0px 0px;
}
body.postid-1619 h4 {
    font-size: 18px;
    padding: 0px;
	margin: 15px 0px 0px;
}
/* 初期：スマホ用は非表示 */
.sp-only{
  display: none;
}

/* スマホだけ表示 */
@media (max-width: 767px){
  .sp-only{
    display: block;
	background-color: #ccc;
	padding: 3px;
  }
}
	
/* アンカーで見出しがヘッダーに隠れる対策（CSS版・強め） */
html, body{
  scroll-padding-top: 150px;
}

h2[id], h3[id], h4[id]{
  scroll-margin-top: 150px;
}

/* Easy Table of Contents等の目次プラグイン対策 */
.ez-toc-section{
 ?scroll-margin-top: 150px;
}

/* =========================================
   LPアーカイブ：PC表示（1026px?）
   常時展開・3カラム（左に見出し、右に2列のリスト）
========================================= */

/* --- A. 全端末共通のベース設定（ここにはレイアウトを書かない） --- */
body {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%; /* iOSの文字サイズ勝手変更を防止 */
}

/* --- B. PC用レイアウト（1026px以上の時だけ発動） --- */
@media (min-width: 1026px) {

  /* 1. アコーディオン全体（グリッド化・常時展開） */
  .accordion-item {
    display: grid !important;
    grid-template-columns: 260px 1fr;
    column-gap: 48px;
    padding: 28px 0;
    border-bottom: 1px solid #ddd;
    width: 100%;
    margin: 0 auto;
    max-width: 1600px; /* PCでの最大幅を維持 */
  }

  /* 2. 大項目（左列・見出し） */
  .accordion-header {
    grid-column: 1;
    align-self: start;
    padding: 0;
    background: none !important; /* SP版の背景色を打ち消し */
    border: none !important;     /* SP版の枠線を打ち消し */
    font-size: 18px;
    font-weight: 600;
    color: #222;
    cursor: default;
    text-align: left;
    display: block; /* Flexを解除 */
  }

  /* ＋／－アイコンはPCでは完全に消す */
  .accordion-header .icon {
    display: none !important;
  }

  /* 3. 小項目エリア（右列・2列グリッド） */
  .accordion-body {
    grid-column: 2;
    display: grid !important; /* 強制的に表示 */
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
    row-gap: 10px;
    
/*    max-height: none !important; */
    opacity: 1 !important;
    overflow: visible !important;
    padding: 0 !important;
    background: none !important;
  }

  /* 4. 小項目1行 */
  .lp-text-item {
    padding: 4px 0;
    margin-bottom: 0; /* SP版の余白をリセット */
  }

  /* 5. 小項目リンク */
  .lp-text-link {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    text-decoration: none;
  }

  /* 三角マーク（PC用サイズ） */
  .lp-text-link::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 0.35em;
    font-size: 0.65em;
    color: #666;
  }

  /* hover */
  .lp-text-link:hover {
    text-decoration: underline;
  }

} /* PC用メディアクエリ終了 */

	
/* =========================
 ? グリッドメニュー　LP
========================= */
.lpmenu-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 10px 100px;
margin: 15px;
}



.lpmenu-grid > br,
.lpmenu-thumb br,
.lpmenu-body br,
.lpmenu-text br,
.lpmenu-item br {
  display: none !important;
}

/* =========================
   カード外側余白削除
========================= */
.lpmenu-item{
  margin:0 !important;
  padding:0 !important;
}

/* =========================
   リンク装飾完全除去
========================= */
.lpmenu-grid a{
  display:block;
  text-decoration:none !important;
  border:none !important;
  box-shadow:none !important;
  color:inherit;
}

/* =========================
   画像（ピタ付け）
========================= */
.lpmenu-thumb{
  display:block;
  margin:0 !important;
  padding:0 !important;
  line-height:0; /* ← これが超重要 */
}

.lpmenu-thumb img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
}

/* =========================
   タイトル行（最小高）
========================= */
.lpmenu-body{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
/*  margin:0 !important; */
 ?padding:0 !important;
  margin: 10px 0px;
}

.lpmenu-text{
  margin:0 !important;
  padding:0 !important;
  line-height:1.2;
 ?font-size:17px;
}

.lpmenu-arrow{
  margin-left:4px;
  line-height:1.2;
  white-space:nowrap;
}



/* =========================
   ホバーアニメーション
========================= */

/* テキストホバーで色変更 */
.lpmenu-link{
  transition: color .2s ease;
}

.lpmenu-link:hover{
  color:#0b3d2e; /* 好きな色に変更 */
}

/* 矢印スタイル */
.lpmenu-arrow i{
  display:inline-block;
  transition: transform .2s ease;
}

/* ホバーで矢印少し右に */
.lpmenu-link:hover .lpmenu-arrow i{
  transform: translateX(3px);
}



/* フレーム設定: PC・スマホ共通の余白 */
.frame-80 {
    margin-top: 10px;
    margin-bottom: 25px;
    padding: 10px;
    margin-left: auto;   /* 中央寄せ */
    margin-right: auto;  /* 中央寄せ */
    box-sizing: border-box; /* パディングを幅に含める設定 */
}

/* PC・タブレット（横幅が広い時）の設定 */
@media screen and (min-width: 768px) {
    .frame-80 {
        width: 80%;
    }
}

/* スマホ（横幅が狭い時）の設定 */
@media screen and (max-width: 767px) {
    .frame-80 {
        width: 90%;
		font-size: -1;
    }
}

/*　カード型　*/
/* =========================================
   LPアーカイブ 共通
========================================= */

/* アコーディオン */
#lp .accordion-item{
  margin-bottom:18px;
}

#lp .accordion-header{
  background:#f3f3f3;
  padding:16px 20px;
  font-weight:600;
  position:relative;
  cursor:pointer;
}

#lp .accordion-header .icon{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
}

#lp .accordion-body{
  padding:18px 10px;
}


/* =========================================
   リンク型（PC）
========================================= */

@media (min-width:769px){

#lp > .accordion-item:not(.lp-card-accordion) > .accordion-body{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px 40px;
}

}


/* =========================================
   カード型 共通
========================================= */
#lp{
  max-width:1600px;
  margin:0 auto;
}

.lp-card-wrapper{
  width:1600px;
  margin-top:60px;
}


/* --- グリッド --- */

.lp-card-wrapper .lp-card-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
  width:100%;
}


/* --- 旧float完全解除（最重要） --- */

.lp-card-wrapper .quadruple-wrapper{
  width:100%;
  float:none;
  max-width:none;
  box-sizing:border-box;

  background:#fff;
  border:1px solid #ddd;
  transition:.25s;
}

.lp-card-wrapper .quadruple-wrapper:hover{
  transform:translateY(-3px);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}


/* --- サムネ --- */

.lp-card-wrapper .lp-thumb img{
  width:100%;
  height:auto;
  display:block;
}


/* --- 本文 --- */

.lp-card-wrapper .lp-body{
  padding:18px;
}

.lp-card-wrapper .lp-body h4{
  margin-bottom:10px;
  font-size:18px;
}

.lp-card-wrapper .lp-body h4 a{
  color:#222;
  text-decoration:none;
}

.lp-card-wrapper .lp-body h4 a:hover{
  text-decoration:underline;
}

.lp-card-wrapper .lp-body p{
  font-size:14px;
  line-height:1.7;
  margin:0;
}


/* =========================================
   PC専用補正（カードだけ）
========================================= */

@media (min-width:769px){

/* カード用アコーディオンはgridにしない */
.lp-card-accordion{
  display:block;
}

.lp-card-accordion .accordion-body{
  display:block;
  width:100%;
}

}


/* =========================================
   SP
========================================= */

@media (max-width:768px){

/* カード1列 */
.lp-card-wrapper .lp-card-grid{
  grid-template-columns:1fr;
}

/* リンク型1列 */
#lp > .accordion-item > .accordion-body{
  display:block;
}

}
/* =========================================
   LPカード：旧float / grid干渉の完全解除（最終Fix）
========================================= */

/* カードアコーディオンは常に縦構造 */
#lp .lp-card-accordion{
  display:block !important;
}

/* アコーディオン内部も横gridを無効化 */
#lp .lp-card-accordion > .accordion-body{
  display:block !important;
  width:100% !important;
  max-width:none !important;
}

/* 旧カードfloatレイアウトの完全解除 */
#lp .lp-card-wrapper .quadruple-wrapper{
  width:100% !important;
  max-width:none !important;
  float:none !important;
}
	
/* 英語版用試作 */
/* =========================================
   EN Practices Card
========================================= */

.lp-en-wrapper{
  margin:60px auto;
  max-width:1100px;
}

.lp-en-heading{
  margin-bottom:30px;
  font-size:28px;
  font-weight:600;
}

/* grid */
.lp-en-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}

/* card */
.lp-en-card{
  background:#fff;
  border:1px solid #ddd;
  transition:.25s;
}

.lp-en-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* image */
.lp-en-thumb img{
  width:100%;
  height:auto;
  display:block;
}

/* body */
.lp-en-body{
  padding:18px;
}

.lp-en-body h3{
  margin-bottom:10px;
  font-size:18px;
}

.lp-en-body p{
  font-size:14px;
  line-height:1.7;
  margin:0;
}

/* SP */
@media (max-width:768px){
  .lp-en-grid{
    grid-template-columns:1fr;
  }
}
	
	
/* アコーディオン用フレーム（仮） */
.frame-ac {
    width: 100%;
    margin: 10px 0px 30px 0px;
    border: solid 1px #DDD;
    padding: 20px 0px;
}
	
/* =========================
   詳細・amazon ボタン（PC）
========================= */
.ga-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  justify-content: flex-end;
}
/* 共通 */
.ga-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 140px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none !important;
  transition: .3s;
  white-space: nowrap;
}
/* 矢印 */
.ga-btn::after {
  content: "›";
  margin-left: 6px;
  transition: transform .3s;
}
.ga-btn:hover::after {
  transform: translateX(4px);
}
/* カラー */
.ga-btn-red  { background: #ed5211; }
.ga-btn-black { background: #222; }
/* ホバー */
.ga-btn:hover { opacity: .85; }

/* .gray-text はここでは定義しない → responsive CSSに一本化 */

/* =========================
   スマホ
========================= */
@media (max-width: 1024px) {
  .ga-btn-wrap {
    flex-direction: column;
    gap: 8px;
  }
  .ga-btn {
    width: 100%;
    flex: none;
    padding: 8px 12px;
  }
}