@charset "UTF-8";

@media screen and (min-width:1081px){


body {
    animation: firstfadeIn 2s ease-in-out 0s normal;
}

@keyframes firstfadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.block {
    opacity: 0;
    transition: all .5s ease-in;
}

.fadeIn {
    opacity: 1;
}

/*--------------文字の共通装飾--------------*/
h1{
    font-size: 1em;
    font-family: "Noto Sans";
    text-shadow: 4px 4px 5px rgb(0, 0, 0,1);
}
h2{
    color: #4b4b4b;
    font-size: 2.5em;
    font-family: "Noto Sans";
    text-align: center;
}
h3{
    margin-top: 50px;
    color: #4b4b4b;
    font-weight: bold;
    font-size: 1.5em;
    font-family:  "Noto Sans JP";
    text-align: center;
    line-height: 1.5;
}
h4{
    display: inline-block;
    margin-top: 50px;
    text-align: left;
    line-height: 1.5;
    color: #4b4b4b;
    font-weight: 600;
    font-size: 1.2em;
}

p{
    color: #4b4b4b;
    font-family:  "Noto Sans JP";
}

a {
    color: #4b4b4b;
    font-family:  "Noto Sans JP";
}

/* メニュー選択時のスクロール調整 */
:root{
	scroll-padding: 100px;
	scroll-behavior: smooth;
}

/*----------------ヘッダー関係はここから----------------*/
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top:0;
    left:0;
    z-index: 100;
    width: 100%;
    padding: 15px 0;
    background-color: #fff;
}
.headerimg{
    margin-left: 3%;
}
.menu{
    margin-right: 3%;
}
.menu ul{
    display: flex;
    gap: 35px;
} 
.menu ul li a {
    text-decoration: none;
    color: #4b4b4b;
    font-family: "Noto Sans";
}

.menu ul li :hover{
    text-decoration: underline;
    text-underline-offset:0.3em;
    text-decoration-color: #d0a900;
    text-decoration-thickness: 2px;
}
.menu li{
    font-size: 1em;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
}

/* ---------ファーストビューはここから--------- */
.fast-view{
    width:100%;
    height: 100vh;
    background-image: url(../images/header.png);
    background-repeat: no-repeat;
    background-size:cover;                 /* 画像のサイズを指定+*/
    object-position:bottom;
}
.fast-view-text{
    position: absolute;
    top: 75%;
    left: 5%;
    color: #fff;
}
.fast-view-text ::before{
    content:"";
    display:inline-block;
    position:absolute;
    top:0px;
    left:-20px;
    width:7px;
    height:130px;
    background-color:#ffffff;
    -webkit-filter:drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.3));
}
.copy-en{
    margin-bottom: 7px;
    margin-left: 7px;
    font-size: 3em;
}
.copy-ja{
    font-size: 4em;
    font-family: "Noto Sans JP";
}

/* ページ読み込み時の別パターンアニメーション */
/* .fast-view {
    overflow: hidden;
    animation: scalefadeIn 2s ease-in-out 0s normal;
}

@keyframes scalefadeIn {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
} */


