@charset "utf-8";

/* 基本　*/

html {
  font-size: 62.5%;
  font-family: sans-serif;
}

h1 {
  font-size: 6.1rem;
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-size: 1.6rem;
  line-height: 32px;
  font-weight: lighter;
}

.dot-text {
  text-emphasis: filled dot #f02b53;
  -webkit-text-emphasis: filled dot #f02b53;
}

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

a:visited {
  color: inherit;
}

/* ページTOPに戻る */
.pagetop {
  display: none;
  position: fixed;
  right: 25px;
  bottom: 50px;
}

.pagetop a {
  display: block;
  font-size: 0;
  width: 50px;
  height: 50px;
  text-align: center;
  background: #999;
  border-radius: 50%;
  line-height: 50px;
}

.pagetop a i {
  font-size: 20px;
  color: #fff;
  line-height: 50px;
}

/* ボタン　*/

.btn01,
.btn02 {
  display: inline-block;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 10px;
}

.btn01 {
  padding: 10px;
}

.btn02 {
  padding: 20px;
}

.btn01 {
  margin: 40px 0 60px 0;
  background-color: #f02b53;
  color: #fff;
}

.btn02 {
  margin: 40px 0 10px 0;
  background-color: #f02b53;
  color: #fff;
}

.btn01 {
  width: 185px;
}

.btn02 {
  width: 250px;
}

/* ヘッダ　*/

header {
  width: 100%;
  /* height: 120px; */
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  padding: 20px 0;
  z-index: 1000;
}

.siteid {
  margin-left: 60px;
  flex-shrink: 0;
  max-width: 260px;
}

