@charset "utf-8";
/* CSS Document */

* {
	font-family: dnp-shuei-mgothic-std, "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	color: #252525;
}
::selection {
    background: #ff811c;
    color: #fff;
}
p {
	line-height: 1.5em;
	margin: 0 1.5em 2em;
}

@media (max-width:640px){
p {
	line-height: 1.5em;
	margin: 0 0 2em;
}
}
/* HEADER */
#header {
	width: 100%;
}
#header .header-inner {
	padding: 1em 1.5em 1em 0.75em;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
#header .header-logo {
	height: 55px;
	transition: all .3s;
}
#header .header-logo img {
	height: 100%;
}
#global-nav {
	width: calc(100% - 474px);
	position: relative;
	bottom: 4px;
}
#global-nav ul {
	display: flex;
	justify-content: flex-end;
}
#global-nav ul li a {
	padding: 0 0 0 2em;
	position: relative;
	font-size: 14px;
	transition: all .3s;
}
#global-nav ul li a:hover,
#global-nav ul li.active a {
	color: #ff811c;
	transition: all .3s;
}
#global-nav ul li:nth-of-type(2) a:hover,
#global-nav ul li:nth-of-type(2).active a {
	color: #a2ca0e;
	transition: all .3s;
}
#global-nav ul li:nth-of-type(3) a:hover,
#global-nav ul li:nth-of-type(3).active a {
	color: #f2275c;
	transition: all .3s;
}
#global-nav ul li:nth-of-type(4) a:hover,
#global-nav ul li:nth-of-type(4).active a {
	color: #0db8d9;
	transition: all .3s;
}
#global-nav ul li a::after {
	content: "/";
	display: block;
	color: #252525;
	position: absolute;
	top: 0;
	bottom: 0;
	right: -1.3em;
	margin: auto;
	line-height: 1.5;
}
#global-nav ul li:last-of-type a::after {
	display: none;
}
@media (max-width:1080px){
#header .header-logo {
	height: 35px;
	transition: all .3s;
}
#global-nav {
    width: calc(100% - 305px);
}
}
@media (max-width:900px){
#header .header-logo {
	height: 35px;
}
#global-nav {
    width: 250px;
	position: fixed;
	right: -250px;
	top: 0;
	bottom: 0;
	margin: auto;
	background-color: #ff811c;
	z-index: 1;
}
#global-nav.open {
	right: 0px;
	transition: all .5s ease-in;
}
#global-nav ul {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
    flex-direction: column;
    justify-content: center;
    padding: 2em 1em;
}
#global-nav ul li:nth-of-type(n+2) {
    margin-top: 1em;
}
#global-nav ul li a {
    padding: 0.75em 1em 0.75em 1.5em;
    display: block;
	background-color: #FFF;
	border-radius: 5px;
}
#global-nav ul li a::before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 8px;
	background-color: #ff811c;
	position: absolute;
	left: 0.5em;
	top: 0;
	bottom: 0;
	margin: auto;
}
#global-nav ul li:nth-of-type(2) a::before  {
	background-color: #a2ca0e;
}
#global-nav ul li:nth-of-type(3) a::before {
	background-color: #f2275c;
}
#global-nav ul li:nth-of-type(4) a::before {
	background-color: #0db8d9;
}
#global-nav ul li a::after {
    display: none;
}
}
/* SP BUTTON */
@media (max-width:900px){
#sp-btn{
	display: block;
    width: 50px;
    height: 50px;
    padding: 0.6em;
    position: fixed;
    top: 0.5em;
    right: 1em;
    transition: all .4s;
    cursor: pointer;
    z-index: 1;
	background-color: rgba(255,255,255,0.8);
	border-radius: 5px;
}
#sp-btn div {
    width: 30px;
    height: 30px;
	position: relative;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}
#sp-btn div::before {
	content: "MENU";
	position: absolute;
	top: 24px;
	left: -2px;
	font-size: 0.7em;
}
#sp-btn span{
	display: block;
	height: 3px;
	position:absolute;
	width: 100%;
	left: 0;
	border-radius: 3px;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}
#sp-btn span:nth-child(1){
	top:0px;
	background: #ff811c;
}
#sp-btn span:nth-child(2){
	top:9px;
	background: #a2ca0e;
}
#sp-btn span:nth-child(3){
	top:18px;
	background: #f2275c;
}

