@charset "utf-8";

/*
COLORS
================================================ */
:root {
    --gray: #555;
    --black: #000000;
    --white: #fff;
    --brown: #432;
    --skyblue: #0bd;
    --cream:#fffaf0;
    --red:#ff0000;
    --red2:#b22222;
}
@media (prefers-color-scheme: dark) {
    :root {
        --text: #ddd;
        --bg: #000;
    }
}

/*共通部分
-------------------------------*/
html{
    font-size: 62.5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    scroll-behavior: smooth;
}
body{
    font-size: 16px;
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    color:var(--black);
    background:url(../../painting/images/MINOR白壁紙.png);
    background-size: repeat;
    font-family: 'Noto Sans JP', sans-serif,"ヒラギノ角ゴ Pro W3", 'Sawarabi Mincho',serif, 
                "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* 一般
---------------------------------*/
p {
    line-height: 1.7;

}
img {
    max-width: 100%;
    image-rendering: -webkit-optimize-contrast;
}
a:hover {
    color: var(--red2);
}
a{
    text-decoration: none;

}

/* Layout */
.wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}
.wrapper2{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/*button
-----------------------------------*/
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1.5rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btnblue.btn--cubic {
    background: #4a56ff;
    color: var(--white);
    border-bottom: 5px solid #0f1fff;
}
  
a.btnblue.btn--cubic:hover {
    margin-top: 3px;
    border-bottom: 2px solid #0f1fff;
}
  
a.btn--radius {
    border-radius: 100vh;
}
  
.fa-position-right {
    position: absolute;
    top: calc(50% - .5em);
    right: 1rem;
}



  #loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: var(--black);
   
  /* 以下のコードを追加 */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
  }
  .loaded {
    opacity: 0;
    visibility: hidden;
  }

  #load {
    position:absolute;
    width:600px;
    height:36px;
    left:50%;
    top:40%;
    margin-left:-300px;
    overflow:visible;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    cursor:default;
    
  }
  
  #load div {
    position:absolute;
    width:20px;
    height:36px;
    opacity:0;
    font-family:Helvetica, Arial, sans-serif;
    animation:move 2s linear infinite;
    -o-animation:move 2s linear infinite;
    -moz-animation:move 2s linear infinite;
    -webkit-animation:move 2s linear infinite;
    transform:rotate(180deg);
    -o-transform:rotate(180deg);
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    color:var(--white);
  }
  
  #load div:nth-child(2) {
    animation-delay:0.2s;
    -o-animation-delay:0.2s;
    -moz-animation-delay:0.2s;
    -webkit-animation-delay:0.2s;
  }
  #load div:nth-child(3) {
    animation-delay:0.4s;
    -o-animation-delay:0.4s;
    -webkit-animation-delay:0.4s;
    -webkit-animation-delay:0.4s;
  }
  #load div:nth-child(4) {
    animation-delay:0.6s;
    -o-animation-delay:0.6s;
    -moz-animation-delay:0.6s;
    -webkit-animation-delay:0.6s;
  }
  #load div:nth-child(5) {
    animation-delay:0.8s;
    -o-animation-delay:0.8s;
    -moz-animation-delay:0.8s;
    -webkit-animation-delay:0.8s;
  }
  #load div:nth-child(6) {
    animation-delay:1s;
    -o-animation-delay:1s;
    -moz-animation-delay:1s;
    -webkit-animation-delay:1s;
  }
  #load div:nth-child(7) {
    animation-delay:1.2s;
    -o-animation-delay:1.2s;
    -moz-animation-delay:1.2s;
    -webkit-animation-delay:1.2s;
  }
  
  @keyframes move {
    0% {
      left:0;
      opacity:0;
    }
    35% {
      left: 41%; 
      -moz-transform:rotate(0deg);
      -webkit-transform:rotate(0deg);
      -o-transform:rotate(0deg);
      transform:rotate(0deg);
      opacity:1;
    }
    65% {
      left:59%; 
      -moz-transform:rotate(0deg); 
      -webkit-transform:rotate(0deg); 
      -o-transform:rotate(0deg);
      transform:rotate(0deg); 
      opacity:1;
    }
    100% {
      left:100%; 
      -moz-transform:rotate(-180deg); 
      -webkit-transform:rotate(-180deg); 
      -o-transform:rotate(-180deg); 
      transform:rotate(-180deg);
      opacity:0;
    }
  }
  
  @-moz-keyframes move {
    0% {
      left:0; 
      opacity:0;
    }
    35% {
      left:41%; 
      -moz-transform:rotate(0deg); 
      transform:rotate(0deg);
      opacity:1;
    }
    65% {
      left:59%; 
      -moz-transform:rotate(0deg); 
      transform:rotate(0deg);
      opacity:1;
    }
    100% {
      left:100%; 
      -moz-transform:rotate(-180deg); 
      transform:rotate(-180deg);
      opacity:0;
    }
  }
  
  @-webkit-keyframes move {
    0% {
      left:0; 
      opacity:0;
    }
    35% {
      left:41%; 
      -webkit-transform:rotate(0deg); 
      transform:rotate(0deg); 
      opacity:1;
    }
    65% {
      left:59%; 
      -webkit-transform:rotate(0deg); 
      transform:rotate(0deg); 
      opacity:1;
    }
    100% {
      left:100%;
      -webkit-transform:rotate(-180deg); 
      transform:rotate(-180deg); 
      opacity:0;
    }
  }
  
  @-o-keyframes move {
    0% {
      left:0; 
      opacity:0;
    }
    35% {
      left:41%; 
      -o-transform:rotate(0deg); 
      transform:rotate(0deg); 
      opacity:1;
    }
    65% {
      left:59%; 
      -o-transform:rotate(0deg); 
      transform:rotate(0deg); 
      opacity:1;
    }
    100% {
      left:100%; 
      -o-transform:rotate(-180deg); 
      transform:rotate(-180deg); 
      opacity:0;
    }
  }

  /* Header
---------------------------------- */
header  {

    display: flex;
    left: 0;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
  }

  .header-logo img{
    width: 15rem;

  }
  
  /*==ナビゲーション全体の設定*/
  nav{
    background:#333;
    color:#fff;
    text-align: center;
  }
  
  /*ナビゲーションを横並びに*/
  nav ul{
      /*2階層目の基点にするためrelativeを指定*/
    position: relative;
    list-style: none;
    display: flex;
    justify-content: center;
  }
  
  /*2階層目以降は横並びにしない*/
  nav ul ul{
    display: block;
  }
  
  /*ナビゲーションのリンク設定*/
  nav ul li a{
      /*矢印の基点にするためrelativeを指定*/
    position: relative;
    display: block;
    text-decoration: none;
    color: #999;
    padding:20px 45px;
    transition:all .3s;
  }
  
  nav ul li li a{
    padding:20px;
  }
  
  nav ul li a:hover{
    color:#fff; 
  }
  
  /*==矢印の設定*/
  
  /*2階層目を持つliの矢印の設定*/
  
  nav ul li.has-child > a::before{
    content:'';
    position: absolute;
    left:15px;
    top:25px;
    width:6px;
    height:6px;
    border-top: 2px solid #999;
      border-right:2px solid #999;
      transform: rotate(135deg);
  }
  
  /*==2階層目以降の画像設定*/
  
  nav ul li.has-child img{
    max-width: 100%;
    height: auto;
    transition: all .5s;
    vertical-align: bottom;
  }
  
  /*hoverしたら画像拡大*/
  nav ul li.has-child img:hover{
    transform: scale(1.2);
  }
  
  nav ul li.has-child dt{
    overflow: hidden;
    height: 150px;
    margin:0 0 20px 0;
  }
  
  @media screen and (max-width:1200px){
  nav ul li.has-child dt{
    height: 20vh;
  }
    
  }
  
  /*== 2層目の設定 */
  
  nav li.has-child ul{
    /*絶対配置で位置を指定*/
      position: absolute;
    left:5%;
    top:58px;
    z-index: 4;
    /*子要素を横並びに*/    
    display: flex;
    /*justify-content: space-between;*/
    flex-wrap: wrap;
      /*形状を指定*/
    background:#888;
    width:90%;
      /*はじめは非表示*/
    visibility: hidden;
    opacity: 0;
       /*アニメーション設定*/
    transition: all .3s;
  }
  
  /*hoverしたら表示*/
  nav li.has-child:hover > ul{
    visibility: visible;
    opacity: 1;
  }
  
  /*各ナビゲーション横幅*/
  nav li.has-child ul li{
    width:20%;
  }
  
  /*ナビゲーションaタグの形状*/
  nav li.has-child ul li a{
    color: #fff;
  }
  
  nav li.has-child ul li a:hover,
  nav li.has-child ul li a:active{
    background:#3577CA;
  }
  
