/*
Theme Name: swallow-kogyo
Theme URI: https://swallow-kogyo-lp.com
Author: Yuichi Haraguchi
Description: 東大阪市/八尾市の不動産買取のことならスワロー工業にお任せ！地域密着の確かな情報で安心・スピーディーな高価買取を実現！不動産売却・不動産買取・不動産査定に強い不動産会社です。
Version: 1.0.0
*/
@font-face {
  font-family: 'Noto-Serif-JP';
  font-style: normal;
  font-weight: 400;
  /* サーバー内のパスを指定 */
  src: url('./assets/font/NotoSerifJP-VariableFont_wght.ttf') format('truetype');
  font-display : swap; /* 読み込み中にテキストを表示させるための推奨設定 */
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 500;
  /* サーバー内のパスを指定 */
  src: url('./assets/font/Lato-Regular.ttf') format('truetype');
  font-display : swap; /* 読み込み中にテキストを表示させるための推奨設定 */
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  /* サーバー内のパスを指定 */
  src: url('./assets/font/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-display : swap; /* 読み込み中にテキストを表示させるための推奨設定 */
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  background: #010744ff;
	padding-top: 100px;
}

a {
  color: #0073aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.w-100{
	width: 100%!important;
}
/* ===== Header ===== */
.site-header {
  display: flex;
  align-items: stretch;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999999;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  min-width: 220px;
  padding: 10px 24px;
}

.header-logo a {
  display: block;
  background: #fff;
  padding: 10px 24px;
}

.header-logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-size: 14px;
  font-weight: 700;
  color: #0d1f3c;
}

/* Right side */
.header-right {
  background: #fff;
	margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  padding: 10px 24px 10px 50px;
	border-radius: 0px 0px 0px 10px;
    box-shadow: 5px 5px 20px #33333367;
}

/* Nav */
.header-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a {
  color: #0d1f3c;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.header-nav a:hover {
  opacity: 0.75;
}
/* ハンバーガーボタン */
.header-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.header-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s;
  transform-origin: center;
}

/* ハンバーガー → × 変形 */
.header-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.header-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* オーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  z-index: 99;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ドロワー */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 370px;
  background: #fff;
  border-left: 1px solid #e5e5e5;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 100;
}
.nav-drawer.is-open {
  transform: translateX(0);
}
#navClose{
width: 50px;
    aspect-ratio: 1 / 1;
    font-size: 24px;
    display: block;
    margin-left: auto;
    background: #fff;
    color: #001819ff;
    font-weight: 300;
    border: none;
}
#navClose svg{
	color: #001819ff;
	cursor: pointer;
	
}
#navDrawer ul{
	list-style: none;
	margin: 0;
	padding: 1rem;
}

#navDrawer ul li{
border-top:1px dotted #001819ff;
}
#navDrawer ul li:last-child{
	border-bottom:1px dotted #001819ff;
}
#navDrawer ul li a{
	display: block;
	position: relative;
	padding: .5rem 0;
	color: #001819ff;
	text-decoration: none;
}

#navDrawer ul li a::after{
	position: absolute;
	content: "";
	top: 50%;
	right: 5%;
	transform: translateY(-50%) rotate(-45deg);
	border-right: 2px solid #001819ff;
	border-bottom: 2px solid #001819ff;
	width: 7.5px;
	aspect-ratio:1/1;
	
}
#navDrawer a.header-cta{
	margin: 0 1rem;
}
/* CTA Button */
.header-cta,
.process_cta{
  background: #22c55e;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  padding: 6px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  line-height: 1.3;
}
.process_cta{
	width: fit-content;
	margin-top: 15px;
}


.cta-label-top {
  font-size: 9px;
  opacity: 0.9;
}

