:root{
--space-0:0px;
--space-sm:8px;
--space-md:16px;
--space-lg:32px;
--space-xl:48px;
--space-2xl:64px;
--space-3xl:80px;
--space-4xl:96px;
}
body{font-family:'Noto Sans JP',sans-serif;line-height:1.6;color:#333;}
.container{width:100%;max-width:var(--container-width);margin:0 auto;padding:0 var(--space-0);}
.mt-sm{margin-top:var(--space-sm);}
.mt-md{margin-top:var(--space-md);}
.mt-lg{margin-top:var(--space-lg);}
.mb-sm{margin-bottom:var(--space-sm);}
.mb-md{margin-bottom:var(--space-md);}
.mb-lg{margin-bottom:var(--space-lg);}
.mb-xl{margin-bottom:var(--space-xl);}
.mb-2xl{margin-bottom:var(--space-2xl);}
.site-header,.site-footer{padding:var(--space-xl) var(--space-2xl);}

:root {
--color-bg: #ffffff;
--color-text: #1a1a1a;         /* 洗練された黒 */
--color-muted: #888888;        /* グレイ系補助色 */
--color-accent-red: #d92323;   /* イチゴの赤（甘酸っぱい感じ） */
--color-accent-green: #03a63c; /* ヘタのような深めの緑 */
--color-h1: #035aa6;
--color-h2: #0367a6;
--color-navy: #002b5b;
--color-orange: #e5984c;
--color-yellow: #ffe066;
--color-pink: #e9a4a4;
--color-pink: #e9a4ba;
--color-cloud: #f0efeb;
--color-baltic-sea: #79b6d8;
--color-blue-fusion: #4a6275;
--color-ice-melt: #d4e3f1;
}
:root {
--biz: "BIZ UDPGothic", sans-serif;
--border-radius: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
}
html {
font-size: 16px;
}

/* 基本のマージン・パディング調整 */
body, h1, h2, h3, h4, h5, h6, p, figure {
margin: 0;
padding: 0;
}

/* リストのデフォルトスタイルを削除 */
ul, ol {
list-style: none;
padding: 0;
margin: 0;
}

/* 画像の余白を消して、レスポンシブ対応 */
img {
max-width: 100%;
height: auto;
display: block;
}

/* ボタンの標準スタイルを調整 */
button {
background: none;
border: none;
cursor: pointer;
}

/* フォーム要素のリセット */
input, textarea, select {
font: inherit;
border: none;
outline: none;
}

/* aタグのデフォルト装飾を削除 */
a {
text-decoration: none;
color: inherit;
}
@media (hover: hover) and (pointer: fine) {
a:hover,
a img:hover {
transition: .3s;
}
}

@media (min-width:601px) {
a[href^="tel:"] {
pointer-events: none;
color: inherit;
}
}


body {
position: relative;
font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "sans-serif";
overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
background: #f4fbfc;
overflow-x: hidden;
font-size: clamp(15px, 1.2vw, 18px);
}
body {font-size: clamp(1rem, 4vw, 1rem); /* 画面のサイズに応じて動き、最小1rem、最大2rem */}
h1 {font-size: clamp(1.5rem, 6vw, 2.5rem);}
h2 {font-size: clamp(1.25rem, 5vw, 1.75rem);}
h3 {font-size: clamp(1.375rem, 6vw, 1.5rem);}
h4 {font-size: clamp(1.25rem, 5vw, 1.5rem);}
h5 {font-size: clamp(1.125rem, 6vw, 1.25rem);}
h6 {font-size: clamp(1.125rem, 5vw, 1.25rem);}
p {font-size: clamp(0.937rem, 3vw, 1rem);}

h1,h2,h3,h4,h5 {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}


/********************************
	TEXT
********************************/

@media (max-width: 834px) {
body {font-size: clamp(1rem, 5vw, 1rem); /* タブレット用 */}
}
@media (max-width: 600px) {
body {font-size: clamp(1rem, 6vw, 1.2rem); /* スマホ用 */}
}

a{color: var(--color-accent-red);}
a:hover{color: var(--color-accent-green);}

.text-center{text-align: center;}
.text-md-center{text-align: center;}
.text-end{text-align: right;}
.text-start{text-align: left !important;}

.container{
width: 1200px;
max-width: 100%;
margin: 0 auto;
padding-left: 30px;
padding-right: 30px;
box-sizing: border-box;
}

.grid{
display:grid;
width: 100%;
box-sizing: border-box;
--gap-size: 30px; /* デフォルトのgap */
gap: var(--gap-size);
}
.gap-5 { --gap-size: 5px; }
.gap-10 { --gap-size: 10px; }
.gap-15 { --gap-size: 15px; }
.gap-20 { --gap-size: 20px; }
.gap-30 { --gap-size: 30px; }
.gap-60 { --gap-size: 60px; }
.gap-80 { --gap-size: 80px; }
.gap-90 { --gap-size: 90px; }

.grid-2{grid-template-columns: calc(50% - var(--gap-size) / 2) calc(50% - var(--gap-size) / 2);}
.grid-3{grid-template-columns: repeat(3, calc((100% - 2 * var(--gap-size)) / 3));}
.grid-4{grid-template-columns: repeat(4, calc((100% - 3 * var(--gap-size)) / 4));}
.grid-5{grid-template-columns: repeat(5, calc((100% - 4 * var(--gap-size)) / 5));}
.grid-1-2 {grid-template-columns: calc((100% - var(--gap-size)) * (1 / 3)) calc((100% - var(--gap-size)) * (2 / 3));}
.grid-2-1 {grid-template-columns: calc((100% - var(--gap-size)) * (2 / 3)) calc((100% - var(--gap-size)) * (1 / 3));}

.grid-1-3 {grid-template-columns: 1fr 3fr;gap: var(--gap-size);}


.w-900{
max-width: 900px;
margin: 0 auto;
}
.w-800{
max-width: 800px;
margin: 0 auto;
}
.pc{display: block;}
.tablet{display: none;}
.sp{display: none;}

@media (max-width:1199px) {
.container{
width: 100%;
padding: 0 60px;
}
}
@media (max-width:834px) {
.container{
width: 100%;
padding: 0 30px;
}
.text-md-center{
text-align: left;
}
.pc{display: none;}
.tablet{display: block;}
.sp{display: none;}
}
@media (max-width:600px) {
.container{
width: 100%;
max-width: 100%;
}
.pc{display: none;}
.tablet{display: none;}
.sp{display: block;}
.grid-2{
grid-template-columns: 1fr;
}
.grid-3{
grid-template-columns: 1fr;
}
.grid-4{
grid-template-columns: 1fr;
}
.grid-1-2{
grid-template-columns: 1fr;
}
.grid-2-1{
grid-template-columns: 1fr;
}
}

.section{
padding: 4rem 0;
}

.center-center {
display: grid;
place-content: center;
gap: 1ch;
}

.section{
padding: 2.5rem 0;
}
.d-block{
display: block;
}
.mx-auto{
margin: 0 auto;
}



@media screen and (min-width: 769px) {
/* ガター幅（余白）を調整 */
.row-0 {
margin-left:0px;
margin-right:0px;
}
.row-0>div {
padding-right:0px;
padding-left:0px;
}
.row-10 {
margin-left:-5px;
margin-right:-5px;
}	
.row-10>div {
padding-right:5px;
padding-left:5px;
}
.row-20 {
margin-left:-10px;
margin-right:-10px;
}
.row-20>div {
padding-right:10px;
padding-left:10px;
}
.row-30{
margin-left:-15px;
margin-right:-15px;
}
.row-30>div {
padding-right:15px;
padding-left:15px;
}
.row-40{
margin-left:-20px;
margin-right:-20px;
}
.row-40>div{
padding-right:20px;
padding-left:20px;
}
.row-50{
margin-left:-25px;
margin-right:-25px;
}
.row-50>div{
padding-right:25px;
padding-left:25px;
}
.row-60{
margin-left:-30px;
margin-right:-30px;
}
.row-60>div{
padding-right:30px;
padding-left:30px;
}
}


/*THEME RESET*/
a{color: #ea3c34;transition: .3s;}
a:hover{color: #5793ee;text-decoration: none;}

hr{
margin: 6rem 0;
}

.post-type-archive-mt_letter #archive-wrapper{
padding-bottom: 0 !important;
}


.btn-primary {
color: #fff;
background-color: #ea3c34;
border-color: #ea3c34;
}
.btn-primary:hover {
color: #ea3c34;
background-color: #fff;
border-color: #ea3c34;
}

.btn-secondary {
color: #fff;
background-color: #ea3c34;
border-color: #ea3c34;
}
.btn-secondary:hover {
color: #ea3c34;
background-color: #fff;
border-color: #ea3c34;
}


.page-link {
color: #ea3c34;
}
.page-item.active .page-link {
z-index: 1;
color: #fff;
background-color: #ea3c34;
border-color: #ea3c34;
}



/*CF7*/
.btn-outline-primary, .wpcf7 input[type=submit] {
color: #fff;
background-color: #ea3c34;
border-color: #ea3c34;
}
.btn-outline-primary:hover, .wpcf7 input:hover[type=submit] {
color: #ea3c34;
background-color: #fff;
border-color: #ea3c34;
}
.btn, .wpcf7 input[type=submit]{
border: 3px solid transparent;
line-height: 1;
}



/*STRUCTURE*/
@media screen and (min-width: 415px){
.section {
padding: 4rem 0;
}
.mv{
padding: 4rem 0 1rem;
}
}
@media screen and (max-width: 414px) {
.section {
padding: 2rem 0;
}
}

body{
background-image: url(images/bg_body_w.svg);
background-position: left bottom;
background-repeat: no-repeat;
background-size: 50% auto;
}
body.home{
background-image: url(images/bg_body.svg);
}



/*COMMON*/
.page .section h1{

color: #fff;
background-color: #209cee !important;



border-image-slice: 2;
border-image-width: 2;
border-image-repeat: stretch;
border-image-source: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="5" height="5" xmlns="http://www.w3.org/2000/svg"><path d="M2 1 h1 v1 h-1 z M1 2 h1 v1 h-1 z M3 2 h1 v1 h-1 z M2 3 h1 v1 h-1 z" fill="rgb(33,37,41)" /></svg>');
border-image-outset: 2;
position: relative;
display: inline-block;
padding: .5rem 2rem;
margin: 4px;
text-align: center;
vertical-align: middle;

-webkit-user-select: none;
user-select: none;
border-style: solid;
border-width: 4px;

}
.page .section h1:after {
position: absolute;
top: -4px;
right: -4px;
bottom: -4px;
left: -4px;
content: "";
box-shadow: inset -4px -4px #006bb3;
}


/*HEADER*/
 .navbar .container{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
 }
 .bg-offcanvas{
  background-color: #6ebbfc;
 }

.dropdown-item{
transition: .5s;
}
.dropdown-item.active{
background-color: rgba(0,123,255,1);
}
.dropdown-item:hover{
color: #000;
background-color: rgba(0,123,255,.25);
}
.dropdown-item.active{
color: #fff;
}
.dropdown-item.active:hover{
color: #000;
}
.table-bordered{
margin-bottom: 4rem;
}

.table-bordered th{
background-color: #f1ebcf;
}

@media screen and (min-width: 769px) {
.table-bordered th{
width: 1%;
white-space: nowrap;
}
.table-bordered th,
.table-bordered td{
border-color: #ccc;
}
.nav-item,
.nav-link{
position: relative;
}

.nav-item.active:before{
opacity: 1;
position: absolute;
display: block;
left: 0;
right: 0;
bottom: -2px;
margin: 0 auto;
content: "";
width: 4px;
height: 4px;
background-color: #0057b9;
border-radius: 2px;
}

.nav-link:hover:before{
opacity: 1;
position: absolute;
display: block;
left: 0;
right: 0;
bottom: -2px;
margin: 0 auto;
content: "";
width: 4px;
height: 4px;
background-color: #0057b9;
border-radius: 2px;
animation: anime1 .5s ease;
}
@keyframes anime1 {
0% {
opacity:  0;
transform: scale(0);
bottom: 10px;
}
30% {
opacity:  1;
transform: scale(1);
bottom: -2px;
}
50% {
opacity:  1;
transform: scale(1);
bottom: 10px;
}
70% {
opacity:  1;
transform: scale(1);
bottom: -2px;
}
90% {
opacity:  1;
transform: scale(1);
bottom: 3px;
}
100% {
opacity:  1;
transform: scale(1);
bottom: -2px;
}
}


.navbar-nav li:nth-child(1) .nav-link:hover:before{background-color: #dc0000;}
.navbar-nav li:nth-child(2) .nav-link:hover:before{background-color: #ff9900;}
.navbar-nav li:nth-child(3) .nav-link:hover:before{background-color: #ffcc00;}
.navbar-nav li:nth-child(4) .nav-link:hover:before{background-color: #00cc00;}
.navbar-nav li:nth-child(5) .nav-link:hover:before{background-color: #0099ff;}
.navbar-nav li:nth-child(6) .nav-link:hover:before{background-color: #0000ff;}


.dropdown-menu{
top: 90%;
}
.dropdown-menu:before {
content: "";
position: absolute;
top: -10px;
left: 10%;
margin-left: -5px;
border: 5px solid transparent;
border-bottom: 5px solid #e0edff;
}
.dropdown:hover .dropdown-menu {
display: block;
animation: fadeIn 1s ease 0s 1 normal;
-webkit-animation: fadeIn 1s ease 0s 1 normal;
}
@keyframes fadeIn {
0% {opacity: 0;top:-20px;}
100% {opacity: 1;}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0;top:-20px;}
    100% {opacity: 1}
}
}


@media screen and (max-width: 768px){
.toggle {
display: none;
}
.navbar-toggler{
padding: .2rem;
margin-right: .5rem;
}
.toggle-label {
cursor: pointer;
display: block;
margin: 0;
width: 45px;
height: 45px;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
.toggle-label:active {
  -webkit-tap-highlight-color: transparent;
}
.toggle-label {
  cursor: pointer;
}
.toggle-label .toggle-icon,
.toggle-label .toggle-icon:before,
.toggle-label .toggle-icon:after {
position: relative;
display: block;
top: 50%;
left: 50%;
height: 3px;
width: 32px;
background: #000;
content: '';
transition: all 500ms ease-in-out;
}
.toggle-label .toggle-text {
position: relative;
display: block;
top: calc(100% - 15px);
  height: 14px;
  font-size: 8px;
  font-size: 0.8rem;
  color: #50861c;
  text-align: center;
}
.toggle-label .toggle-text:before {
  position: absolute;
  width: 100%;
  left: 0;
  content: '';
  transition: all 500ms ease-in-out;
  visibility: visible;
  opacity: 1;
}
.toggle-label .toggle-text:after {
  position: absolute;
  width: 100%;
  left: 0;
  content: '';
  transition: all 500ms ease-in-out;
  visibility: hidden;
  opacity: 0;
}
.toggle-label .toggle-icon {
  transform: translate3d(-50%, 0, 0);
}
.toggle-label .toggle-icon:before {
  transform: translate3d(-50%, -12px, 0);
}
.toggle-label .toggle-icon:after {
  transform: translate3d(-50%, 6px, 0);
}
.toggle:checked ~ .toggle-label .toggle-icon {
  background-color: transparent;
}
.toggle:checked ~ .toggle-label .toggle-icon:before,
.toggle:checked ~ .toggle-label .toggle-icon:after {
  top: 0;
}
.toggle:checked ~ .toggle-label .toggle-icon:before {
  transform: translateX(-50%) rotate(45deg);
  top: 1.5px;
}
.toggle:checked ~ .toggle-label .toggle-icon:after {
  transform: translateX(-50%) translateY(-10px) rotate(-45deg);
  top: 8.5px;
}
.toggle:checked ~ .toggle-label .toggle-text:before {
  visibility: hidden;
  opacity: 0;
}
.toggle:checked ~ .toggle-label .toggle-text:after {
  visibility: visible;
  opacity: 1;
}


.navbar{
padding: 0;
}
nav.fade:not(.show){
opacity: 1;
}
.navbar-brand img {
padding: .5rem;
}
}

@media screen and (max-width: 768px) {
.nav-item{
padding: .5rem 1rem;
}
}

small,.small{
font-size: 1.125rem;
font-weight: 700;
}

.nav-link{
transition: .3s;
}
.navbar-dark .navbar-nav .nav-link {
color: rgba(255,255,255,.65);
}
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
color: rgba(255,255,255,1);
}


/*FOOTER*/
#wrapper-footer{
background-image: url(images/footer_cloud.svg);
background-position: right bottom;
background-repeat: no-repeat;
background-size: 296px auto;
}

.menu-footer-nav-container{
margin: 0 0 4rem;
padding: 1rem;
border-style: solid;
border-color: #000;
border-width: 3px 0;
}

.menu-footer-nav-container ul{
margin: 0;
padding: 0;
list-style: none;
display:flex;
justify-content: flex-end;
}
@media screen and (min-width: 415px) {
.menu-footer-nav-container ul li:not(:last-child) {
	margin-right: 1rem;
}
}
.page .copyright{
margin: 3rem 0 0;
padding: 0;
font-size: .75rem;
font-weight: 700;
letter-spacing: .1rem;
}


.wave{
width:100%;
height:10vh;
padding:0;
margin:0;
display: flex;
justify-content: center;
flex-direction: column;
position:relative;
}
.svg-separator{
display: block;
background: 0 0;
position: absolute;
left: 0;
right: 0;
top: 0;
z-index: 9;
-webkit-transform: translateY(-100%) translateY(2px);
transform: translateY(-100%) translateY(2px);
width: 100%;
}
.sky{background-color:#77C3F2;}


/*PDF VIEWER EDIT*/
div.pdfemb-viewer{
border: none !important;	
}

/*WIDGET*/
.widget{
margin-bottom: 4rem;
}
.widget h3.widget-title{
position: relative;
margin-bottom: 1rem;
padding-bottom: 1rem;
font-size: 1.25rem;
}
.widget h3.widget-title:after{
position: absolute;
left: 0;
bottom: 0;
display: block;
content: "";
width  : 100%;
height : 6px;
border-radius: 3px;
margin     : auto;
                              /* 虹色グラデーション編集CSS  */
  background : linear-gradient(to right,
                               red    14.3%,
                               orange 14.3%,
                               orange 28.6%,
                               yellow 28.6%,
                               yellow 42.9%,
                               green  42.9%,
                               green  57.2%,
                               aqua   57.2%,
                               aqua   71.5%,
                               blue   71.5%,
                               blue   85.8%,
                               purple 85.8%);
}

/*FRONT PAGE*/
.home #slide2{
color: #fff;
background-color:#6ebbfc;
height: auto;
padding: 2rem 0;

}
.home #slide2:before{
position: absolute;
left: 0;
right: 0;
top: -78px;
margin: 0 auto;
display: block;
content: "";
background-image: url(images/movie_footer.svg);
background-position: center bottom;
background-repeat: repeat-x;
width: 100%;
height: 80px;
}


.home #slide2 p{
font-size: 1.125rem;
line-height: 2;
letter-spacing: .125rem;
}
#video{
position: relative;
min-width: 100vw;

}
.wrapper2{
background-size: 100% auto;
position: relative;
width: 100%;
}
.more {
width: 100px;
height: 100px;
margin: 0;
animation: bound 3s infinite;
}

@keyframes bound {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(-25px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-15px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}




/*限定コンテンツ*/
#my_widget-2,
#rpwe_widget-3{
display: none;
}
.logged-in #my_widget-2,
.logged-in #rpwe_widget-3{
display: inherit;
}


/*PAGE*/
.page h3{
margin: 2rem 0;
}
.page p{
margin: 0 0 2rem;
line-height: 1.75;
}
.page .section ul{
margin: 0 0 2rem;
padding: 0 0 0 2rem;
}
.page .section li{
padding: .5rem 0;
}
.page .section li:not(:last-child) {
border-bottom: 1px dotted #666;
}
.page dl{
margin: 0 0 4rem;
}
.page dt{
margin: 0 0 .25rem;
padding: 1rem;
font-size: 1.25rem;
}
.page dd{
border-image-slice: 2;
border-image-width: 2;
border-image-repeat: stretch;
border-image-source: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="5" height="5" xmlns="http://www.w3.org/2000/svg"><path d="M2 1 h1 v1 h-1 z M1 2 h1 v1 h-1 z M3 2 h1 v1 h-1 z M2 3 h1 v1 h-1 z" fill="rgb(33,37,41)" /></svg>');
border-image-outset: 2;
width: calc(100% - 8px);
padding: 1rem;
margin: 0 0 2rem;
background-color: #fff;
background-clip: padding-box;
}
.page table{
margin: 0 0 4rem;
}
.page th,
.page td{
padding: 1rem 2rem;
border-style: solid;
border-width: 3px 0;
border-color: #000;
}
.page th{
width: 1%;
white-space: nowrap;
letter-spacing: .5rem;
background-color: #fff;
}


.day-service{
background-color: #FF8B94;
}
.service{
background-color: #FFAAA5;
}
.activity{
background-color: #FFD3B6;
}
.post-type-archive-mt_letter{
background-color: #DCEDC1;
}
.company{
background-color: #A8E6CF;
}
.contact{
background-color: #73CFFF;
}

.day-service .section h1,
.day-service .section h2,
.day-service .section h3,
.day-service .section p{
color: #fff;
}


/*FOOTER WIDGET*/
.box1,.box2,.box3{
display: block;
width: 100%;
}
.box1 .widgettitle,
.box2 .widgettitle,
.box3 .widgettitle{
margin: 0 0 2rem;
font-size: 1rem;
}
.box1 .rpwe-block li,
.box2 .rpwe-block li{
border-bottom: 1px solid #000;
margin-bottom: 10px;
padding-bottom: 10px;
list-style-type: none;
}
.box1 .rpwe-block h3,
.box2 .rpwe-block h3{
font-size: 1rem !important;
}
.box1 .rpwe-block h3 a,
.box2 .rpwe-block h3 a{
color: #000;
display: block !important;
}

.box1 .rpwe-time,
.box2 .rpwe-time{
font-size: .875rem;
color: #000;
}


#to_top_scrollup {
transition: .5s;
-webkit-animation:fuwafuwa 3s infinite linear alternate;
animation:fuwafuwa 2s infinite linear alternate;
}
@-webkit-keyframes fuwafuwa {
0% {-webkit-transform:translate(0, 0) rotate(-10deg);}
50% {-webkit-transform:translate(0, -5px) rotate(0deg);}
100% {-webkit-transform:translate(0, 0)rotate(10deg);}
}
@keyframes fuwafuwa {
0% {transform:translate(0, 0) rotate(-10deg);}
50% {transform:translate(0, -5px) rotate(0deg);}
100% {transform:translate(0, 0)rotate(10deg);}

}



/*TITLE*/

.day-service .nes-container.is-dark {
position: relative;
margin: 4px;
color: #fff;
background-color: #FF8B94;
border-color: #fff;
}
.day-service .nes-balloon.from-right:after {
bottom: -18px;
width: 18px;
height: 4px;
margin-left: 8px;
}
.day-service .nes-balloon.is-dark.from-left:after,
.day-service .nes-balloon.is-dark.from-right::after {
color: #fff;
background-color: #FF8B94;
}
.day-service .nes-balloon.is-dark.from-right:after {
box-shadow: -4px 0,4px 0,4px 4px #FF8B94,0 4px,8px 4px,4px 8px,8px 8px;
}
.day-service .nes-balloon:after,
.day-service .nes-balloon:before {
position: absolute;
content: "";
}
.day-service .nes-balloon.from-right:after,
.day-service .nes-balloon.from-right:before {
right: 2rem;
}
.day-service .nes-balloon.from-right:before {
bottom: -14px;
width: 26px;
height: 10px;
border-right: 4px solid #FF8B94;
border-left: 4px solid #FF8B94;
}
.day-service .nes-balloon.is-dark.from-left:before,
.day-service .nes-balloon.is-dark.from-right:before {
background-color: #FF8B94;
border-color: #fff;
}
.day-service .nes-balloon.is-dark.from-right:before {
box-shadow: 5px 10px 0 6px #FF8B94;
}
.day-service .nes-balloon,
.day-service .nes-balloon.is-dark {
border-style: solid;
border-width: 4px;
}
.day-service .nes-balloon.is-dark {
border-image-slice: 3;
border-image-width: 3;
border-image-repeat: stretch;
border-image-source: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="8" height="8" xmlns="http://www.w3.org/2000/svg"><path d="M3 1 h1 v1 h-1 z M4 1 h1 v1 h-1 z M2 2 h1 v1 h-1 z M5 2 h1 v1 h-1 z M1 3 h1 v1 h-1 z M6 3 h1 v1 h-1 z M1 4 h1 v1 h-1 z M6 4 h1 v1 h-1 z M2 5 h1 v1 h-1 z M5 5 h1 v1 h-1 z M3 6 h1 v1 h-1 z M4 6 h1 v1 h-1 z" fill="rgb(255,255,255)" /></svg>');
color: #fff;
background: #FF8B94;
border-image-outset: 2;
box-shadow: 0 0 0 8px #FF8B94;
}
.day-service .nes-balloon {
position: relative;
display: inline-block;
padding: 1rem 1.5rem;
margin: 8px;
margin-bottom: 30px;
}


.service .nes-container.is-dark {
position: relative;
margin: 4px;
color: #000;
background-color: #FFAAA5;
border-color: #fff;
}
.service .nes-balloon.from-right:after {
bottom: -18px;
width: 18px;
height: 4px;
margin-left: 8px;
}
.service .nes-balloon.is-dark.from-left:after,
.service .nes-balloon.is-dark.from-right::after {
color: #fff;
background-color: #FFAAA5;
}
.service .nes-balloon.is-dark.from-right:after {
box-shadow: -4px 0,4px 0,4px 4px #FFAAA5,0 4px,8px 4px,4px 8px,8px 8px;
}
.service .nes-balloon:after,
.service .nes-balloon:before {
position: absolute;
content: "";
}
.service .nes-balloon.from-right:after,
.service .nes-balloon.from-right:before {
right: 2rem;
}
.service .nes-balloon.from-right:before {
bottom: -14px;
width: 26px;
height: 10px;
border-right: 4px solid #FFAAA5;
border-left: 4px solid #FFAAA5;
}
.service .nes-balloon.is-dark.from-left:before,
.service .nes-balloon.is-dark.from-right:before {
background-color: #FFAAA5;
border-color: #fff;
}
.service .nes-balloon.is-dark.from-right:before {
box-shadow: 5px 10px 0 6px #FFAAA5;
}
.service .nes-balloon,
.service .nes-balloon.is-dark {
border-style: solid;
border-width: 4px;
}
.service .nes-balloon.is-dark {
border-image-slice: 3;
border-image-width: 3;
border-image-repeat: stretch;
border-image-source: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="8" height="8" xmlns="http://www.w3.org/2000/svg"><path d="M3 1 h1 v1 h-1 z M4 1 h1 v1 h-1 z M2 2 h1 v1 h-1 z M5 2 h1 v1 h-1 z M1 3 h1 v1 h-1 z M6 3 h1 v1 h-1 z M1 4 h1 v1 h-1 z M6 4 h1 v1 h-1 z M2 5 h1 v1 h-1 z M5 5 h1 v1 h-1 z M3 6 h1 v1 h-1 z M4 6 h1 v1 h-1 z" fill="rgb(255,255,255)" /></svg>');
color: #000;
background: #FFAAA5;
border-image-outset: 2;
box-shadow: 0 0 0 8px #FFAAA5;
}
.service .nes-balloon {
position: relative;
display: inline-block;
padding: 1rem 1.5rem;
margin: 8px;
margin-bottom: 30px;
}


.activity h2 span{
font-size: 1rem;
}

.activity .nes-container.is-dark {
position: relative;
margin: 4px;
color: #000;
background-color: #FFD3B6;
border-color: #fff;
}
.activity .nes-balloon.from-right:after {
bottom: -18px;
width: 18px;
height: 4px;
margin-left: 8px;
}
.activity .nes-balloon.is-dark.from-left:after,
.activity .nes-balloon.is-dark.from-right::after {
color: #fff;
background-color: #FFD3B6;
}
.activity .nes-balloon.is-dark.from-right:after {
box-shadow: -4px 0,4px 0,4px 4px #FFD3B6,0 4px,8px 4px,4px 8px,8px 8px;
}
.activity .nes-balloon:after,
.activity .nes-balloon:before {
position: absolute;
content: "";
}
.activity .nes-balloon.from-right:after,
.activity .nes-balloon.from-right:before {
right: 2rem;
}
.activity .nes-balloon.from-right:before {
bottom: -14px;
width: 26px;
height: 10px;
border-right: 4px solid #FFD3B6;
border-left: 4px solid #FFD3B6;
}
.activity .nes-balloon.is-dark.from-left:before,
.activity .nes-balloon.is-dark.from-right:before {
background-color: #FFD3B6;
border-color: #fff;
}
.activity .nes-balloon.is-dark.from-right:before {
box-shadow: 5px 10px 0 6px #FFD3B6;
}
.activity .nes-balloon,
.activity .nes-balloon.is-dark {
border-style: solid;
border-width: 4px;
}
.activity .nes-balloon.is-dark {
border-image-slice: 3;
border-image-width: 3;
border-image-repeat: stretch;
border-image-source: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="8" height="8" xmlns="http://www.w3.org/2000/svg"><path d="M3 1 h1 v1 h-1 z M4 1 h1 v1 h-1 z M2 2 h1 v1 h-1 z M5 2 h1 v1 h-1 z M1 3 h1 v1 h-1 z M6 3 h1 v1 h-1 z M1 4 h1 v1 h-1 z M6 4 h1 v1 h-1 z M2 5 h1 v1 h-1 z M5 5 h1 v1 h-1 z M3 6 h1 v1 h-1 z M4 6 h1 v1 h-1 z" fill="rgb(255,255,255)" /></svg>');
color: #000;
background: #FFD3B6;
border-image-outset: 2;
box-shadow: 0 0 0 8px #FFD3B6;
}
.activity .nes-balloon {
position: relative;
display: inline-block;
padding: 1rem 1.5rem;
margin: 8px;
margin-bottom: 30px;
}



/********************************

	未来のトビラ通信

********************************/
.post-type-archive-mt_letter h1.page-title{
margin-bottom: 4rem;
}
.post-type-archive-mt_letter .hentry h2{
text-align: center;
font-size: 1.25rem;
}
.post-type-archive-mt_letter .hentry img{
display: block;
margin-bottom: 2rem;
}
.post-type-archive-mt_letter .hentry p a.btn-primary{
color: #ea3c34;
background-color: #fff;
border: 2px solid #000;
border-radius: 0;
}



/********************************

	ARCHIVE AND SINGLE

********************************/

.archive .page-title{
display: inline-block;
margin-bottom: 2rem;
padding: .75rem 1.25rem;
font-size: 1.5rem;
color: #fff;
background-color: #000;
border: 3px solid #000;
}
.archive .hentry{
margin-bottom: 4rem;
padding: 1rem;
border: 3px solid #000;
}
.archive .hentry .entry-title{
margin-bottom: 1.5rem;
font-size: 1.5rem;
line-height: 1.5;
}
.archive .hentry .entry-meta{
margin-bottom: 1rem;
font-size: .75rem;
font-weight: 700;
}
.archive .hentry .entry-meta time{
font-size: .937rem;
font-weight: normal;
display: inline-block;
border-bottom: 2px solid #000;
}
.archive .hentry .entry-content p{
margin-bottom: 2rem;
line-height: 1.75;
}



.single .entry-title{
margin-bottom: 1.5rem;
font-size: 1.5rem;
line-height: 1.5;
}
.single .entry-meta{
margin-bottom: 2rem;
font-size: .875rem;
}
.single .entry-meta time:first-child{
margin-right: 1rem;
}





/********************************

	RWD調整

********************************/

@media screen and (max-width: 414px) {
.navbar-light .navbar-nav .nav-link{
padding: 1rem;
}

.mv img{
max-width: 75%;
}

.page .section h1{
margin-bottom: 3rem;
font-size: 1.5rem;
}

h2{
font-size: 1.5rem;
}
.page dt {
font-size: 1.125rem;
}

.page table{
width: 100%;
}
.page th,
.page td{
display: block;
width: 100%;
}
.page th {
font-size: .875rem;
width: 100%;
white-space: inherit;
letter-spacing: normal;
background-color: #fff;
}


#video{
vertical-align: bottom;
}
.home #slide2{
padding: 2rem 0;
height: initial;
}