.fast-view-text {
    opacity: 0;
    animation-name: anime;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes anime {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
/* ここまで */

/*----------------本文はここから----------------*/
.wrapper{
    width: 1000px;
    margin: 0 auto;
}
/*----------------ミッションはここから----------------*/
#mission{
    width:100%;
    padding-top: 130px;
    padding-bottom: 150px;
    background-image: url(../images/mission-back-img.png);
  /* 画像を常に天地左右の中央に配置 */
    background-position: center center;
  /* 画像をタイル状に繰り返し表示しない */
    background-repeat: no-repeat;
  /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
    background-attachment: fixed;
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
    background-size: cover;    
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
}   
.slide{
    opacity: 1;
    animation: slideIn 2s ease 1s 1 normal backwards;
}
.mission_text{
    width:80%;
    margin: 0 auto;
    padding: 10px 22px 120px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    border-bottom: 1px solid #000;
}
.mission-p{
    display: block;
    width:78%;
    margin-top: 25px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.mission-p p{
    display: inline-block;
    margin-top: 25px;
    text-align: left;
    line-height: 1.5;
    text-align: center;
    font-size: 1.1em;
}
.philosophy h2{
    font-size: 2em;
    font-weight: 100;
}
.mission h4{
    display: block;
    margin-top: 50px;
    padding-left: 10px;
    text-align: center;
    font-size: 1.5em;
}

.vision_text{
    width:80%;
    margin: 0 auto;
    padding: 70px 22px 70px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    border-bottom: 1px solid #000;
}
.vision_text_br{
    display: none;
}
.value_text{
    width:80%;
    margin: 0 auto;
    padding: 70px 22px 70px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    border-bottom: 1px solid #000;
}
.value-p{
    display: block;
    width:80%;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
}
.value-p-text{
    display: flex;
}
.value-p-text span{
    font-size: 2em;
    font-weight: 500;
    margin-right: 10px;
    margin-bottom: -20px;
}
.value-p p{
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 500;
}
/*----------------サービスはここから----------------*/
#service{
    background-color: #f7f8fd;
    background-image: url(../images/service.png);
    background-repeat: no-repeat;
    background-position: top center;
    padding-bottom: 85px;
}

#service h2 {
    padding-top: 62px;
    color: #fff;
}

.service-text p:nth-child(1){
    font-size: 2.3em;
    margin-top: 90px;
    margin-bottom: 15px;
}

.service-text p {
    text-align: center;
}
.service-text p a:hover{
    color: #00a0e9;
}

.service-text-pdf p{
    text-align: center;
}

.service-text-pdf a{
    text-align: center;
    font-size: 1em;
}

/* service-box */
.service-box {
    width: 1000px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 70px;
}

.service-card {
    width: 320px;
}

.service-text-area {
    padding: 15px 9px;
}

h5 {
    font-size: 1.4rem;
    font-family:  "Noto Sans JP";
    color: #4b4b4b;
    font-weight: bold;
}

/* ロゴの位置やサイズ調整のために、ロゴのimgの親要素としてdivで固定スペースを設定 */
.logo-box {
    position: relative;
    width: 250px;
    height: 78px;
}

.service-text-area p {
    font-size: 1rem;
    line-height: 28px;
    height: 140px;
}

/* 詳しくはこちらボタン　ここから */
.service-btn {
    display: flex;
    justify-content: end;
}

.service-btn a {
    position: relative;
    display: block;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    border-radius: 100vh;
    border: 2px solid ;
    width: 70%;
    background: linear-gradient(to right, #00a0e9, #0068b7);
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    font-family: "Noto Sans JP";
}

.service-btn a::after {
    content: "";
    position: absolute;
    top: 17px;
    right: 16%;
    width: 25px;
    height: 25px;
    background-image: url(../images/service-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.service-btn a:hover {
    border: 2px solid #0068b7;
    background: #f7f8fd;
    color: #0068b7;
}

.service-btn a:hover::after{
    content: "";
    position: absolute;
    top: 17px;
    right: 16%;;
    width: 25px;
    height: 25px;
    background-image: url(../images/service-arrow-hover.png);
    background-repeat: no-repeat;
    background-size: contain;
}
/* ボタンここまで */

/* 固定設定したlogo-boxに対してそれぞれで細かい位置・サイズ調整 */
.sekatyare-logo {
    position: absolute;
    scale: 0.9;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: -4%;
}

.resma-logo {
    position: absolute;
    scale: 0.8;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: -13%;
}

.hitoma-logo {
    position: absolute;
    scale: 0.9;
    top: -9%;
    bottom: 0;
    margin: auto 0;
    left: -11%;
}

.buildma-logo {
    position: absolute;
    scale: 0.95;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: -8%;
}

.logima-logo {
    position: absolute;
    scale: 0.93;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: -12%;
}


/*--------------トップメッセージはここから--------------*/
#top-message{
    margin-top: 150px;
}

#top-message h3 {
    margin-top: 0;
    margin-bottom: 40px;
    font-size: 1.7em;
    text-align: left;
}

.top-message-box {
    display: flex;
    gap: 55px;
    margin-top: 60px;
}

.top-message-text {
    line-height: 2;
}

.position {
    margin-top: 10px;
}

.top-message-box img {
    width: 480px;
    object-fit: cover;
}

.top-img2 {
    display: none;
}

.top-img3 {
    display: none;
}
.top-message-text img{
    width: 40%;
    
}
/*--------------会社情報はここから--------------*/
#company-profile{
    margin-top: 150px;
}

