@charset "UTF-8";
/* ==========================================
   Template: modern（https://do.gt-gt.org/）
   Copyright: 2020 do.
   利用規約を遵守の上お使いください。二次配布・販売を禁じます
   ========================================== */
/* ==========================================
  リセットCSS
  基本的には触らないでください
  ========================================== */
input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

html {
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
}

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

img {
  border: none;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

ol,
ul {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
img,
p {
  margin: 0;
  padding: 0;
}

hr {
  border: none;
  height: 1px;
  background: #f1eded;
  margin: 2em auto;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
p {
  line-height: 1.6em;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.flex {
  display: -webkit-box;
  display: flex;
}

.wrap {
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

@media (min-width: 768px) {
  .wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
  }
}

@media (min-width: 768px) and (max-width: 1029px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 1030px) {
  .container {
    max-width: 960px;
  }
}

body {
  background-color: #f0f0f0; /* ← 好みのグレーを指定 */
  color: #242424;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-family: 'メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
}

.container {
  position: relative; /* 必須 */
  padding-top: 30px;
  padding-bottom: 30px;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8); /* 背景の透明度 */
  z-index: -1; /* コンテナ内容の背面に配置 */
}

h1 {
  font-family: "Cookie", "Kosugi Maru", cursive;
}

h2 {
  border-bottom: 3px solid #f5f5f5;
  position: relative;
  margin-bottom: 1.5em;
}

h2:after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: #ae9999;
  position: relative;
  top: 3px;
}

h3 {
  border-left: 3px solid #ae9999;
  padding: 0px 15px;
  margin: 2em 0 1em;
}

a {
  color: #242424;
  text-decoration: underline;
  -webkit-transition: color .3s;
  transition: color .3s;
}

a:focus, a:visited, a:active {
  color: #242424;
}

a:hover {
  color: #ae9999;
}

p {
  margin: 1.5em 0;
}

header {
  margin: 30px auto;
}

header p {
  text-align: center;
  font-size: 12px;
}

header h1 {
  font-family: 'Hina Mincho', serif;
  text-align: center;
  font-size: 40px;
  -webkit-transform: none; 
          transform: none; 
  margin: 10px auto;
}

header h1:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 30px;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
  background-size: auto auto;
  background-color: #ffffff;
  /* ※サイトタイトル背景のシマシマのベースカラー */
  background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, #ffffff 4px, #ffffff 8px);
  /* ※サイトタイトル背景のシマシマカラー */
}

header ul#menu {
  display: block;
  margin: 0 auto;
}

header ul#menu li {
  padding: 0;
}

header ul#menu li:before {
  display: none;
}

header ul#menu li a {
  display: block;
  color: #242424;
  text-decoration: none;
  -webkit-transition: all .3s;
  transition: all .3s;
  border: none;
  background: #ae9999;
  border-radius: 4px;
  padding: 5px 10px;
}

header ul#menu li a:hover {
  background: #dac4c4;
}

section {
  margin: 50px auto;
  max-width: 600px;
}

section.flexbox {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  align-items: flex-start; /* ← この一行を追加 */
}

section.flexbox div.flexbox_inner {
  margin-bottom: 20px;
  -webkit-box-flex: 1;
          flex: 1;
}

ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: .5rem;
}

ul li:before {
  content: '';
  width: 12px;
  height: 3px;
  display: block;
  background: hsl(273, 26%, 67%);
  position: absolute;
  margin: auto;
  top: .6em;
  left: 0;
}

