/* リセット・基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  vertical-align: bottom;
}

/* 表示切替用 */
.sp {
  display: none;
}
.pc {
  display: none;
}

/* コンテンツラッパー */
#content {
  width: 100%;
}

#shoueneWrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* メイン画像セクション */
#mainVisual {
  width: 100%;
}

#mainVisual img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストセクション */
#mainText {
  width: 900px;
  margin: 0 auto;
  text-align: center;
}

#mainText p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 32px;
  line-height: 1.6;
  color: #333;
}

#mainText p span {
  color: #D88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* 5枚画像セクション */
#fiveImages {
  width: 100%;
}

#fiveImages .fiveImages-inner {
  width: 900px;
  margin: 0 auto;
}

/* PC用レイアウト */
#fiveImages .fiveImages-pc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* SP用レイアウト */
#fiveImages .fiveImages-sp {
  display: none;
}

/* 左列 */
#fiveImages .fiveImages-left {
  width: 305px;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

#fiveImages .fiveImages-left img {
  width: 100%;
  max-width: 305px;
  height: auto;
  aspect-ratio: 305 / 155;
  object-fit: cover;
}

/* 中央 */
#fiveImages .fiveImages-center {
  width: 290px;
  flex-shrink: 0;
}

#fiveImages .fiveImages-center img {
  width: 100%;
  max-width: 290px;
  height: auto;
  aspect-ratio: 290 / 288;
  object-fit: cover;
  display: block;
}

/* 右列 */
#fiveImages .fiveImages-right {
  width: 305px;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

#fiveImages .fiveImages-right img {
  width: 100%;
  max-width: 305px;
  height: auto;
  aspect-ratio: 305 / 155;
  object-fit: cover;
}

/* 背景色エリア */
#bgSection {
  width: 100%;
  max-width: 1200px;
  margin: 150px auto 0;
  background-color: #f7f4ef;
  position: relative;
}

/* 境界画像 */
#bgSection .border-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

#bgSection .border-image img.pc {
  width: auto;
  max-width: 156px;
  height: auto;
  max-height: 176px;
  display: block;
}

#bgSection .border-image img.sp {
  width: auto;
  max-width: 140px;
  height: auto;
  max-height: 157px;
  display: block;
}

/* 背景色エリア内コンテンツ */
#bgSection .bgSection-content {
  width: 900px;
  margin: 0 auto;
  padding-top: 175px;
  padding-bottom: 50px;
}

/* テキストA */
#bgSection .textA {
  text-align: center;
  margin-bottom: 50px;
}

#bgSection .textA p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 32px;
  line-height: 1.6;
  color: #333;
}

#bgSection .textA p span {
  color: #D88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* 3カラム画像 */
#bgSection .threeColumn {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 22.5px;
}

#bgSection .threeColumn-item {
  flex: 1;
}

#bgSection .threeColumn-title {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 22px;
  text-align: center;
  margin-bottom: 10px;
}

#bgSection .threeColumn-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストボックス */
#bgSection .textBox {
  border: 1px solid #333;
  padding: 15px;
  margin-bottom: 10px;
}

#bgSection .textBox p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  text-align:center;
  font-weight:bold;
}

#bgSection .textBox p span {
  color: #d88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* 右揃えテキスト */
#bgSection .rightText {
  text-align: right;
}

#bgSection .rightText p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

/* テキストA2 */
#bgSection .textA2 {
  margin-top: 100px;
  margin-bottom: 30px;
}

/* センター画像 */
#bgSection .centerImage {
  text-align: center;
  margin-bottom: 30px;
}

#bgSection .centerImage img {
  display: block;
  margin: 0 auto;
}

#bgSection .centerImage img.pc {
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 200px;
}

#bgSection .centerImage img.sp {
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 200px;
}

/* CVボタン */
#bgSection .cvButton {
  text-align: center;
  margin-bottom: 150px;
}

#bgSection .cvButton a {
  display: inline-block;
  background-color: #d88139;
  color: #fff;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 18px;
  padding: 20px 60px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#bgSection .cvButton a:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