/*ハンバーガーメニュー
------------------------------------*/
@media only screen and (max-width: 920px) {
    .main-nav{
      display: none;
  }
  
  .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: var(--black);
  }
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }
  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #menu-btn-check {
    display: none;
  }
  
  .menu-content {
    width: 100%;
    height: 130vh;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: rgba(176, 31, 31, 0.7);
    transition: all 0.5s;/*アニメーション設定*/
    padding: 10rem 0;
  }
  .menu-content ul {
    padding: 0 10px 30px;
    
    
  }
  .menu-ul{
    height: 80%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }
  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }
  #menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
  }
  }
  
  
  
  
/*ヘッダー画像
-----------------------------------*/
#top{
    position: relative;
}
#top h1{
    font-size: 5rem;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    font-family: 'Sawarabi Mincho';
    font-weight: lighter;
}
#top img{
    width: 100%;
    height: 100%;
}



/*main-contents
------------------------------------------*/
#archpaint-contents{
    padding: 5rem 0;
}
.wall-flex{
  width: 100%;
  margin: 2rem auto 0 auto;
  display: flex;
}
.wall-flex_left{
    width: 40%;
}
.wall-flex_left img{
    height: 100%;
}
.wall-flex_right{
    width: 60%;
    background: var(--white);
    padding: 2rem;
}
.wall-right_title{
    font-size: 3rem;
    font-family: serif, "Hiragino Kaku Gothic Pro";
}
.wall-flex_right p{
    padding: 1rem 3rem;
    font-size: 2rem;
}.roof-flex{
    width: 100%;
    margin: 0 auto;
    display: flex;
  }
