@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #333;
    --linkhover-color: #666;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:inline;
    color: var(--link-color);
    text-decoration-line: underline;
    transition: .2s;
}
a:hover { 
    color: #270099;
    text-decoration-line: none;
}

.red p {
    color: red;
}
.red a {
    display:inline;
    color: red;
    text-decoration-line: underline;
    transition: .2s;
}
.red a:hover { 
    color: red;
    text-decoration-line: none;
}
.photo img {
    padding: 0 10px 10px 10px;
}

/*改行
-------------------------------------*/
  .br-pc { display:block; }
  .br-sp { display:none; }

@media screen and (max-width: 650px){	
  .br-pc { display:none; }
  .br-sp { display:block; }
}

/*PCのみ表示
-------------------------------------*/
.pc{
  display:block;
}
.sp{
  display:none;
}

/*SPのみ表示
-------------------------------------*/
@media screen and (max-width: 768px){
.pc{
  display:none;
}
.sp{
  display:block;
}
}

/*ヘッダー
-------------------------------------*/
.header {
	display: inline-block;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header h1 { 
    text-align: center;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid var(--base-color);
}

nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
    -webkit-flex-wrap: wrap;
    flex-wrap:wrap;
}
nav li {
	flex: 1 0 auto;
    width:30%;
    margin-bottom: 4rem;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}

nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
nav a:hover {
  color: #270099;
}
nav a::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, #a9a0f1 0%, #3100bb 100%);
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
nav a:hover::after {
  transform: scale(1, 1);
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
    width: 75%;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
nav li {
	width:100%;
    margin-bottom: 2rem;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: var(--back-color);
}

/*コンテンツタイトル
-------------------------------------*/
h2{
  background-color: #dee5f4;
  border-left:5px #270099 solid;
  padding: 13px 15px 10px;
  margin:30px 0;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/*サブタイトル
-------------------------------------*/
h3 {
  font-size: 21px;
  font-weight: bold;
  color: #270099;
  position: relative;
  padding: 1rem .5rem 0.5rem 0;
}

h3:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background-image: -webkit-gradient(linear, right top, left top, from(#a9a0f1), to(#3100bb));
  background-image: -webkit-linear-gradient(right, #a9a0f1 0%, #3100bb 100%);
  background-image: linear-gradient(to left, #fff 0%, #3100bb 100%);
}
h4 {
    font-size: 18px;
    font-weight: bold;
    }

/*ボックス
-------------------------------------*/
.box{
	display:inline-block;
    padding: 1.5em 1.5em;
    margin: 2em 0;
    color: #270099;
    background: white;
    border-top: solid 5px #270099;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box p {
	text-align: center;
    margin: 0; 
    padding: 0;
}

/*インデント
-------------------------------------*/
.indent li {
   text-indent: -1.5em;
   padding-left: 1.5em;
}

.indent p {
   text-indent: -1em;
   padding-left: 1em;
}

/* テーブル
–––––––––––––––––––––––––––––––––––––––––––––––––– */
table {
	border-collapse: collapse;
margin-top: 20px}
th {
  padding: 12px 15px;
  text-align: center;
  background-color: #eee;
  border: 1px solid #fff; }
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #999; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }

@media screen and (max-width: 768px){
.scroll {
overflow: auto; /* 横スクロールバーを表示 */
white-space: nowrap; /* セル内にあるテキストの折り返しを禁止 */
}
.res_table table {
  border-collapse: collapse;
}
.res_table table td, .res_table table th {
  width: 100%;
  padding: 8px;
  display: block;
}
}

/*区切り線
-------------------------------------*/
hr {
  border-top: 1px dashed #8c8b8b;
}

/*Ｑ＆Ａ
-------------------------------------*/
.qa dt {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 1em 2em 1em 3.1em;
    color: #333333;
}
.qa dd {
    display: block;
    align-items: start;
    position: relative;
    margin: 0;
    padding: 1em 2em 1em 3.1em;
    color: #333333;
}
.qa dt {
    font-weight: 600;
}

.qa dd + dt {
    margin-top: 1em;
}

.qa dt::before,
.qa dd::before {
    display: inline-block;
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    border-radius: 7px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
    line-height: 40px;
    text-align: center;
}

.qa dt::before {
    background-color: #270099;
    content: 'Q';
}

.qa dd::before {
    background-color: #a9a0f1;
    content: 'A';
}

/*フロチャート
-------------------------------------*/
.flowchart {
  counter-reset: section;
}

/* h4見出しに丸数字を付与 */
.flowchart h4 {
  position: relative;
  padding-left: 2.5em; /* 丸数字分の余白 */
  font-size: 1.2em;
  margin: 20px 0 ;
}

/* 丸数字のスタイル */
.flowchart h4::before {
  counter-increment: section; /* カウンターを1つ進める */
  content: counter(section, decimal); /* 数字を取得 */
  
  /* 数字を丸で囲む */
  display: inline-block;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  text-align: center;
  border-radius: 50%;
  background-color: #270099;
  color: #fff;
  font-weight: bold;
  
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/*動画
-------------------------------------*/
div.vid_contents {
width: 85%;/*背景色を横幅いっぱいに広げる*/
text-align: center;
margin: auto;
margin-bottom:1em;
}
video.vid_main {
width: 85%;
}
.youtube {
  width: 100%;
  max-width: 800px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 縦横比（アスペクト比）16:9の場合の縦幅 */
}

.iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (max-width:768px) {
div.vid_contents {
width: 100%;/*背景色を横幅いっぱいに広げる*/
text-align: center;
margin: auto;
margin-bottom:1em;
}
video.vid_main {
width: 100%;
}
}

/*汎用クラス
-------------------------------------*/
/* 写真中央寄せ */
.imgC {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
	text-align:center;
}
.imgC img {
	border-radius:0px;
	margin-bottom:0.5em;
}

/* 写真左寄せ */
.imgL {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}
.imgL img {
	float:left;
    max-width:25%;
	margin:0 1em 0.5em 0;
	border-radius:50%;
}

/* 写真右寄せ */
.imgR {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}
.imgR img {
	float:right;
    max-width:25%;
	margin:0 0 1em 0.5em;
	border-radius:0px;
}
@media screen and (max-width:768px) {
    	.imgC {
		margin-bottom:30px;
	}
	.imgC img {
		max-width:100%;
	}

	.imgL {
		margin-bottom:30px;
	}
	.imgL img {
		float:none;
		max-width:100%;
		margin-right:0;
	}

	.imgR {
		margin-bottom:30px;
	}
	.imgR img {
		float:none;
		max-width:100%;
		margin-left:0;
	}
}
	
/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    color:#666;
    font-size: 14px;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 30px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: #fff;
    border-radius: 5px;
    border-color: #270099;
    border: 2px solid;
    color: var(--white-color);
    width: 100px;
    padding: 5px 5px;
    text-align: center;
    color: #270099;
    text-decoration-line: none;
    opacity: 0.8;
}
#pagetop a:hover {
    border-color: #270099;
    background-color: #270099;
    color: #fff;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	

.res_table table {
  border-collapse: collapse;
}
.res_table table td, .res_table table th {
  width: 100%;
  padding: 8px;
  display: block;
}
}