#company-profile img {
    margin-top: 30px;
}

.profile-img2 {
    display: none;
}

.profile-img3 {
    display: none;
}

.company-profile-box {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
}

.company-profile-text1 {
    width: 33%;
}

.company-profile-title {
    font-size: 1.2em;
}
.company-profile-service-p{
}
.company-profile-service-p2{
    display: inline-block;
    line-height: 1.3em;
    margin-top: 3px;
}
.company-profile-info {
    margin-bottom: 10px;
}

.company-profile-service {
    margin-bottom: 10px;
}
.company-profile-text3{
    width: 33%;
}
.company-profile-text2{
    width: 35%;
}
/*--------------沿革はここから--------------*/
#history{
    margin-top: 150px;
    padding-bottom: 25px;
    background-color: #f7f8ff;
}

#history h2 {
    padding-top: 60px;
}

.history-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 80px;

}

dl {
    display: flex;
    gap: 135px; /*それぞれの"年"と内容の間の余白*/
    align-items: center;
    position: relative;
    padding: 15px;
    background-color: #fff;
}

/* 青の点（2016年の欄） */
.squre-top::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 50px;
    z-index: 10;
    width: 12px;
    height: 12px;
    border-radius: 50px;
    background-color: #0068b7;
}

/* 青の点（内容が見出し1文の欄） */
.squre1::before {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    top: 26px;
    left: 50px;
    z-index: 10;
    border-radius: 50px;
    background-color: #0068b7;
}

/* 青の点（内容が見出し1文、説明文1文の欄） */
.squre2::before {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    left: 50px;
    z-index: 10;
    border-radius: 50px;
    background-color: #0068b7;
}

/* 青の点（内容が見出し2文、説明文2文の欄） */
.squre4::before {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    top: 52px;
    left: 50px;
    z-index: 10;
    border-radius: 50px;
    background-color: #0068b7;
}
/* 左端の灰色の線（2016年の欄） */
.history-box dl::after {
    content: "";
    position: absolute;
    top: 0;
    left: 55px;
    bottom: 0;
    width: 2px;
    height: calc(100% + 0.35rem);
    background-color: #a8a8a8;
}

/* 左端の灰色の線（2018年～2023年の欄） */
.history-box dl:nth-child(1)::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 55px;
    width: 2px;
    height: calc(100% + 0.15rem);
    background-color: #a8a8a8;
}

/* 左端の灰色の線（2024年の欄） */
.history-box dl:nth-child(9)::after {
    content: "";
    position: absolute;
    top: -95px;
    left: 55px;
    width: 2px;
    height: calc(100% + 3.25rem);
    background-color: #a8a8a8;
}

dt {
    padding-left: 100px;
}

.h_year {
    color: #0068b7;
    font-weight: bold;
    font-size: 1.7em;
}

.year{
    color: #0068b7;
    font-weight: bold;
    font-size: 1.3em;
}

dd {
    padding-top: 5px;
}

.history-maintext {
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

/* 2016年2行目の行間 */
#history-maintaxt-Meyou{
    line-height: 1.7;
}
.history-text {
    font-size: 0.8em;
}

/* 2021年の文章間の余白調整 */
.text-space {
    margin-top: 10px;
}
/* 2024年の文章間の余白調整 */
.text-space3{
    margin-top: 15px;
}
/* 2024年の文章間の余白調整 */
.text-space4{
    margin-top: 15px;
}

/*--------------アクセスはここから--------------*/
#access{
    margin-top: 150px;
}
#map-parent{
    position: relative;
}
.access-box {
    display: flex;
    gap: 20px;
    margin-top: 80px;
}
.access-img1{
    width: 45%;
}
.access-text {
    width: 50%;
}

.access-company-name {
    margin-bottom: 15px;
    font-size: 1.9em;
}

.adress {
    margin-bottom: 20px;
}

.adress-p {
    margin-bottom: 5px;
    font-size: 1.4em;
}
.adress-br {
    display: none;
}