.roof-flex_left{
      width: 40%;
  }
.roof-flex_left img{
    height: 100%;
}
.roof-flex_right{
      width: 60%;
      background: var(--white);
      padding: 2rem;
  }
.roof-right_title{
      font-size: 3rem;
      font-family: serif, "Hiragino Kaku Gothic Pro";
  }
.roof-flex_right p{
      padding: 1rem 3rem;
      font-size: 2rem;
  }
.btn-position{
    text-align: right;
    padding: 5rem 3rem 0 0;
}
@media screen and (max-width: 920px) {
    .wall-flex{
        display: block;
    }
    .roof-flex{
        display: block;
    }
    .wall-flex_left{
        width: 100%;
    }
    .wall-flex_left img{
        width: 100%;
    }
    .wall-flex_right{
        width: 100%;
    }
    .roof-flex_left{
        width: 100%;
    }
    .roof-flex_right{
        width: 100%;
    }
}
@media screen and (max-width: 570px) {
    .wall-right_title{
        font-size: 2.2rem;
    }
    .wall-flex_right p{
        font-size: 1.5rem;
    }
    .roof-right_title{
        font-size: 2.2rem;
    }
    .roof-flex_right p{
        font-size: 1.5rem;
    }
    .btn,
    a.btn,
    button.btn{
        font-size: 1.4rem;
    }
}