.home #slide2:before{
display: none;
}
.home #slide2 p{
line-height: 1.6;
}
.company .section p{
font-size: 1rem;
}
.menu-footer-nav-container{
padding: 1rem 0;
}
.menu-footer-nav-container ul{
justify-content: center;
}
.menu-footer-nav-container ul li{
margin: 0;
padding: 0;
}
.menu-footer-nav-container ul li a{
padding: .5rem;
}

.single .entry-meta{
font-size: .75rem;
}


}


@media screen and (max-width: 320px) {
.navbar-brand img{
width: 200px;
}
}

.application-banner img{
padding: 1rem;
background-color: #fff;
border-radius: 8px;
}
.home .rpwe-title{
font-size: 1rem !important;
}
.home .rpwe-time {
color: #3c3c3c !important;
font-size: .875rem !important;
}
.single-news .attachment-large.size-large.wp-post-image{
display: none;
}

.home .col-news .inner,
.home .col-blog .inner{
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  height: 100%;
}
.home .col-news .inner h2,
.home .col-blog .inner  h2{
  margin: -1.5rem 0 1.5rem;
  padding: 0;
}
.recent-posts__meta time{
  display: block;
  margin: 0 0 .25rem;
  padding: 0;
}
.page h3.recent-posts__title{
  margin: 0 0 1rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
}
.recent-posts__term.recent-posts__term--blog{
  display: none;
}
.application-call a{
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  gap: 10px;
}