strong.marker {
  background-size: auto auto;
  background-color: #ffffff;
  /* ※マーカー付き強調のシマシマのベースカラー */
  background-image: repeating-linear-gradient(45deg, transparent, transparent 3px, #ae9999 2px, #ae9999 5px);
  /* ※マーカー付き強調のシマシマカラー */
}

a.bigcard {
  display: -webkit-box;
  display: flex;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  margin-bottom: 20px;
  -webkit-transition: background .3s;
  transition: background .3s;
}

a.bigcard:hover {
  background: #dac4c4;
  /* ※リンクカードをホバーしたときの背景色 */
  color: inherit;
}

a.bigcard h5 {
  font-size: 20px;
  margin: 10px 0 0;
}

a.bigcard .memo {
  font-size: 13px;
  margin-top: 0;
  color: #aba9a5;
}

a.bigcard figure {
  margin: 0;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

a.bigcard figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

a.btn, a.btn01, a.btn02 {
  display: block;
  background: #ae9999;
  text-decoration: none;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 3px #c296c2;
  margin: 2em 0;
  -webkit-transition: box-shadow .3s, -webkit-transform .3s;
  transition: box-shadow .3s, -webkit-transform .3s;
  transition: transform .3s, box-shadow .3s;
  transition: transform .3s, box-shadow .3s, -webkit-transform .3s;
}

a.btn01 {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 8px 20px;
}

a.btn02 {
  font-size: 20px;
  font-weight: bold;
}

a.btn:hover, a.btn01:hover, a.btn02:hover {
  -webkit-transform: translateY(3px);
          transform: translateY(3px);
  color: inherit;
  box-shadow: 0 0 #c296c2;
}

.box01 {
  background: transparent; /* ← 透明化 */
  padding: 10px;
  border-radius: 4px;
  margin: 1em 0;
}

.box01 *:first-child {
  margin-top: 0;
}

.box01 *:last-child {
  margin-bottom: 0;
}

.box02 {
  border: 1px solid #c296c2;
  padding: 10px;
  border-radius: 4px;
  margin: 1em 0;
}

.box02 *:first-child {
  margin-top: 0;
}

.box02 *:last-child {
  margin-bottom: 0;
}

dl.flex {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  margin: 30px auto;
  font-size: 13px;
  border: 1px solid #e5e4e4;
  border-radius: 4px;
  padding: 15px 20px;
}

dl.flex dt {
  width: 100px;
  font-weight: bold;
}

dl.flex dd {
  width: calc(100% - 120px);
  margin-left: 0;
}

dl.flex dt, dl.flex dd {
  padding: 5px 0;
}

dl.flex dt:not(:first-of-type), dl.flex dd:not(:first-of-type) {
  border-top: 1px dashed #e5e4e4;
}

ul.illust {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
}

ul.illust li {
  position: relative;
  height: 70px;
  width: 70px;
  margin-bottom: 3px;
  padding: 0;
}

ul.illust li:before {
  display: none;
}

ul.illust li:not(:last-of-type) {
  margin-right: 3px;
}

ul.illust li a {
  display: block;
  -webkit-transition: .3s;
  transition: .3s;
}

ul.illust li a:hover {
  opacity: .7;
}

ul.illust li a img {
  border-radius: 3px;
  height: 70px;
  width: 70px;
  -o-object-fit: cover;
     object-fit: cover;
}

table, table td, table th {
  border: 1px solid #dfdfdf;
  border-collapse: collapse;
}

table th {
  word-break: keep-all;
  text-align: left;
  vertical-align: baseline;
}

table td, table th {
  padding: 7px 10px;
}

.top {
  text-align: center;
  display: block;
  font-size: 12px;
  color: #cccccc;
  margin-top: 50px;
}

form.mailform {
  text-align: center;
  max-width: 800px;
  margin: 30px auto;
}

form.mailform textarea {
  margin: 0 0 15px;
  font-size: 14px;
  line-height: 1.6em;
  border: none;
  padding: 10px;
  width: 100%;
  height: 300px;
  border-radius: 5px;
  vertical-align: bottom;
  border: 1px solid #e5e4e4;
  background: #fcfcfc;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

form.mailform textarea:focus {
  outline: none;
  background: #ffffff;
}

form.mailform input {
  margin: 0 0 15px;
  font-size: 16px;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #e5e4e4;
  background: #fcfcfc;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

form.mailform input:focus {
  outline: none;
  background: #ffffff;
}

form.mailform input[type="submit"] {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px;
  padding: 10px 20px;
  background: #ae9999;
  border: none;
}

form.mailform input[type="submit"]:focus, form.mailform input[type="submit"]:hover {
  background: #ae9999;
  cursor: pointer;
}

footer section {
  margin: 50px auto 0;
}

footer a {
  font-size: 11px;
  text-align: right;
  display: block;
  text-decoration: none;
  color: #ae9999;
}

@media only screen and (min-width: 768px) {
  header {
    margin: 50px auto;
  }
  header ul#menu {
    display: -webkit-box;
    display: flex;
    margin: 0 auto;
    -webkit-box-pack: center;
            justify-content: center;
  }
  header ul#menu li {
    padding: 0;
  }
  header ul#menu li:before {
    display: none;
  }
  header ul#menu li a {
    display: block;
    color: #242424;
    -webkit-transition: color .3s;
    transition: color .3s;
    padding: 0px 15px;
    background: transparent;
    border-left: 1px solid #ae9999;
    border-radius: 0;
  }
  header ul#menu li a:hover {
    background: transparent;
    color: #ae9999;
  }
  header ul#menu li:last-of-type a {
    border-right: 1px solid #ae9999;
  }
  section.flexbox {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
  }
  section.flexbox div.flexbox_inner:first-of-type {
    padding-right: 15px;
  }
  section.flexbox div.flexbox_inner:nth-of-type(2) {
    padding-left: 15px;
  }
  a.bigcard {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-direction: row;
    align-self: stretch;
    -webkit-transition: all .3s;
    transition: all .3s;
  }
  a.bigcard h5 {
    font-size: 20px;
    margin: 0;
  }
  a.bigcard p {
    margin: 0.8em 0;
  }
  a.bigcard .memo {
    font-size: 13px;
    margin-top: 0;
    color: #aba9a5;
  }
  a.bigcard figure {
    display: block;
    width: auto;
    -webkit-box-flex: 1;
            flex: 1;
    height: auto;
    min-height: 150px;
    margin-right: 10px;
  }
  a.bigcard figure img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  a.bigcard .text {
    -webkit-box-flex: 2;
            flex: 2;
    padding: 5px;
  }
  ul.illust li {
    height: 97px;
    width: 97px;
  }
  ul.illust li a img {
    width: 97px;
    height: 97px;
  }
}

