@charset "UTF-8";


/* 
.tangerine-regular {
  font-family: "Tangerine", cursive;
  font-weight: 400;
  font-style: normal;
}

.tangerine-bold {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
}
  
.alex-brush-regular {
  font-family: "Alex Brush", cursive;
  font-weight: 400;
  font-style: normal;
}
.klee-one-regular {
  font-family: "Klee One", system-ui;
  font-weight: 400;
  font-style: normal;
}

.klee-one-semibold {
  font-family: "Klee One", system-ui;
  font-weight: 600;
  font-style: normal;
} */



/*================================================
 *  一般・共通設定
================================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 120px;
  overflow-x: hidden;
}

body {
  font-size: 15px;
  font-family: serif;
  line-height: 1.6;
  letter-spacing: .05em;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

a {
  color: rgb(26, 26, 26);
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

p {
  margin-bottom: 1em;
}

strong {
  font-weight: bold;
}

small {
  font-size: smaller;
  color: red;
  font-weight: bold;
  font-size: 16px;
  display: block;
  text-align: left;
}

ul,
ol,
dl {
  margin: 0;
}

ul li {
  list-style: none;
  margin-left: 0;
  cursor: pointer
}

.link {
  text-align: center;
  margin-top: 50px;
}

.link a {
  background-color: rgb(0, 0, 0);
  color: #fff;
  border-bottom: 5px solid rgb(220 200 125);
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  margin-top: 70px;
  margin-bottom: 50px;
  display: inline-block;
}

.link a:hover {
  border-bottom: 7px solid transparent;
  transform: translateY(7px);
  transition: 0.5s;
}

.btn {
  text-align: center;
  margin-bottom: 60px;
}

.markker {
  background-image: linear-gradient(rgba(0, 0, 0, 0), 20%, rgba(234, 181, 181, 0.58) 80%);
}

.underline {
  border-bottom: 1.5px solid #a51717;
  text-decoration: none;
  padding-bottom: 2px;
}
/* section */
section {
  padding-bottom: 6rem;
}

.section {
  padding-top: 6rem;
}

.info_txt {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
}

/* タイトル */
h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
}

h2.gold_line {
  position: relative;
  padding: 1.5rem 2rem;
  color: #333;
  margin-top: 70px;
}

 h2.gold_line:before,
 h2.gold_line:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  content: '';
  background-image: -webkit-linear-gradient(315deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
  background-image: linear-gradient(135deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
}

 h2.gold_line:before {
  top: 0;
}

 h2.gold_line:after {
  bottom: 0;
}


h3 {
  border-bottom: 2px solid;
  border-image: linear-gradient(315deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
  border-image-slice: 1;
  margin-bottom: 30px;
  font-size: 25px;
}

h3.normal {
  border-bottom: none;
  font-size: 25px;
  position: relative;
  display: inline-block;
  padding: 0 55px;  
  }

  
  h3.normal:before, h3.normal:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 1px;
    background-color: black;
  }
  
  h3.normal:before {
    left:0;
  }
  h3.normal:after {
    right: 0;
  }

span.red {
  color: rgb(184, 12, 12);
  font-weight: bold;
}

@media screen and (max-width:1024px) {
  .wrap {
    width: 100%;
    padding: 0 20px;
  }
}

@media screen and (max-width:768px) {

  *,
  *:before,
  *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
  }

  body {
    font-size: 14px;
  }

  .wrap {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  h2 {
    font-size: 22px;
  }

  .section .info_txt {
    font-size: 13px;
  }

  small {
    font-size: 13px;
    text-align: left;
    display: block;
    padding: 0 15px 15px;
}

  .link a {
    font-size: 15px;
    padding: 10px 40px;
    margin-top: 20px;
  }
}


/*========= ローディング画面 ===============*/
#splash {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 9999999;
  text-align: center;
  color: #fff;
}

#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  letter-spacing: 0.2em;
}

.catch.glowAnime span {
  font-size: 2rem;
  white-space: nowrap;
}

#splash_logo .glowAnime.name span {
  font-size: 3rem;
   white-space: nowrap;
}

.catch.glowAnime.glow .sp-br {
  display: none;
}

