@charset "utf-8";
/* @group HTML */
html {
	font-size: 75%;
	font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI","Noto Sans Japanese","ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
	line-height: 1.5;
}
img {
	max-width : 100%;
	vertical-align:bottom
}
figure {
margin: 0;
padding: 0;
}

/* @group typography */
p,h3,h4,h5,h6 {
	font-size: 1rem;
	margin-bottom: 1rem;
}
a {
	color: rgba(178,74,111,1);
}
.note {
    opacity: .8;
    font-size: .9rem;
    letter-spacing: .04rem;
    text-align: right;
}
/* @group margin */
.mgb0 {
margin-bottom: 0px;
}
.mgb5 {
margin-bottom: 5px;
}
.mgb10 {
margin-bottom: 10px;
}
.mgb15 {
margin-bottom: 15px;
}
.mgb20 {
margin-bottom: 20px;
}
.mgb40 {
margin-bottom: 40px;
}
.mgb80 {
margin-bottom: 80px;
}

.mgt5 {
margin-top: 5px;
}
.mgt10 {
margin-top: 10px;
}

/* @group padding */
.side-padding {
padding: 0 1rem;
}

/* @Text Position */
.center {
text-align: center;
}

/* @Header */
header {
    position: relative;
}
.TopTitle {
    position: absolute; /* 絶対配置 */
    width: 96%;
    top: 80%; /* 画像の上から50%の位置に配置 */
    left: 50%; /* 画像の左から50%の位置に配置 */
    transform: translate(-50%, -50%); /* テキストを中央揃えにするために移動 */
    color: #fff; /* テキストの色 */
}


h1 {
margin-bottom: .8rem;
text-align: center;
font-family: "intercom", sans-serif;
font-weight: 600;
font-size: 3.8rem;
letter-spacing: .4rem;
line-height: 1;
}
header h1 strong {
font-weight: normal;
}
.catch {
text-align: center;
font-family: "intercom", sans-serif;
font-weight: 600;
letter-spacing: .1rem;
font-size: 1.2rem;
}

h2.general {
font-size: 1.2rem;
}
h2.Intercom {
text-align: center;
font-family: "intercom", sans-serif;
font-weight: 600;
letter-spacing: .08rem;
}

h3 {
font-size: 1rem;
font-weight: normal;
}




/*MAIN CONTENTS*/

/*GridArea*/
section.ContentsA {
display: grid;
grid-template:
    "LeftBox space MainBox"
    / auto 20px 1fr;
margin: 0 10px;
padding: 80px 0;
border-bottom: solid #ddd 1px;
}
.ContentsA h1 {
grid-area: LeftBox;
text-align: center;
writing-mode: vertical-rl;
font-weight: 700;
font-size: 2.8rem;
letter-spacing: .2rem;
}
.MainArea {
grid-area: MainBox;
}
.MainArea figure {
text-align: center;
}
.IconRogo {
width: 6rem;
}


.MapWrapper {
display: flex;
justify-content: center;
}
/*LINK Button*/
.Area-Right {
display: flex;
justify-content: flex-end;
}
.LinkButton {
margin-left: auto;
padding: .8rem 1.1rem .8rem 2rem;
border-radius: 4rem;
background-color: #0f322c;
color: #fff;
font-size: 1.2rem;
font-weight: 700;
}
.IconArrow {
width: 1.6rem;
}

/*Uniform*/
.WrapFlex {
display: flex;
justify-content: space-evenly;
}
.WrapUniform {
width: 8rem;
}
    /*Photo On the HOME AWEY*/
.PhotoOnText {
position: relative;
}
.UniHome {
position: absolute;
top: 50%;
left: 32%;
display: inline-flex;
justify-content: center;
width: 4.6rem;
color: #fff;
background: #0e322b;
font-family: "intercom", sans-serif;
letter-spacing: .1rem;
}
.UniAwey {
position: absolute;
top: 50%;
left: 75%;
display: inline-flex;
justify-content: center;
width: 4.6rem;
color: #fff;
background: #8b1515;
font-family: "intercom", sans-serif;
letter-spacing: .1rem;
}


/*RESULT PARTS -TAB- */
.tabs {
width: 100%;
}
label.tab_item {
cursor: pointer;
}
.tab_item {
width: calc(100%/2);
padding: 1rem 0;
display: block;
float: left;
text-align: center;
border-bottom: 3px solid #333;
background: #f3f3f3;
transition: all 0.2s ease;
/*border-top-left-radius: .4rem;*/
}
/*Radio button Delete*/
input[name="tab_item"] {
  display: none;
}
/*tab style*/
.tab_content {
  display: none;
  padding: 20px 0 0 0;
  clear: both;
  overflow: hidden;
}
/*tab style checked*/
#all:checked ~ #all_content,
#tabwrapper:checked ~ #tabwrapper_content,
#design:checked ~ #design_content {
  display: block;
}
/*tab style checked02*/
.tabs input:checked + .tab_item {
background-color: #262626;
color: #fff;
}

