/* 240801 */

@charset "utf-8";

html { overflow: auto; }
body { overflow: hidden; }

html {
  overflow-y: scroll;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.618;

  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

h1,h2,h3,h4,h5,h6,p,ul,ol {
  margin: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: bold;
  line-height: 1.41;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

p:not(:last-child),ul,ol {
  margin-bottom: 1em;
}

@media(max-width: 599px) {
  p br {
    display: none;
  }
}

img {
  max-width: 100%;              /* 1 */
  height: auto;                 /* 1 */
  vertical-align: middle;       /* 2 */
  font-style: italic;           /* 3 */
  background-repeat: no-repeat; /* 4 */
  background-size: cover;       /* 4 */
  shape-margin: 0.75rem;        /* 5 */
}

strong {
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}

ins {
  text-decoration: none;
}

table {
  border-collapse: collapse;
}

address {
  font-style: normal;
}

figure {
  border: 0;
  margin: 0;
}

fieldset {
  border: 0;
}

/* Safariで文字が太らないようにする */

_::-webkit-full-page-media, _:future, :root body {
  -webkit-font-smoothing: antialiased;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
	::i-block-chrome, body {
    -webkit-font-smoothing: antialiased;
  }
}

/* 文字色
======================================================================= */

body {
  color: #222222;
}

/* リンク */

a,
a:hover {
  color: #1a0dab;
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
}

a:active {
  color: #1a0dab;
  text-decoration: none;
}

a:hover > img {
  opacity: .9;
}

a {
  transition: .3s ease;
}

a:hover {
  opacity: .7;
}
/* =======================================================================
  メディアクエリによる表示／非表示
======================================================================= */

.pc { display: block; }
.sp { display: none; }

@media(max-width: 599px) {
  .pc { display: none; }
  .sp { display: block; }
}

/* =======================================================================
  レイアウト
======================================================================= */

/* 幅 */

.l-width {
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  max-width: 840px;
}

/* バック横幅いっぱい */

body .l-wide {
  margin-right: -100%;
  margin-left: -100%;
  padding-right: 100%;
  padding-left: 100%;
}

/* 間隔 */

.l-margin {
  margin: 50px auto;
}

.l-padding {
  padding: 50px;
}

.l-padding-s {
  padding: 1.5em;
}

.l-padding > .l-margin:first-child {
  margin-top: 0;
}
.l-padding > .l-margin:last-child {
  margin-bottom: 0;
}

/* 二段組 */

.l-columns-2 {
  columns: 2;
  column-gap: 20px;
}

.l-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* 三段組 */

.l-columns-3 {
  columns: 3;
  column-gap: 20px;
}

.l-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 画像の大きさ */

.l-max-width-90 { max-width: 90%; }
.l-max-width-80 { max-width: 80%; }
.l-max-width-70 { max-width: 70%; }
.l-max-width-60 { max-width: 60%; }
.l-max-width-50 { max-width: 50%; }
.l-max-width-40 { max-width: 40%; }
.l-max-width-30 { max-width: 30%; }
.l-max-width-20 { max-width: 20%; }
.l-max-width-10 { max-width: 10%; }

/* 文字揃え */

.l-txt-center,
p.l-txt-center {
  text-align: center;
}

.l-txt-right,
p.l-txt-right {
  text-align: right;
}

.l-txt-left,
p.l-txt-left {
  text-align: left;
}

@media(max-width: 599px) {
  .l-width {
    padding: 0 30px;
  }
  .l-margin {
    margin: 30px auto;
  }
  .l-padding {
    padding: 30px;
  }
  .l-columns-2,
  .l-columns-3 {
    margin: 2em 0;
    columns: 1;
    column-gap: 0;
  }
  .l-grid-2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    justify-items: center;
  }
  .l-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-items: center;
  }

  /* 画像の大きさ */

  .l-sp-max-width-90 { max-width: 90%; }
  .l-sp-max-width-80 { max-width: 80%; }
  .l-sp-max-width-70 { max-width: 70%; }
  .l-sp-max-width-60 { max-width: 60%; }
  .l-sp-max-width-50 { max-width: 50%; }
  .l-sp-max-width-40 { max-width: 40%; }
  .l-sp-max-width-30 { max-width: 30%; }
  .l-sp-max-width-20 { max-width: 20%; }
  .l-sp-max-width-10 { max-width: 10%; }
}
/*---------------------------------------------------
/* 見出し H2
---------------------------------------------------*/

.h2 {
  margin: 40px auto 30px;
  padding: 24px 0;
  border-top: 1px solid #b71840;
  border-bottom: 1px solid #b71840;
  text-align: center;
  font-size: 30px;
  line-height: 1.333;
  color: #333;
}
  .h2:first-child {
    margin-top: 0;
  }

@media(max-width: 599px) {
  .h2 {
    margin: 24px 0;
    padding: .75em 1em;
    font-size: 21px;
  }
}

/*---------------------------------------------------
  ヘッダー
---------------------------------------------------*/

.header {
  background-color: #243a5e;

  text-align: center;
}

/* ロゴ */
.header__logo {
  padding-top: 60px;
  padding-bottom: 50px;
}

.header__logo img{
  width: 25%;
  text-align: center;
}

@media screen and (max-width:768px) {
.header__logo {
  padding-top: 30px;
  padding-bottom: 30px;
}

.header__logo img{
  width: 50%;
  text-align: center;
}
}

/*---------------------------------------------------
  メイン
---------------------------------------------------*/

.main {

}

