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

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

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid var(--base-color);
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
	font-weight: 700;
	letter-spacing: 3px;
}
.snsbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
	margin-bottom: 0.5rem;
}
nav li {
    display: block;
    flex: 0 0 15%;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    text-decoration: underline;
}
nav a {
    padding: 1rem;
}

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

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 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: 99%;
	max-width: 900px;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 1.4rem 0 1.4rem 0;
}

/*キャッチタイトル
-------------------------------------*/
h2.catch {
  max-width: 1220px;
  font-weight: bold;
  border: 3px solid #4c9ac0;
  padding: 0.4em;
  position: relative;
  font-size: 33px;
}
@media (max-width: 867px) {
h2.catch {
  font-weight: bold;
  border: 3px solid #4c9ac0;
  padding: 0.4em;
  position: relative;
  font-size: 20px;
      }
}
h2.catch::after {
  content: '';
  background-color: #e1eef5;
  width: calc(100% + 3px);
  height: calc(100% + 3px);
  position: absolute;
  top: -7px;
  left: 4px;
  z-index: -1;
}
@media (max-width: 867px) {
h2.catch::after {
  content: '';
  background-color: #e1eef5;
  width: calc(100% + 3px);
  height: calc(100% + 3px);
  position: absolute;
  top: -7px;
  left: 4px;
  z-index: -1;
      }
}







/*表の設定②
-------------------------------------*/





/*表の設定
-------------------------------------*/









文字サイズ
-------------------------------------*/

.txt01{
  font-size: 15px;
  font-size: clamp(18px,8vw,25px);
  font-family: 'AR Pゴシック体S';
}
@media (max-width: 867px) {
.txt01{
  font-size: 11px;
  font-size: clamp(11px,4vw,15px);
  font-family: 'AR Pゴシック体S';
      }
}


.txt02{
  font-size: 19px;
  font-size: clamp(23px,11vw,31px);
  font-family: 'AR Pゴシック体S';
}
@media (max-width: 867px) {
.txt02{
  font-size: 15px;
  font-size: clamp(17px,6vw,20px);
  font-family: 'AR Pゴシック体S';
      }
}

.txt03{
  font-size: 38px;
  font-size: clamp(39px,13vw,44px);
  font-family: 'AR Pゴシック体S';
}
@media (max-width: 867px) {
.txt03{
  font-size: 22px;
  font-size: clamp(22px,7vw,28px);
  font-family: 'AR Pゴシック体S';
      }
}


.txt04{
  font-size: 14px;
  font-size: clamp(14px,6vw,18px);
  font-family: 'AR Pゴシック体S';
}
@media (max-width: 867px) {
.txt04{
  font-size: 8px;
  font-size: clamp(8px,3vw,12px);
  font-family: 'AR Pゴシック体S';
      }
}




画像のサイズ
-------------------------------------*/
.size001 img{
	width: 65%;
	max-width: 950px;
}
@media (max-width: 674px) {
.size001 img{
	width: 92%;
      }
}


.size002 img{
	width: 65%;
	max-width: 950px;
}
@media (max-width: 674px) {
.size002 img{
	width: 92%;
      }
}


.size003 img{
	width: 65%;
	max-width: 950px;
}
@media (max-width: 674px) {
.size003 img{
	width: 92%;
      }
}


.size004 img{
	width: 80%;
	max-width: 55px;
}
@media (max-width: 674px) {
.size004 img{
	width: 80%;
      }
}


.size005 img{
	width: 96px;
}
@media (max-width: 674px) {
.size005 img{
	max-width: 80px;
      }
}


.size006 img{
	width: 70%;
	max-width: 500px;
}
@media (max-width: 674px) {
.size006 img{
	width: 85%;
	max-width: 400px;
      }
}


.size007 img{
	width: 70%;
	max-width: 500px;
}
@media (max-width: 674px) {
.size007 img{
	width: 78%;
	max-width: 380px;
      }
}


.size008 img{
	width: 64%;
	max-width: 700px;
}
@media (max-width: 674px) {
.size008 img{
	width: 93%;
	max-width: 560px;
      }
}


