@charset "UTF-8";
/* CSS Document */

#first-image {
  width: 92%;
  height: 50vh;
  min-height: 300px;
    max-height: 350px;
  box-sizing: border-box;
  margin: 0 4%;
  padding: 0 0 0 70px;
  position: relative;
  overflow: hidden;
}
.slideshow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.slide {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 100% auto;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.catch {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  padding: 15px 30px 13px;
  background-color: rgba(0,0,0,0.35);
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  z-index: 3;
}
.catch span {
    font-family: "FOT-UD角ゴ_スモール Pr6 L";
    font-weight:lighter;
    font-size: clamp( 20px, calc( -4.867109634551497px + 3.322259136212625vw ), 39px);
    color: #fff;
    line-height: 1em;
    text-align: center;
    letter-spacing: 0.1em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.catch span small {
    font-family: "FOT-筑紫明朝 Pr6N L";
    font-weight: normal;
    font-size: 0.4em;
    line-height: 1em;
    display: inline-block;
    margin: 0;
    padding: 0;
}
/* ボタン共通スタイル */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 20px;
  color: #005BAC;
  padding: 10px 10px;
  cursor: pointer;
  z-index: 4;
  border-radius: 50%;
  transition: background-color 0.3s;
}
.nav:hover {
  background-color: rgba(255, 255, 255, 1);
}
.nav.prev {
  left: 10px;
}
.nav.next {
  right: 10px;
}


header {
    box-sizing: border-box;
    padding: 130px 0 0;
    margin-bottom: 50px;
}
section {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    display: block;
    position: relative;
}
section2 {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 50px 0;
    background: linear-gradient(to bottom, 
    transparent 30%, 
    #E7EAE6 30%, 
    #E7EAE6 70%, 
    transparent 70%);
    display: inline-block;
}
.contents {
    width: 100%;
    box-sizing: border-box;
    background-color:#E7EAE6;
    padding: 30px 0;
    margin: 30px 0 0;
}
.kotei-btn1 {
    position:fixed;
    top: 0;
    right: 170px;
    box-sizing: border-box;
    padding: 12px 40px 10px;
    margin: 0;
    background-color: #005BAC;
    text-decoration: none;
    color: #fff;
    font-family: "FOT-UD角ゴ_スモール Pr6 M";
    font-size: 15px;
    letter-spacing: 1px;
    transition: 0.2s;
    z-index: 9999;
}
.kotei-btn2 {
    position:fixed;
    top: 0;
    right: 0;
    box-sizing: border-box;
    padding: 12px 40px 10px;
    margin: 0;
    background-color: #005BAC;
    text-decoration: none;
    color: #fff;
    font-family: "FOT-UD角ゴ_スモール Pr6 M";
    font-size: 15px;
    letter-spacing: 1px;
    transition: 0.2s;
    z-index: 9999;
}
.kotei-btn1:hover, .kotei-btn2:hover {
    background-color: #A8D7C0;
    color: #005BAC;
    transition: 0.2s;
}
h1 {
    font-family: "FOT-UD角ゴ_スモール Pr6 E";
    font-size: 25px;
    padding: 0;
    margin: 0 5%;
    line-height: 180%;
    text-align: left;
    text-decoration: none;
    color: #2A2A2A;
    letter-spacing: 1px;
    display: inline-block;
}
h1 small {
    font-family: "FOT-筑紫Aヴィンテージ明S Pr6N R";
    font-weight: normal;
    font-size: 0.7em;
    display: block;
    line-height: 3em;
    color: #005BAC;
}
h2 {
	font-family: "FOT-UD角ゴ_スモール Pr6 E";
	font-size: 25px;
    width: auto;
    height: auto;
    padding: 2.5em 0 1em 30px;
	margin: 0 5% 50px;
    box-sizing: border-box;
    display: block;
    position: relative;
	line-height: 1em;
	text-decoration: none;
	color: #2A2A2A;
	letter-spacing: 1px;
}
h2 small {
    font-family: "FOT-筑紫Aヴィンテージ明S Pr6N R";
    font-weight:normal;
    letter-spacing:1px;
    font-size: 4.6em;
    line-height: 1em;
    color: #D6E4FF;
    z-index: -1;
    position: absolute;
    bottom: 0;
    left: 0;
}
section2 h3 {
	font-family: "FOT-UD角ゴ_スモール Pr6 E";
	font-size: 25px;
    width: auto;
    box-sizing: border-box;
    display: block;
	padding: 0 0 0 80px;
	margin: 0;
	line-height: 1em;
	text-align: left;
	text-decoration: none;
	color: #2A2A2A;
	letter-spacing: 1px;position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 6%;
	background-image: url("../img/insta.png");
	background-repeat: no-repeat;
	background-size: 70px auto;
	background-position: left center;
}
section2 h3 small {
    font-family: "FOT-筑紫Aヴィンテージ明S Pr6N R";
    font-size: 0.6em;
    font-weight: normal;
    display: block;
    line-height: 2em;
    color: #005BAC;
}
h3 {
    font-size: 22px;
    line-height: 150%;
    font-family: "FOT-UD角ゴ_スモール Pr6 E";
    letter-spacing: 2px;
    color: #00A0E9;
    margin: 10px 0 15px 0;
}
h3 small {
    font-size: 0.5em;
    letter-spacing: 1px;
    display: block;
}
h4 {
	font-size: 25px;
	line-height: 1.5em;
    font-family: "FOT-筑紫明朝 Pr6N L";
    font-style: normal;
	letter-spacing: 2px;
	padding: 0;
	margin: 0;
	display: block;
	width: auto;
}
.about-i {
    width: 40%;
    float: left;
    margin: 30px 5% 50px 10%;
}
.leed {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-weight: 600;
    font-size: 14px;
    line-height: 2.5em;
    text-align: left;
    text-decoration: none;
    text-justify: inter-ideograph;
    color: #2A2A2A;
    display: inline-block;
    width: 30%;
    padding: 0;
    margin: 0 10% 50px 5%;
    letter-spacing: 1px;
}
.work-list {
    width: 80%;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: table;
}
.work-list li {
    width: 30%;
    height: auto;
    box-sizing: border-box;
    margin: 0 5% 40px 0;
    padding: 0;
    position: relative;
    float: left;
    font-size: 0;
}
.work-list li:nth-of-type(3n) {
    margin: 0 0 40px 0;
}
.work-list li .list-i {
    width: 100%;
    margin: 0;
    padding: 0;
}
.work-list li .menu {
    font-family: "FOT-筑紫明朝 Pr6N L";
    font-weight: normal;
    font-size: 16px;
    line-height: 1em;
    display: inline-block;
    box-sizing: border-box;
    padding: 12px 10px 10px 20px;
    background-color: #fff;
    text-decoration: none;
    color: #000;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: 0.2s;
}
.work-list li:hover .menu {
    color: #fff;
    background-color: #005BAC;
    transition: 0.2s;
}

.flow {
    width: 85%;
    box-sizing: border-box;
    position: relative;
    padding: 0;
    margin: 50px auto;
    list-style: none;
    text-align: center;
    font-size: 0;
}
.flow li {
    width: 15%;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    padding: 60px 0 0;
    margin: 30px 5% 65px 0;
    text-align: left;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8em;
    color: #2A2A2A;
    vertical-align: top;
}
.flow li:nth-of-type(5n) {
    margin: 30px 0 65px 0;
    vertical-align: top;
}
.flow li .no {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #E7EAE6;
    font-family: "FOT-筑紫Aヴィンテージ明S Pr6N R";
    font-weight: normal;
    font-size: 21px;
    letter-spacing: 1px;
    color: #005BAC;
    text-align: center;
    line-height: 60px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.flow li .step {
    font-family: "FOT-筑紫明朝 Pr6N L";
    font-weight: normal;
    font-size: 21px;
    color: #005BAC;
    text-align: center;
    line-height: 1.2em;
    display: block;
    box-sizing: border-box;
    margin: 0 2% 15px;
}
.flow li .step small {
    display: block;
    font-size: 0.6em;
    line-height: 1.5em;
    margin: 0;
    padding: 0;
}
.gaiyo {
    width: 37%;
    margin: 50px 5% 30px 8%;
    display: table;
    border-collapse: collapse;
    float: right;
}
.gaiyo tr th {
	width: 25%;
	padding: 0;
    margin: 0 0 20px;
    font-family: "FOT-UD角ゴ_スモール Pr6 M";
    font-weight: normal;
    font-size: 13px;
    line-height: 1.6em;
	text-align: left;
    display: inline-block;
    vertical-align: top;
}
.gaiyo tr td {
    font-family: "FOT-UD角ゴ_スモール Pr6 R";
    font-weight: normal;
    font-size: 13px;
    line-height: 1.6em;
    width: 75%;
    margin: 0 0 20px;
    box-sizing: border-box;
    display: inline-block;
    padding: 0;
    vertical-align: top;
}
.gaiyo td .map {
    font-family: "FOT-筑紫明朝 Pr6N M";
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #C50018;
    line-height: 1em;
    display: inline-block;
    padding: 7px 15px;
    background-color: #fff;
    transition: 0.3;
}
.gaiyo td .map:hover {
    color: #fff;
    background-color: #C50018;
    transition: 0.3;
}
.gaiyo td a {
    text-decoration: none;
}
.g-map {
    width: 100%;
    height: 330px;
    margin-bottom: 50px;
}

.office {
    width: 50%;
    float: left;
    margin: 0;
}
.qa {
    width: 70%;
    margin: 20px auto;
    border: none;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
}
.qa summary {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 30px 20px 60px;
    color: #333333;
    cursor: pointer;
    font-family: "FOT-UD角ゴ_スモール Pr6 M";
    font-size: 15px;
    font-weight: normal;
    text-align: left;
    line-height: 1.2em;
}
.qa summary::-webkit-details-marker {
    display: none;
}
.qa summary::before {
    position: absolute;
    left: 15px;
    top: 20px;
    font-weight: 600;
    font-size: 1.3em;
}
.qa p::before {
    position: absolute;
    left: 15px;
    top: 12px;
    font-weight: 600;
    font-size: 1.3em;
}
.qa summary::before {
    font-family: "FOT-筑紫明朝 Pr6N M";
    font-weight: normal;
    font-size: 30px;
    color: #005BAC;
    content: "Q";
}
.qa summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}
.qa[open] summary::after {
    transform: rotate(225deg);
}
.qa p {
  position: relative;
  margin: 0;
  padding: 20px 30px 20px 60px;
  color: #333;
  font-family: "FOT-UD角ゴ_スモール Pr6 M";
  font-size: 15px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  height: 0;
  overflow: hidden;
}

.qa[open] p {
  height: auto; /* JavaScriptで制御 */
}
.qa p::before {
    font-family: "FOT-筑紫明朝 Pr6N M";
    font-weight: normal;
    font-size: 30px;
    color: #620B29;
    line-height: 1.2;
    content: "A";
}
.snapwidget-widget {
    width: 66%;
    display: table;
    float: right;
    margin: 0;
    padding: 0;
}
/*実績関連*/
.categori {
    width: 90%;
    box-sizing: border-box;
    display: block;
    list-style: none;
    margin: 20px auto 80px;
    padding: 0;
}
.categori li {
    font-family: "FOT-UD角ゴ_スモール Pr6 L";
    text-decoration: none;
    text-align: center;
    line-height: 180%;
    font-size: 15px;
    box-sizing: border-box;
    padding: 0;
    margin: 0 10px 0 0;
    display: inline-block;
}
.categori li a {
    color: #000;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 10px;
}
.categori li a:hover {
    animation: rotateHover 0.5s linear forwards;
    background-color: #000;
    color: #fff;
    padding: 10px;
}
@keyframes rotateHover {
    0% {
        transform: rotateX(0);
    }
    100% {
        transform: rotateX(360deg);
    }
}

.j-contents {
	width: 80%;
    max-width: 1200px;
	box-sizing: border-box;
	position: relative;
	display: block;
	margin: 0 auto 80px;
	padding: 0;
	z-index: 0;
}
.jisseki-ss {
    width: 100%;
    position: relative;
    z-index: 1;
    margin: 0 auto 30px;
}
  .j-image {
    position: relative;
    width: 100%;
    z-index: 1;
}
  .j-image img {
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease;
      display: flex;
  align-items: center;
  justify-content: center;
}
  .thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 5px auto;
}
.thumbnails img {
  width: calc((100% - (5px * 5)) / 6);
  margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.thumbnails img:nth-child(6n) {
  margin-right: 0;
}

.thumbnails.five {
  justify-content: space-between;
}
  .thumbnails img.active {
    opacity: 1;
  }
  .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(255,255,255,0.7);
    border: none;
    cursor: pointer;
    z-index: 2;
      padding: 35px 5px;
}
  .nav-button.left {
    left: 0px;
  }
  .nav-button.right {
    right: 0px;
  }