#introduction-contents{
    padding: 5rem 0;
}
.intro-center{
    text-align: center;
}
#introduction-contents h1{
    font-size: 3rem;
    font-family: serif, "Hiragino Kaku Gothic Pro";
    border-bottom: 2px solid;
    margin: 0 1rem;
}
.intro-flex{
    width: 100%;
  margin: 2rem auto 0 auto;
  display: flex;
}
.intro-flex h2{
    font-size: 2.5rem;
    text-align: center;
    font-family: serif, "Hiragino Kaku Gothic Pro";
}
.intro-flex_left{
    width: 50%;
    background-color:var(--white);
    padding: 2rem;
    margin-right: 1rem;
}
.intro-flex_left p{
    font-size: 1.6rem;
}
.intro-flex_right{
    width: 50%;
    background-color:var(--white);
    padding: 2rem;
}
.intro-flex_right p{
    font-size: 1.6rem;
}
.director{
    text-align: center;
    font-size: 2rem;
    padding-bottom: 1rem;
}
@media screen and (max-width: 570px) {
    .intro-flex h2{
        font-size: 2rem;
    }
    .intro-flex_left p{
        font-size: 1.4rem;
    }
    .intro-flex_right p{
        font-size: 1.4rem;
    }
}
@media screen and (max-width: 430px) {
    .intro-flex{
        display: block;
    }
    .intro-flex_left{
      width: 100%;
        margin-bottom: 2rem;
        margin-right: 0;
    }
    .intro-flex_right{
      width: 100%;
    }
}

/*footer
------------------------------------------*/
#footer04 {
    background: #222;
  }
   
  #footer04 .cont {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 30px 0  ;
  }
   
  #footer04 .cont-item {
    display: block;
    width: calc(100% / 3);
  }
   
  #footer04 .nav a {
    display: block;
    color: #ccc;
  }
   
  #footer04 .nav .ttl {
    display: block;
    margin: 30px 0 6px;
    font-size: 12px;
    font-weight: bold;
    color: #ccc;
  }
   
  #footer04 .nav .ttl:first-child {
    margin-top: 0;
  }
   
  #footer04 .nav .ttl + .ttl {
    margin-top: 10px;
  }
   
  #footer04 .nav ul {
    display: block;
    font-size: 12px;
    line-height: 2;
  }
   
  #footer04 .nav li {
    display: block;
    font-size: 12px;
    line-height: 2;
  }
   
  #footer04 .nav li:first-child {
    margin-top: 0;
  }
   
  #footer04 .nav li ul {
    margin: 0 0 0 2em;
  }
   
  #footer04 .nav li li {
    position: relative;
  }
   
  #footer04 .nav li li:before {
    position: absolute;
    top: 50%;
    left: -10px;
    content: "";
    display: block;
    width: 4px;
    height: 1px;
    background-color: #fff;
  }
   
  #footer04 .company {
    display: block;
  }
   
  #footer04 .logo img {
    width: 180px;
  }
   
  #footer04 .address {
    display: block;
    margin: 28px 0 0;
    font-size: 12px;
    line-height: 2;
    color: #ccc;
  }
  #footer04 .copyright{
    background-color: var(--black);
    color: var(--white);
    padding: 0.5% 0;
    font-size: 1.2rem;
    font-family:'Noto Serif JP', serif; 
    text-align: center;
  }
  
  @media screen and (max-width: 640px) {
    #footer04 .cont {
      -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      width: 100%;
      justify-content: space-between;
    }
    #footer04 .cont-item {
      display: block;
      width: 48%;
    }
    #footer04 .cont-item:nth-child(n+3) {
      margin-top: 30px;
    }
    #footer04 .nav ul {
      margin: 0;
      font-size: 10px;
    }
    #footer04 .nav ul + .ttl {
      margin-top: 10px;
    }
    #footer04 .nav li {
      font-size: 10px;
    }
    #footer04 .company {
      margin-top: 30px;
    }
    #footer04 .address {
      margin: 10px 0 0;
      font-size: 10px;
    }
  }
  @media only screen and (max-width:912px) {
    nav ul li{
        font-size: 1rem;
    }
    nav ul li a{
        padding: 20px 30px;
    }
    nav ul li.has-child > a::before{
        width: 5px;
        height: 5px;
    }
  }

  @media only screen and (min-width:920px) {
    /*--メニューボタン削除--*/    
    .hamburger-menu{
        display: none;
    }
    .flex{
      display:flex;
      flex-wrap:nowrap;
      justify-content:space-between;
    }
    .left{
      background: var(--cream);
      margin: 1rem;
      padding:3rem;
      border-radius: 30px;
    }
    .right{
      background: var(--cream);
      margin: 1rem;
      padding:3rem;
      border-radius: 30px;
    }
}

  @media only screen and (max-width: 766px) {
    .header-logo img{
      width: 12rem;
    }

  }