/*
Theme Name: three firsts column
Description: three firstsのコラム
Author: LIA inc.
Version: 1.0.0
*/

/*
BASE
line-height: 1.7em;
font-size: 16px;
max-width: 1250px;
Contents間padding 50px(SP 30px)
*/

@charset "utf-8";
@import url("css/reset.css");

:root {
  --mainColor: #1a3a29;
  --subColor: #B79D59;
  --sub2Color: #3F725A;
}

html {
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif JP", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.5em;
  max-width: 1920px;
  margin: 0 auto;
  color: #1a1a1a;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body, .container {
  height: 100%;
}

img {
  line-height: 1;
}

/* 強制的に半透明に変更 */
#wpadminbar {
  background: rgba(0, 0, 0, 0.5);
}

#error {
  position: relative;
  z-index: 100000;
  background-color: #aaa;
}

.mt0 {
  margin-top: 0 !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mt30 {
  margin-top: 30px !important;
}

.mt40 {
  margin-top: 40px !important;
}

.mt50 {
  margin-top: 50px !important;
}

.mt60 {
  margin-top: 60px !important;
}

.mt70 {
  margin-top: 70px !important;
}

.mt80 {
  margin-top: 80px !important;
}

.mt90 {
  margin-top: 90px !important;
}

.mt100 {
  margin-top: 100px !important;
}

.mb0 {
  margin-bottom: 0px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

.mb40 {
  margin-bottom: 40px !important;
}

.mb50 {
  margin-bottom: 50px !important;
}

.mb60 {
  margin-bottom: 60px !important;
}

.mb70 {
  margin-bottom: 70px !important;
}

.mb80 {
  margin-bottom: 80px !important;
}

.mb90 {
  margin-bottom: 90px !important;
}

.mb100 {
  margin-bottom: 100px !important;
}

.pt0 {
  padding-top: 0px !important;
}

.pt10 {
  padding-top: 10px !important;
}

.pt20 {
  padding-top: 20px !important;
}

.pt30 {
  padding-top: 30px !important;
}

.pt40 {
  padding-top: 40px !important;
}

.pt50 {
  padding-top: 50px !important;
}

.pt60 {
  padding-top: 60px !important;
}

.pt70 {
  padding-top: 70px !important;
}

.pt80 {
  padding-top: 80px !important;
}

.pt90 {
  padding-top: 90px !important;
}

.pt100 {
  padding-top: 100px !important;
}

.pb0 {
  padding-bottom: 0px !important;
}

.pb10 {
  padding-bottom: 10px !important;
}

.pb20 {
  padding-bottom: 20px !important;
}

.pb30 {
  padding-bottom: 30px !important;
}

.pb40 {
  padding-bottom: 40px !important;
}

.pb50 {
  padding-bottom: 50px !important;
}

.pb60 {
  padding-bottom: 60px !important;
}

.pb70 {
  padding-bottom: 70px !important;
}

.pb80 {
  padding-bottom: 80px !important;
}

.pb90 {
  padding-bottom: 90px !important;
}

.pb100 {
  padding-bottom: 100px !important;
}

.ml10 {
  margin-left: 10px !important;
}


/* common */
.spSpace {
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
}

.element {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}


/* header */
.tfHeader {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 0 5px #555;
}

.tfHeaderInner {
  width: 100%;
  max-width: 1400px;
  padding: 0 15px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.tfLogo {
  padding: 15px 0;
  transition: 0.5s;
}

.tfLogo:hover {
  opacity: 0.5;
}

.tfLogo img {
  height: 50px;
}

.tfHeaderMenuBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tfHeaderMenu {
  display: flex;
  justify-content: space-between;
}

.tfHeaderMenu li {

}

.tfHeaderMenu a {
  font-size: 14px;
  transition: 0.5s;
  height: 80px;
  padding: 0 min(20px, 3vw);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tfHeaderMenu a:after {
  position: absolute;
  left: calc(50% - 25%);
  content: '';
  width: 50%;
  height: 1px;
  background: #B79D59;
  bottom: 20px;
  transform: scale(0, 1);
  transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;   /*変形の時間*/
}

.tfHeaderMenu a:hover::after {
  transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}

.tfHeaderButton {
  display: flex;
  justify-content: space-between;
  border-left: 1px solid #aaa;
  gap: min(20px, 3vw);
  padding: 10px 0 10px min(20px, 3vw);
}

.tfHeaderButton p {
  font-size: 12px;
}

.tfHeaderButton span {
  padding-left: 5px;
}

.tfHeaderButton a {
  transition: 0.5s;
}

.tfHeaderButton a:hover {
  opacity: 0.25;
}

.tfHeaderButton img {
  height: 20px;
}

.tfSpMenuBt {
  padding: 12px 0 8px min(30px, 3vw);
}

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}

.menu-trigger {
  position: relative;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1a1a1a;
  border-radius: 0;
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}

.menu-trigger span:nth-of-type(2) {
  top: 9px;
}

.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}

.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}


.tfSpMenuBox {
  display: none;
  position: fixed;
  width: 100%;
  top: 70px;
  left: 0;
  z-index: 100000;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
}

.tfSpMenuBox.active {
  display: block;
}

.tfSpSideMenu {}

.tfSpSideMenu > ul > li {

}

.tfSpSideMenu > ul > li > a {
  padding: 20px;
  display: block;
  color: #000;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}


/* contents */
.main {
  margin: 50px auto 0 auto;
}

.topColumnTitle {
  background: #e6d4a5;
  background: linear-gradient(180deg, rgba(230, 212, 165, 1) 0%, rgba(183, 157, 89, 1) 100%);
}

.topColumnTitleBox {
  max-width: 1400px;
  margin: 0 auto;
}

.topColumnTitleText {
  color: #fff;
  font-size: 24px;
  font-weight: 200;
  letter-spacing: 5px;
  padding: 25px 0;
}

.topColumnTitleBox h1 a {
  color: #fff;
}


/* footer */
.tfFooter {
  background-color: #B79D59;
  color: #fff;
}

.tfFooterInner {
  width: 100%;
  max-width: 1400px;
  padding: 75px 0;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.tfFooterAddressBox {
  text-align: center;
  width: 250px;
}

.tfFooterLogo {
  margin-bottom: 20px;
}

.tfFooterLogo img {
  height: 55px;
}

.tfFooterAddress {
  font-size: 12px;
}

.tfFooterAddress span {
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.tfFooterAddress img {
  height: 20px;
  padding-top: 3px;
}

.tfFooterAddress a {
  transition: 0.5s;
}

.tfFooterAddress a:hover {
  opacity: 0.5;
}

.tfFooterMenu {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: 10px;
}

.tfFooterMenu li {
  width: 100%;
  min-width: 150px;
}

.tfFooterMenu a {
  font-size: 12px;
  transition: 0.5s;
}

.tfFooterMenu a:hover {
  opacity: 0.5;
}

.tfCopyright {
  text-align: center;
  padding: 15px 0;
  font-size: 12px;
  color: #fff;
  background-color: #000;
}


/* pagetop */
.tfPagetop {
  position: fixed;
  z-index: 200;
  right: 30px;
  bottom: 30px;
}

.tfPagetop a {
  background-color: #1a3a29;
  color: #b79d59;
  border: 2px solid #b79d59;
  padding: 5px 12px 9px 12px;
  line-height: 1;
  transition: 0.5s;
  display: block;
  font-size: 11px;
  text-align: center;
}

.tfPagetop a:hover {
  opacity: 0.5;
}

.tfPagetop span {
  transform: rotate(90deg);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  display: block;
  margin: 0 -1px 0 0;
}


@media all and (max-width: 959px) {
  /* SP */
  .pconly {
    display: none !important;
  }

  /* common */


  /* header */
  .tfLogo img {
    height: 35px;
  }

  .tfHeaderMenu {
    display: none;
  }

  .tfHeaderButton {
    border-left: 0;
    gap: 15px;
    padding-right: 10px;
  }

  .tfHeaderButton img {
    height: 22px;
  }

  .tfHeaderButton span {
    display: none;
  }

  .tfSpMenuBox {
    display: none;
  }


  /* main */
  .main {
    margin-top: 15px;
  }

  .topColumnTitleText {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 18px;
    letter-spacing: 3px;
  }


  /* footer */
  .tfFooterInner {
    flex-wrap: wrap;
    padding: 30px 15px;
    gap: 30px;
  }

  .tfFooterAddressBox {
    width: 100%;
  }

  .tfFooterMenu {
    width: 100%;
    grid-template-rows: repeat(6, auto); /* 縦を何個並べるか */
  }

  .tfCopyright {
    font-size: 11px;
  }

  /* pagetop */
  .tfPagetop {
    right: 15px;
    bottom: 15px;
  }
}

@media all and (min-width: 960px) {
  /* PC */
  .sponly {
    display: none !important;
  }

  /* header */
  .tfSpMenuBt {
    display: none;
  }

  .tfSpMenuBox {
    display: none;
  }
}