.cta-label-main {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-free {
  background: #B71C1C;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  padding: 1px 5px;
}

.cta-line-icon {
  width: 18px;
  height: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .header-logo {
    min-width: unset;
	  width: 200px;
	  padding: 5px 10px;
    flex: 1;
  }
	.header-logo img{
		height: 30px;
	}
	.header-logo a {
    display: block;
    background: #fff;
    padding: 5px 15px;
}
}
.container{
	width:1216px;
	max-width: 100%;
	margin: 0 auto;
}
.cta{
	margin-bottom: 50px;
}
.cta h3{
	color: #FFFFFF;
    font-family: 'Noto-Serif-JP';
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.75;
    margin: 40px 0px;
    text-align: center;
    transition-delay: 300ms;
    transition-duration: 500ms;
    transition-timing-function: ease-in-out;
}
.cta a{
	display: block;
	background: #00b900ff;
	border-radius: 6px;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
	padding: 1rem 0;
    justify-content: center;
    margin: 0px auto;
    width: 998px;
    max-width: 100%;
	text-align: center;
	transition: all .2s;
}

.cta a:hover{
	transform: scale(1.1, 1.1);
	transition: all .2s;
	text-decoration: none;
	color: #fff;
}
.cta a span.cta-label-top{
	color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    height: auto;
    line-height: 1.4;
    text-align: center;
    width: auto;
    max-width: 100%;
    justify-content: center;
}
.cta a .cta-label-main{
	justify-content: center;
	font-size: 40px;
	color: #fff;
}
.cta a .cta-label-main .cta-free{
	background: #B71C1C;
    color: #FFFFFF;
    flex: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0em;
    line-height: 1.4;
    text-align: center;
}
.cta a .svg-inline--fa.fa-line{
	font-size: 28px;
}
#gosoudan{
	background: #fff;
	padding: 80px 0;
}
#gosoudan h2{
	color: #880000ff;
	font-size: 40px;
	letter-spacing: 0.1em;
    line-height: 1.75;
	text-align: center;
	margin-bottom: 2rem;
}
#gosoudan .gosoudan_flex{
	display: flex;
	gap:100px;
}
#gosoudan .gosoudan_flex .item{
	width: calc(100% / 3);
}
#gosoudan .gosoudan_flex .image{
	width: 250px;
	margin: 0 auto 1rem;
}
#gosoudan .gosoudan_flex h3{
	font-size: 28px;
    font-weight: 700;
	letter-spacing: .2em;
	text-align: center;
	margin-bottom: 1rem;
}
#kaiketsu{
	background: #fff;
	padding-bottom: 100px;
}
#kaiketsu + .cta{
	position: relative;
	top: -50px;
}
#goriyou .container{
	background: #e5e1e9ff;
}
#no1{
	max-width: 56.73611111111111vw;
	padding: 50px 0 30px;
	margin: 0 auto;
}
#voice{
	padding: 80px 0;
}
#voice h2{
	text-align: center;
	color: #ffffffb2;
    font-size: 72px;
    font-weight: 600;
    line-height: .5;
	font-family: 'Lato';
	margin-bottom: 50px;
}
#voice h2 span{
	color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1.4;
}
.slider-container {
  width: 100%;
  overflow-x: auto;
  /* 両端に10pxの余白を作り、前後の要素をチラ見せする */
  padding: 0 10px; 
  cursor: default;
  /* iOS等での慣性スクロールを滑らかにする */
  -webkit-overflow-scrolling: touch; 
}

#voice_slider {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 16px;
  scroll-snap-type: x mandatory;
}

#voice_slider li {
  /* 3つ表示させつつ、余白gap分を引いた幅 */
  min-width: calc(33.33% - 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  scroll-snap-align: center; /* 中央にスナップ */
}
#voice #voice_slider li .image{
	margin-bottom: 15px;
}
#voice #voice_slider li .image img{
  width: 250px;
  height: 140px;
  object-fit: cover; /* これだけでOK */
	margin: 0 auto;
}
#voice #voice_slider li .voice_item{
background: #FFFFFF;
border-radius: 16px;
padding: 2.5rem .5rem;
width: 100%;
}
#voice #voice_slider li .voice_item .type{
	background: #010744ff;
    border-radius: 128px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.4;
    margin: 0px auto 30px;
    text-align: center;
	width: 242px;
}
#voice #voice_slider li .voice_item .detail{
	color: #333333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
	margin-bottom: 16px;
}
#voice #voice_slider li .voice_item .time{
	background: #010744ff;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-align: center;
    width: 178px;
	margin: 0px auto;
}
#kodawari .kodawari2{
	position: relative;
}

