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

#first-image {
  width: 92%;
  height: 80vh;
  min-height: 500px;
  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: 100px;
}
section {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    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: 130px 10% 20px 5%;
    line-height: 180%;
    text-align: left;
    width: 30%;
    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% 20px;
    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: 30px;
    line-height: 150%;
    font-family: "FOT-UD角ゴ_スモール Pr6 E";
    letter-spacing: 2px;
    color: #FFFFFF;
}
.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;
}
.sb-leed {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-weight: 600;
    font-size: 14px;
    line-height: 2em;
    text-align: left;
    text-decoration: none;
    text-justify: inter-ideograph;
    color: #2A2A2A;
    display: inline-block;
    width: 80%;
    padding: 0;
    margin: 0 10% 50px;
    letter-spacing: 1px;
}
.work-list {
    width: 100%;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0 auto 50px;
    display: table;
}
.work-list li {
    width: calc(100% / 3);
    height: auto;
    box-sizing: border-box;
    margin: 0 0 1px 0;
    padding: 1px;
    position: relative;
    float: left;
    font-size: 0;
}
.work-list li:nth-of-type(3n) {
    margin: 0 0 1px 0;
}
.work-list li .list-i {
    width: 100%;
    margin: 0;
    padding: 0;
}
.work-list li .menu {
    font-family: "FOT-筑紫明朝 Pr6N M";
    font-weight: normal;
    font-size: 15px;
    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;
}
.more-btn {
    font-family: "FOT-UD角ゴ_スモール Pr6 DB";
    letter-spacing: 1px;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    padding: 11px 80px 10px;
    margin: 0px auto 70px;
    display: table;
    color: #fff;
    background: #000;
    transition: 0.2s;
}
.more-btn:hover {
    background: #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: 45%;
    margin: 50px 5% 30px;
    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: 25%;
    float: left;
    margin: 0 5% 30px 15%;
}
.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;
}


@media only screen and (max-width: 899px) {
#first-image {
  width: 100%;
  height:90vw;
  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: 1em;
    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;
}
section2 {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 0px 0 70px;
    background: linear-gradient(to bottom, 
    transparent 40%, 
    #E7EAE6 40%, 
    #E7EAE6 70%, 
    transparent 70%);
    display: inline-block;
}
h1 {
    font-size: 5.8vw;
    padding: 0;
    margin: 0 0 20px 0;
    line-height: 150%;
    width: 90%;
    position: absolute;
    top: 30px;
    left: 5%;
}
h1 small {
    font-size: 0.7em;
    line-height: 3em;
}
h2 {
	font-size: 24px;
    width: auto;
    height: auto;
    padding: 2.5em 0 1em 3%;
	margin: 0 2% 20px;
    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: 30px;
    line-height: 150%;
    font-family: "FOT-UD角ゴ_スモール Pr6 E";
    letter-spacing: 2px;
    color: #FFFFFF;
}
.about-i {
    width: 40%;
    float: right;
    margin: 180px 0 50px 5%;
}
.leed {
    font-size: 13px;
    line-height: 2.5em;
    text-justify: inter-ideograph;
    width: 50%;
    padding: 0;
    margin: 150px 0 50px 5%;
    letter-spacing: 1px;
}
.sb-leed {
    font-size: 13px;
    line-height: 2em;
    width: 90%;
    padding: 0;
    margin: 0 5% 30px;
    letter-spacing: 1px;
}
.snapwidget-widget {
    width: 95%;
    display: table;
    float: right;
    margin: 0;
    padding: 0;
}
.work-list {
    width: 100%;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0 auto 50px;
    display: table;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.work-list li {
    width: 80%;
    height: auto;
    margin: 0 0 5px 0;
    padding: 0;
    float: left;
    font-size: 0;
    
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.work-list li:nth-of-type(2n), .work-list li:nth-of-type(6n) {
    margin: 0 0 5px 20%;
}
.work-list li:nth-of-type(3n) {
    margin: 0 0 5px 0;
}
.work-list li:nth-of-type(6n) {
    margin: 0 0 5px 20%;
}
.work-list li .list-i {
    width: 100%;
    margin: 0;
    padding: 0;
}
.work-list li .menu {
    font-size: 16px;
    padding: 12px 10px 10px 20px;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: 0.2s;
}
.work-list li:hover .menu {
    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: 100%;
    padding: 60px 0 0;
    margin: 30px 0 65px;
    font-size: 13px;
    line-height: 1.8em;
}
.flow li:nth-of-type(5n) {
    margin: 30px 0 65px;
    vertical-align: top;
}
.flow li .no {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 21px;
    line-height: 60px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.flow li .step {
    font-size: 23px;
    margin: 0 2% 15px;
}
.flow li .step small {
    font-size: 0.6em;
    line-height: 1.5em;
    margin: 0;
    padding: 0;
}
.gaiyo {
    width: 80%;
    margin: 50px auto 10px;
    display: table;
    border-collapse: collapse;
    float: none;
}
.gaiyo tr th {
	width: 25%;
    min-width: 6em;
	padding: 0;
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.6em;
    display: inline-block;
    vertical-align: top;
}
.gaiyo tr td {
    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;
}
.office {
    width: 60%;
    float: none;
    margin: 0 auto 30px;
    display: block;
}
.qa {
    width: 90%;
    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;
}
    

}