.size009 img{
	width: 54%;
	max-width: 600px;
}
@media (max-width: 674px) {
.size009 img{
	width: 70%;
	max-width: 540px;
      }
}


/*フッター
-------------------------------------*/
footer {
    background-color: var(--white-color);
    padding: 3rem 0;
}
footer h5 {
    border-bottom: 1px solid var(--border-color);
}







/* ボックス */
.box1-1 {
    max-width: 300px;              /* 幅指定 */
}


/* ボックス② */
.box1-2 {
    max-width: 800px;              /* 幅指定 */
    padding: 40px 48px 10px 48px;
    border: 3px solid #2589d0;
    border-radius: 20px;
}
@media (max-width: 674px) {
.box1-2 {
    max-width: 100%;              /* 幅指定 */
    padding: 27px 21px 0px 21px;
    border: 3px solid #2589d0;
    border-radius: 11px;
      }
}




/* ボックス③ */
.box1-3 {
    max-width: 980px;              /* 幅指定 */
    padding: 0px 7px;
}



/* ボックス④ */
.box1-4 {
    max-width: 980px;              /* 幅指定 */
    padding: 30px 76px;
    margin: 0px 0px;
    border-radius: 18px;
    background-color: #fffdd9;
    border: 2px solid #ca2020;
}
@media (max-width: 674px) {
.box1-4 {
    max-width: 100%;              /* 幅指定 */
    padding: 8px 8px;
    margin: 0px 2px;
    border-radius: 10px;
    background-color: #fffdd9;
    border: 2px solid #ca2020;
      }
}



/* ボックス⑤ */
.box1-5 {
    max-width: 680px;              /* 幅指定 */
}
@media (max-width: 674px) {
.box1-5 {
    max-width: 100%;              /* 幅指定 */
      }
}



/* ボックス⑥ */
.box1-6 {
    max-width: 280px;              /* 幅指定 */
}
@media (max-width: 674px) {
.box1-6 {
    max-width: 30%;              /* 幅指定 */
      }
}



/* ボックス⑦ */
.box1-7 {
    max-width: 60%;              /* 幅指定 */
}
@media (max-width: 674px) {
.box1-7 {
    max-width: 100%;              /* 幅指定 */
      }
}



/* デザインボックス④ */
.box-011 {
    position: relative;
    max-width: 980px;
    margin: 1.9em auto 0;
    padding: 1em 2.5em;
    border: 2px solid #2589d0;
    border-radius: 3px;
}
@media (max-width: 674px) {
.box-011 {
    position: relative;
    max-width: 670px;
    margin: 1.9em auto 0;
    padding: 1em 1.4em;
    border: 2px solid #2589d0;
    border-radius: 3px;
      }
}

.box-011 span {
    position: absolute;
    top: -1.9em;
    left: -2px;
    padding: .2em .8em;
    border-radius: 5px 5px 0 0;
    background-color: #2589d0;
    color: #fff;
}

.box-011 p {
    margin: 0;
    color: #333;
}




/* デザインボックス⑤ */
.box-012 {
    position: relative;
    max-width: 980px;
    margin: 1.9em auto 0;
    padding: 1em 1.8em;
    border: 2px solid #ca2020;
    border-radius: 3px;
}
@media (max-width: 674px) {
.box-012 {
    position: relative;
    max-width: 670px;
    margin: 1.9em auto 0;
    padding: 1em 1.1em;
    border: 2px solid #ca2020;
    border-radius: 3px;
      }
}

.box-012 span {
    position: absolute;
    top: -1.9em;
    left: -2px;
    padding: .2em .8em;
    border-radius: 5px 5px 0 0;
    background-color: #ca2020;
    color: #fff;
}

.box-012 p {
    margin: 0;
    color: #333;
}






/* デザインボックス⑤ */
.box-018 {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1em calc(1.5em + 9px);
    border-top: 3px solid #2589d0;
    border-bottom: 3px solid #2589d0;
    border-left: 3px solid #2589d0;
    border-right: 3px solid #2589d0;
    color: #333;
    border-radius: 22px;
}
@media (max-width: 680px) {
.box-018 {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-top: 3px solid #2589d0;
    border-bottom: 3px solid #2589d0;
    border-left: 3px solid #2589d0;
    border-right: 3px solid #2589d0;
    color: #333;
    border-radius: 12px;
      }
}




