/* リセットcssここから */
/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: border-box;
    border-top-width: 2px;
    margin: 0 0 1em 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type="number"] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}
/* リセットcssここまで */

body{
	max-width: 900px;
    margin: 0 auto;
    width: 96%;
    background: #FFFFFF;
    position: relative;
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    counter-reset: number 0;
}
.button a {
    background: #eee;
    position: relative;
    display: inline-block;
    max-width: 280px;
    text-align: center;
    width: 100%;
    padding: 0px 3px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 400;
    z-index: 0;
    font-size: 1.2rem;
    box-sizing: border-box;
}
a {
  color: inherit;
  text-decoration: none;
}
a {
  background:
    linear-gradient(
      to right,
      rgba(100, 200, 200, 1),
      rgba(100, 200, 200, 1)
    ),
    linear-gradient(
      to right,
      rgba(255, 0, 0, 1),
      rgba(255, 0, 180, 1),
      rgba(0, 100, 200, 1)
  );
  background-size: 100% 3px, 0 3px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
}
a:hover {
  background-size: 0 3px, 100% 3px;
}
h2 {
    width: 100%;
    position: relative;
    margin-right: 100px;
    padding: 0.6rem 1rem 0.7rem 1rem;
    color: #fff;
    background: #7F7F7F;
    max-width: 800px;
    margin-bottom: 1em;
    font-size: 32px;
	font-weight: 600;
}
h2:after {
    position: absolute;
    top: 0;
    right: -55px;
    width: 0;
    height: 0;
    content: '';
    border-width: 68px 55px 0 0;
    border-style: solid;
    border-color: #7F7F7F transparent transparent transparent;
}
h2 span {
    font-size: 4rem;
    font-weight: 800;
    position: absolute;
    top: 0;
    right: -100px;
    display: block;
    padding-top: 10px;
    color: #7F7F7F;
}
h4 {
    position: relative;
    padding: 0.4em 0.6em 0.4em 0.6em;
    background: #f5deb3;
    width: 100%;
    height: 4em;
    box-sizing: border-box;
    font-weight: 700;
    margin: 0 0 1em 0;
}
h4:before {
    position: absolute;
    top: -7px;
    left: -7px;
    width: 95%;
    height: 80%;
    content: '';
    border: 3px solid #000;
    box-sizing: border-box;
}
.mainVisual{
	position: absolute;
	margin: auto;
	z-index: -1;
	text-align: center;
	width: 100%;
	overflow:hidden;
}

div.parent_box {
  width: 95%;
  display: flex;
}
.topbaner {
    width: 96%;
    /* background-image: linear-gradient(131deg, rgba(255, 254, 254, 0.7), rgba(70, 90, 140, 0.7) 30%, rgba(0, 0, 0, 0.65)); */
    z-index: 999;
    max-width: 900px;
}
.topbaner2 {
  height: 130px;
  width: 100%;
  background-image: linear-gradient(152deg, rgba(242, 246, 255, 0.7) 20%, rgba(5, 27, 133, 0.7) 80%);
}
.topbaner3 {
	width: 100%;
	background-image: linear-gradient(152deg, rgba(242, 246, 255, 0.7) 20%, rgba(5, 27, 133, 0.7) 80%);
	margin: 0 0 1em 0;
}
.topbaner4 {
  height: 65px;
  width: 100%;
  background-image: linear-gradient(152deg, rgba(242, 246, 255, 0.7) 20%, rgba(5, 27, 133, 0.7) 80%);
}
.topbaner5 {
  height: 40px;
  width: 100%;
  background-image: linear-gradient(152deg, rgba(242, 246, 255, 0.7) 20%, rgba(5, 27, 133, 0.7) 80%);
}
#page-top {
    position: fixed;
    right: 10px;
    bottom: 75px;
    background: #FFF;
    color: #111;
    width: 60px;
    height: 60px;
    text-align: center;
    text-decoration: none;
    border: solid 1px;
    border-radius: 50%;
    box-shadow: 0 2px 10px -6px rgba(0,0,0,.5), 0 3px 10px -4px rgba(0,0,0,.2);
    z-index: 10;
}
#page-top:hover {
    background: #111;
    color: #FFF;
}
#page-top i {
    padding-top: 5px;
    font-size: 1.3rem;
    display: block;
}
#page-top span {
    font-size: 0.8rem;
}
.example>div{
    border: 0px solid #999;
    background: #ffffff;
    padding: 1px;
    margin: 1px;
}

