@charset "UTF-8";
@import url("grid.css");

@font-face {
  font-family: "TamanegiKaisyoGeki"; 
  src: url("../fonts/TamanegiKaisyoGeki.ttf")  format("truetype")
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "kokoro"; 
  src: url("../fonts/Kokoro.ttf")  format("truetype")
}

body {
    font-family: "TamanegiKaisyoGeki","Helvetica Neue", Arial,"Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #000; 
    background-color: #F2F2F2;
    margin: 0;
    padding: 0;
}

header {
  background-color: #d4311e;
}
.inner {
  align-items: center;
  justify-content: space-between;
  display: flex;
  margin-inline: auto;
  max-width: 960px;
  padding: 7px 0;
}
.title {
  width: 600px;
  margin: 0 auto;    /* 中央寄せ */
}

.title img {
  height: auto;
  width: 100%;
  max-width: 600px;
}

.target-text {
    font-family: "TamanegiKaisyoGeki", serif;
    color: #141497;
    font-size: clamp(1.2rem, calc(1rem + 0.625vw), 1.7rem);
}

p {
 color: #000000;
 font-size: 1.1rem;
 line-height: 1.8;/* 行間隔を1.5倍に設定 */
 margin-bottom: 1lh;	/* 下マージンを行高の1倍に設定 */
}

h2 {
    margin-top: 50px;
    margin-bottom: 40px;
    padding: 10px;
    width: 98%;
    border-bottom: 3px double #141497;
    font-family: "TamanegiKaisyoGeki", serif;
}
.box28 {
    position: relative;
    margin: 2em 0;
    padding: 35px 15px 17px;
}
.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    color: #141497;
    font-weight: bold;
}
.box28 h4 {
    color: #141497;
    font-family: "kokoro", serif;
}

.small-text {
  font-size: 16px; 
}

.img-responsive{
  padding:0 !important;
}
.img-responsive img{
  width:100%;
  max-width:300px;
  height:auto;
  text-align:center;
}

.table_design01 {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
}
.table_design01 th, .table_design01 td {
  border: 2px solid #fff;
  background-color: #f6e6f4;
  padding: 1em;
}
.table_design01 th {
  background-color: #a24dc1;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 20%;
  min-width: 4em;
}


.table_design02 {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
}
.table_design02 th, .table_design02 td {
  border: 2px solid #fff;
  background-color: #e6f1f6;
  padding: 1em;
}
.table_design02 th {
  background-color: #4d9bc1;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 20%;
  min-width: 4em;
}



.footer {
  background-image: url("../img/bg1.png");
  background-repeat: repeat;
  color: #fff;
  padding: 60px; 
  text-align: center; 
  font-size: 14px;
}

.bu {
   margin: 0 auto;
   position: relative;
   display: inline-block;
   padding: 5px;
   width: 100%;
   max-width: 180px;
}
.cp_textlink07 {
  position: relative;
  display: inline-block;
  padding: 15px;
  color: #141497;
  text-decoration: none;/*元々のアンダーラインを非表示にしておく*/
}
/*擬似要素の設定（共通）*/
.cp_textlink07::before,
.cp_textlink07::after {
  position: absolute;
  content: '';
  border-radius: 3px;
}
/*hover前の表示（背景塗りつぶし）*/
.cp_textlink07::before {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(156,39,176 ,.4);
  transition: all 0.3s ease;
}
/*hover時の表示（背景塗りつぶし）*/
.cp_textlink07:hover:before {
  background: rgba(156,39,176 ,.2);
}
/*hover前の表示（ライン）*/
.cp_textlink07::after {
  top: -4px;
  bottom: -4px;
  left: -4px;
  right: -4px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border: 1px solid #9C27B0;
  opacity: 0;
  transition: all 0.3s;
}
/*hover時の表示（ライン）*/
.cp_textlink07:hover:after {
  top: 2px;
  left: 2px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  opacity: 1;
}


.postcard {
  width: 280px; /* 必要に応じて調整 */
  height: 380px; /* 必要に応じて調整 */
  border: 1px solid #ccc; /* 薄いグレーの枠線 */
  border-radius: 3px; /* 角を少し丸く */
  background-color: #fff; /* 白い背景 */
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* ほんのり影をつけて立体感 */
  padding: 40px 0px 3px 25px; /* 内側の余白 */
  box-sizing: border-box; /* paddingを含めたサイズ計算 */
  
  /* 宛名などを書くためのプレースホルダー的な配置 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.postcard p {
   font-size: clamp(1.0rem, calc(0.95rem + 0.625vw), 1.1rem);
   color: #333333;
   font-family: "kokoro", serif;
}