nav {
  width: 100%;
  text-align: right;
  padding-right: 20px;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

nav li {
  display: inline-block;
  padding: 0px 20px;
  font-size: 1.6rem;
  font-weight: 600;
}

nav .kotonare-logo {
  width: 200px;
}

.spicon {
  display: none;
}

/* 以下、ハンバーガーメニュー */
.pc-wrapper {
  display: block;
}

.nav-wrapper {
  display: none;
}

/* フッター　*/

.footcontainer,
.footcopy {
  font-size: 1.4rem;
  width: 100%;
  margin: 0 auto;
  padding: 40px 40px;
  text-align: center;
  background-color: #ebebeb;
}

.footid {
  margin: 50px;
}

.footid img {
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
}

.footcopy {
  padding-bottom: 50px;
}

.footer_txt {
  font-size: 1.6rem;
  margin-top: 30px;
}

.footer_copyright {
  font-family: "Mulish", sans-serif;
  font-size: 0.8rem;
}

.fotter_subtit {
  font-size: 3rem;
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 50px;
}

/* コンテナ　*/

.container {
  margin: 0 auto;
  width: 100%;
  height: 780px;
  margin-bottom: 145px;
  background: linear-gradient(180deg, #ebebeb 0%, #ebebeb 80%, #fff 20%, #fff 100%);
}

.container2 {
  margin: 0 auto;
  width: 100%;
  display: flex;
}

.service_left {
  width: 25%;
}

.service_right {
  width: 75%;
}

.service_right li {
  margin-bottom: 130px;
}

/* ----------------------------------------------　*/
/* トップページ */

.problem {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 140px;
  display: flex;
}

.prob_tit {
  font-size: 6.1rem;
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.prob_subtit {
  font-size: 1.6rem;
  line-height: 32px;
  font-weight: lighter;
}

.service_title {
  font-size: 6.1rem;
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
  writing-mode: vertical-rl;
  margin: 0 0 0 auto;
}

.service_subtit {
  font-size: 4rem;
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 50px;
}

.service_sub {
  font-size: 2.4rem;
  margin-top: 50px;
}

.service_txt {
  font-size: 1.6rem;
  margin-top: 30px;
  width: 80%;
}

/* トップページ　メイン画像　*/

.maincatch {
  width: 100%;
  height: 900px;
  background-image: url(../../img/mainimage.jpg);
  background-size: cover;
  background-position: right;
  position: relative;
}

.catchcopy,
.catchcopy-sub {
  position: absolute;
  margin: 0;
  width: 725px;
}

.catchcopy {
  top: 25%;
  left: 8%;
  padding: 33px 0px 10px 50px;
  text-shadow: 2px 2px 10px #fff, -2px 2px 10px #fff, 2px -2px 10px #fff, -2px -2px 10px #fff;
}

.catchcopy-sub {
  top: 55%;
  left: 8%;
  padding: 25px 55px 0px;
  text-shadow: 2px 2px 10px #fff, -2px 2px 10px #fff, 2px -2px 10px #fff, -2px -2px 10px #fff;
}

/* トップページ　*/

.photo_con01 {
  width: 660px;
  height: 435px;
  object-fit: cover;
  padding-top: 50px;
}

.photo_pattern01 {
  border-radius: 48px;
}

.photo_pattern02 {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 48px 0 0 48px;
}

.prob_right {
  padding: 280px 0 0 45px;
  font-size: 1.6rem;
  line-height: 180%;
}

/* ----------------------------------------------　*/
/* サブページ　*/

.infoname {
  width: 100%;
  padding: 200px 0 0 40px;
}

.info_tit {
  font-size: 4rem;
  font-family: "ten-mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.ithojyo {
  width: 70%;
  margin: 0 auto;
  margin-top: 90px;
  margin-bottom: 100px;
}

.ithojyo img {
  width: 100%;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　*/
/* 基本情報　*/

table {
  border-collapse: collapse;
  width: 70%;
  margin: 50px auto;
  font-size: 1.6rem;
}

.tb01 th,
.tb01 td {
  padding: 20px 0px;
  box-sizing: border-box;
}

.tb01 th {
  width: 20%;
  font-weight: 600;
  text-align: left;
}

.officer_cont {
  width: 70%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding-top: 250px;
}

.officer_list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.officer_wrap {
  padding: 10px 80px 0 30px;
}

.officer_position {
  font-size: 1.6rem;
  font-weight: 600;
}

.officer_name {
  font-size: 2.4rem;
  padding: 10px 0;
}

.officer_career {
  font-size: 1.4rem;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　*/

.newscon {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  margin-top: 130px;
  margin-bottom: 130px;
}

.news_left {
  width: 80%;
}

.news_left ul {
  width: 80%;
}

.news_right {
  width: 20%;
}

.date_title {
  font-weight: 600;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.date_day {
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 60px;
}

.date_cat {
  font-size: 1.4rem;
  padding: 10px 30px;
  background-color: #dc0017;
  color: #fff;
  margin-left: 15px;
}

.date_text {
  font-size: 1.4rem;
  line-height: 2;
}

.tit_cat {
  width: 100%;
  padding: 15px;
  font-size: 1.6rem;
  font-weight: 600;
  background-color: #fff;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　*/
/* 問い合わせフォーム　*/

/* 全幅指定 */
.full-width {
  margin: 0 calc(50% - 50vw);
  padding: 5em calc(50vw - 50%);
}
/* pタグの余白を削除 */
.wpcf7-form p {
  margin-bottom: 0;
}

/*  フォームの幅（自由に変えてOK） */
.contactForm {
  max-width: 700px;
  margin: 0 auto;
}
/* 各項目の下部余白 */
.contact_item {
  margin-bottom: 2.5rem;
}
/* 項目名 */
.label {
  display: block;
  font-size: 2rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  font-weight: bold;
}
/* 必須タグと任意タグ共通のスタイル */
.label_tag {
  font-size: 1.5rem;
  color: #ffffff;
  border-radius: 0.3rem;
  margin-right: 1rem;
  padding: 5px 10px;
}
/* 必須タグ */
.label_must {
  background-color: #f02b53;
}
/* 任意タグ */
.label_option {
  background-color: #888988;
}
/* 名前やメールアドレスなどユーザーが入力する箇所 */
.inputs {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
input[type="text"],
input[type="email"] {
  border: solid 1px #707070;
  padding: 0.5rem;
  font-size: 1.8rem;
}
/* お問い合わせ内容を入力する箇所 */
textarea.form-control {
  border: solid 1px #707070;
  padding: 0.5rem;
  height: 207px;
  font-size: 1.8rem;
}
/* ボタン */
.btnArea {
  text-align: center;
}
input[type="submit"] {
  background: #f02b53;
  border: 2px solid #ffffff;
  width: 280px;
  color: #ffffff;
  text-align: center;
  font-size: 2.5rem;
  line-height: 1.3;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  font-weight: bold;
  padding: 1.4rem 0;
  margin-top: 2rem;
  cursor: pointer;
  border-radius: 0.3rem;
  transition: all 0.3s;
}
/* ボタンにホバーした時 */
input[type="submit"]:hover {
  color: #f02b53;
  background-color: #ffffff;
  border-color: #f02b53;
}
/* ローダー */
.wpcf7 .ajax-loader {
  display: block;
  margin: 0 auto;
}

@media (max-width: 1025px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 1.4rem;
    line-height: 28px;
  }

  /* ボタン　*/

  .btn02 {
    margin: 0px auto;
  }

  /* ヘッダ　*/

  header {
    /* height: 155px; */
  }

  .siteid {
    margin-left: 20px;
    flex-shrink: 1;
    max-width: min(200px, 40vw);
  }

  .spicon {
    display: block;
  }

  /* 以下、ハンバーガーメニュー */

  .pc-wrapper {
    display: none;
  }

  /* フッター　*/

  .footcontainer {
    width: 100%;
    padding: 85px 50px;
  }

  .footer_txt {
    font-size: 1.4rem;
    margin: 30px 0 30px 0;
  }

  .fotter_subtit {
    font-size: 2.5rem;
    font-family: "ten-mincho", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 50px;
  }

  /* コンテナ　*/

  .container {
    margin: 0 auto;
    width: 100%;
    height: 500px;
    margin-bottom: 145px;
    background: linear-gradient(180deg, #ebebeb 0%, #ebebeb 80%, #fff 20%, #fff 100%);
  }

  .service_left {
    width: 15%;
  }

  .service_right {
    width: 85%;
  }

  /* トップページ　メイン画像　*/

  .maincatch {
    height: 650px;
  }

  .catchcopy,
  .catchcopy-sub {
    /* width: 670px; */
    width: auto;
  }

  .catchcopy {
    top: 30%;
    padding: 33px 55px;
    text-shadow: 2px 2px 10px #fff, -2px 2px 10px #fff, 2px -2px 10px #fff, -2px -2px 10px #fff;
  }

  .catchcopy-sub {
    top: 55%;
    left: 8%;
    text-shadow: 2px 2px 10px #fff, -2px 2px 10px #fff, 2px -2px 10px #fff, -2px -2px 10px #fff;
  }

  /* トップページ */

  .problem {
    max-width: 900px;
    padding-top: 100px;
  }

  .prob_tit {
    font-size: 4rem;
  }

  .prob_subtit {
    font-size: 1.6rem;
  }

  .prob_right {
    padding: 140px 0 0 45px;
    font-size: 1.4rem;
  }

  .photo_con01 {
    width: 440px;
    padding-top: 30px;
  }

  .photo_pattern01 {
    border-radius: 24px;
  }

  .photo_pattern02 {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px 0 0 24px;
  }

  .service_title {
    font-size: 6.1rem;
    font-family: "ten-mincho", serif;
    font-weight: 400;
    font-style: normal;
    writing-mode: vertical-rl;
    /* margin: 0 0 0 30%; */
  }

  .service_subtit {
    font-size: 3.3rem;
    font-family: "ten-mincho", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 25px;
  }

  .service_sub {
    font-size: 2rem;
    margin-top: 20px;
  }

  .service_txt {
    font-size: 1.6rem;
    margin-top: 20px;
    width: 90%;
  }

  /* ---------サブページ-------------- */

  .ithojyo {
    width: 80%;
  }

  /* ----------------------- */
  /* base_sp
  /* ----------------------- */
  /* デフォルトのbuttonスタイルをリセット */
  button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    margin: 0;
    outline: none;
    padding: 0;
    vertical-align: middle;
  }

  /* ------------------ */
  /* humberger-menu */
  /* ------------------ */

  /* 以下、ハンバーガーボタン */
  .burger-btn {
    display: block;
    width: 39px;
    height: 39px;
    position: relative;
    z-index: 200;
    border: none;
  }
  .bar {
    width: 25px;
    height: 1px;
    display: block;
    position: absolute;
    left: 30%;
    transform: translateX(-50%);
    background-color: #000;
  }
  .bar_top {
    top: 8px;
  }
  .bar_mid {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .bar_bottom {
    bottom: 8px;
  }

  .burger-btn.close .bar_top {
    transform: translate(-50%, 12px) rotate(45deg);
    transition: transform 0.3s;
  }
  .burger-btn.close .bar_mid {
    opacity: 0;
    transition: opacity 0.3s;
  }
  .burger-btn.close .bar_bottom {
    transform: translate(-50%, -10px) rotate(-45deg);
    transition: transform 0.3s;
  }

  /* 以下、ハンバーガーメニュー */
  .nav-wrapper {
    display: block;
    visibility: hidden;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 0.5s;
    z-index: 100;
  }
  .header-nav {
    width: 100%;
    height: 100%;
    background-color: #edebeb;
    z-index: 100;
  }
  .nav_siteid {
    display: block;
    position: absolute;
    top: 17%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .nav-list {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .nav-item {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .nav-list li {
    display: block;
  }

  .nav-list .kotonare-logo {
    max-width: unset;
    width: 180px;
  }

  /* メニューオープン時 */
  .nav-wrapper.fade {
    visibility: visible;
    opacity: 1;
  }

  .noscroll {
    overflow: hidden;
  }

  /* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　*/

  .panlist {
    width: 90%;
  }

  table {
    border-collapse: collapse;
    width: 80%;
    margin: 50px auto;
    font-size: 1.6rem;
  }

  .tb01 th,
  .tb01 td {
    padding: 20px 0px;
    box-sizing: border-box;
  }

  .tb01 th {
    width: 20%;
    font-weight: 600;
    text-align: left;
  }

  .officer_cont {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding-top: 250px;
  }

  .officer_list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
  }

  .officer_wrap {
    padding: 10px 0px 0 20px;
  }

  .officer_position {
    font-size: 1.4rem;
    font-weight: 600;
  }

  .officer_name {
    font-size: 2rem;
    padding: 10px 0;
  }

  .officer_career {
    font-size: 1.2rem;
  }

  /* 全幅指定 */
  .full-width {
    margin: 0 calc(50% - 50vw);
    padding: 5em calc(50vw - 50%);
  }
  /* pタグの余白を削除 */
  .wpcf7-form p {
    margin-bottom: 0;
  }

  /*  フォームの幅（自由に変えてOK） */
  .contactForm {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact_item {
    margin-bottom: 1.6rem;
  }
  .label {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  }
  .label_tag {
    font-size: 1.1rem;
  }
  input[type="text"],
  input[type="email"] {
    padding: 0.4rem;
    font-size: 1.5rem;
  }
  textarea {
    padding: 0.4rem;
    font-size: 1.5rem;
  }
  input[type="submit"] {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  /* 基本　*/

  h1 {
    font-size: 3.2rem;
  }

  /* ヘッダ　*/

  header {
    /* width: 100%; */
  }

  /* フッター　*/

  .footcontainer {
    width: 100%;
    padding: 55px 50px;
  }

  /* コンテナ　*/

  .container {
    margin: 0 auto;
    width: 100%;
    height: 700px;
    margin-bottom: 0px;
    background: none;
    background: linear-gradient(180deg, #ebebeb 0%, #ebebeb 80%, #ebebeb 20%, #ebebeb 100%);
  }

  .container2 {
    margin-top: 80px;
  }

  .service_left {
    width: 15%;
  }

  .service_right {
    width: 85%;
  }

  .service_right li {
    margin-bottom: 80px;
  }

  /* トップページ　メイン画像　*/

  .maincatch {
    width: 100%;
    height: 600px;
  }

  .catchcopy,
  .catchcopy-sub {
    position: initial;
    width: 100%;
  }

  .catchcopy {
    padding: 0px 20px;
    padding-top: 200px;
  }

  .catchcopy-sub {
    padding: 20px 25px;
  }

  /* トップページ */

  .photo_con01 {
    width: 90%;
    height: 100%;
    object-fit: cover;
    padding-top: 50px;
  }

  .photo_pattern01 {
    border-radius: 48px;
  }

  .problem {
    max-width: 90%;
    margin: 0 auto;
    padding-top: 50px;
    display: block;
  }

  .prob_tit {
    font-size: 4rem;
  }

  .prob_subtit {
    font-size: 1.6rem;
  }

  .prob_right {
    padding: 0px;
    padding-top: 20px;
    padding-bottom: 30px;
    font-size: 1.4rem;
  }

  .prob_left {
    width: 100%;
    padding: 0px;
  }

  .photo_con01 {
    width: 100%;
    padding-top: 30px;
  }

  .photo_pattern01 {
    border-radius: 24px;
  }

  .photo_pattern02 {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px 0 0 24px;
  }

  .service_title {
    font-size: 4rem;
    font-family: "ten-mincho", serif;
    font-weight: 400;
    font-style: normal;
    writing-mode: vertical-rl;
    /* margin: 0 0 0 10%; */
  }

  .service_subtit {
    font-size: 2.4rem;
    font-family: "ten-mincho", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 25px;
  }

  .service_sub {
    font-size: 1.8rem;
    margin-top: 20px;
  }

  .service_txt {
    font-size: 1.4rem;
    margin-top: 10px;
    width: 90%;
  }

  /* ---------サブページ-------------- */

  .ithojyo {
    width: 90%;
  }

  /* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー　*/
  /* 基本情報　*/

  table.tb01 th,
  table.tb01 td {
    display: block;
    width: 95%;
    border-bottom: none;
  }

  .officer_cont {
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding-top: 0px;
  }

  .officer_list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
  }

  .officer_wrap {
    padding: 10px 0px 0 20px;
  }

  .officer_position {
    font-size: 1.4rem;
    font-weight: 600;
  }

  .officer_name {
    font-size: 2rem;
    padding: 10px 0;
  }

  .officer_career {
    font-size: 1.2rem;
  }
}
