@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
    color: #3d3d3d;
}

body {
  font-family:"Unbounded","M PLUS 1", sans-serif;
  font-weight:500;
  font-style: normal;
  color: #3d3d3d;
  letter-spacing: 0.05rem;
  line-height: 1.5;
  background-image: url(../img/bg-gray.png);
  background-attachment: fixed;
}

.wrapper {
  max-width: 1000px;
  margin: 0 auto;

}

.here {
  color: #f3b71a;
}

/* ================================================================== */
header {
    border-bottom: 3px solid #fff;
}

header .header-inner {
    max-width: 1000px;
}


/* -----
    main
  ------- */

main h2 {
  text-align: center;
  font-size: 64px;
  margin: 0 auto ;
  padding: 100px 0;
}

 #illustration {
  padding:0 40px 100px;
  margin-bottom: 100px;
  background-color: #fff;
}

#illustration .yoko {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  text-align: center;
  gap: 40px;
  margin-bottom: 40px;
}

#illustration .yoko img {
  width: 100%;
}

#illustration .tate {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
  gap: 40px;
  margin-bottom: 40px;
}

#illustration .tate img {
  width: 100%;
}

#illustration .square {
  display: grid;
  grid-template-columns: repeat(1,1fr);
  text-align: center;
}

#illustration .square img {
  width: 100%;
}

/* ===================================== */
.guid {
  margin: 160px 40px 100px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(1.125rem, 0.6964rem + 0.8929vw, 1.5rem);
}

.guid a:hover {
  transition: 0.5s ;
  transform:scale(1.1)
}

.guid-left,
.guid-center,
.guid-right {
  flex: 1;
  width: 100%;
  text-align: center;

}

.guid-left {
  background-image: url(../img/g-arrow-l.svg);
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center left 10px;
}

.guid-right {
  background-image: url(../img/g-arrow-r.svg);
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center right 10px;  
}

/*==========================================*/

.to-price-btn {
  display: flex;
  justify-content: center;

}

.to-price-btn  a{
  text-align: center;
  max-width: 600px;
  border: 2px solid #155882;
  border-radius: 50px;
  padding: 25px 100px;
  font-size: 24px;
  color: #155882;
  font-weight: bold;

  position: relative;
  overflow: hidden;
}

.to-price-btn a:hover {
  color: #fff;
  transition:.5s ;
}

.to-price-btn a::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  background-color: #155882;
  transition: transform 0.5s ease;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;  
}

.to-price-btn a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Gallery内ナビ */
  .u-1000 {
    display: none;
}

.u-768guid {
  display: none;
}

@media screen and (max-width:1000px){
  .u-1000 {
    display: block;
}
}




@media screen and (max-width:768px) {

main h2 {
  font-size: clamp(1.625rem, -0.9565rem + 10.3261vw, 4rem);
}

.guid {
  gap:0;
  font-size: clamp(0.875rem, 0.6033rem + 1.087vw, 1.125rem);
  margin: 100px 0;
}

.guid-left,
.guid-center,
.guid-right {
  border-radius: 5px;
  background-image:none;
}


.to-price-btn  a{
  max-width: 400px;
  padding: 20px 100px;
  font-size: 18px;
}

.u-768guid {
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0;
}

.u-768guid img {
  max-width: 20px;
}


.guid {
  display: none;
}


}

@media screen and (max-width:400px) {

main h2 {
  font-size: 26px;
}

#illustration .yoko {
  grid-template-columns: repeat(1,1fr);
  margin-bottom: 40px;
}

#illustration .tate {
  grid-template-columns: repeat(1,1fr);
  margin-bottom: 40px;
}

.to-price-btn  a{
  width: 100%;
  padding: 16px 80px;
  font-size: 16px;
}


}