ボタン
-------------------------------------*/

.btn_box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

#btn_animation .btn {
  display: block;
  position: relative;
  width: 410px;
  line-height: 78px;
  font-size: 30px;
  text-decoration: none;
  background-color: #23ac38;
  color: #fbfbfb;
  text-align: center;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 4px 4px #0b783c;
}
@media (max-width: 680px) {
#btn_animation .btn {
  display: block;
  position: relative;
  width: 82%;
  line-height: 52px;
  font-size: 21px;
  text-decoration: none;
  background-color: #23ac38;
  color: #fbfbfb;
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 4px 4px #0b783c;
      }
}

#btn_animation .btn:hover {
    text-decoration: none;
    color: #fbfbfb;
}

#btn_animation .btn::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fbfbfb;
    animation: btn_animation 2.4s ease-in-out infinite;
}

@-webkit-keyframes btn_animation {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}




/* 最大幅 */

.max-widthlogo {
  width: 78%;/*親要素小さめ*/
  margin-left: auto;
  margin-right: auto;
  max-width: 700px
  max-height: 1100px
}
@media (max-width: 680px) {
.max-widthlogo {
  width: 92%;/*親要素小さめ*/
  margin-left: auto;
  margin-right: auto;
  max-width: 700px
  max-height: 1100px
      }
}
.max-width3 .nomin {/*最大幅なし*/
  background: white;
  width: 50%
}
.max-width10 .min10 {/*最大幅あり*/
  background:white;
  width: 50%;
  max-width: 500px
  max-height: 400px
}


.max-widthstar {
  width: 70%;/*親要素小さめ*/
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px
  max-height: 1100px
}
@media (max-width: 680px) {
.max-widthstar {
  width: 80%;/*親要素小さめ*/
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px
  max-height: 1100px
      }
}



表
-------------------------------------*/

<style>
    table, th, td {
        border: 0px solid black;  
    }
    table {
        table-layout: fixed;
        width: 100%;
        margin-top: -18px;
    }
@media (max-width: 680px) {
    table {
        table-layout: fixed;
        width: 100%;
        margin-top: -16px;
      }
}

    th.width30 {
        width: 30%;
    }
    
    th.width40 {
        width: 40%;
    }    
    
    th.width001 {
        width: 10%;
    }    
    @media (max-width: 680px) {
    th.width001 {
    width: 10%;
      }
}
    
    th.width002 {
        width: 90%;
    }    
    @media (max-width: 680px) {
    th.width002 {
    width: 83%;
      }
}
    
    th.widthspace {
        width: 10%;
    }    
    @media (max-width: 680px) {
    th.widthspace {
    width: 4%;
      }
}
    
    th.width003 {
        width: 0.5%;
    }    
    @media (max-width: 680px) {
    th.width003 {
    width: 0%;
      }
}
    
    th.width004 {
        width: 99.5%;
    }    
    @media (max-width: 680px) {
    th.width004 {
    width: 100%;
      }
}
</style>






異なる表
-------------------------------------*/

#exam1 table{
	font-size:15px;
  	border-collapse: collapse;
  	border-spacing: 0;
  	table-layout: fixed;
	border: 2px #ff0000 solid;
}
#exam2 td{
	font-size:15px;
  	table-layout: fixed;
	border: 2px #ff00ff solid;
}
#exam3 table, #exam3 td, #exam3 th{
	font-size:15px;
  	border-collapse: collapse;
  	border-spacing: 0;
  	table-layout: fixed;
	border: 2px #5e5e60 solid;
}








見出しデザイン

.heading-11 {
    position: relative;
    padding: .5em .7em;
    background-color: #2589d0;
    color: #fff;
}

.heading-11::before {
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: solid 10px transparent;
    border-right: solid 20px #1579c0;
    content: '';
}




/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--white-color);
}
.copyright a {
    color: var(--base-color);
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: var(--link-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: var(--linkhover-color:);
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}