/*======== 文字が光る =========*/
.glowAnime span {
  font-size: 2rem;
  opacity: 0;
}

.glowAnime.glow span {
  animation: glow_anime_on 1.5s ease-out forwards;
}

@media screen and (max-width:768px) {
.catch.glowAnime span {
    font-size: 1rem;
}

#splash_logo .glowAnime.name {
  white-space: nowrap; 
}
#splash_logo .glowAnime.name span {
  font-size: 1.8rem;
}
}

@keyframes glow_anime_on {
  0% {
    opacity: 0;
    text-shadow: 0 0 0 #fff, 0 0 0 #fff;
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 10px #fff, 0 0 15px #fff;
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 0 #fff, 0 0 0 #fff;
  }
}

/*================================================
 *  ヘッダーmainnav
================================================*/
header {
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  box-sizing: border-box;
  padding: 20px 10px;
  background: #fff;
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 25%);
}

header .inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* inner-left */
header .inner-left {
  width: 30%;
  position: relative;
}

header .inner-left h1 {
  font-size: 23px;
  font-family: 'Poiret One', cursive;
}

header .inner-left h1 a {
  color: #fff;
}

header .inner-left h1 a img {
  width: 300px;
}

/* inner-right */
header .inner-right {
  width: 70%;
}

nav.gnav ul {
  text-align: right;
}

nav.gnav ul li {
  display: inline-block;
  padding: 0 12px;
  text-align: center;
  font-size: 10px;
}

nav.gnav ul li span {
  display: block;
  font-size: 17px;
  font-family: 'Bentham', serif;
}

@media screen and (max-width:768px) {
  header {
    height: 70px;
  }

  header .inner-left {
    width: 45%;
    margin: 0 auto;
  }

  header .inner-left h1 a img {
    width: 200px;
  }

  header .inner-left h1 {
    font-size: 24px;
  }

  /* ハンバーガーメニュー */
  nav.global-nav {
    position: fixed;
    right: -320px;
    top: 0;
    width: 270px;
    height: 100vh;
    padding-top: 40px;
    background: #111;
    transition: all .2s ease-out;
    z-index: 200;
    overflow-y: auto;
    padding: 70px 30px 40px 40px;
  }

  nav.gnav.global-nav ul li {
    margin-bottom: 15px;
    border-bottom: 1px dotted #fff;
    width: 100%;
    padding: 10px 0;
    font-size: 11px;
  }

  nav.gnav ul li a {
    color: #fff;
  }

  .hamburger {
    position: absolute;
    right: 10px;
    top: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 300;
  }

  .global-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .global-nav__item a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #fff;
    line-height: 1.3;
  }

  .global-nav__item a:hover {
    background-color: #eee;
  }

  .hamburger__line {
    position: absolute;
    left: -5px;
    width: 30px;
    height: 1.5px;
    background-color: #111;
    transition: all .2s ease-out;
  }

  .hamburger__line--1 {
    top: 18px;
  }

  .hamburger__line--2 {
    top: 26px;
  }

  .hamburger__line--3 {
    top: 33px;
  }

  .black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
  }

  /* 表示された時用のCSS */
  .nav-open .global-nav {
    right: 0;
  }

  .nav-open .black-bg {
    opacity: .8;
    visibility: visible;
  }

  .nav-open .hamburger__line--1 {
    transform: rotate(45deg);
    top: 20px;
    background-color: #fff;
  }

  .nav-open .hamburger__line--2 {
    width: 0;
    left: 50%;
  }

  .nav-open .hamburger__line--3 {
    transform: rotate(-45deg);
    top: 20px;
    background-color: #fff;
  }
}

/* =======================================================
* main textAnimation
* ======================================================= */
.bk_wihite {
  background-color: #fff;
}

#lead {
  position: relative;
  height: 100vh;
}

#slider-area {
  z-index: -1;
}

#slider {
  width: 100%;
  height: 100vh;
}

#lead h2.heading {
  position: absolute;
  top: 200px;
  right: 10%;
  font-size: 5vw;
  color: #fff;
  white-space: nowrap;
}

#lead .lead {
  position: absolute;
  top: 350px;
  right: 20%;
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 0.2em;
  line-height: 1.6;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