/* informationのフォント設定 */
h1 {
  font-family: 'Merriweather', cursive;
}


/* ==========================================
  右側 開閉式サイドメニュー
  ========================================== */
#side-menu {
  position: fixed;
  top: 0;
  right: -210px; /* ←メニューを画面の外に隠す(幅190px+α) */
  width: 190px;
  height: 100%;
  padding-top: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-left: 1px solid #000000;
  z-index: 20;
  transition: right 0.4s ease-in-out; /* ←アニメーションの設定 */
}

/* メニューが開いたときのスタイル */
#side-menu.menu-open {
  right: 0; /* ←画面の内側に表示 */
}

#side-menu ul {
  padding: 10px;
}

#side-menu li {
  padding: 0; margin: 0; list-style: none;
}
#side-menu li:before {
  display: none;
}
#side-menu a {
  display: block; padding: 10px; text-decoration: none;
  border-bottom: 1px dashed #000000;
  transition: all .3s;
}
#side-menu li:last-child a {
  border-bottom: none;
}
#side-menu a:hover {
  background: #f7f6f3;
}

/* ==========================================
  ハンバーガーボタン
  ========================================== */
#hamburger-button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 30; /* メニューより手前に表示 */
}

#hamburger-button span {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 6px;
  background-color: #333;
  transition: transform 0.4s ease-in-out, top 0.4s ease-in-out;
}
#hamburger-button span:nth-child(1) {
  top: 10px;
}
#hamburger-button span:nth-child(2) {
  top: 20px;
}
#hamburger-button span:nth-child(3) {
  top: 30px;
}

/* ボタンがクリックされてactiveクラスがついたら */
#hamburger-button.active span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
#hamburger-button.active span:nth-child(2) {
  transform: scaleX(0); /* 真ん中の線を消す */
}
#hamburger-button.active span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}


/* ハンバーガーサイドメニューの区切り線 */
#side-menu li.separator {
  height: 1px;
  margin: 10px;
  padding: 0;
  background-color: #000000; /* サイトのテーマカラー */
}


/* 見出しの下に線を追加するスタイル */
.underline-title {
  width: 500px;          /* ★ここで線の幅を好きな数値に調整してください */
  padding-bottom: 5px;
  border-bottom: 1px solid #b6abb6;
  margin-bottom: 1.5em;
  /* ↓中央揃えにするための設定 */
  display: block;
  margin-left: auto;
  margin-right: auto;
}



/* ==========================================
  About me プロフィールセクション
  ========================================== */
.profile-container {
  display: flex;         /* 横並びにする */
  align-items: center;   /* アイコンとテキストを垂直方向の中央に揃える */
  gap: 25px;             /* 画像とテキストの間のスペース */
  justify-content: flex-start; /* ← 「flex-start」に書き換えます */
}

.profile-image img {
  width: 100px;          /* アイコンのサイズ */
  height: 100px;
  border: 1px solid #d6d3d3;
  border-radius: 4px;    /* 少し角を丸める */
  padding: 3px;          /* 画像と枠線の間に少し余白 */
  background: #fff;      /* 枠線の内側を白くする */
}

.profile-text p {
  margin: 0.5em 0;       /* テキスト行間の余白を調整 */
}

.profile-name {
  font-size: 1.2em;      /* 名前を少し大きく */
  font-weight: bold;
}

.profile-separator {
  border: none;
  height: 1px;
  background-color: #ae9999; /* テーマカラーの線 */
  margin: 10px 0;
}

.profile-links img {
  vertical-align: middle; /* アイコンと文字の高さを揃える */
  margin-right: 3px;
  width: 20px;
  height: 20px;
}



/* フッターのコピーライト表記 */
footer .copyright {
  font-size: 12px;
  color: #888; /* 少し薄いグレー */
  text-align: center;
  margin-bottom: 10px; /* 下のリンクとの間に少し余白 */
  text-decoration: none; /* 下線を消す */
}



/* sec1セクションの下に余白を追加 */
#sec1 {
  padding-bottom: 5px; /* ← この数値を大きくすると、空白が広がります */
}

/* sec2セクションの下に余白を追加 */
#sec2 {
  padding-bottom: 50px; /* ← この数値を大きくすると、空白が広がります */
}


/* sec3セクションの下に余白を追加 */
#sec3 {
  padding-bottom: 500px; /* ← この数値を大きくすると、空白が広がります */
}


/* ==========================================
  スマホ表示用の調整
  ========================================== */
@media only screen and (max-width: 767px) {

  /* タイトルの文字サイズを少し小さくする */
  header h1 {
    font-size: 32px;
    line-height: 1.4; /* 行間を調整 */
  }

  /* メイン画像を中央に配置 */
  .main-image-container {
    text-align: center;
    margin: 20px 0;
  }

  /* 2カラムを縦並び（1カラム）にする */
  section.flexbox {
    flex-direction: column;
  }

  section.flexbox div.flexbox_inner {
    padding-right: 0;
    padding-left: 0;
  }
  
  /* 見出し下の線の幅を調整 */
  .underline-title {
    width: 90%;
  }

}