@charset "UTF-8";

/* ==================================================
   1. ヘッダー・サブホーム
================================================== */

#subhome {
  background-image: url(../images/sano-koken.big/water-1330252_1920.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 65vh;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  #subhome {
    height: 50vh;
  }
}

.page-header-sav img {
  position: fixed;
  width: 477px;
  top: 50px;
  z-index: 1;
  height: 140px;
}
@media screen and (max-width: 1150px) {
  .page-header-sav img {
    height: auto;
    width: 233px;
    top: 2%;
  }
}
@media screen and (max-width: 480px) {
  .page-header-sav img {
    width: 196px;
  }
}

.page-header-sav nav {
  position: fixed;
  top: 110px;
}

.sav-nav {
  top: 184px;
  position: fixed;
}
@media screen and (max-width: 1150px) {
  .sav-nav {
    top: 156px;
    left: 28%;
  }
}
@media screen and (max-width: 1000px) {
  .sav-nav {
    top: 196px;
    left: 18%;
  }
}

.name {
  text-align: center;
  font-size: 4rem;
  margin: 0;
  padding: 0 20px;
  color: #1a30b8;
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .name {
    font-size: 2.5rem;
  }
}


/* ==================================================
   2. Service・共通アニメーション
================================================== */

.ser {
  position: relative;
  height: 300px;
}
@media screen and (max-width: 480px) {
  .ser {
    top: -120px;
  }
}

.bg {
  opacity: 0;
  transition: opacity 0.3s;
}

.bg.is-animated {
  opacity: 1;
}

.bg .bg-wrap {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}

.bg.is-animated .bg-wrap::before {
  animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: linear-gradient(to right, #362ae0 0%,#3b79cc 50%,#42d3ed 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
}

.bg .bg-wrap .inn {
  color: #fff;
  display: inline-block;
  font-size: 3.5rem;
  font-weight: bold;
  padding: 5px 15px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 1000px) {
  .bg .bg-wrap .inn {
    font-size: 2rem;
  }
}
@media screen and (max-width: 480px) {
  .bg .bg-wrap .inn {
    font-size: 1.4rem;
  }
}

@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
  30%, 100% {
    opacity: 1;
  }
}

.color_white {
  color: #ffffff;
}


/* ==================================================
   3. 給排水設備
================================================== */

.kyuhaisuiM {
  margin-left: 7%;
}

.kyuhaisuiSetubi {
  width: 100%;
  max-width: 1500px;
  margin: 6% auto 0;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .kyuhaisuiSetubi {
    margin: 0 auto;
  }
}

.drainage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  margin-top: 9%;
}
@media screen and (max-width: 768px) {
  .drainage {
    flex-direction: column;
    gap: 20px;
  }
}

.drainage p {
  margin-left: 19%;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .drainage p {
    margin-left: 0;
    padding: 0 3%;
  }
}

.drainageP,
.drainageImg {
  flex: 1;
  width: 50%;
}
@media screen and (max-width: 768px) {
  .drainageP,
  .drainageImg {
    width: 100%;
  }
}

.drainageImg {
  display: flex;
  justify-content: center;
  align-items: center;
}

.drainageImg img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 20px 20px 14px #ffffff;
  transition: transform 0.3s ease;
}
@media screen and (max-width: 480px) {
  .drainageImg img {
    width: 250px;
    height: 250px;
  }
}


/* ==================================================
   4. 上下水道
================================================== */

.jougeSuido {
  width: 100%;
  max-width: 1500px;
  margin: 20% auto 0;
  box-sizing: border-box;
}

.jougeM {
  margin-left: 55%;
}
@media screen and (max-width: 1100px) {
  .jougeM {
    margin-left: 7%;
  }
}

.jouge p {
  width: 30%;
  text-align: left;
  padding: 22px;
  position: absolute;
}
@media screen and (max-width: 1500px) {
  .jouge p {
    width: 44%;
  }
}

.shokunin2 {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 50%;
  margin: 11% 0 0 16%;
  box-shadow: 20px 20px 14px #ffffff;
}
@media screen and (max-width: 1300px) {
  .shokunin2 {
    margin: 11% 0 0 5%;
  }
}
@media screen and (max-width: 768px) {
  .shokunin2 {
    width: 277px;
    height: 277px;
  }
}
@media screen and (max-width: 560px) {
  .shokunin2 {
    width: 320px;
    height: 320px;
  }
}
@media screen and (max-width: 375px) {
  .shokunin2 {
    width: 271px;
    height: 271px;
  }
}