.j-messeage {
    width: 62%;
    box-sizing: border-box;
    float: left;
    margin: 0 8% 50px 0;
    padding: 0;
    font-family: "FOT-UD角ゴ_スモール Pr6 M";
    text-decoration: none;
    line-height: 2.2em;
    font-size: 14px;
    text-align:justify;
    text-align: justify-all;
}
.j-info {
    width: 30%;
    box-sizing: border-box;
    list-style: none;
    margin: 0 0 50px;
    padding: 10px 15px;
    float: left;
    background-color: #F3F3F3;
}
.j-info li {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 0 3px;
    margin: 0;
    font-family: "FOT-UD角ゴ_スモール Pr6 DB";
    text-decoration: none;
    line-height: 1.6em;
    font-size: 12px;
    text-align: left;
}


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

#first-image {
  width: 100%;
  height:50vw;
  min-height:inherit;
  margin: 0;
  padding: 0;
}
.slideshow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.slide {
  width: 100%;
  height: 100%;
  background-position: right center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.catch {
    width: 100%;
    height: 100%;
}
.catch span {
    width: 80%;
    font-size: clamp( 20px, 6vw, 39px);
    line-height: 1.2em;
    letter-spacing: 0.1em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.catch span small {
    font-weight: normal;
    font-size: clamp( 12px, 0.4em, 20px);
}
header {
    padding: 60px 0 0;
    margin-bottom: 0;
    background-color: #005BAC;
}    
.kotei-btn1 {
    position:fixed;
    top:inherit;
    bottom: 0;
    right:inherit;
    left: 0;
    box-sizing: border-box;
    width: 50%;
    padding: 12px 0 10px;
    margin: 0;
    border-right: 1px solid #fff;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.2s;
    z-index: 9999;
}
.kotei-btn2 {
    position:fixed;
    top:inherit;
    bottom: 0;
    right: 0;
    width: 50%;
    box-sizing: border-box;
    padding: 12px 0 10px;
    margin: 0;
    border-left: 1px solid #fff;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.2s;
    z-index: 9999;
}
h1 {
    font-size: 25px;
    padding: 0;
    margin: 50px auto 20px;
    line-height: 180%;
    width: 90%;
    display: block;
}
h1 small {
    font-size: 0.7em;
    line-height: 3em;
}
h2 {
	font-size: 24px;
    width: auto;
    height: auto;
    padding: 2.5em 0 1em 30px;
	margin: 0 2% 0px;
    box-sizing: border-box;
    display: block;
    position: relative;
	line-height: 1em;
	text-decoration: none;
	color: #2A2A2A;
	letter-spacing: 1px;
}
h2 small {
    font-size: 4.6em;
    line-height: 1em;
    position: absolute;
    bottom: 0;
    left: 0;
}
section2 h3 {
    width: 90%;
	font-size: 22px;
    box-sizing: border-box;
    display: block;
	padding: 0 0 0 70px;
	margin: 50px 0 20px 3%;
	line-height: 1em;
	text-align: left;
	text-decoration: none;
	color: #2A2A2A;
	letter-spacing: 1px;
    position: relative;
    top: 0;
    transform: translateY(0%);
    left: 0;
	background-image: url("../img/insta.png");
	background-repeat: no-repeat;
	background-size: 65px auto;
	background-position: left center;
}
section2 h3 small {
    font-family: "FOT-筑紫Aヴィンテージ明S Pr6N R";
    font-size: 0.6em;
    font-weight: normal;
    display: block;
    line-height: 2em;
    color: #005BAC;
}
h3 {
    font-size: 22px;
    line-height: 150%;
    font-family: "FOT-UD角ゴ_スモール Pr6 E";
    letter-spacing: 2px;
    color: #00A0E9;
    margin: 10px 0 15px 0;
}
h3 small {
    font-size: 0.5em;
    letter-spacing: 1px;
    display: block;
}
h4 {
	font-size: 20px;
	letter-spacing: 1px;
	padding: 0;
	margin: 0;
	display: block;
	width: auto;
}
    
/*実績関連*/
.j-contents {
	width: 90%;
	box-sizing: border-box;
	position: relative;
	display: block;
	margin: 0 auto;
	padding: 0;
	z-index: 0;
}
.j-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  .j-image {
    overflow: hidden;
  }
  .thumbnails {
    flex-wrap: wrap;         /* 折り返し有効化 */
    justify-content: flex-start; /* 左寄せ */
      font-size: 0;
  }
    .thumbnails img {
  width: calc((100% - (5px * 3)) / 4);
  margin-right: 5px;
        margin-bottom: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.thumbnails img:nth-child(4n) {
  margin-right: 0px;
}
.thumbnails img:nth-child(5n) {
  margin-right: 5px;
}
.j-messeage {
    width: 100%;
    box-sizing: border-box;
    float: left;
    margin: 0 auto 10px;
    padding: 0;
    line-height: 2em;
    font-size: 13px;
    text-align:justify;
    text-align: justify-all;
}
.j-info {
    width: 100%;
    box-sizing: border-box;
    list-style: none;
    margin: 0 auto 50px;
    padding: 10px 15px;
    float: left;
    background-color: #F3F3F3;
}

}