#sp-btn.open {
	background: none;
}
#sp-btn.open div {
	color: #FFFFFF;
}
#sp-btn.open div::before {
	content: "CLOSE";
	left: -3px;
}
#sp-btn.open span{
	background: #FFFFFF;
}
#sp-btn.open span:nth-child(1) {
	top: 6px;
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	transform: rotate(135deg);
}
#sp-btn.open span:nth-child(2) {
	width: 0;
	left: 50%;
}
#sp-btn.open span:nth-child(3) {
	top: 6px;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
}
/* HEAD IMAGE */
#head-image {
	position: relative;
	margin-bottom: 3.5em;
}
#head-image .img {
	width: 80vw;
	height: 560px;
	margin: 0 0 0 auto;
	border-radius: 120px 0 0 120px;
	background: url(/~syoni/images/home_top.jpg) no-repeat;
	background-size: cover;
	background-position: center;
}
#head-image .text {
	position: absolute;
	bottom: 100px;
	padding: 1.5em 6em 1.5em 3em;
	background-color: #ff811c;
	border-radius: 0 30px 30px 0;
}
#head-image .text h2 {
	color: #fff;
	font-size: 1.5em;
	letter-spacing: 0.1em;
	line-height: 1.75em;
}
@media (max-width:640px){
#head-image {
	margin-bottom: 2em;
}
#head-image .img {
	width: 80vw;
	height: 400px;
	margin: 0 0 0 auto;
	border-radius: 120px 0 0 120px;
	background: url(/~syoni/images/home_top.jpg) no-repeat;
	background-size: cover;
	background-position: center;
}
#head-image .text {
	position: absolute;
	bottom: 50px;
	padding: 1.5em 6em 1.5em 3em;
	background-color: #ff811c;
	border-radius: 0 30px 30px 0;
}
#head-image .text h2 {
	color: #fff;
	font-size: 1em;
	letter-spacing: 0.1em;
	line-height: 1.75em;
}
}
/* PAGE HEAD IMAGE */
#pagehead-image {
	position: relative;
	margin-bottom: 3.5em;
}
#pagehead-image .img {
	width: 80vw;
	height: 320px;
	margin: 0 0 0 auto;
	border-radius: 120px 0 0 120px;
	background: url(/~syoni/images/practice04.jpg) no-repeat;
	background-size: cover;
	background-position: center;
}
#pagehead-image .text {
	position: absolute;
	bottom: 50px;
	padding: 1.5em 12em 1.5em 3em;
	background-color: #ff811c;
	border-radius: 0 30px 30px 0;
}
#pagehead-image .text h2 {
	color: #fff;
	font-size: 1.5em;
	letter-spacing: 0.1em;
	line-height: 1.75em;
}
#pagehead-image .breadcrumb-list {
	position: absolute;
	bottom: 1.2em;
	left: 3em;
	display: flex;
	background-color: #FFF;
    padding: 0.2em 1em 0.2em 0;
    border-radius: 5px;
}
#pagehead-image .breadcrumb-list li {
	font-size: 0.7em;
	margin-left: 0.4em;
}
#pagehead-image .breadcrumb-list li a {
	margin-right: 1em;
}
#pagehead-image .breadcrumb-list li p {
	margin: 0;
}
@media (max-width:640px){
#pagehead-image {
	margin-bottom: 2em;
}
#pagehead-image .img {
	width: 80vw;
	height: 200px;
	margin: 0 0 0 auto;
	border-radius: 70px 0 0 70px;
	background: url(/~syoni/images/practice04.jpg) no-repeat;
	background-size: cover;
	background-position: center;
}
#pagehead-image .text {
	position: absolute;
	bottom: 50px;
	padding: 1em 6em 1em 3em;
	background-color: #ff811c;
	border-radius: 0 20px 20px 0;
}
#pagehead-image .text h2 {
	font-size: 1.2em;
}
}
/* CONTAINER */
.container-inner {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row-reverse;
	padding: 0 1.5em;
}
.container-inner img {
	border-radius: 5px;
}
@media (max-width:999px){
.container-inner {
	width: 100%;
	display: block;
	padding: 0 1.5em;
}
}
/* MAIN SUB CONTENTS */
#main-contents {
	width: calc(100% - 350px);
	margin: 0 0 0 auto;
}
#sub-contents {
	width: 350px;
	padding: 0 1.5em 0 0;
}
#main-contents section {
	max-width: 1200px;
	margin: 0 auto;
	display: block;
}
@media (max-width:999px){
#main-contents {
	width: 100%;
	margin: 0 0 0 auto;
}
#sub-contents {
	width: 100%;
	padding: 0 0;
	margin-top: 3em;
}
}
/* LINK LIST */
.link-list {
	position: sticky;
	top: 20px;
	margin-bottom: 25px;
}
.link-list li:nth-of-type(n+2) {
	margin-top: 0.5em;
}
.link-list li a {
	display: block;
	padding: 1em 2em 1em 1em;
	border: 1px solid #ff811c;
	border-radius: 5px;
	font-size: 0.8em;
	position: relative;
	transition: all .3s;
}
.link-list li a:hover {
	background-color: #ffdcc0;
	transition: all .3s;
}
.link-list li a[target="_blank"]::after {
	content: "";
	display: block;
	width: 15px;
	height: 15px;
	background: url(/~syoni/images/blank-icon.png) no-repeat;
	background-size: 100%;
	background-position: center;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1em;
	margin: auto;
}
@media (max-width:999px){
.link-list {
	position: relative;
	top: auto;
	margin-bottom: 25px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.link-list li {
	width: 49%;
}
.link-list li:nth-of-type(n+2) {
	margin-top: 0;
}
.link-list li:nth-of-type(n+3) {
	margin-top: 0.5em;
}
.link-list li:last-of-type {
	width: 100%;
}
}
/* TITLE */
.contents-title {
	width: 100%;
	padding: 0.5em;
	margin-bottom: 1.5em;
	background-color: #a2ca0e;
	color: #FFF;
	font-size: 1.25em;
	border-radius: 5px;
}
#staff .contents-title {
	width: 100%;
	padding: 0.5em;
	margin-bottom: 1.5em;
	background-color: #f2275c;
	color: #FFF;
	font-size: 1.25em;
	border-radius: 5px;
}
.contents-sub-title {
	padding: 0.5em;
	margin-bottom: 0.5em;
	background-color: #e2f5f7;
	color: #0db8d9;
	font-size: 1em;
}
.color-box .color-title {
	height: 75px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
	margin-bottom: 0.75em;
	padding: 0.8em;
	background-color: #d4f7f9;
	color: #0db8d9;
	font-weight: bold;
	border-radius: 5px;
}
.color-box .color-title small {
	color: #0db8d9;
	word-break: keep-all;
}
.contents-dot-title {
	position: relative;
	margin: 0 1.25em 1em;
}
.contents-dot-title span {
    padding-right: 1rem;
	background-color: #FFF;
}
.contents-dot-title::after {
	content: "";
	display: block;
	width: 100%;
	height: 0;
	border-bottom: 5px dotted #a2ca0e;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	z-index: -2;
}
@media (max-width:640px){
.contents-dot-title {
	position: relative;
	margin: 0 0 1em;
}
}
/* FLEX */
.flex {
	display: flex;
	justify-content: space-between;
	padding: 0 1.25em;
}
.flex .flex-item {
	width: calc(98%/3);
}
.flex .flex-item img {
	width: 100%;
    margin-bottom: 0.5rem;
}
.flex.triple {
    flex-wrap: wrap;
	justify-content: flex-start;
    gap: 1rem;
    column-gap: 1%;
}
.flex.triple .flex-item {
	width: calc(98%/3);
}
@media (max-width:640px){
.flex {
	display: flex;
	justify-content: space-between;
	padding: 0 0;
}
}
/* COLOR BOX */
.color-box {
	margin-bottom: 2em;
}
.flex.color-box .flex-item p {
	font-size: 0.9em;
	margin: 0 0.75em 0 1.0em;
	font-weight: bold;
}
@media (max-width:640px){
.color-box.flex {
	display: block;
}
.color-box.flex .flex-item {
	width: 100%;
}
}
/* HALF-BOX */
.flex.half-box {
	margin-bottom: 1em;
    flex-wrap: wrap;
}
.flex.half-box .flex-item {
	width: calc(96%/2);
	text-align: center;
    margin-bottom: 1rem;
}
.flex.half-box .flex-item img {
	margin-bottom: 8px;
}
/* HALF-BOX */
.flex.four-box {
	margin-bottom: 1em;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.flex.four-box .flex-item {
	width: calc(94%/4);
	text-align: center;
	margin-right: 2%;
    margin-bottom: 1rem;
}
.flex.four-box .flex-item:nth-of-type(4n) {
	margin-right: 0;
}
.flex.four-box .flex-item img {
	margin-bottom: 8px;
}
@media (max-width:640px){
.flex.four-box .flex-item {
	width: calc(98%/2);
	text-align: center;
	margin-right: 2%;
}
.flex.four-box .flex-item:nth-of-type(4n) {
	margin-right: 2%;
}
.flex.four-box .flex-item:nth-of-type(2n) {
	margin-right: 0;
}
}
/* NUMBER LIST */
.number-list {
	padding: 0 0.75em;
	margin-bottom: 1em;
	counter-reset: count 0;
}
.number-list li {
	font-size: 0.9em;
	position: relative;
	line-height: 1.5em;
	padding-left: 1.75em;
}
.number-list li:nth-of-type(n+2) {
	margin-top: 0.5em;
}
.number-list li::before {
	content: counter(count)".";
	counter-increment: count 1;
	position: absolute;
	left: 0;
    width: 1.4em;
    text-align: right;
}
@media (max-width:640px){
.number-list {
	padding: 0 0;
	margin: 0 0.75em 1.5em 1.5em;
}
}
/* ACTIVITY REPORT delete coming soon... */
.activity-report .tab-box {
	display: none;
}
.activity-report .tab-box.active {
	display: block;
}
/* TAB */
.tab,
.tab2 {
	width: 100%;
	display: flex;
	margin: 0 0 1em;
}
.tab.sub,
.tab2.sub {
	margin: 0 1.25em 1em;
}
.tab li,
.tab2 li {
	width: auto;
	text-align: center;
	padding: 0.5em 1em;
	border-radius: 5px;
	background-color: #ffdcc0;
	cursor: pointer;
	border: 2px solid #ffdcc0;
	transition: all .3s;
	font-size: 13px;
	color: #ff811c;
}
.tab li.active,
.tab2 li.active {
	color: #FFF;
	background-color: #ff811c;
	border: 2px solid #ff811c;
	transition: all .3s;
}
.tab li:hover,
.tab2 li:hover {
	border: 2px solid #ff811c;
	transition: all .3s;
}
.tab li:nth-of-type(n+2),
.tab2 li:nth-of-type(n+2) {
	margin-left: 1%;
}
.tab01-2-open, .tab02-2-open {
	cursor: pointer;
}
@media (max-width:640px){
.tab li,
.tab2 li {
	width: calc(98%/3);
	padding: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}
}
/* STAFF BOX */
.staff-box.flex {
	flex-wrap: wrap;
	justify-content: flex-start;
}
.staff-box > div {
	width: calc(98%/2);
	text-align: center;
	margin-right: 2%;
}
.staff-box > div:nth-of-type(n+3) {
	margin-top: 1em;
}
.staff-box > div:nth-of-type(2n) {
	margin-right: 0;
}
.staff-box div a * {
	transition: all .3s;
}
.staff-box div a:hover * {
	opacity: 0.4;
	transition: all .3s;
}
.staff-box div img {
	width: 100%;
	border-radius: 5px;
	margin-bottom: 0.5em;
}
.staff-box div span {
	display: block;
}
.staff-box div a > div,
.staff-box div div > div {
	display: flex;
    flex-direction: column;
    gap: 0.25em;
}
.staff-box div div p {
	margin-bottom: 0;
}
.staff-box div div a {
	color: #ff811c;
}
@media (max-width:640px){
.staff-box.flex {
	display: block;
}
.staff-box.flex div {
	width: 100%;
	text-align: left;
	margin-bottom: 1em;
}
.staff-box.flex div a {
	display: flex;
	align-items: center;
}
.staff-box div img {
	width: 50%;
	border-radius: 5px;
	margin-right: 1em;
}
}
/* MODAL CONTENTS */
.modal-content {
	position: fixed;
    z-index: 2;
    width: 80%;
    max-height: 80vh;
    margin: 10vh auto;
    padding: 3em 2em;
    background: #fff;
    border-radius: 10px;
    z-index: 3;
	display: none;
    overflow: auto;
}
.modal-open {
    cursor: pointer;
}
.modal-close {
	display: block;
	text-align: right;
	transition: all .3s;
    padding: 0 1.5em 0px 0px;
	margin-bottom: 1.5em;
	position: absolute;
	top: 1em;
	right: 1em;
	cursor: pointer;
}
.modal-close::before {
	content: "×";
	display: block;
    color: #FFF;
    position: absolute;
    top: 1px;
    right: 1px;
    z-index: 1;
    line-height: 1;
}
.modal-close::after {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background-color: #ff811c;
	border-radius: 18px;
	position: absolute;
	top: 0;
	right: 0;
}
.modal-close:hover {
	color: #ff811c;
	transition: all .3s;
}
.modal-overlay {
	background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
	transition: all .3s ease;
	z-index: 2
}
.modal-content .inner {
	display: flex!important;
}
.modal-content .inner div:not(.img-box) {
	width: calc(100% - 266px);
	position: relative;
}
.modal-content img {
	width: 250px;
	height: 100%;
	margin-right: 2em;
	border-radius: 5px;
}
.modal-content .inner div.img-box {
	width: 250px;
	height: 100%;
	margin-right: 2em;
	border-radius: 5px;
}
.modal-content .inner div.img-box img:nth-of-type(n+2) {
	margin-top: 1em;
}
.modal-content div h4 {
	font-size: 1.2em;
	margin-bottom: 0.5em;
}
.modal-content div p {
	margin: 0 0 1em;
}
@media (max-width:1000px){
.modal-content {
    height: 85%;
	overflow: auto;
	padding: 2em;
}
.modal-content .inner {
	display: block!important;
}
.modal-content .inner div:not(.img-box) {
	width: 100%;
	position: relative;
}
.modal-content img {
	display: block;
	margin: 0 auto 1.5em;
}
.modal-content .inner div.img-box {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 1.5em;
}
.modal-content .inner div.img-box img {
	width: 49%;
	margin: 0;
}
.modal-content .inner div.img-box img:nth-of-type(n+2) {
	margin-top: 0em;
}
.modal-content .inner div.img-box img:nth-of-type(n+3) {
	margin-top: 2%;
}
.modal-close {
	display: block;
	text-align: right;
	transition: all .3s;
    padding: 0 1.5em 0px 0px;
	margin-bottom: 1.5em;
	position: relative;
	top: auto;
	right: auto;
	cursor: pointer;
}
}
@media (max-width:640px){
.modal-content {
	padding: 1.5em 1em 3em;
}
}
/* TABLE */
.th-color {
	width: 100%;
	border-collapse: separate;
	border-spacing: 4px 4px;
}
.th-color th {
	width: 115px;
	background-color: #fff1e1;
	padding: 1em;
	border-radius: 5px;
}
.th-color td {
	padding: 1em;
	border-radius: 5px;
}
.th-color td a {
	text-decoration: underline;
	transition: all .3s;
}
.th-color td a:hover {
	text-decoration: none;
	color: #ff811c;
	transition: all .3s;
}
.th-color td a::after {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-left: 8px;
	background: url(/~syoni/images/blank-icon.png) no-repeat;
	background-size: 100%;
	background-position: center;
}
@media (max-width:640px){
.th-color {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
.th-color th,
.th-color td {
	width: 100%;
	display: block;
}
}

.border-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 4px 4px;
	background-color: #ededed;
}
.border-table th {
	border: 1px solid #ddd;
	padding: 0.8em;
	background-color: #ffdcc0;
	vertical-align: middle;
}
.border-table tr:first-of-type th  {
	text-align: center;
}
.border-table tr:nth-of-type(n+2) th  {
	width: 100px;
}
.border-table td {
	border: 1px solid #ddd;
	padding: 0.8em;
	background-color: #fff;
	vertical-align: middle;
}

@media (max-width:640px){
.border-table tr:first-of-type {
	display: none;
}
.border-table tr:nth-of-type(n+2) th,
.border-table th,
.border-table td {
	width: 100%;
	display: block;
}
.border-table th {
	text-align: center;
}
.border-table td {
	position: relative;
	font-size: 14px;
	padding-left: 5.5em;
}
.border-table td:nth-of-type(1)::before {
	content: "タイトル";
	position: absolute;
	left: 0.5em;
	background-color: #ededed;
    padding: 0.2em 0.2em 0.1em;
    margin: -0.2em 0;
}
.border-table td:nth-of-type(2)::before {
	content: "氏　　名";
	position: absolute;
	left: 0.5em;
	background-color: #ededed;
    padding: 0.2em 0.2em 0.1em;
    margin: -0.2em 0;
}
}
/* POINT LIST */
.point-list {
	margin: 0 1.5em 2em;
    overflow: hidden;
}
.point-list li {
	position: relative;
	padding: 0.5em 0 0.5em 1em;
}
.point-list li::before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 8px;
	background-color: #ff811c;
	position: absolute;
	top: 0.8em;
	left: 0;
}
.point-list li:first-of-type::before {
	background-color: #ff811c!important;
}
.point-list li:nth-of-type(4n-1)::before {
	background-color: #a2ca0e;
}
.point-list li:nth-of-type(4n)::before {
	background-color: #f2275c;
}
.point-list li:nth-of-type(4n+1)::before {
	background-color: #ff811c;
}
.point-list li:nth-of-type(4n+2)::before {
	background-color: #0db8d9;
}
.point-list li a:hover {
	text-decoration: underline;
}
@media (max-width:640px){
.point-list {
	margin: 0 0 2em;
    overflow: hidden;
}
}
/* FOOTER */
#slide {
	margin-top: 3em;
}
#footer {
	width: 100%;
}
#footer .footer-inner {
	background-color: #a2ca0e;
	padding: 1em 1.5em;
	text-align: center;
}
#footer .footer-inner address {
	margin-bottom: 0.25em;
}
#footer .footer-inner p {
	margin-bottom: 0;
	font-size: 0.8em;
	color: #fff;
}

