@charset "UTF-8";
/* CSS Document */

/*LP-1　税理士系*/




/*===========LP-1　ヘッダ部分===========*/


#lp-wrap .logo-box h1{
padding: 0!important;
  margin: 0!important;
   
}
#lp-wrap .logo-set h1 img{
  width: 300px;
padding: 0;
  margin: 0;
 
}

#lp-wrap .logo-set h1{
  margin-top: 10px;
  margin-bottom: 10px;
}


#lp-wrap .logo-set p{
  padding-left: 30px;
  margin-top: -10px;
  margin-bottom: 1px;
}



#lp-wrap header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* スマホで折り返し */
  padding: 5px 10px 10px;
  border-top: 10px rgba(0,180,178,1.00) solid;

}

#lp-wrap header .right {
  display: flex;
  gap: 20px;
}


/*ヘッダ内のボタン*/
/* === 共通スタイル（電話・メールボタン） === */
#lp-wrap .tel-box,
#lp-wrap .mail-box {
  width: 300px;
  height: 80px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

/* === 電話ボタン === */
#lp-wrap .tel-box {
  background: #f0f0f0;
  border: 2px solid #ccc;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

#lp-wrap .tel-box:hover {
  transform: scale(1.03);
}

/* === メールボタン：グラデーション＋輝き === */
#lp-wrap .mail-box {
  background: linear-gradient(135deg, #f3cb00, #ffe600);
  color: #000;
  position: relative;
  overflow: hidden;
}

#lp-wrap .mail-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine 2.5s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

#lp-wrap .mail-box:hover {
  transform: scale(1.03);
}

/* ===== スマホ対応（768px以下） ===== */
@media screen and (max-width: 768px) {
  #lp-wrap header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  #lp-wrap header .right {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  #lp-wrap .tel-box,
  #lp-wrap .mail-box {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 15px;
  }

  #lp-wrap .logo-set h1 img {
    width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
    text-align: center;
  }

  #lp-wrap .logo-set p {
    text-align: center;
  }
}



/*===========LP-1　ヘッダ部分 終わり===========*/
/*===========LP-1　見出し　各種===========*/
/* 見出し　下に三角矢印 */
.allow-box {
  background-color: #003366; /* 紺色の背景 */
  color: #fff; /* 白い文字 */
  text-align: center; /* 文字を中央に */
  padding: 30px 0; /* 上下の余白 */
  font-size: 36px; /* 文字を大きめに */
  position: relative; /* 三角形の突起を作るため */
  width: 100%; /* 画面全体に伸ばす */
  margin: 0; /* 上下のマージンを消す */
}

.allow-box::after {
  content: "";
  position: absolute;
  bottom: -20px; /* 三角形の位置を調整 */
  left: 50%; /* 画面中央に配置 */
  transform: translateX(-50%); /* 完全に中央にする */
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #003366; /* 紺色の三角形 */
}


.midashi-1 {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #2c3e50;
  position: relative;
  margin-bottom: 40px;
}

.midashi-1::after {
  content: '';
  display: block;
  width: 300px;
  height: 3px;
  background: #f3cb00; /* ロゴ色や信頼感あるゴールド系 */
  margin: 12px auto 0;
  border-radius: 2px;
}




/* LP-1 section1 */
.section1 {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.big-tel-button {
  position: relative;
  display: block;
  width: 800px;
  max-width: 95%;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  background: url('../LP-img/town.jpg') center/cover no-repeat;
}

.big-tel-button::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 153, 0, 0.85); /* 半透明のオレンジ */
  z-index: 0;
}

.big-tel-button:hover {
  transform: translateY(-2px);
}

.button-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 25px 30px;
}

.button-text .main-text {
  font-size: 22px;
}

.button-text .sub-text {
  font-size: 16px;
  opacity: 0.9;
}

.button-text .tel-number {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .button-text .main-text {
    font-size: 18px;
  }
  .button-text .sub-text {
    font-size: 14px;
  }
  .button-text .tel-number {
    font-size: 22px;
  }
}


/* LP-1 section2 */
.section2{
  background-image: url( "../LP-img/11px White.png");
  margin-top: -86px;
  padding: 116px 24px 36px;
  background-size: 1205px auto;
  background-color: rgba(6,159,159,1.00);
  margin-bottom: 21px;
}

.section-box {
  background-color: #f5f5f5; /* 薄いグレー背景 */
  border-radius: 16px; /* 角丸 */
  padding: 40px 30px;
  max-width: 800px;
  margin: 40px auto; /* 中央寄せ */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 軽い影で浮き感 */
  font-size: 16px;
  line-height: 1.8;
  
}

.section-box h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  margin-top: 0px;
  
}

.section-box ul {
  padding-left: 20px;
  margin-top: 20px;
}

.section-box li {
  margin-bottom: 10px;
}


.ribbon {
  background: #ffcccc;
  color: #a00000;
  padding: 20px 30px;
  font-size: 24px;
  text-align: center;
  border-radius: 12px;
  position: relative;
  display: block;
  margin: 40px auto;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 吹き出しのトンガリ（三角） */
.ribbon::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 40px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid #ffcccc;
}




.ribbon-button {
  display:block;
  background: linear-gradient(45deg, #ff5e00, #ffa500);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 20px 40px;
  border-radius: 50px;
  text-align: center;
  margin: 40px auto;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.ribbon-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* LP-1 section3 */

#lawyers {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
}

#lawyers h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.lawyer-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.lawyer-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 300px;
  padding: 20px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.lawyer-card:hover {
  transform: translateY(-5px);
}

.lawyer-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.lawyer-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.lawyer-card p {
  font-size: 16px;
  color: #555;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .lawyer-boxes {
    flex-direction: column;
    align-items: center;
  }
}





/*LP-1　footer部分*/

footer p{
  text-align: center;
  
}