@media screen and (max-width:768px) {
  .main {
  margin-top: 30px;
  margin-bottom: 30px;
  }
}
/*---------------------------------------------------
  portfolio
---------------------------------------------------*/

.portfolio{
}

.portfolio_head{
  margin-bottom: 40px;
}

.portfolio_h2{
  /* border-bottom: 2px solid #b71840; */
}

.portfolio_ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
}

.portfolio_cat{
  font-size: 12px;
  background-color: #b71840;
  color: #fff;
  display: inline-block;
  padding: 0.7em;
  border-radius: 5px;
}

@media screen and (max-width:768px) {
  .portfolio{

  }


  .portfolio_head{
    margin-bottom: 30px;
  }

  .portfolio_ul {
    grid-template-columns: repeat(1, 6fr);
    grid-gap: 20px;
  }

  .portfolio_ul img {
  height: auto;
  }
}

/*---------------------------------------------------
  sample
---------------------------------------------------*/

.sample{
  background-color: #f7f5f0;
}

.sample_head{
  margin-bottom: 40px;
}

.sample_h2{
  /* border-bottom: 2px solid #b71840; */
}

.sample_ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
}

.sample_cat{
  font-size: 12px;
  background-color: #b71840;
  color: #fff;
  display: inline-block;
  padding: 0.7em;
  border-radius: 5px;
}

@media screen and (max-width:768px) {
  .sample{

  }


  .sample_head{
    margin-bottom: 30px;
  }

  .sample_ul {
    grid-template-columns: repeat(1, 6fr);
    grid-gap: 20px;
  }

  .sample_ul img {
  height: auto;
  }
}
/*---------------------------------------------------
  popup
---------------------------------------------------*/

.tmb {
}

.tmb_img {
  width: 100%;
  height: auto;
}

.tmb_img:hover {
  cursor: pointer;
}

.popup {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(0);
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s, transform 0s 0.3s;
}

.popup__btn {
  display: block;
  z-index: 13;
  position: absolute;
  top: 1vh;
  right: 1vh;
  width: 5vh;
  height: 5vh;
  cursor: pointer;
}

.popup__btn::before,
.popup__btn::after {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background-color: #fff;
  content: '';
}

.popup__btn::before {
  transform: rotate(45deg);
}

.popup__btn::after {
  transform: rotate(-45deg);
}

.popup__btnarea {
  z-index: 12;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popup__img {
  z-index: 11;
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
}

.popup__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked ~ .popup {
  transform: scale(1);
  opacity: 1;
  transition: opacity 0.3s;
}

/* =======================================================================
  プロフィール
======================================================================= */

.profile {
  background: #f7f5f0;
  font-size: 1rem;
}

ul.profile__title {
  margin-bottom: 1em;
  padding: 0 0 0 1.25em;

  list-style-type: none;
}

.profile__name-j {
  margin-bottom: .5em;
  letter-spacing: .5em;
  font-size: 1.618em;
  line-height: 1;
  font-feature-settings: "palt";

  color: #333;
  font-weight: bold;
}

.profile__name-j-ruby {
  font-size: .7em;
  letter-spacing: .25em;
}

.profile__name-e {
  margin-bottom: 1.5em;
  color: #aaa;
  letter-spacing: .25em;
  font-weight: normal;
  font-size: 1em;
  line-height: 1;
  font-feature-settings: "palt";
  text-transform: uppercase;
}

.profile__photo {
  float: right;
  margin: 0 0 2em 2em;
  width: 150px;
}

.profile__photo img {
  border-radius: 50%;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, .1);
}

.main
.profile h4 {
  margin: 1.5em 0 1em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
  font-size: 18px;
}

/* 本 */

.profile__books {
  padding: 0;
  list-style-type: none;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.profile__books img {
  width: 100%;
  aspect-ratio: 2 / 3;
}

@media(max-width: 599px) {
  .profile {
    margin: 24px auto;
    padding: 24px;
  }

  .profile__photo {
    display: block;
    float: none;
    margin: 0 auto 1em;
    width: 40%;
  }

  .profile__name-j {
    text-align: center;
    font-size: 18px;
  }

  .profile__name-j-ruby {
    display: block;
    margin-top: 16px;
  }

  .profile__name-e {
    text-align: center;
    font-size: 15px;
  }

  .main
  .profile p,
  .main
  .profile li {
    font-size: .9em;
  }

  .main
  .profile h4 {
    font-size: 18px;
  }

  .profile__books {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/*---------------------------------------------------
  form
---------------------------------------------------*/

.form {
  position: relative;
  width: 100%;
  height: 950px;
  overflow: hidden;
  margin-top: 30px;
  margin-left: 0;
  margin-right: 0;
}

.form iframe{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media(max-width: 599px) {
  .form {
  height: 1150px;
  }
}

/*---------------------------------------------------
  form
---------------------------------------------------*/

.thanks__h2 {
  margin: 50px auto;
  text-align: center;
  font-size: 21px;
}

@media(max-width: 599px) {
  .thanks__h2 {
  font-size: 18px;
  }
}
/*---------------------------------------------------
  footer
---------------------------------------------------*/

.footer {
  background-color: #243a5e;
  /* background-color: #275890; */
  color: #fff;

  margin-right: -100%;
  margin-left: -100%;
  padding-right: 100%;
  padding-left: 100%;

}

.footer__inner{
  padding-top: 40px;
  padding-bottom: 45px;
  max-width: 800px;
  margin: 0 auto;

}

.footer small{
  font-size: 11px;
}

@media screen and (max-width:768px) {
  .footer__inner{
  padding-left: 30px;
  padding-top: 20px;
  padding-bottom: 25px;
  }
}