#kodawari .kodawari2 p{
	font-family: 'Noto-Serif-JP';
	color: #FFFFFF;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 50%;
	left: 50%;
	white-space: nowrap;
	transform: translate(-50% , -50%);
}

#process{
	padding: 80px 0;
}
#process h2{
	text-align: center;
	color: #ffffffb2;
    font-size: 72px;
    font-weight: 600;
    line-height: .5;
	font-family: 'Lato';
	margin-bottom: 50px;
}
#process h2 span{
	color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1.4;
}
#process dl p{
	font-family: 'Lato';
	color: #001849;
    font-size: 126px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1;
    margin: 0 0 0 0;
    position: relative;
    text-align: center;
	
}
#process dl{
	position: relative;
	display: block;
	background: #fff;
}
#process dl:first-child{
	border-radius: 10px 10px 0px 0px;
}
#process dl:not(:last-child){
	border-bottom:1px dotted #001849;
}
#process dl .num{
	position: absolute;
	top: 0;
	left: 20px;
}
#process dl dt{
    padding: 30px 20px 30px 180px;
	color: #001849;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
	position: relative;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#process dl dt svg{
	font-size: 24px;
	color: #001849!important;
	transition: all .3s;
}

#process dl.is-open dt svg{
	transform: rotate(-180deg);
	transition: all .3s;
}
#process dl dd{
	padding: 0px 20px 30px 180px;
	color: #000000;
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
}

#process dl dd{
	display: none;
}

#company{
	padding: 80px 0;
}
#company h2{
	text-align: center;
	color: #ffffffb2;
    font-size: 72px;
    font-weight: 600;
    line-height: .5;
	font-family: 'Lato';
	margin-bottom: 50px;
}
#company h2 span{
	color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1.4;
}
#company .company_wrap{
	background: #fff;
	border:1px dotted #001849;
	padding: 0 1.5rem;
}

#company .company_wrap .company_item{
	padding: 30px 0px;
	display: flex;
	gap:20px;
}
#company .company_wrap .company_item:not(:last-child){
	border-bottom:1px dotted #001849;
}

#company .company_wrap .company_item .left{
	width: 200px;
	max-width: 100%;
}
#company .company_wrap .company_item .right{
	width: calc(100% - 220px);
	max-width: 100%;
}

#company .company_wrap .company_item iframe{
	height: 280px;
	border-radius: 10px;
	margin-top: 15px;
	box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.1);
}
#concept{
	padding: 80px 0;
}

#concept .concept_wrap{
	background: #fff;
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.1);
    padding: 80px 40px 80px 40px;
    width: 1090px;
    max-width: 100%;
	margin: 0 auto;
}
#concept .concept_wrap .concept_logo{
    margin: 0px auto 40px;
    width: 600px;
    max-width: 100%;
}

#concept .concept_wrap .concept_messege h2{
	color: #001849;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;

}
#concept .concept_wrap .concept_messege h2{
	color: #001849;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
	margin: 0px 0px 40px 0px;
}
#concept .concept_wrap .concept_messege p{
	color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: 2.4;
    text-align: center;
}

#faq{
	padding: 80px 0;
}
#faq h2{
	text-align: center;
	color: #ffffffb2;
    font-size: 72px;
    font-weight: 600;
    line-height: .5;
	font-family: 'Lato';
	margin-bottom: 50px;
}
#faq h2 span{
	color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1.4;
}