/*RESULT PARTS -TAB02- */
.tabs02 {
width: 100%;
}
label.tab_item02 {
cursor: pointer;
}
.tab_item02 {
width: calc(100%/2);
padding: 1rem 0;
display: block;
float: left;
text-align: center;
border-bottom: 3px solid #333;
background: #f3f3f3;
transition: all 0.2s ease;
/*border-top-left-radius: .4rem;*/
}
/*Radio button Delete*/
input[name="tab_item02"] {
  display: none;
}
/*tab style*/
.tab_content02 {
  display: none;
  padding: 20px 0 0 0;
  clear: both;
  overflow: hidden;
}
/*tab style checked*/
#all02:checked ~ #all_content02,
#tabwrapper02:checked ~ #tabwrapper_content02,
#design02:checked ~ #design_content02 {
  display: block;
}
/*tab style checked02*/
.tabs02 input:checked + .tab_item02 {
background-color: #262626;
color: #fff;
}


/*RESULT PARTS -TAB03- */
.tabs03 {
width: 100%;
}
label.tab_item03 {
cursor: pointer;
}
.tab_item03 {
width: calc(100%/2);
padding: 1rem 0;
display: block;
float: left;
text-align: center;
border-bottom: 3px solid #333;
background: #f3f3f3;
transition: all 0.2s ease;
/*border-top-left-radius: .4rem;*/
}
/*Radio button Delete*/
input[name="tab_item03"] {
  display: none;
}
/*tab style*/
.tab_content03 {
  display: none;
  padding: 20px 0 0 0;
  clear: both;
  overflow: hidden;
}
/*tab style checked*/
#all03:checked ~ #all_content03,
#tabwrapper03:checked ~ #tabwrapper_content03,
#design03:checked ~ #design_content03 {
  display: block;
}
/*tab style checked03*/
.tabs03 input:checked + .tab_item03 {
background-color: #262626;
color: #fff;
}



/*RESULT PARTS -TAB04- */
.tabs04 {
width: 100%;
}
label.tab_item04 {
cursor: pointer;
}
.tab_item04 {
width: calc(100%/2);
padding: 1rem 0;
display: block;
float: left;
text-align: center;
border-bottom: 3px solid #333;
background: #f3f3f3;
transition: all 0.2s ease;
/*border-top-left-radius: .4rem;*/
}
/*Radio button Delete*/
input[name="tab_item04"] {
  display: none;
}
/*tab style*/
.tab_content04 {
  display: none;
  padding: 20px 0 0 0;
  clear: both;
  overflow: hidden;
}
/*tab style checked*/
#all04:checked ~ #all_content04,
#tabwrapper04:checked ~ #tabwrapper_content04,
#design04:checked ~ #design_content04 {
  display: block;
}
/*tab style checked04*/
.tabs04 input:checked + .tab_item04 {
background-color: #262626;
color: #fff;
}


/*RESULT PARTS - TABLE - */
.table_box {
overflow-x: auto;
width:300px;
-webkit-overflow-scrolling: touch;
}
.table_box table {
padding-bottom: 1rem;
border-collapse: collapse;
border-spacing: 0;
}
.table_box table th, td {
padding: .8rem .6rem;
border: 1px solid #ddd;
color: #000;
white-space: nowrap;
font-size: .9rem;
}
.table_box table th {
  background: #eee;
}
.sticky {
position: sticky;
top: 0;
left: 0;
background: none;
border-left: none;
border-right: none;
background: #eee;
}
.sticky::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
background: #f3f3f3;
z-index: -1;
}

/*JUNIOR*/
.ThreeLine {
background: rgb(44,44,44);
background: linear-gradient(180deg, rgba(44,44,44,1) 0px, rgba(44,44,44,1) 10px, rgba(164,34,39,1) 11px, rgba(164,34,39,1) 20px, rgba(217,210,70,1) 21px, rgba(217,210,70,1) 30px, rgba(255,255,255,1) 31px);
}

/*PAGETOP*/
.pagetop {
padding: .8rem 0;
background: #000;
text-align: center;
border-bottom: solid 1px #111;
}
.pagetop img {
width: 2.4rem;
}

