@charset "UTF-8";
/* 初期設定 */
html{
  font-size: 100%;
  scroll-behavior: smooth;
}

body{
  font-family: "Noto Serif JP",serif;
}

li{
  list-style: none;
}

a{
  text-decoration: none;
  color: #000;
}

.padding-set{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.margin-set{
  margin-top: 1.0rem;
}

.h2-style{
  font-size: 1.5rem;
  border-bottom: 1px solid #000;
  max-width:1080px;
  width: 100%;
  margin: 1.5rem auto 0.5rem;
}
/* ヘッダーコンテナ */

.header{
  margin-top: 1.0rem;
}

.header-top{
  display: flex;
  align-items: center;
  justify-content: right;
  padding-right: 3.5rem;
}
/* 電話番号エリア */
.tel-area i{
  padding-right: 0.25rem;
}

.tel-num{
  color: inherit;
  text-decoration: none;
}

.time{
  letter-spacing: 0.05em;
}

/* ハンバーガーボタンの設定 */
.hamburger-button{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  color: #ffffff;
  background-color: #000000;
  margin-left: 0.5rem;
  position: absolute;
  top: 1rem;
  right: 0.5rem;
}

.hamburger-button.is-hidden{
  display: none;
}

.hamburger-button i{
  display:block;
  line-height:1;
}
/* ハンバーガーメニュー開閉動作の設定 */
.menu-close{
  margin-left: auto;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  color: #ffffff;
  background-color: #000000;
  position: absolute;
  top: 1rem;
  right: 0.5rem;
  z-index: 50;
}

.menu-close.is-active{
  display: flex;
}

.hamburger-menu{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(190, 186, 186, 0.9);
  color: #000;
  transform: translateY(-120%);
  transition: all 0.6s;
  width: 100%;
  height: 100vh;
  z-index: 40;
}

.hamburger-menu-active{
  transform: translateY(0%);
}

.hamburger-menu-list {
  font-size: 2rem;
  /* line-height: 1.7; */
  width: 100%;
}

.hamburger-menu-list li{
  width: 80%;
  margin: 0 auto;
}

.hamburger-menu-list a{
  display: block;
  text-align: center;
  padding: 0.125rem 0;
  border-bottom: 1px dotted #000;
}
/* グローバルメニューを非表示 */
.pc-nav{
  display: none;
}
/* ココカラ土地家屋調査士事務所の表示 */
.header-contact h1{
  margin-top: 0.25rem;
  font-size: clamp(16px,6vw,32px);
  text-align: center;
}
/* メインビジュアル */
.main-visual{
    max-width: 767px;
    width: 100%;
    margin: 1.0rem auto 0 auto;
  }

  .main-visual img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: top;
  }
/* キャッチコピー */
  .catch-copy{
    font-size: 2rem;
    font-weight: bold;
    max-width: 370px;
    width: 100%;
    margin: 1.5rem auto 0 auto;
  }

.catch1{
  text-align: left;
}

.catch2{
  text-align: right;
  }