#faq dl{
	position: relative;
	display: block;
	border-radius: 10px;
	background: #fff;
}
#faq dl:not(:last-child){
	margin-bottom: 1rem;
}
#faq dl dt{
    padding: 30px 20px 30px 80px;
	color: #001849;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
	position: relative;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#faq dl dt .q{
	background: #FFFFFF;
    border-bottom: 1px solid #001849;
    border-left: 1px solid #001849;
    border-radius: 50%;
    border-right: 1px solid #001849;
    border-top: 1px solid #001849;
    color: #010744ff;
    font-size: 24px;
    font-weight: 600;
    height: 40px;
    left: 20px;
    line-height: 1;
    margin: 0 0 0 0;
    position: absolute;
    text-align: center;
    top: 22px;
    width: 40px;
	align-items: center;
    display: flex;
	justify-content: center;
}
#faq dl dt svg{
	font-size: 24px;
	color: #001849!important;
	transition: all .3s;
}

#faq dl.is-open dt svg{
	transform: rotate(-180deg);
	transition: all .3s;
}
#faq dl dd{
	padding: 6px 20px 20px 80px;
	color: #000000;
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
	position: relative;
}

#faq dl dd{
	display: none;
}
#faq dl dd .a{
	display: flex;
	background: #010744ff;
    border-radius: 50%;
    bottom: -20px;
    color: #FFEA00;
    font-size: 24px;
    font-weight: 600;
    height: 40px;
    left: 20px;
    line-height: 1;
    margin: 0 0 0 0;
    padding: 0px;
    position: absolute;
    right: -20px;
    text-align: center;
    top: 0px;
    width: 40px;
    justify-content: center;
	align-items: center;
}
#tel_number{
	padding: 50px 0;
}

#tel_number a svg{
	color: #FFFFFF;
    font-size: 28px;
	margin-right: 1rem;
}
#tel_number a{
	color: #FFFFFF;
    font-family: 'Open Sans', 'Noto Sans JP';
    font-size: 36px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
	width: fit-content;
	margin: 0 auto;
	display: block;
	transition: all .2s;
}
#tel_number a:hover{
	text-decoration: none;
	transition: all .2s;
	transform: scale(1.1);
}
#reform_bnr{
	padding-bottom: 50px;
}
#reform_bnr p{
	color: #FFFFFF;
    font-family: 'Noto-Serif-JP';
    font-size: 28px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 40px;
    text-align: center;
}
footer .footer_access{
	display: flex;
	width: 50%;
	max-width: 100%;
	margin: 0 auto 1rem;
}

footer .footer_access .footer_access_img{
	width: 180px;
}

footer .footer_access .footer_access_text{
	color: #fff;
	font-size: 15px;
}

footer .footer_access .footer_access_text .item:not(:last-child){
	margin-bottom: 1rem;
}
footer .footer_access .footer_access_text span{
	padding-left: 1rem;
	display: inline-block;
}