#lead .lead span {
  display: block;
  padding: 100px 0 0 0;
}

.animation {
  animation-name: animationZoomIn;
  animation-duration: 3s;
  animation-timing-function: ease-in;
  animation-delay: 5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes animationZoomIn {
  0% {
    opacity: 0;
    transform: scale(.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media screen and (max-width:1024px) {
  #lead {
    top: 67px;
  }
}

@media screen and (max-width:768px) {
  #lead h2.heading {
    top: 100px;
    font-size: 3rem;
    z-index: 10;
  }

  #lead .lead {
    top: 250px;
    font-size: 2rem;
    z-index: 11;
  }
}

@media screen and (max-width:360px) {
  #lead h2.heading {
    top: 45px;
    font-size: 2.2rem;
  }

  #lead .lead {
    font-size: 1.6rem;
    top: 150px;
  }

  .wrap .back {
    font-size: 2.6rem;
    top: -26%;
    left: -16%;
  }
}

/* =======================================================
*under_title
* ======================================================= */
.section {
  padding-top: 0;
}

.wrap {
  position: relative;
}

.wrap h2 {
  font-size: 35px;
  margin-top: 100px;
}


.back {
  position: absolute;
  display: inline-block;
  white-space: nowrap;
  font-size: 7rem;
  font-family: 'Alex Brush', cursive;
  line-height: 1;
  color: rgba(155, 159, 156, 0.2);
  top: -46%;
  left: 50%;
  transform: translate(-58%, -50%);
  animation: backAnime 8s linear infinite alternate;
}

@keyframes backAnime {
  0% {
    color: rgba(228, 237, 228, 0.228)
  }

  100% {
    color: rgba(255, 255, 255, 0.949)
  }
}

.under_txt {
  font-size: 18px;
  text-align: center;
}

@media screen and (max-width:768px) {
  .back {
    font-size: 3.2rem;
    color: rgba(54, 129, 73, 0.2);
    top: -32%;
    left: -17%;
    transform: translate(50%, -50%);
  }

  .wrap h2 {
    margin-top: 130px;
    font-size: 24px;
  }

  .wrap.mov h2 {
    margin-top: 60px;
  }

  .under_txt {
    font-size: 16px;
    text-align: left;
  }
}

/* =======================================================
*under_message
* ======================================================= */
#messageWrapper {
  max-width: 980px;
  margin: 0 auto;
}

#message,
#message01 {
  position: relative;
}

.message_area {
  flex-direction: row-reverse;
  margin-bottom: 40px;
}
.message_area,
.message01_area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.message_img,
.message01_img {
  background-size: cover;
  height: 300px;
  width: 400px;
}

.message_img {
  background: url(../images/top_pic11.jpg) no-repeat center;
}

.message01_img {
  background: url(../images/message02.jpg) no-repeat center;
}

#message h2.heading,
#message01 h2.heading {
  position: absolute;
  top: -111px;
  z-index: 2;
  font-size: 47px;
  font-family: 'Alex Brush';
}

#message h2.heading {
  right: 34%;
}

#message01 h2.heading {
  left: 34%;
}

.message_box,
.message01_box {
  display: flex;
  justify-content: center;
  padding: 100px 0 0 0;
  width: 45%;
}

.message_box h3,
.message01_box h3 {
  font-size: 22px;
  border-bottom: none;
}

.message_box p {
  line-height: 3.5;
  margin: 0 0 0 50px;
}

.animations_01Trigger,
.animations_02Trigger {
  opacity: 0;
}