.button a:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    display: block;
    background: #666;
    transition: .3s;
    left:0;
}
.button a:hover {
    color: #FFF;
}
.button a:hover:before {
    width: 100%;
    z-index: -1;
}
.button2 a:before {
    content: "";
    position: relative;
    top: 0;
    bottom: 0;
    width: 0;
    display: block;
    background: #6bb6ff;
    transition: .3s;
    left:0;
}
.button2 a:hover {
    color: #FFF;
}
.button2 a:hover:before {
    width: 100%;
    z-index: -1;
}
.button2 a {
    background: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 33px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    z-index: 0;
}
.button3 a:before {
    content: "";
    position: relative;
    top: 0;
    bottom: 0;
    width: 0;
    display: block;
    background: #6bb6ff;
    transition: .3s;
    left:0;
}
.button3 a:hover {
    color: #FFF;
}
.button3 a:hover:before {
    width: 100%;
    z-index: -1;
}
.circle img {
  border-radius: 50%;
}
.hr1 {
  width: 100%;
  height: 3px;
  background: skyblue;
  background-image: -webkit-linear-gradient(left, #caeaf7,#666666, #caeaf7);
  background-image: -moz-linear-gradient(left, #caeaf7, #666666, #caeaf7);
  background-image: -ms-linear-gradient(left, #caeaf7, #666666, #caeaf7);
  background-image: -o-linear-gradient(left, #caeaf7, #666666, #caeaf7);
}
.myChangeImage{
    position: relative;
    width: 100%;
    height: auto;
    border: 0 solid;
    margin: 19px 0 0 0;
}

.myChangeImage img{
    position: absolute;
    top: -18px;
    left: 0;
    animation: ChangeImage 65s infinite;
    opacity: 0;
}

@keyframes ChangeImage{
    0%{ opacity: 0;}
    10%{ opacity: 1;}
    20%{ opacity: 1;}
    30%{ opacity: 0;}
    100%{ opacity: 0;}
}
.myChangeImage img:nth-of-type(1) {
     animation-delay: 0s;
}
.myChangeImage img:nth-of-type(2) {
    animation-delay: 10s;
}
.myChangeImage img:nth-of-type(3) {
    animation-delay: 15s;
}
.myChangeImage img:nth-of-type(4) {
    animation-delay: 20s;
}
.myChangeImage img:nth-of-type(5) {
    animation-delay: 25s;
}
.myChangeImage img:nth-of-type(6) {
     animation-delay: 30s;
}
.myChangeImage img:nth-of-type(7) {
    animation-delay: 35s;
}
.myChangeImage img:nth-of-type(8) {
    animation-delay: 40s;
}
.myChangeImage img:nth-of-type(9) {
    animation-delay: 45s;
}
.myChangeImage img:nth-of-type(10) {
    animation-delay: 50s;
}
.myChangeImage img:nth-of-type(11) {
    animation-delay: 55s;
}
.topbaner .button {
    display: flex;
    height: 45px;
    align-items: center;
    justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}
.logo_area img {
    display: block;
    width: 100%;
}
.logo_area a {
    display: block;
    max-width: 200px;
    background: none;
    margin: 0 auto;
}
.header_menu {
    position: relative;
	margin: 0 auto;
}
.logo_area {
    margin: 46px auto 84px;
    border: none;
    z-index: 999;
    position: relative;
}
#news {
    font-size: 1.4em;
    font-weight: bold;
	margin: 1em 0 1em 0;
	text-align: center;
}
.button {
    text-align: center;
}
img {
    display: block;
    width: 100%;
}
.logo_img img {
    max-width: 200px;
    margin: 0 auto;
}
.menu_flex {
    margin: 0 0 1em 0;
    width: 100%;
}
.menu_left {
    display: flex;
    gap: 10px;
    justify-content: center;
	margin: 0 0 1em 0;
}
.menu_left a {
    white-space: nowrap;
    padding: 0px 10px;
    max-width: 170px;
}
.menu_right {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.menu_right a {
    white-space: nowrap;
    padding: 0px 10px;
    max-width: 170px;
}
.menu_right2 {
    width: 100%;
    margin: 0 0 4em 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.logo_flex {
    display: flex;
    gap: 20px;
	flex-wrap: wrap;
}
.logo_img {
    width: calc(30% - 10px);
}
.logo_text {
    width: calc(70% - 10px);
}
.topbaner3 h3 {
    margin: 0;
    padding: 0.4em 0.6em 0.4em 0.6em;
    font-size: 19px;
	border: none;
	font-weight: 700;
	text-align: left;
}
.niji_logo {
    max-width: 250px;
	margin: 0 auto;
}
p {
    margin: 0 0 1em 0;
	font-size: 16px;
	width: 100%;
}
.button2 {
    margin: 0 auto 1em;
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}
.menu_right2 a {
    white-space: nowrap;
    padding: 0px 10px;
    max-width: 170px;
}
.topbaner3 small {
    font-size: 0.7em;
    color: #283da5;
}
.space_section {
    margin: 0 0 2em 0;
}
.flex_example {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
	width: 100%;
}
.example {
    width: calc(40% - 15px);
}
.example_text {
    width: calc(60% - 15px);
}
.circle_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 0 3em 0;
}
.circle {
    width: calc(30% - 15px);
}
.circle_text {
    width: calc(70% - 15px);
}
h3 {
    margin: 0 0 1em 0;
    border-bottom: 1px solid #000000;
    font-size: 19px;
    font-weight: 600;
	text-align: center;
}
.center {
    text-align: center;
}
.tizu_box {
    width: 100%;
	margin: 0 0 2em 0;
}
.rinen {
    border: none;
    text-align: center;
}
.deco_price {
    margin: 2em 0 0 0;
}
.youtube_box {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 1em;
}
.footer_text {
    text-align: center;
    padding: 0 0 3em 0;
}
.logo_flex2 {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 0 2em 0;
    width: 100%;
    justify-content: center;
}
.logo_img2 {
    width: calc(50% - 15px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}
.logo_img2 img {
    max-width: 200px;
}
.logo_text2 {
    width: calc(50% - 15px);
}
.space_content {
    margin: 0 0 1em 0;
}
.name_red {
    background-color: #dc143c;
    color: #ffffff;
    padding: 0.2em 1em;
    box-sizing: border-box;
}
.text_yellow {
    background-color: #ffffb7;
    padding: 0.6em 1em;
    box-sizing: border-box;
}
.text_green {
    background-color: #e5ffcc;
    padding: 0.6em 1em;
    box-sizing: border-box;
}
.name_black {
    background-color: #4f4f4f;
    color: #ffffff;
    padding: 0.2em 1em;
    box-sizing: border-box;
}
.blue_name {
    background-color: #0000cd;
    color: #ffffff;
    padding: 0.2em 1em;
    box-sizing: border-box;
}
.light_blue_text {
    background-color: #e5ffff;
    padding: 0.6em 1em;
    box-sizing: border-box;
}
.dark_green {
    background-color: #006400;
    color: #ffffff;
    padding: 0.2em 1em;
    box-sizing: border-box;
}
.topic_list {
    margin: 0 auto 1em;
    max-width: max-content;
}
li {
    margin: 0 0 0.4em 0;
    list-style: none;
    padding-left: 1em;
    text-indent: -1em;
}
.topic_text {
    text-align: center;
}
.circle_text p:last-child {
    margin: 0;
}
.circle_border {
    border-top: 1px dashed;
    margin: 0 0 3em 0;
}

/* レスポンシブここから */
@media screen and (min-width: 1201px) {
.nav {
	display: none;
}
}
@media screen and (max-width: 1200px) {
.topbaner.header_menu {
    display: none;
}
.nav {
	display: flex;
    justify-content: flex-end;
    width: 100%;
	z-index: 9999;
    position: relative;
}
.drawer_hidden {
    display: none;
}
.drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    cursor: pointer;
}
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}
.drawer_open span:before {
  bottom: 8px;
}
.drawer_open span:after {
  top: 8px;
}
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav_content {
    margin: 60px 0 0 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
    background: #fff;
    display: none;
	width: 100%;
}
.nav_list {
    list-style: none;
	padding: 0;
    margin: 0;
}
#drawer_input:checked ~ .nav_content {
     display: block;
}
.nav_item {
    padding: 1em 1.4em;
}
.myChangeImage {
    margin: 18px 0 0 0;
}
}
@media screen and (max-width:900px) { 
h2 {
    width: calc(100% - 80px);
}
}
@media screen and (max-width:800px) { 
.mainVisual img{
	margin:0 0%; width:120%;
}

}
@media screen and (max-width:700px) { 
.mainVisual img{
	margin:0 -5%; width:130%;
}
}
@media screen and (max-width:600px) { 
.mainVisual img{
	margin:0 -10%; width:140%;
}
}
@media screen and (max-width:480px) { 
.mainVisual img{
	margin:0 -15%; width:145%;
}
.logo_img {
    width: 100%;
}
.logo_text {
    width: 100%;
}
.menu_left {
    flex-direction: column;
	margin: 0 0 10px 0;
}
.menu_left a {
    max-width: 90%;
    padding: 0.4em 1em;
    margin: 0 auto;
}
.menu_right {
    flex-direction: column;
}
.menu_right a {
    max-width: 90%;
    padding: 0.4em 1em;
    margin: 0 auto;
}
.menu_right2 {
    flex-direction: column;
	margin: 0 0 2em 0;
}
.menu_right2 a {
    max-width: 90%;
    padding: 0.4em 1em;
    margin: 0 auto;
}
body {
    width: 88%;
}
.example {
    width: 100%;
}
.example_text {
    width: 100%;
}
.flex_example {
    gap: 12px;
}
.circle {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}
.circle_text {
    width: 100%;
}
.circle_flex {
    gap: 20px;
}
.logo_img2 {
    width: 100%;
    justify-content: center;
}
.logo_text2 {
    width: 100%;
}
.tizu_box iframe {
    height: 300px;
    box-sizing: border-box;
}
.youtube_box iframe {
    height: 300px;
    box-sizing: border-box;
}
h2 {
    font-size: 23px;
	margin-right: 80px;
}
h2:after {
    border-width: 56px 55px 0 0;
}
h2 span {
    font-size: 2.8rem;
    right: -80px;
	padding-top: 6px;
}
.topbaner3 h3 {
    font-size: 16px;
}
}
@media screen and (max-width:420px) { 
.mainVisual img{
	margin:0 -20%; width:150%;
}
}
@media screen and (max-width:380px) { 
.mainVisual img{
	margin:0 -25%; width:175%;
}
}
@media screen and (max-width:340px) { 
.mainVisual img{
	margin:0 -30%; width:180%;
}
body {
	font-size: 15px;
}
p {
    font-size: 15px;
}
h2 {
    font-size: 21px;
}
h2:after {
    border-width: 52px 55px 0 0;
}
}