/*FOOTER*/
footer {
padding-bottom: 1.5rem;
border-top: solid 1px #000;
background: #111;
color: #fefefe;
}
footer h1 {
padding-top: 30px;
font-weight: 600;
font-size: 2.8rem;
letter-spacing: .2rem;   
}
footer figure {
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
.toshiyuki {
width: 4rem;
}
.letsgo {
width: 8rem;
}
.fhouse {
width: 7rem;
}

.Contact {
text-align: center;
font-size: .9rem;
}
.mailad img {
width: 10rem;
}
.copyright {
margin: 0 0 .6rem 0;
text-align: center;
font-family: "intercom", sans-serif;
letter-spacing: .1rem;
}
.Memberpage {
margin: 0;
text-align: center;
}
.Memberpage a {
display: inline-flex;
padding: .1rem .8rem;
font-size: .8rem;
background: #222;
color: #999;
border-radius: .2rem;
}

/*------TEXT-Animation-----*/
.matrix .bg-wrap,
.matrix .bg-wrap .inn {
  display: block;
}
.matrix .bg-wrap {
  overflow: hidden;
  opacity: 0;
}
.matrix .bg-wrap .inn {
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 100);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.matrix.is-animated .bg-wrap {
  opacity: 1;
}
.matrix.is-animated .bg-wrap .inn {
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}
.mask-bg {
  color: transparent;
  display: inline-block;
  overflow: hidden;
  position: relative;
  transition: color 0ms 450ms;
}
.mask-bg::after {
  background: linear-gradient(135deg, rgb(0 0 0 / 100%) 0%, rgb(0 0 0 / 100%) 100%); 
  bottom: 0;
  content: '';
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(0, 100%);
}
.mask-bg-whi::after {
  background: linear-gradient(135deg,  #fff 0%,#ddd 100%); 
}
.mask-bg-nav::after {
  background: linear-gradient(135deg,  rgba(11,24,51,1) 0%,rgba(19,44,84,1) 100%); 
}
.mask-bg.is-animated {
  color: #fff;
}
.mask-bg-whi.is-animated {
  color: #000;
}
.mask-bg.is-animated::after {
  animation: mask-bg 1.2s cubic-bezier(0.8, 0, 0.170, 1);
}
@keyframes mask-bg {
  0% {
    transform: translate(-100%, 0)
  }
  40%, 60% {
    transform: translate(0, 0%)
  }
  100% {
    transform: translate(101%, 0)
  }
}


.bg .bg-wrap {
  position: relative;
  display: inline-block;
}
.bg.is-animated .bg-wrap::before {
  animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: linear-gradient(135deg, rgba(215,131,17,1) 0%,rgba(224,123,123,1) 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
}
.bg .bg-wrap .inn {
  display: inline-block;
  position: relative;
  z-index: 1;
}
 
@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
  30%, 100% {
    opacity: 1;
  }
}

/*Animation BackGround Padding*/
header h1 span.mask-bg.is-animated {
    padding-top: .4rem;
    padding-bottom: .2rem;
}
footer h1 span.mask-bg.is-animated {
    padding-top: .4rem;
    padding-bottom: .2rem;
}

/*ErrorPage*/
/*EnterPage*/
/*GridArea*/
section.ContentsB {
display: grid;
grid-template:
    "MainBox"
    / auto;
margin: 0 10px;
padding: 40px 0 80px;
}
.ContentsB h2 {
font-size: 1.2rem;
}
.ContentsB .MainArea {
grid-area: MainBox;
text-align: center;
}
.ContentsB .MainArea figure {
text-align: center;
}



/*Media Query*/



@media screen and (min-width: 480px) {

/*RESULT PARTS - - TABLE - - */
    .table_box {
    width: 100%;
    }
    .table_box table {
    width: 98%;
    }
}

@media screen and (min-width: 550px) {
    /*GridArea*/
    section.ContentsA {
    display: grid;
    grid-template:
    "LeftBox space MainBox"
    / 5rem 40px 1fr;
    }
    .ContentsA h1 {
    font-size: 4rem;
    }
    
    .WrapUniform {
    width: 9rem;
    }
    figure.side-padding img {
        width: 300px;
    }
}

@media screen and (min-width: 768px) {
    html {
     font-size: 85%;
     line-height: 1.6;
    }
/*HEADER*/
    header {
    position: static;
    display: flex;
    flex-direction: row-reverse;
    background-color: #f1f1f1;
    }
    .TopTitle {
        position: static;
        width: 100%;
        top: 0;
        left: 0;
        transform: translate(0%, 0%); 
        align-self: center;
    }
    header h1 {
    margin-bottom: -.4rem;
    }
    header .mask-bg.is-animated {
        color: #0e322b;
    }
    
    header .mask-bg::after {
      background: linear-gradient(135deg, rgb(255 255 255 / 100%) 0%, rgb(255 255 255 / 100%) 100%); 
    }
    .catch {
    color: #a19653;
    }
    header picture {
        width: 100%;
    }
    
/*MAIN CONTENTS*/
    /*GridArea*/
    section.ContentsA {
    display: grid;
    grid-template:
    "LeftBox .... MainBox ...."
    / 7rem 1fr 587px 2fr;
    }
/*FOOTER*/
    footer figure {
    justify-content: center;
    }
    footer figure img {
    margin: 0 2rem;
    }
}

@media screen and (min-width: 960px) {
    body {
    border-left: solid 20px #0e322b;
    border-right: solid 20px #202020;
    }
}
@media screen and (min-width: 1200px) {
    header {
    background: rgb(241,241,241);
    background: linear-gradient(90deg, rgba(241,241,241,1) 0%, rgba(241,241,241,1) 50%, rgba(13,18,14,1) 50%, rgba(12,17,13,1) 100%);
    }
    main {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    }
}
@media screen and (min-width: 1240px) {
    /*GridArea*/
    section.ContentsA {
    display: grid;
    grid-template:
    "LeftBox .... MainBox ...."
    / auto 126px 587px 306px;
    margin: 0;
    }
}