#whiteSection .cvButton {
  text-align: center;
  margin-bottom: 150px;
}

#whiteSection .cvButton a {
  display: inline-block;
  background-color: #d88139;
  color: #fff;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 18px;
  padding: 20px 60px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#whiteSection .cvButton a:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* 白背景エリア */
#whiteSection {
  width: 100%;
  background-color: #fff;
}

#whiteSection .whiteSection-inner {
  width: 900px;
  margin: 0 auto;
  padding-top: 100px;
}

/* テキストA */
#whiteSection .textA {
  text-align: center;
  margin-bottom: 80px;
}

#whiteSection .textA p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 32px;
  line-height: 1.6;
  color: #333;
}

#whiteSection .textA p span {
  color: #D88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* コンテンツセット */
#whiteSection .contentSet {
  margin-bottom: 75px;
}

#whiteSection .contentSet.set3 {
  margin-bottom: 100px;
}

/* タイトルエリア */
#whiteSection .titleArea {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

/* 帯タイトル */
#whiteSection .bandTitle {
  display: flex;
  align-items: center;
  padding: 10px;
  position: relative;
  flex-shrink: 0;
}

#whiteSection .bandTitle .band-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5%;
}

#whiteSection .bandTitle .band-text {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 22px;
  position: relative;
  padding-left:20px;
  padding-right:10px;
}

/* 色設定1 */
#whiteSection .bandTitle.color1 {
  background-color: rgba(199, 135, 130, 0.3);
}

#whiteSection .bandTitle.color1 .band-accent {
  background-color: #c78782;
}

#whiteSection .bandTitle.color1 .band-text {
  color: #c78782;
}

#whiteSection .mainTitle.color1 {
  color: #c78782;
}

/* 色設定2 */
#whiteSection .bandTitle.color2 {
  background-color: rgba(112, 148, 166, 0.3);
}

#whiteSection .bandTitle.color2 .band-accent {
  background-color: #7094a6;
}

#whiteSection .bandTitle.color2 .band-text {
  color: #7094a6;
}

#whiteSection .mainTitle.color2 {
  color: #7094a6;
}

/* 色設定3 */
#whiteSection .bandTitle.color3 {
  background-color: rgba(203, 167, 102, 0.3);
}

#whiteSection .bandTitle.color3 .band-accent {
  background-color: #cba766;
}

#whiteSection .bandTitle.color3 .band-text {
  color: #cba766;
}

#whiteSection .mainTitle.color3 {
  color: #cba766;
}

/* メインタイトル */
#whiteSection .mainTitle {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 32px;
  margin: 0;
}

/* 2カラム */
#whiteSection .twoColumn {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* 画像カラム */
#whiteSection .imageColumn {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

#whiteSection .imageColumn img {
  width: 227.5px;
  height: 227.5px;
  object-fit: cover;
}

/* テキストカラム */
#whiteSection .textColumn {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

#whiteSection .textItem {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

#whiteSection .textItem .checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  flex-shrink: 0;
  margin-top: 3px;
}

#whiteSection .textItem p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #333;
}

#whiteSection .textItem p span {
  color: #d88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* 背景変化エリア2 */
#bgSection2 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f7f4ef;
}

#bgSection2 .bgSection2-content {
  width: 900px;
  margin: 0 auto;
  padding-bottom: 100px;
  padding-top:100px;
}

/* ワイド画像 */
#bgSection2 .wideImage img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストA */
#bgSection2 .textA {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

#bgSection2 .textA p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 32px;
  line-height: 1.6;
  color: #333;
}

#bgSection2 .textA p span {
  color: #D88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* CVボタン */
#bgSection2 .cvButton {
  text-align: center;
}

#bgSection2 .cvButton a {
  display: inline-block;
  background-color: #d88139;
  color: #fff;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 18px;
  padding: 20px 60px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#bgSection2 .cvButton a:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* 白背景エリア2 */
#whiteSection2 {
  width: 100%;
  background-color: #fff;
}

#whiteSection2 .whiteSection2-inner {
  width: 900px;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* テキストA */
