@charset "UTF-8";
@import url("./layout/main.css");
@import url("./layout/header.css");
@import url("./layout/footer.css");
@import url("./layout/top.css");
@import url("./layout/form.css");
@import url("./layout/company.css");
@import url("./layout/reform.css");

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body,
p {
	font-size: 1rem;
    letter-spacing: 0.06em;
	line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  	opacity: 1;
  transition: opacity 0.5s ease;
}
body.is-loading {
  opacity: 0;
}


.body__wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    font-family: "Noto Sans JP", "SF Latin", "Hiragino Sans", ヒラギノ角ゴシック, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1a1a1a;
}
.overlay {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    z-index: 4;
}

a {
    text-decoration: none;  
    color: #333;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
img{
	max-width: 100%;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}
.mb40{
	margin-bottom: 40px;
}
.f-small {
    font-size: small;
}

.br-sp {
    display: none;
}

.br-pc {
    display: block;
}

.img-sp {
    display: none;
    box-sizing: border-box;
    margin: 0;
}

.smooth {
  clip-path: inset(0 100% 0 0);
  display: inline-block;
  font-size: 36px;
  font-weight: bold;
  transition: 1.4s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
  line-height: 1;
  height: 40px;
  margin-top: 15px;
}
.smooth.is-animated {
  clip-path: inset(0);
}

/* 下線矢印リンク */
.arrow-link-underline {
	font-size:0.8rem;
  --arrow-color: #333; /* 矢印の色 */
  position: relative;  /* 疑似要素の位置基準 */
  display: inline-block;
  padding: 0 2em .5em .5em; /* 右に矢印用の余白 */
  color: var(--arrow-color);  /* テキスト色 */
  text-decoration: none;      /* 下線を消す */
}

/* ホバー時も文字色を変えない */
.arrow-link-underline:hover {
  color: var(--arrow-color);
}

/* 下線矢印 */
.arrow-link-underline::before {
  content: ''; 
  position: absolute;
  left: 0; 
  bottom: 0;
  width: 100%; 
  height: 12px; 
  border-bottom: 1px solid var(--arrow-color); 
  border-right: 1px solid var(--arrow-color);
  transform: skewX(50deg); /* 矢印の形状 */
  transition: left 0.3s ease;
}

/* 下線矢印のアニメーション */
.arrow-link-underline:hover::before {
  left: 20%; /* ホバーで矢印が右にずれる */
}

.btn-container-c {
	text-align: center; 
	margin-top:60px;
}
.btn-container-l {
	position: absolute;
    bottom: -120px;  /* ボックス下に少しずらすなら調整 */
    left: 0;
    text-align: left;
}

/*button*/
.button a {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #333;
  background: #fff;
  font-weight: 400;
  border: solid 1px #333;
  display: block;
  box-sizing: border-box;
  width: 300px;
  text-align: center; 
  padding: 16px 64px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.button a:hover {
  color: #fff;
  background: #333;
  transition: all 0.3s;
}

/*button*/

/* ズーム */
.zoom{
	overflow: hidden;
	max-width:100%;
	 display: inline-block;
}

.zoom img{
	height:auto;
	transition: transform 0.4s ease;
}

.zoom:hover img {
  transform: scale(1.1); /* ← 拡大率はここで調整 */
}

.to-top{
   position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background-color: #285baa;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}

.to-top::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translate(-50%, -30%) rotate(45deg);
}

html{
  scroll-behavior: smooth; /* ← これでスムーズスクロール */
}
/*=================================
*　　meadia ~768px
=================================*/

@media screen and (max-width: 768px) {
    .sp-only {
        display: block;
    }
}

    /*=================================
*　　sp版
=================================*/

@media screen and (max-width: 480px) {
        .br-sp {
            display: block;
        }

        .br-pc {
            display: none;
        }

        img {
            max-width: 100%;
        }

        .img-pc {
            display: none;
            box-sizing: border-box;
            margin: 0;
        }

        .img-sp {
            display: block;
            box-sizing: border-box;
            margin: 0;
        }
    }