.shokunin1 {
  margin: -13% 0 0 63%;
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 20px 20px 14px #ffffff;
}
@media screen and (max-width: 1300px) {
  .shokunin1 {
    margin: -13% 0 0 52%;
  }
}
@media screen and (max-width: 768px) {
  .shokunin1 {
    width: 255px;
    height: 255px;
  }
}
@media screen and (max-width: 560px) {
  .shokunin1 {
    width: 200px;
    height: 200px;
  }
}
@media screen and (max-width: 480px) {
  .shokunin1 {
    margin: 9% 0 0 43%;
  }
}
@media screen and (max-width: 375px) {
  .shokunin1 {
    width: 154px;
    height: 154px;
  }
}


/* ==================================================
   5. 冷暖房/空調設備
================================================== */

.reidanboM {
  margin-left: 8%;
}
@media screen and (max-width: 480px) {
  .reidanboM {
    margin-left: 0;
  }
}

.reidaiboKutyou {
  width: 100%;
  max-width: 1500px;
  margin: 20% auto 0;
  box-sizing: border-box;
}

.kutyou {
  margin-top: 14%;
}

.airConditioning {
  display: flex;
  width: 100%;
  margin-top: 2%;
  overflow: visible;
  box-sizing: border-box;
  margin-left: 4%;
}
@media screen and (max-width: 1000px) {
  .airConditioning {
    margin-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .airConditioning {
    flex-direction: column;
    margin-top: 50px;
  }
}

.sp_br_air {
  display: none;
}
@media screen and (max-width: 800px) {
  .sp_br_air {
    display: block;
  }
}

.airConditioningImg {
  flex: 1;
  min-width: 0;
  padding-bottom: 30px;
  padding-right: 30px;
}
@media screen and (max-width: 768px) {
  .airConditioningImg {
    width: 100%;
    margin-bottom: 20px;
  }
}

.airConditioningP {
  flex: 1;
  min-width: 0;
  padding-top: 7%;
  padding-left: 5%;
}
@media screen and (max-width: 1300px) {
  .airConditioningP {
    padding-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .airConditioningP {
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding-top: 0;
  }
}

.airConditioningP h2 {
  font-size: 2rem;
}

.airConditioningP h3 {
  font-size: 1.5rem;
  text-decoration: underline #274996 3px;
}

.kutyou p {
  width: 100%;
  max-width: 591px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .kutyou p {
    width: 100%;
    max-width: 100%;
    line-height: 1.6;
  }
}

.kutyou img {
  width: 320px;
  height: 320px;
  max-width: 400px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 20px 20px 14px #ffffff;
  margin-top: 24%;
  margin-left: 30%;
}
@media screen and (max-width: 1300px) {
  .kutyou img {
    margin-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .kutyou img {
    margin-top: unset;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}
@media screen and (max-width: 480px) {
  .kutyou img {
    width: 290px;
    height: 290px;
  }
}


/* ==================================================
   6. 水廻りのリノベーション
================================================== */

.mizumawari {
  width: 100%;
  max-width: 1500px;
  margin: 20% auto 0;
  box-sizing: border-box;
}

.mizumawariM {
  margin-left: 47%;
}
@media screen and (max-width: 1615px) {
  .mizumawariM {
    margin-left: 42%;
  }
}
@media screen and (max-width: 1500px) {
  .mizumawariM {
    margin-left: 37%;
  }
}
@media screen and (max-width: 1360px) {
  .mizumawariM {
    margin-left: 27%;
  }
}
@media screen and (max-width: 1200px) {
  .mizumawariM {
    margin-left: 44%;
  }
}
@media screen and (max-width: 1100px) {
  .mizumawariM {
    margin-left: 7%;
  }
}

.sp_br_Water {
  display: none;
}
@media screen and (max-width: 1200px) {
  .sp_br_Water {
    display: block;
  }
}

.renovation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 8%;
  margin-bottom: 17%;
}
@media screen and (max-width: 768px) {
  .renovation {
    flex-direction: column;
    gap: 24px;
  }
}

.renovation .serviceText {
  flex: 1;
  margin: 0;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .renovation .serviceText {
    width: 95%;
  }
}

.renovation p {
  padding: 10%;
}
@media screen and (max-width: 1100px) {
  .renovation p {
    padding: 0;
  }
}

.renovation .pic {
  width: 320px;
  height: 320px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 20px 20px 14px #ffffff;
}
@media screen and (max-width: 768px) {
  .renovation .pic {
    width: 240px;
    height: 240px;
    margin: 0 auto;
  }
}


/* ==================================================
   7. エコキュート工事
================================================== */

.ecokyu-toM {
  margin-left: 14%;
}
@media screen and (max-width: 1100px) {
  .ecokyu-toM {
    margin-left: 7%;
  }
}
@media screen and (max-width: 350px) {
  .ecokyu-toM {
    margin-left: 0;
  }
}

.eco {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  box-sizing: border-box;
}

.eco p {
  margin-top: 8%;
  text-align: left;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: 0;
}
@media screen and (max-width: 910px) {
  .eco p {
    width: 95%;
    margin: 7% auto;
  }
}
@media screen and (max-width: 768px) {
  .eco p {
    text-align: left;
  }
}

.ecnoPic1 {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: 15%;
  box-shadow: 20px 20px 14px #ffffff;
}
@media screen and (max-width: 1300px) {
  .ecnoPic1 {
    margin: 11% 0 0 5%;
  }
}
@media screen and (max-width: 768px) {
  .ecnoPic1 {
    width: 277px;
    height: 277px;
  }
}
@media screen and (max-width: 560px) {
  .ecnoPic1 {
    width: 320px;
    height: 320px;
  }
}
@media screen and (max-width: 375px) {
  .ecnoPic1 {
    width: 271px;
    height: 271px;
  }
}

.ecnoPic2 {
  margin: -13% 0 0 63%;
  width: 324px;
  height: 324px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 20px 20px 14px #ffffff;
}
@media screen and (max-width: 910px) {
  .ecnoPic2 {
    margin: -7% 0 0 52%;
  }
}
@media screen and (max-width: 768px) {
  .ecnoPic2 {
    width: 230px;
    height: 230px;
  }
}
@media screen and (max-width: 560px) {
  .ecnoPic2 {
    width: 200px;
    height: 200px;
  }
}
@media screen and (max-width: 480px) {
  .ecnoPic2 {
    margin: 4% 0 0 39%;
  }
}
@media screen and (max-width: 375px) {
  .ecnoPic2 {
    width: 170px;
    height: 170px;
  }
}


/* ==================================================
   8. 土木工事
================================================== */

.dobokukouji {
  width: 100%;
  max-width: 1500px;
  margin: 20% auto 0;
  box-sizing: border-box;
}
@media screen and (max-width: 480px) {
  .dobokukouji {
    height: 2259px;
  }
}
@media screen and (max-width: 410px) {
  .dobokukouji {
    height: 2017px;
  }
}
@media screen and (max-width: 360px) {
  .dobokukouji {
    height: 1825px;
  }
}

.dobokuM {
  margin-left: 53%;
}
@media screen and (max-width: 1100px) {
  .dobokuM {
    margin-left: 7%;
  }
}
@media screen and (max-width: 425px) {
  .dobokuM {
    margin-left: 0;
  }
}

.dobokukouji p {
  text-align: left;
  margin-top: 7%;
}
@media screen and (max-width: 910px) {
  .dobokukouji p {
    width: 95%;
    margin: 7% auto;
  }
}

.dobokuImg {
  margin-top: 8%;
}
@media screen and (max-width: 1500px) {
  .dobokuImg {
    margin-top: 15%;
  }
}
@media screen and (max-width: 1000px) {
  .dobokuImg {
    margin-top: 24%;
  }
}
@media screen and (max-width: 800px) {
  .dobokuImg {
    margin-top: 38%;
  }
}
@media screen and (max-width: 600px) {
  .dobokuImg {
    margin-top: 49%;
  }
}
@media screen and (max-width: 480px) {
  .dobokuImg {
    margin-top: 22%;
  }
}

.dobokukouji img {
  box-shadow: 20px 20px 14px #ffffff;
  border-radius: 7px;
  width: 22%;
  margin: 22% 1%;
}
@media screen and (max-width: 480px) {
  .dobokukouji img {
    width: 80%;
    margin: 15% 9%;
  }
}

.dobokuPic1 {
  position: relative;
  top: -350px;
}
@media screen and (max-width: 1000px) {
  .dobokuPic1 {
    top: -300px;
  }
}

.dobokuPic2 {
  position: relative;
}
@media screen and (max-width: 1000px) {
  .dobokuPic2 {
    top: -97px;
  }
}

.dobokuPic3 {
  position: relative;
  top: -81px;
}
@media screen and (max-width: 1000px) {
  .dobokuPic3 {
    top: -175px;
  }
}

.dobokuPic4 {
  position: relative;
  top: -162px;
}
@media screen and (max-width: 1000px) {
  .dobokuPic4 {
    top: -239px;
  }
}


/* ==================================================
   9. 会社概要
================================================== */

.com {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1900px;
}
@media screen and (max-width: 768px) {
  .com {
    flex-direction: column-reverse; /* スマホ時は「テキスト上・画像下」の縦並びにする */
    height: auto; /* 固定の高さを解除 */
  }
}

.compony-flex1 {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .compony-flex1 {
    width: 100%;       /* 768px以下で幅を100%に広げる */
    margin: 24px auto 0; /* 左右marginをautoにして親要素ごと中央寄せ＆上部に余白 */
  }
}

.com img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
@media screen and (max-width: 480px) {
  .com img {
    height: auto;
  }
}

.pic {
  margin-right: 5%;
  display: block;      /* margin: auto を効かせるためにブロック要素化 */
}
@media screen and (max-width: 768px) {
  .pic {
    margin-right: auto; /* 右余白を自動計算（左と合わせて中央寄せ） */
    margin-left: auto;  /* 左余白を自動計算 */
  }
}

.compony-flex2 {
  width: fit-content; /* 中身のコンテンツ幅に合わせる */
  max-width: 100%;    /* 画面からはみ出るのを防ぐ */
  margin: 0 auto;     /* ブロック自体を左右中央配置にする */
  text-align: left;   /* テキストは左寄せを維持 */
}
@media screen and (max-width: 480px) {
  .compony-flex2 {
    width: 100%;
    margin-top: -131px;
    padding: 0 16px;  /* スマホ時に画面端にくっつかないよう余白を確保 */
    box-sizing: border-box;
  }
}

.compony-flex2 h4,
.com h4 {
  font-size: 1.6rem;
}
@media screen and (max-width: 480px) {
  .com h4 {
    font-size: 1.2rem;
  }
}

.compony-flex2 h5 {
  font-size: 1.3rem;
}
@media screen and (max-width: 480px) {
  .compony-flex2 h5 {
    font-size: 1.1rem;
  }
}

.compony-flex2 p {
  text-align: left;
  font-size: 1.1rem;
  margin: 8px 0 0 0;
}
@media screen and (max-width: 480px) {
  .compony-flex2 p {
    font-size: 1rem;
  }
}

.jigyounaiyo {
  margin-left: 2%;
}

.com-pic2 {
  display: none;
}

.tukihi p {
  font-size: 1.1rem;
}
@media screen and (max-width: 480px) {
  .tukihi p {
    font-size: 1.3rem;
  }
}

.kinds_name {
  font-size: 1.3rem;
  margin-top: 16px;
}

.kinds_kyoka {
  font-size: 1.6rem;
  margin-top: 24px;
}

.ei {
  margin-top: 24px;
}

.ei h2 {
  font-size: 1.6rem;
}

/****地図*****/

.address {
  display: flex;
  justify-content: center;
  margin-top: 12%;
}
@media screen and (max-width: 768px) {
  .address {
    flex-direction: column-reverse;
    align-items: center;
  }
}

.addressText {
  width: 50%;
  padding: 5%;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .addressText {
    text-align: left;
    width: 95%;
  }
}

.addressText p {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .addressText p {
    text-align: left;
  }
}

.map {
  position: relative;
}
@media screen and (max-width: 1420px) {
  .map {
    top: -435px;
  }
}

.map2 {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .map2 {
    width: 95%;
  }
}

iframe {
  border: 0;
}
@media screen and (max-width: 1420px) {
  .map iframe {
    width: 80%;
    height: 300px;
  }
}
@media screen and (max-width: 400px) {
  iframe {
    height: 300px;
  }
}

.cen {
  text-align: left;
}
@media screen and (max-width: 1420px) {
  .cen {
    text-align: center;
    max-width: 90%;
  }
}


/* ==================================================
   10. 社長挨拶
================================================== */
.ceo-section {
  margin-top: 12%;
  margin-bottom: 12%;
}

.ceo-container {
  display: flex;
  flex-direction: column; /* 1300px以下は縦並び */
  gap: 20px;
  padding: 20px;
}
@media screen and (min-width: 1301px) {
  .ceo-container {
    flex-direction: row; /* 1301px以上は横並び */
    align-items: center;
    justify-content: center;
    max-width: 1500px;
    margin: 0 auto;
    gap: 40px;
  }
}

.ceo-image {
  width: 100%;
  order: 2; /* 1300px以下では2番目（下） */
  display: flex;
  justify-content: center; /* 親要素内で画像を中央寄せ */
}
@media screen and (min-width: 1301px) {
  .ceo-image {
    flex: 1;
    order: 1; /* PC時（1301px以上）は左側 */
  }
}

.ceo-image img {
  width: 353px;
  height: 353px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto; /* 中央寄せ用にマージンリセット */
}
@media screen and (min-width: 1301px) {
  .ceo-image img {
    margin: 0;
  }
}
@media screen and (max-width: 480px) {
  .ceo-image img {
    width: 270px;
    height: 270px;
  }
}

.ceo-message {
  width: 100%;
  order: 1; /* 1300px以下では1番目（上） */
}
@media screen and (min-width: 1301px) {
  .ceo-message {
    flex: 2;
    order: 2; /* PC時（1301px以上）は右側 */
  }
}

.ceo-message h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  border-bottom: solid;
  padding-left: 3%;
}

.ceo-message p {
  text-align: left;
}
@media screen and (max-width: 768px) {
  .ceo-message p {
    font-size: 1.1rem;
  }
}

/* ==================================================
   11. お問い合わせページ
================================================== */

.heading {
  display: table;
  text-align: left;
  font-size: 1.8rem;
  background-color: #5da4df;
  width: auto;
  max-width: 60%;
  margin: 12% 0 5% 20%;
  padding: 5px 31px;
  color: #fff;
  border-radius: 7px;
}
@media screen and (max-width: 768px) {
  .heading {
    margin: 10% 0 2%;
  }
}
@media screen and (max-width: 480px) {
  .heading {
    font-size: 2rem;
  }
}

.contact_item {
  margin-bottom: 4rem;
}
@media screen and (max-width: 480px) {
  .contact_item {
    margin-bottom: 1.6rem;
  }
}

.content-1 {
  width: 60%;
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  .content-1 {
    text-align: left;
    margin-top: -139px;
    width: 95%;
  }
}

.content-1 h1 {
  text-decoration: none;
  border-bottom: 2px solid #006eb7;
  padding-bottom: 2px;
}
@media screen and (max-width: 768px) {
  .content-1 h1 {
    font-size: 1.2rem;
    max-width: 95%;
  }
}

.content-1 p {
  text-align: left;
}

.fa-square-phone {
  color: #3498db;
  margin-right: 8px;
  font-size: 2.1rem;
  vertical-align: middle;
}

.contact-phone {
  font-size: 1.7rem;
  font-weight: bold;
}

.contact-3 {
  width: 100%;
}
@media screen and (max-width: 480px) {
  .contact-3 {
    width: 80%;
    text-align: center;
  }
}

.wpcf7-form {
  text-align: left;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  text-align: left;
  display: block;
  margin-left: 0;
  margin-right: auto;
  margin-top: -40px;
}

.wpcf7-form textarea {
  width: 100%;
  height: 300px;
  padding: 15px;
  line-height: 1.6;
  border-radius: 5px;
  box-sizing: border-box;
  resize: vertical;
}
@media screen and (max-width: 768px) {
  .wpcf7-form textarea {
    height: 200px;
  }
}

.wpcf7-form p {
  margin-bottom: 0;
}

section.contact {
  background-color: #cbd8f3;
  text-align: center;
}

.contactForm {
  max-width: 700px;
  margin: 0 auto;
}

.label {
  display: block;
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: .6rem;
  font-weight: bold;
  text-align: left;
}
@media screen and (max-width: 480px) {
  .label {
    font-size: 1.3rem;
    margin-bottom: .4rem;
  }
}

.label_tag {
  font-size: 1.3rem;
  color: #ffffff;
  border-radius: .3rem;
  margin-right: 1rem;
  padding: 5px 10px;
}
@media screen and (max-width: 480px) {
  .label_tag {
    font-size: 1rem;
  }
}

.label_must {
  background-color: #C84772;
}

.label_option {
  background-color: #888988;
}

.inputs {
  width: 100%;
  box-sizing: border-box;
}

input[type="text"],
input[type="email"] {
  border: solid 1px #707070;
  padding: .5rem;
  font-size: 1.8rem;
  width: 80%;
}
@media screen and (max-width: 480px) {
  input[type="text"],
  input[type="email"] {
    padding: .4rem;
    font-size: 1.5rem;
  }
}

textarea.form-control {
  border: solid 1px #707070;
  padding: .5rem;
  height: 207px;
  font-size: 1.8rem;
}

textarea {
  box-sizing: border-box;
}
@media screen and (max-width: 480px) {
  textarea {
    padding: .4rem;
    font-size: 1.5rem;
  }
}

.btnArea {
  text-align: center;
}

input[type="submit"] {
  background: #7a8ee2;
  border: 2px solid #ffffff;
  width: 280px;
  color: #ffffff;
  text-align: center;
  font-size: 2.5rem;
  line-height: 1.3;
  letter-spacing: .5em;
  text-indent: .5em;
  font-weight: bold;
  padding: 1.4rem 0;
  margin-top: 2rem;
  cursor: pointer;
  border-radius: .3rem;
  transition: all .3s;
}
@media screen and (max-width: 480px) {
  input[type="submit"] {
    width: 80%;
    left: 1%;
    font-size: 1.5rem;
  }
}

input[type="submit"]:hover {
  color: #C84772;
  background-color: #ffffff;
  border-color: #C84772;
}

.wpcf7 .ajax-loader {
  display: block;
  margin: 0 auto;
}

.w_1000 {
  width: 100%;
}
@media screen and (max-width: 770px) {
  .w_1000 {
    width: 80%;
    margin: 0 auto;
  }
}

.footer-1 img {
  height: 500px;
  width: 100%;
  margin-top: 13%;
}
@media screen and (max-width: 480px) {
  .footer-1 img {
    height: 268px;
  }
}


/* ==================================================
   12. 投稿詳細ページ
================================================== */

body {
  margin: 0;
}
@media screen and (max-width: 770px) {
  body {
    width: 100%;
  }
}

.container-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 10%;
}
@media screen and (max-width: 768px) {
  .container-flex {
    flex-direction: column;
  }
}

.kiji {
  width: 65%;
}
@media screen and (max-width: 770px) {
  .kiji {
    width: 95%;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .kiji {
    width: 100%;
  }
}

.sidebar {
  width: 30%;
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  padding-left: 30px;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .sidebar {
    width: 100%;
    padding-left: 0;
    margin-top: 50px;
    position: static;
  }
}

.sidebar h2 {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #333;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.sidebar h2::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #6091D3;
  margin-right: 10px;
}

.blogItemBlok {
  display: block !important;
  padding: 0;
  list-style: none;
}

.blogItems {
  display: block !important;
  width: 100%;
  margin-bottom: 10px;
}

.blogItems::after {
  content: none !important;
}

.blogItems:first-child {
  border-top: 1px solid #eee;
}

.blogItems a.btn {
  display: block;
  text-align: left;
  text-decoration: none;
  padding: 10px;
}

.blogItems a.btn-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5px;
  text-decoration: none;
  color: #444;
  transition: all 0.3s;
  min-width: 0;
}
.blogItems a.btn-primary:hover {
  background-color: transparent;
}

.blogItems a.btn-primary::after {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid #6091D3;
  border-right: 1px solid #6091D3;
  transform: rotate(45deg);
  margin-left: 15px;
  transition: transform 0.3s;
}
.blogItems a.btn-primary:hover::after {
  transform: rotate(45deg) scale(1.2);
}

.blogTitle {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  transition: transform 0.3s;
  flex: 1;
  word-break: break-all;
  text-align: left;
}

.blogItems a.btn-primary:hover .blogTitle {
  color: #6091D3;
  transform: translateX(5px);
}

.sticky-item {
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
  margin-top: 30%;
}
@media screen and (max-width: 768px) {
  .sticky-item {
    position: static;
  }
}