/* ETC */
.space {
	margin-bottom: 1.5em;
}
.clear {
	overflow: hidden;
	clear: both;
	margin: 0 1.25em 1em;
}
.leftimg-box {
	max-width: 300px;
	float: left;
	margin: 0 1em 1.5em 0;
}
.leftimg-box img {
	width: 100%;
	line-height: 0;
	margin-bottom: 0.5em;
}
.float-box table {
	width: auto;
}
@media (max-width:640px){
.clear {
	margin: 0 0 1em;
}
.leftimg-box {
	max-width: none;
	float: none;
	margin: 0 0 1em 0;
}
.leftimg-box.sp {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.leftimg-box.sp img {
	width: 49%;
}
.float-box table {
	width: 100%;
}
}
.link {
    color: #ff811c;
    text-decoration: underline;
    
    &:hover {
        text-align: none;
    }
}
.border {
    border: 1px solid #ddd;
}

.staff-box.in-text > div {
    width: 100%;
    margin-bottom: 2rem;
}
.staff-box.in-text > div > div {
    text-align: left;
    border-top: 1px solid #ddd;
}
.staff-box.in-text > div > div > * {
    display: block;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
}
.staff-box.in-text .academic-degree {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.staff-box.in-text .name {
    width: 100%;
    display: table;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.staff-box.in-text .name a {
    width: max-content;
    display: block;
    padding-left: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff811c;
    text-decoration: underline;
    
    &:hover {
        text-decoration: none;
    }
}
.staff-box.in-text .name span {
    width: 100%;
    display: table-cell;
    padding-left: 1rem;
    font-size: 0.9rem;
    word-break: auto-phrase;
    line-height: 1.6;
}
.staff-box.in-text .message {
    border-bottom: none;
    margin-top: 1rem;
    background-color: #ffdcc0;
    border-radius: 4px;
    position: relative;
    
    &::before {
        content: "";
        display: block;
        transform: translateY(-50%);
        border: 8px solid transparent;
        border-right: 12px solid #ffdcc0;
        width: 20px;
        height: 17px;
        position: absolute;
        top: -17px;
        left: 2.5rem;
        margin: auto;
        rotate: 90deg;
    }
}
@media screen and (max-width:1080px){
    .staff-box.in-text .name span {
        display: block;
        margin-top: 0.5rem;
        margin-left: 2rem;
    }
}
@media screen and (max-width:780px){
    .staff-box.in-text > div {
        flex-direction: column;
        align-items: center!important;
    }
    .staff-box.in-text > div > div {
       width: 100%;
    }
    .staff-box.in-text .message {
        margin-top: 1.5rem;
        margin-left: 0;

        
    }
    .staff-box.in-text > div > div > * {
        text-align: center;
    }
    .staff-box.in-text .name > * {
        display: block;
        margin: 0 auto!important;
        padding: 0 1rem!important;
    }
}