.access-img2 {
    display: none;
}
.google-map {
    position: absolute;
    width: 470px;
    height: 350px;
    margin-top: 35px;
    top:394px;
}


/*--------------お問い合わせはここから--------------*/
#contact h2{
    margin-bottom: 80px;
}

#contact{
    margin-top: 150px;
}
form{
    margin: 0 auto;
    width: 550px;
}
.form_items{
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.form_items input{
    color: #4b4b4b;
    height: 40px;
    margin-top: 10px;
    border-radius: 5px;
    border: none;
    border: 2px solid #c1c1c1;
}

.required{
    color: #4b4b4b;
    font-weight: bold;
    font-size: 1.2em;
}

/* フォーム入力欄内の例文 */
::placeholder{
    color: #939393;
}
/* フォームの項目 ラベル[必須] */
.form_items .form_label.required {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* フォームの項目 ラベル[必須] */
.form_items .form_label.required::after {
    content: "必須";
    width: 40px;
    height: 20px;
    padding-bottom: 2px;
    border-radius: 2px;
    background: #cf3838;
    color: #ffffff;
    font-weight: normal;
    font-size: 14px;
    text-align: center;
}

/* ご相談内容欄 */
#contact_business_type{
    width: 549px;
    height: 46px;
    margin-top: 10px; 
    border-radius: 5px;
    border: none;
    border: 2px solid #c1c1c1;
    color: #939393;
}
/* お問い合わせ内容 */
#contact_text{
    width: 541px;
    margin-top: 10px;
    border: 2px solid #c1c1c1;
    border-radius: 5px;
}

textarea {
    resize: vertical;/*お問い合わせ内容記入欄の大きさを自動調節可能に*/
}
.Privacy-policy {
    display: flex;
    width: 320px;
    margin: 0 auto;
    font-size: 1.2em;
}
.Privacy-policy a{
    color: #0e34bb;
}

.Privacy-policy a :visited{
    color:purple;
}

/* プライバシーポリシー同意チェックボタンここから */
.Privacy-policy input{
    display: none;
}
.Privacy-policy .dummy{
    display: inline-flex; 
    width: 20px; 
    height: 20px; 
    margin-top: 4px;
    margin-right: 5px;
    border: 1px solid #c1c1c1; 
    border-radius: 15%; 
    vertical-align: text-top;
}
.Privacy-policy input:checked+.dummy:after{
    content: ''; 
    width: 13px; 
    height: 6px;
    margin-top: 5px;
    margin-left: 3px;
    border-left: 2px solid #0068b7; 
    border-bottom: 2px solid #0068b7; 
    transform: rotate(-45deg);
}
/* プライバシーポリシー同意チェックボタンここまで */

/* 送信ボタン */
.button{
    display: block;
    align-items: center;
    width: 230px;
    height: 65px;
    margin: 0 auto;
    margin-top: 30px;
    border: 3px solid #4b4b4b;
    border-radius: 5px;
    background-color: #4b4b4b;
    color: #fff;
    font-weight:500;
    font-size: 1.4em;
    font-family:  "Noto Sans JP";
    transition: all 0.3s ease;
}
.button:hover{
    border: 3px solid #4b4b4b;
    background-color: #fff;
    color: #4b4b4b;
}

/*--------------フッターはここから--------------*/
footer{
    margin-top: 150px;
    background-color: #8f8f8f;
}
footer .wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1000px;
    padding-top: 25px;
    padding-bottom: 25px;
}
.footer-box{
    display: flex;
    gap: 25px;
}
.footer-box a{
    color: #fff;
    font-size: 0.9em;
    font-family:  "Noto Sans";
    text-decoration: none;
}
.footer-box p:hover{
    text-decoration: underline;
    text-underline-offset:0.3em;
    text-decoration-color: #fff;
}

/* コピーライト */
.footer-end{
    padding-top: 9px;
    padding-bottom: 9px; 
    background-color: #4b4b4b;
    color: #fff;
    font-size: 0.8em;
    text-align: center;
}
.footer-end p{
    display: inline-block;
    margin: 0 auto;
    color: #fff;
    font-family: "Noto Sans JP";
}
}