/* 新着情報 */
.news{
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.news iframe{
    max-width: 1080px;
    width: 100%;
  }

  /* 事務所案内 */

  .company-info{
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

  .company-flex{
  display: flex;
  align-items: flex-start;
  width: 345px;
  margin: 0 auto;
  column-gap: 1rem;
  padding-top: 0.5rem;
  }

.company-flex dt{
    text-align: center;
  }

  .company-flex a{
    color: #3209c7;
    cursor: pointer;
  }
 /* 下線 */
.company-flex:not(:nth-of-type(7)) dt::after{
  content: "";
  display: block;
  width: 6rem;
  /* padding-top: 0.5rem; */
  border-bottom:1px dotted #000;
}

.company-flex:not(:nth-of-type(7)) dd::after{
  content: "";
  display: block;
  width: 14rem;
  /* padding-top: 0.5rem; */
  border-bottom:1px dotted #000;
}

.company-flex-ul li:not(:last-child){
  width: 14rem;
  border-bottom:1px dotted #000;
  padding-bottom: 0.5rem;
}

.company-flex-ul :not(:first-child){
  padding-top: 0.5rem;
}
/* 丸点（疑似要素） */
.company-flex-ul{
  margin: 0;
  padding: 0;
}

.company-flex-ul li{
  display: flex;
  align-items: flex-start; /* 文字の1行目基準 */
  column-gap: 0.25em;
}


.company-flex-ul li::before{
  content: "●";
  flex-shrink: 0;      /* 絶対に潰れない */
  line-height: 1.3;   /* 文字と縦位置合わせ */
}


/* 文字間隔 */
.company-flex dt{
  letter-spacing: 0.5rem;
}

/* 代表挨拶 */
.owner{
  max-width: 767px;
  margin: 1.5rem auto;
  padding: 0 0.5rem;
}

.owner-container{
  max-width: 767px;
}

.owner-text{
  text-align: justify;
  margin: 1.0rem 0 0;
}

.anauns-year {
  display: flex;
  align-items: flex-start;
  /* gap: 0.2rem; */
}

.year {
  width: 55px;      /* 年号の幅固定 */
  flex-shrink: 0;   /* 潰れない */
}

.anauns-text {
  flex: 1;          /* 残り全部使う */
}
.owner-img{
  max-width: 767px;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  text-align: center;
}

.owner-img p{
  margin-top: 0.5rem;
}

.owner-img img{
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: top;
}

/* アクセス */
.map{
  max-width: 1080px;
  margin: 0 auto;
  margin-bottom: 1.5rem;
}

.map h2{
  margin-bottom: 1.5rem;
}

.map-container{
  max-width: 767px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 0.5rem;
  padding: 0 0.5rem;
}

.map-container iframe{
  width: 100%;
  height: 100%;
}

.map-list{
  max-width: fit-content;
  width: 100%;
  margin: 0 auto;
  /* text-align: left; */
  line-height: 1.6;
}

/* お問い合わせ */
.contact{
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.contact *:not(.h2-style){
  text-align: center;
}

.contact>p{
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.tel-area-contact{
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
}

.btn{
  display: block;
  margin: 0 auto;
  cursor: pointer;
  line-height:2.2;
  width: 220px;
  height: 55px;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  color:#ffffff;
  background-color: #3209c7;
}

.footer{
  position: relative;
  max-width: 1080px;
  width: 100%;
  margin: 2.0rem auto 0 auto;
  text-align: center;
}

.up {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  border: none;
  font-size: 4.1rem;
  width: 64px;
  height:64px;
  border-radius: 50%;
  color: #ffffff;
  background-color: #000000;
}

@media(min-width:768px){
  .header{
    max-width: 1080px;
    width: 100%;
    margin: 1.5rem auto 0 auto;
  }

/* ハンバーガーボタン関係を非表示 */

  .hamburger-button,
  .hamburger-button.is-hidden,
  .menu-close,
  .menu-close.is-active{
    display: none !important;
  }

  .hamburger-menu{
    position: static;
    transform: none;
    transition: none;
    width: 100%;
    height: auto;
    background: transparent;
    z-index: auto;
    display: block;
    margin-top: 1.5rem;
  }

  .hamburger-menu-list{
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: clamp(16px, 2vw, 24px);
    width: 100%;
  }

  .hamburger-menu-list li{
    width: auto;
    margin: 0;
  }

  .hamburger-menu-list a{
    border-bottom: none;
    padding: 0;
  }

  .main-visual{
    max-width: 1080px;
    width: 100%;
    margin: 1.5rem auto 0 auto;
  }
/* キャッチコピー */
  .catch-copy{
    font-size: 3rem;
    font-weight: bold;
    max-width: 550px;
    width: 100%;
    margin: 1.5rem auto 0 auto;
  }

/* 事務所案内 */
.company-flex{
  width: 400px;
  column-gap: 3rem;
}

/* 代表挨拶 */
.owner-container{
  max-width: 1080px;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  column-gap: 2rem;
}
.owner{
  max-width: 1080px;
}

.owner-img{
  margin-top: 0;
  max-width: 300px;
  width: 100%;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;   /* 縦並び */
  align-items: center;      /* 横方向中央（img/p の中央） */
  justify-content: center;  /* 縦方向中央（まとまりを中央へ） */
  gap: 0.5rem;
}



.owner-img img{
  height: 400px;
}

.owner-container p{
  max-width: 450px;
  text-align: justify;
}

/* 経営理念 */

.philosophy-img{
  display:flex;
  justify-content: center;
  column-gap: 2rem;
  margin: 0.5rem auto 1.5rem auto;
  max-width: 250px;
  width: 100%;
}


.philosophy-img img{
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
}
/* up矢印 */
.up {
  position: fixed;
  bottom: 32px;
  right: max(16px, calc((100vw - 1080px) / 2 + 16px));
}
}