.animations_01 {
  animation-name: animationRight;
  animation-duration: 1s;
  animation-timing-function: ease-in;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes animationRight {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animations_02 {
  animation-name: animationsLeft;
  animation-duration: 1s;
  animation-timing-function: ease-in;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes animationsLeft {
  0% {
    opacity: 0;
    transform: scale(.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media screen and (max-width:768px) {

  #message,
  #message01 {
    width: 100%;
  }

  .message_img,
  .message01_img {
    width: 100%;
    height: 300px;
  }

  .message_box,
  .message01_box {
    display: block;
    width: 100%;
    padding-top: 30px;
  }

  #message h2.heading,
  #message01 h2.heading {
    top: -166px;
    font-size: 47px;
  }

  .message_box h3,
  .message01_box h3 {
    font-size: 18px;
    padding: 0 20px;
    margin-bottom: 80px;
  }

  #message_01 {
    padding: 0;
  }

  .fadeLeftTrigger,
  .fadeRightTrigger {
    opacity: 0;
  }

}

/* messageText */
.messageText {
  margin-top: 60px;
}

ol.padded-list {
  padding-left: 28px;
}

li.messageText,
.messageText dt {
  font-size: 1.4em;
  margin: 10px 0;
  font-weight: bold;
  color: #165d1d;
}

ol.padded-list p {
  font-size: 1.2em;
}

.messageText dd {
  font-size: 1.2em;
}

.messageText h3 {
  margin-top: 50px;
}

.messageText_row {
  margin-top: 50px;
}

/* riccad_container */
.riccad_container {
  margin-top: 100px;
}

.riccad_container.bordered {
  border: 1px solid #dddddd;
  padding: 20px;
  border-radius: 8px;
  max-width: 980px;
  margin: 50px auto;
}

.ric_info {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #5f9ea0;
  font-weight: bold;
}

.ric_info p {
  padding-left: 5%;
}

.riccad-logo {
  width: 180px;
  margin-bottom: 15px;
}

.riccad-description {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  text-align: center;
}


@media screen and (max-width:768px) {

  .messageText {
    width: 100%;
  }
  .messageText h3 {
    font-size: 20px;
  }

  .messageText dt {
    font-size: 1.3rem;
  }

  .ric_info {
    font-size: 12px;
    flex-direction: column;
  }

  .riccad-description {
    font-size: 16px;
    margin-top: 20px;
  }
}


/* avoidance */
#avoidance {
  margin-top: 50px;
}

 

.message_umber {
  position: relative;
  padding-top: 1.5em;
  margin-bottom: .7em;
  font-size: 1.6rem;
  color: #333;
  font-weight: bold;
  z-index: 5;
}

.message_umber::before {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  color: #bed0bf;
  font-size: 3em;
  line-height: 1;
  content: attr(data-number);
  pointer-events: none;
}

.message_umber+p {
  font-size: 1.2em;
}

span.markker {
  font-size: 1.3em;
}

/* teach_container */
#teach_container {
  margin: 50px auto 100px;
  max-width: 980px;
  padding: 0 20px;
}

p.next span {
  font-size: 1rem;
  border-bottom: 1px solid #333;
}

.teach01,
.teach02 {
  display: flex;
  justify-content: space-around;
  font-size: 1.4rem;
  text-align: right;
  border: 2mm ridge rgba(115, 118, 59, 0.6);
}

.teach02 {
  margin-bottom: 130px;
}

.teach01::before {
  content: "";
  display: inline-block;
  width: 311px;
  height: 250px;
  background: url(../images/teach01.png) no-repeat;
  background-size: contain;
  margin-top: 15px;
}

.teach02::before {
  content: "";
  display: inline-block;
  width: 311px;
  height: 250px;
  background: url(../images/teach02.png) no-repeat;
  background-size: contain;
  margin-top: 15px;
}

.teach_box {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
margin-top: 40px;
}

p.teach_boxTxt {
  text-align: center;
  color: red;
}

.teach a {
  display: block;
  color: #333;
  padding-top: 50px;
}

p.next span {
  font-size: 1rem;
  border-bottom: 1px solid #333;

}

@media screen and (max-width:768px) {
  .teach01,
  .teach02 {
    flex-direction: column
  }

  .teach01::before,
  .teach02::before {
    margin-left: 5px;
  }

  .teach_box {
    font-size: 1.4rem;
  }

  .teach_boxTxt {
    font-size: 1.2rem;
    text-align: center;
  }

  p.next span {
    margin-right: 5px;
  }
}

/*=========================================
news
=========================================*/

.news {
  text-align: center;
  padding-bottom: 50px;
  padding-top: 20px;
  background-color: #f6f6f6;
}

.news dl {
  height: 200px;
  overflow-y: scroll;
  overflow-x: hidden;
  text-align: left;
  line-height: 2.3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  box-sizing: border-box;
  max-width: 700px;
  margin: 0 auto;
}

.news dt,
.news dd {
  border-bottom: 1px dotted #ccc;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.news dt {
  width: 20%;
}

.news dd {
  width: 80%;
}

.news dd img {
  width: 10px;
}

.news dd a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 640px) {

  .news dl {
    margin: 0 15px;
    line-height: 1.9;
  }

  .news dt {
    width: 25%;
    font-size: 13px;
  }

  .news dd {
    width: 75%;
    font-size: 13px;
  }
}