#whiteSection2 .textA {
  text-align: center;
  margin-bottom: 80px;
}

#whiteSection2 .textA p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 32px;
  line-height: 1.6;
  color: #333;
}

#whiteSection2 .textA p span {
  color: #D88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* テキストボックス2（枠なし） */
#whiteSection2 .textBox2 {
  margin-bottom: 60px;
}

#whiteSection2 .textBox2 p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 2;
  color: #333;
  text-align: left;
}

#whiteSection2 .textBox2 p span {
  color: #d88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* 画像グリッド */
#whiteSection2 .imageGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

#whiteSection2 .imageGrid-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 背景変更エリア3 */
#bgSection3 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f7f4ef;
}

#bgSection3 .bgSection3-inner {
  width: 900px;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* テキストA */
#bgSection3 .textA {
  text-align: center;
  margin-bottom: 80px;
}

#bgSection3 .textA p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 32px;
  line-height: 1.6;
  color: #333;
}

#bgSection3 .textA p span {
  color: #D88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* お客様の声セット */
#bgSection3 .voiceSet {
  margin-bottom: 40px;
}

#bgSection3 .voiceSet:last-child {
  margin-bottom: 0;
}

/* ヘッダー部分（画像＋タイトル） */
#bgSection3 .voiceSet-header {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

#bgSection3 .voiceSet-header img {
  width: auto;
  max-width: 138px;
  height: auto;
  max-height: 148px;
  flex-shrink: 0;
  object-fit: cover;
}

#bgSection3 .voiceSet-title {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
}

#bgSection3 .voiceSet-title p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #333;
  margin: 0;
}

/* 線 */
#bgSection3 .voiceSet-line {
  width: 100%;
  height: 1px;
  background-color: #998675;
  margin-bottom: 15px;
}

/* テキストボックス */
#bgSection3 .voiceSet-text p {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.55;
  color: #333;
  margin: 0;
}

#bgSection3 .voiceSet-text p span {
  color: #d88139;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* PC表示（641px以上） */
@media only screen and (min-width: 641px) {
  .pc {
    display: block !important;
  }
  .sp {
    display: none !important;
  }
  
  #mainVisual {
    margin-bottom: 100px;
    margin-top: -22px;
  }
  
  #fiveImages {
    margin-top: 100px;
  }
  
  #bgSection {
    margin-top: 150px;
  }
  
  #bgSection .bgSection-content {
    padding-top: 175px;
  }
}