footer iframe{
	width: 100%;
	height: 300px;
}
footer .copyright_flex{
	display: flex;
	justify-content: center;
	gap: 59px;
	padding: 50px 0;
	align-items: center;
}
footer .copyright_flex .sns{
	display: flex;
	gap: 20px;
	width: calc(24px * 2 + 20px);
}
footer .copyright_flex .sns a{
	display:block;
	width:24px;
	font-size: 24px;
}
footer .copyright_flex p{
	color: #fff;
	font-size: 13px;
    font-weight: 400;
}
.d-none{
	display: none;
}
@media screen and (min-width: 540px){
	.d-sm-block{
		display: block;
	}
	.d-sm-none{
		display: none;
	}
}
@media screen and (max-width: 540px){
	body{
		padding-top: 65px;
	}
	.container{
		padding: 0 15px;
	}
	.header-cta{
		display: none;
	}
	.header-right{
		padding: 5px 10px;
	}
	#navDrawer a.header-cta{
		display: flex;
	}
	.cta a{
		padding: 0;
	}
	.cta{
		margin-bottom: 20px;
	}
	.cta a .cta-label-main{
		font-size: 24px;
        letter-spacing: 0.13em;
        margin: 0px 10px 0px 0px;
        max-width: calc(100% - 10px);
		padding: 0;
	}
	#mv .container{
		padding: 0;
	}
	#gosoudan{
		padding: 50px 0;
	}
	#gosoudan h2{
		font-size: 18px;
	}
	#gosoudan .gosoudan_flex{
		display: block;
	}
	#gosoudan .gosoudan_flex .item{
		display: flex;
		flex-wrap: nowrap;
		width: 100%;
		gap:10px;
	}
	#gosoudan .gosoudan_flex .item .image{
		width: 120px;
        max-width: 100%;
		flex: none;
		margin: 0;
		align-self: center;
	}
	#gosoudan .gosoudan_flex .item .detail{
		width: calc(100% - 130px);
	}
	#gosoudan .gosoudan_flex .item:not(:last-child){
		margin-bottom: 1rem;
	}
	#gosoudan .gosoudan_flex h3{
		font-size: 24px;
	}
	#gosoudan .gosoudan_flex p{
		font-size: 11px;
	}
	#kaiketsu{
		padding-bottom: 0;
	}
	#kaiketsu + .cta{
		top: 0;
		padding-top: 20px;
		margin-bottom: 0;
		padding-bottom: 20px;
	}
	#kaiketsu .container{
		padding: 0;
	}
	#no1{
		margin: 30px auto 0px;
        width: 358px;
        max-width: 100%;
		padding: 20px 0;
	}
	#voice{
		padding: 30px 0;
	}
	#voice h2{
		font-size: 28px;
		line-height: 1.25;
		margin-bottom: 20px;
		
	}
	#voice_slider li{
		width: 100%;
		min-width: 100%;
	}
	#voice #voice_slider li .voice_item .detail{
		font-size: 16px;
	}
	#kodawari .container{
		padding: 0;
	}
	#kodawari .kodawari2 p{
		font-size: 20px;
		font-weight: 300;
		line-height: 1.2;
	}
	#process{
		padding: 30px 0;
	}
	#process h2{
		font-size: 28px;
		line-height: 1.25;
		margin-bottom: 20px;
	}
	#process dl .num{
		left: 14px;
        top: 14px;
	}
	#process dl p{
		font-size: 90px;
	}
	#process dl dt{
		padding: 30px 20px 30px 130px;
	}
	#process dl dd{
		padding: 0px 20px 30px 130px;
	}
	#company{
		display: none;
		
	}#concept{
		padding: 30px 0;
	}
	#concept .concept_wrap{
		padding: 80px 15px;
	}
	#concept .concept_wrap .concept_messege p{
		font-size: 13px;
	}
	#concept .concept_messege span{
		color: #880000ff;
		font-weight: bold;
	}
	#faq{
		padding: 30px 0;
	}
	#faq h2{
		font-size: 28px;
		line-height: 1.25;
		margin-bottom: 20px;
	}
	#faq dl dt{
		font-size: 16px;
		padding: 30px 20px 30px 70px;
	}
	#b_mv{
		padding-bottom: 30px;
	}
	#b_mv .container{
		padding: 0;
	}
	.cta h3{
		font-size: 16px;
        letter-spacing: 0.15em;
        margin: 0px 0px 30px 0px;
	}
	#tel_number{
		padding: 30px 0;
	}
	#reform_bnr p{
		font-size: 16px;
		margin-top: 20px;
		margin-bottom: 10px;
	}
	footer .footer_access{
		width: 100%;
		padding: 0 10px;
		flex-wrap: wrap;
	}
	footer .footer_access .footer_access_img{
		width: 50%;
	}
	footer .footer_access .footer_access_text{
		width: 100%;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
	footer .footer_access .footer_access_text span{
		padding-left: 0;
	}
	footer .footer_access .footer_access_text .item{
		width: 60%;
		font-size: 14px;
	}
}