@charset "utf-8" ;
/*
=============================
  Gloval
=============================*/

body {
    color: #462b03;
    line-height: 1.8;
    font-family:'M PLUS Rounded 1c', "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    letter-spacing: 0.05em;
  }
  a {
    color: #464646;
    text-decoration: none;
  }
  a:hover{ 
      opacity:0.5;
      transition:0.3s;
  }
  .pc-menu a {
    color: #ffffff;
    background: #f059a4;
    letter-spacing: .2rem;
    padding: 5px 5px;
    border: 1px solid #f51c89;
    box-shadow: 0 5px 0 #f3a3c2;
    border-radius: 6px;
    display: inline-block;
    transition: .3s;
  }
  .pc-menu a:hover {
    transform: translateY(5px);
    box-shadow: 0 0 0 #333;
  }
  /*画像を箱に収めたい*/
  img {
    max-width: 100%;
    height: auto;
  }
  #wrapper {
    background-color: #fff;
    max-width: 1000px;
    margin: 0 auto;
  }
  /*
  =============================
    Header
  =============================*/
  header {  
    background-color: rgba(255,255,255,0.7);
    padding: 32px 0;
    border-bottom: 1px solid #ccc;
    position: sticky;
    z-index: 1;
    top: 0;
    left: 0;
    /* transform: translate(-50%, 0); */
    width: 100%;
    margin-bottom: 50px;
  }
  header .inner {
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;  
  }
  header h1 {
    letter-spacing: .1em;
    margin-bottom: 20px;
  }
  header h1 img {
    width: 10%;
  }
  header .pc-menu {
    display: flex;
    justify-content: flex-end;
    gap: 0 10px;
    padding-top: 8px;
  }
  header ul.sp-menu {
    padding-top: 72px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background: rgba(255,255,255,0.95);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s linear;
  }
  header ul.sp-menu.is-active {
    pointer-events: auto;
    opacity: 1;
  }

  /* スマホの時のみ電話をかけれるように設定 */
  @media(min-width: 768px){
    a[href^="tel:"]{
      pointer-events: none;
    }
  }
  
  @media screen and (max-width: 650px) {
  
    header {
      padding: 24px 0;
      margin-bottom: 30px;
    }
    header h1 {
        font-size: 18px;
    }
    header ul.pc-menu {
      display: none;
    }
    .ham-menu {
      display: inline-block;
      cursor: pointer;
      position: fixed;
      right: 20px;
      top: 36px;
      z-index: 10;
      width: 40px;
      height: 24px;
    }
    .ham-line {
      position: absolute;
      transition: 0.3s;
      width: 100%;
      height: 2px;
      background-color: #999;
    }
    .line-top {
      top: 0;
    }
    .line-middle {
      top: calc(50% - 1px);
    }
    .line-bottom {
      bottom: 0;
    }
    .ham-menu-active > .line-top {
      top: calc(50% - 1px);
      transform: rotate(45deg);
    }
    .ham-menu-active > .line-middle {
      width: 0;
      height: 0;
    }
    .ham-menu-active > .line-bottom {
      top: calc(50% - 1px);
      transform: rotate(-45deg);
    }
  }
  /*
  =============================
    Main
  =============================*/
  main {
    padding: 10px 0;
  }
  main section {
    margin-top: 30px;
    margin-bottom: 50px;
  }
  main h2 {
    font-size: 30px;
    padding-left: 10px;
    margin-bottom: 15px;
    letter-spacing: .2em;
    text-shadow: 2px 2px 4px rgba(197, 194, 194);
  }
  main h2 img {
    padding-right: 10px;
  }
  #mv {
    margin-bottom: 40px;
    animation: fadeIn 6s ease 0s 1 normal;
    -webkit-animation: fadeIn 5s ease 0s 1 normal;
  }
  /* じわっと画像が表示される ---------　一度追加していたら不要*/
  @keyframes fadeIn { /*上のbody内で呼び出しているアニメーションと名前をそろえる*/
    0% {opacity: 0} /* 始め */
    100% {opacity: 1} /* 終わり */
  }
 .intro {
    padding: 5px;
    margin-bottom: 48px;
    color: #777;
    display: block;
    background-color: #f7dce6;        
    /* background-image: url(../images/owner.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain; */
  }
  .intro img {
    max-width: 95%;
    display: block;
    margin: 20px auto;
    padding: 10px 0;
  }
  main .top-works ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
  }
  main .top-works ul li {
    width: 32%;
    /*上8 下8 左右12 */
    padding: 8px 8px 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 2px 2px 8px rgba(110,110,110,.1);    
    list-style: none;
  }
  @media screen and (max-width: 650px) {
    main section {
      margin-top: 20px;
      margin-bottom: 50px;
    }
    main h2 {
      font-size: 16px;
      padding-left: 10px;
    }
    main .top-img {
      margin-bottom: 80px;
    }   
    main .top-about .intro {
     color: #333;
      font-size: 12px;
      padding: 10px;
      /* display: block;
      background-image: url(../images/owner.png);
      background-repeat: no-repeat;
      background-position: right bottom;
      background-size: 60%;       */
    }
    main .top-works li {
      display: block;
      max-width: 90%;
      margin: 10px auto;
    }
    main .top-works li p {
      text-align: center;
      font-size: 10px;
    }
    main section {
      margin-bottom: 80px;
    }
    main .top-works ul {
      flex-wrap: wrap;
    }
    main .top-works ul li {
      width: 100%;
    }
  }
  /*
  =============================
    Footer
  =============================*/
  footer {
    border-top: 1px solid #ccc;
    padding: 32px 0;
  }
  footer ul{
    display: flex;
    justify-content: flex-end;
    gap: 0 24px;
    margin-bottom: 24px;
  }
  footer p {
    text-align: right;
  }
  #ptop {
    position: fixed;
    right: 5vw;
    bottom: 5vh;
    cursor: pointer;
  }
  #ptop:hover {
    opacity: 0.7;
  }
  @media screen and (max-width: 650px) {
    footer ul {
      flex-wrap: wrap;
    }
    footer li {
        font-size: 14px;
    }
    footer p {
      text-align: center;
      font-size: 11px;
    }
  }
  
  /* 
  =============================
    souzoku fudousan syougyou yuigon about
  =============================*/
  section h3 {
    max-width: 100%;
    text-shadow: 0 0 5px white;
    border-left: solid 5px #464647;
    background: #b8e9bb;/*背景色*/
    border-bottom: solid 3px #d7d7d7;/*下線*/
    padding: 0 10px;
    margin: 30px 0 10px 0;
  }
  section ul li {
    list-style-type: square;
    list-style-position: inside;
  }
  section ol li {
    list-style-type: decimal;
    list-style-position: inside;
  }
  section h4 {
    max-width: 100%;
    border-bottom: 1px solid #A3A3A3;
    background: #d4f0d6;/*背景色*/
    padding: 0.2em 0.5em;
    border-left: solid 5px #464647;
    margin: 40px 0 15px 0;
  }
  section p {
    padding: 10px;
  }
  .point {
    position: relative;
    padding-top: 20px;
    padding-left: 25px;
    font-size: 18px;
  }
  .point span {
    position: relative;
    z-index: 2;
  }  
  .point::before {
    content: attr(data-en);
    position: absolute;
    transform: rotate(-5deg);
    top: -20px;
    left: 0;
    color: rgba(224, 113, 146, 0.6);
    font-size: 50px;
    font-weight: 400;
    font-family: luxus-brut, cursive;
    font-style: italic;
  }
  section dl {
    display: flex;
    flex-wrap: wrap;
  }
  section dt {
    width: 40%;
    padding: 10px;
    background-color: #DADADA;
    margin: 0 0 10px 0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  section dd {
    width: 60%;
    padding: 10px;
    background-color: #F3F3F3;
    margin: 0 0 10px 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
  }
  section dd img {
    width: 25px;
    margin-left: 5px;
  }

/* Google Mapを囲う要素 */
.map {
  margin: 0 auto 70px;
  border: #999 1px solid;
  position: relative;
  width: 95%;
  height: 0;
  padding-top: 56.25%; /* 比率を16:9に固定 */
}

/* Google Mapのiframe */
.map iframe {
  padding: 5px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: hue-rotate(100deg);
  -webkit-filter: hue-rotate(100deg);  
}
.greeting {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.talk {
  width: 60%;
}
.photo {
  width: 40%;
}

@media screen and (max-width: 650px) {
  .greeting {
    flex-direction: column;
    width: 100%;
  }
  .talk {
    order: 2;
    margin: 0 auto;
    width: 95%;
  }
  .photo {
    order:1;
    margin: 0 auto;
    width: 70%;
  }
}