/* スマホ表示（640px以下） */
@media only screen and (max-width: 640px) {
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
  .fix-menu img{
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
  }
  #shoueneWrap {
    max-width: 100%;
  }
  
  #mainVisual {
    margin-bottom: 50px;
  }
  
  #fiveImages {
    margin-top: 50px;
  }
  
  #bgSection {
    margin-top: 150px;
    max-width: 100%;
  }
  
  #bgSection .border-image img.pc {
    width: 140px;
    height: 157px;
  }
  
  #bgSection .bgSection-content {
    width: 85%;
    margin: 0 auto;
    padding-top: 130px;
  }
  
  #bgSection .textA p {
    font-size: 21px;
  }
  
  #bgSection .threeColumn {
    flex-direction: column;
    gap: 30px;
  }
  
  #bgSection .textBox p {
    font-size: 20px;
  }
  
  #bgSection .rightText p {
    font-size: 14px;
  }
  
  /* テキストA2 SP設定 */
  #bgSection .textA2 {
    margin-top: 80px;
    margin-bottom: 30px;
  }
  
  /* センター画像 SP設定 */
  #bgSection .centerImage {
    margin-bottom: 30px;
  }
  
  /* CVボタン SP設定 */
  #bgSection .cvButton {
    margin-bottom: 80px;
  }
  
  #bgSection .cvButton a {
    display: block;
    width: 100%;
    font-size: 16px;
    padding: 15px 20px;
  }

  #whiteSection .cvButton {
    margin-bottom: 80px;
  }
  
  #whiteSection .cvButton a {
    display: block;
    width: 100%;
    font-size: 16px;
    padding: 15px 20px;
  }
  
  /* 白背景エリア SP設定 */
  #whiteSection .whiteSection-inner {
    width: 85%;
    padding-top: 100px;
  }
  
  #whiteSection .textA {
    margin-bottom: 40px;
  }
  
  #whiteSection .textA p {
    font-size: 21px;
  }
  
  #whiteSection .contentSet {
    margin-bottom: 60px;
  }
  
  #whiteSection .contentSet.set3 {
    margin-bottom: 120px;
  }
  
  #whiteSection .titleArea {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  #whiteSection .bandTitle .band-text {
    font-size: 22px;
  }
  
  #whiteSection .mainTitle {
    font-size: 20px;
  }
  
  #whiteSection .twoColumn {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }
  
  #whiteSection .imageColumn {
    width: 100%;
    justify-content: space-between;
  }
  
  #whiteSection .imageColumn img {
    width: calc((100% - 5px) / 2);
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  #whiteSection .textColumn {
    width: 100%;
    gap: 25px;
  }
  
  #whiteSection .textItem .checkbox {
    width: 16px;
    height: 16px;
  }
  
  #whiteSection .textItem p {
    font-size: 16px;
    padding-bottom: 10px;
  }
  
  /* 背景変化エリア2 SP設定 */
  #bgSection2 {
    max-width: 100%;
  }
  
  #bgSection2 .bgSection2-content {
    width: 85%;
    padding-top: 75px;
    padding-bottom: 75px;
  }
  
  #bgSection2 .textA {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  
  #bgSection2 .textA p {
    font-size: 21px;
  }
  
  #bgSection2 .cvButton a {
    display: block;
    width: 100%;
    font-size: 16px;
    padding: 15px 20px;
  }
  
  /* 白背景エリア2 SP設定 */
  #whiteSection2 .whiteSection2-inner {
    width: 85%;
    padding-top: 100px;
    padding-bottom: 80px;
  }
  
  #whiteSection2 .textA {
    margin-bottom: 30px;
  }
  
  #whiteSection2 .textA p {
    font-size: 21px;
  }
  
  #whiteSection2 .textBox2 {
    margin-bottom: 30px;
  }
  
  #whiteSection2 .textBox2 p {
    font-size: 14px;
    line-height: 2;
  }
  
  #whiteSection2 .imageGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
  
  /* 背景変更エリア3 SP設定 */
  #bgSection3 {
    max-width: 100%;
  }
  
  #bgSection3 .bgSection3-inner {
    width: 85%;
    padding-top: 75px;
    padding-bottom: 75px;
  }
  
  #bgSection3 .textA {
    margin-bottom: 60px;
  }
  
  #bgSection3 .textA p {
    font-size: 21px;
  }
  
  #bgSection3 .voiceSet {
    margin-bottom: 30px;
  }
  
  #bgSection3 .voiceSet-text p {
    font-size: 14px;
    line-height: 1.79;
  }
  
  /* 5枚画像セクション SP設定 */
  #fiveImages .fiveImages-pc {
    display: none !important;
  }
  
  #fiveImages .fiveImages-sp {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }
  
  #fiveImages .fiveImages-inner {
    width: 85%;
    margin: 0 auto;
  }
  
  /* SP時は左右を横並び */
  #fiveImages .fiveImages-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
  }
  
  #fiveImages .fiveImages-left,
  #fiveImages .fiveImages-right {
    width: 48%;
    gap: 15px;
  }
  
  #fiveImages .fiveImages-left img,
  #fiveImages .fiveImages-right img {
    width: 100%;
    height: auto;
    aspect-ratio: 171 / 80;
    object-fit: cover;
  }
  
  /* 中央は下に配置 */
  #fiveImages .fiveImages-center {
    width: 60%;
    margin: 0 auto;
  }
  
  #fiveImages .fiveImages-center img {
    width: 100%;
    height: auto;
  }
  
  #mainText {
    width: 90%;
    margin: 0 auto;
  }
  
  #mainText p {
    font-size: 21px;
  }
}