/* =======================================================
*work
* ======================================================= */
#work {
  background-color: #fff;
}

#work h2 {
  padding-top: 100px;
}

#work img {
  width: 100%;
}

#work ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#work ul li {
  width: calc(100% / 7);
  overflow: hidden;

}

#work a:hover img {
  transform: scale(1.2);
  transition: .3s;
  opacity: 0.8;
}

@media screen and (max-width:768px) {
  #work ul li {
    width: calc(100% / 3);
  }

  #work ul li.img_sp {
    display: none;
  }
}

/* =======================================================
*contact
* ======================================================= */
#contact::before {
  background-image: url(../images/24758659_m.jpg);
  background-image: no-repeat;
  background-image: center;
  background-size: cover;
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
}

#contact .inner {
  background-color: rgb(255 255 255 / 60%);
  max-width: 800px;
  margin: 100px auto 0;
  padding: 100px;
}

.inner p {
  font-size: 16px;
  text-align: left;
}

/* ボタン */
.btn {
  margin-top: 50px;
}

.btn a {
  background-color: #111;
  border: 1.2px solid rgb(220 200 125);
  color: #fff;
  padding: 20px 30px;
  font-size: 20px;
}

.btn a:hover {
  background-color: transparent;
  color: #111;
  transition: .5s;
}

@media screen and (max-width:768px) {
  .btn a {
    padding: 15px 30px;
    font-size: 15px;
  }

  #contact .inner {
    padding: 50px;
  }
}


/*=========================================
business_partnert
=========================================*/
#business_partnert .wrap ul {
  justify-content: flex-start;
}
#business_partnert .wrap ul li {
width: 25%;
font-size: 13px;
height: 85px;
display: flex;
justify-content: center;
align-items: center;
}

@media screen and (max-width:1024px) {
section#business_partnert {
padding-left: 30px;
padding-right: 30px;
}
}

@media screen and (max-width:768px) {
#business_partnert .wrap ul li {
width: 50%;
height: 55px;
display: flex;
justify-content: center;
align-items: center;
/* text-align: center; */
} 
}


/* =======================================================
*footer
* ======================================================= */
footer {
  padding: 50px 0;
  background: #f1f1f1;
  text-align: center;
  /* position: relative; */
}

.footer_name img {
  max-width: 300px;
  margin: 0 auto;
}

footer ul li {
  display: inline-block;
  padding: 0 10px;
}

.copyright {
  padding-top: 10px;
  text-align: center;
  font-size: 11px;
}

@media screen and (max-width:768px) {
  .footer_menu li {
    display: block;
    margin-bottom: 15px;
  }

  .footer_name img {
    max-width: 200px;
  }

  footer ul li {
    display: block;
    margin-bottom: 12px;
  }
}

/*================================================
 *  ページトップへの戻り
================================================*/
#pagetop {
  position: fixed;
  right: 15px;
  bottom: 10px;
}

#pagetop i {
  font-size: 18px;
  color: #5e4e4a;
}

/*================================================
 *  sub/下層ページ・flow /works／about／contact
================================================*/

#sub {
  height: 500px;
  display: flex;
}

#sub div {
  margin: auto;
  font-size: 30px;
  text-align: center;
  padding-top: 60px;
  color: rgb(236, 227, 227);
}

#sub div span {
  display: block;
  font-size: 70px;
  color: rgb(255, 255, 255);
}

@media screen and (max-width:768px) {
  #sub div {
    font-size: 17px;
  }

  #sub div span {
    font-size: 45px;
  }
}